Skip to content

Commit

Permalink
singular not plurar
Browse files Browse the repository at this point in the history
  • Loading branch information
FalloutFalcon committed Apr 16, 2024
1 parent ede682b commit c147dcf
Show file tree
Hide file tree
Showing 26 changed files with 109 additions and 109 deletions.
2 changes: 1 addition & 1 deletion code/__DEFINES/is_helpers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ GLOBAL_LIST_INIT(turfs_without_ground, typecacheof(list(
#define isskeleton(A) (is_species(A, /datum/species/skeleton))
#define ismoth(A) (is_species(A, /datum/species/moth))
#define ishumanbasic(A) (is_species(A, /datum/species/human) && !is_species(A, /datum/species/human/krokodil_addict))
#define iselzuosa(A) (is_species(A, /datum/species/elzuosa))
#define iselzuose(A) (is_species(A, /datum/species/elzuose))
#define isvampire(A) (is_species(A,/datum/species/vampire))
#define isdullahan(A) (is_species(A, /datum/species/dullahan))
#define iskepori(A) (is_species(A, /datum/species/kepori))
Expand Down
22 changes: 11 additions & 11 deletions code/__DEFINES/mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
#define SPECIES_ANDROID "android"
#define SPECIES_CORPORATE "corporate"
#define SPECIES_DULLAHAN "dullahan"
#define SPECIES_ELZUOSA "elzuosa"
#define SPECIES_ELZUOSE "elzuose"
#define SPECIES_FLYPERSON "fly"
#define SPECIES_HUMAN "human"
#define SPECIES_IPC "ipc"
Expand Down Expand Up @@ -117,7 +117,7 @@
//Species bitflags for sprite sheets. If this somehow ever gets above 23 we have larger problems.
#define FLAG_HUMAN (1<<0)
#define FLAG_IPC (1<<1)
#define FLAG_ELZUOSA (1<<2)
#define FLAG_ELZUOSE (1<<2)
#define FLAG_PLASMAMAN (1<<3)
#define FLAG_MOTH (1<<4)
#define FLAG_LIZARD (1<<5)
Expand Down Expand Up @@ -244,14 +244,14 @@

//Charge levels for Ethereals
//WS Begin -- Ethereal Charge Scaling
#define ELZUOSA_CHARGE_SCALING_MULTIPLIER 20
#define ELZUOSA_CHARGE_NONE (0 * ELZUOSA_CHARGE_SCALING_MULTIPLIER)
#define ELZUOSA_CHARGE_LOWPOWER (20 * ELZUOSA_CHARGE_SCALING_MULTIPLIER)
#define ELZUOSA_CHARGE_NORMAL (50 * ELZUOSA_CHARGE_SCALING_MULTIPLIER)
#define ELZUOSA_CHARGE_ALMOSTFULL (75 * ELZUOSA_CHARGE_SCALING_MULTIPLIER)
#define ELZUOSA_CHARGE_FULL (100 * ELZUOSA_CHARGE_SCALING_MULTIPLIER)
#define ELZUOSA_CHARGE_OVERLOAD (125 * ELZUOSA_CHARGE_SCALING_MULTIPLIER)
#define ELZUOSA_CHARGE_DANGEROUS (150 * ELZUOSA_CHARGE_SCALING_MULTIPLIER)
#define ELZUOSE_CHARGE_SCALING_MULTIPLIER 20
#define ELZUOSE_CHARGE_NONE (0 * ELZUOSE_CHARGE_SCALING_MULTIPLIER)
#define ELZUOSE_CHARGE_LOWPOWER (20 * ELZUOSE_CHARGE_SCALING_MULTIPLIER)
#define ELZUOSE_CHARGE_NORMAL (50 * ELZUOSE_CHARGE_SCALING_MULTIPLIER)
#define ELZUOSE_CHARGE_ALMOSTFULL (75 * ELZUOSE_CHARGE_SCALING_MULTIPLIER)
#define ELZUOSE_CHARGE_FULL (100 * ELZUOSE_CHARGE_SCALING_MULTIPLIER)
#define ELZUOSE_CHARGE_OVERLOAD (125 * ELZUOSE_CHARGE_SCALING_MULTIPLIER)
#define ELZUOSE_CHARGE_DANGEROUS (150 * ELZUOSE_CHARGE_SCALING_MULTIPLIER)
//WS End

//Slime evolution threshold. Controls how fast slimes can split/grow
Expand Down Expand Up @@ -345,7 +345,7 @@
#define DOOR_CRUSH_DAMAGE 15 //the amount of damage that airlocks deal when they crush you

#define HUNGER_FACTOR 0.1 //factor at which mob nutrition decreases
#define ELZUOSA_CHARGE_FACTOR (0.05 * ELZUOSA_CHARGE_SCALING_MULTIPLIER) //factor at which ethereal's charge decreases
#define ELZUOSE_CHARGE_FACTOR (0.05 * ELZUOSE_CHARGE_SCALING_MULTIPLIER) //factor at which ethereal's charge decreases
#define REAGENTS_METABOLISM 0.4 //How many units of reagent are consumed per tick, by default.
#define REAGENTS_EFFECT_MULTIPLIER (REAGENTS_METABOLISM / 0.4) // By defining the effect multiplier this way, it'll exactly adjust all effects according to how they originally were with the 0.4 metabolism

Expand Down
4 changes: 2 additions & 2 deletions code/datums/blood_type.dm
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
color = "#009696"
compatible_types = list(/datum/blood_type/lizard)

/datum/blood_type/elzuosa
/datum/blood_type/elzuose
name = "E"
color = "#7fff7f"
compatible_types = list(/datum/blood_type/elzuosa)
compatible_types = list(/datum/blood_type/elzuose)

/datum/blood_type/synthetic //Blood for synthetic/robotic species
name = "Coolant"
Expand Down
16 changes: 8 additions & 8 deletions code/datums/components/mood.dm
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@

/datum/component/mood/proc/HandleNutrition()
var/mob/living/L = parent
if(iselzuosa(L))
if(iselzuose(L))
HandleCharge(L)
if(HAS_TRAIT(L, TRAIT_NOHUNGER))
return FALSE //no mood events for nutrition
Expand All @@ -338,19 +338,19 @@
add_event(null, "nutrition", /datum/mood_event/starving)

/datum/component/mood/proc/HandleCharge(mob/living/carbon/human/H)
var/datum/species/elzuosa/E = H.dna.species
var/datum/species/elzuose/E = H.dna.species
switch(E.get_charge(H))
if(ELZUOSA_CHARGE_NONE to ELZUOSA_CHARGE_LOWPOWER)
if(ELZUOSE_CHARGE_NONE to ELZUOSE_CHARGE_LOWPOWER)
add_event(null, "charge", /datum/mood_event/decharged)
if(ELZUOSA_CHARGE_LOWPOWER to ELZUOSA_CHARGE_NORMAL)
if(ELZUOSE_CHARGE_LOWPOWER to ELZUOSE_CHARGE_NORMAL)
add_event(null, "charge", /datum/mood_event/lowpower)
if(ELZUOSA_CHARGE_NORMAL to ELZUOSA_CHARGE_ALMOSTFULL)
if(ELZUOSE_CHARGE_NORMAL to ELZUOSE_CHARGE_ALMOSTFULL)
clear_event(null, "charge")
if(ELZUOSA_CHARGE_ALMOSTFULL to ELZUOSA_CHARGE_FULL)
if(ELZUOSE_CHARGE_ALMOSTFULL to ELZUOSE_CHARGE_FULL)
add_event(null, "charge", /datum/mood_event/charged)
if(ELZUOSA_CHARGE_FULL to ELZUOSA_CHARGE_OVERLOAD)
if(ELZUOSE_CHARGE_FULL to ELZUOSE_CHARGE_OVERLOAD)
add_event(null, "charge", /datum/mood_event/overcharged)
if(ELZUOSA_CHARGE_OVERLOAD to ELZUOSA_CHARGE_DANGEROUS)
if(ELZUOSE_CHARGE_OVERLOAD to ELZUOSE_CHARGE_DANGEROUS)
add_event(null, "charge", /datum/mood_event/supercharged)

/datum/component/mood/proc/check_area_mood(datum/source, area/A)
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/limbgrower.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/// Our internal techweb for limbgrower designs.
var/datum/techweb/stored_research
/// All the categories of organs we can print.
var/list/categories = list(SPECIES_HUMAN,SPECIES_SARATHI,SPECIES_MOTH,SPECIES_PLASMAMAN,SPECIES_ELZUOSA,SPECIES_RACHNID,SPECIES_KEPORI,SPECIES_VOX,"other")
var/list/categories = list(SPECIES_HUMAN,SPECIES_SARATHI,SPECIES_MOTH,SPECIES_PLASMAMAN,SPECIES_ELZUOSE,SPECIES_RACHNID,SPECIES_KEPORI,SPECIES_VOX,"other")
//yogs grower a little different because we're going to allow meats to be converted to synthflesh because hugbox
var/list/accepted_biomass = list(
/obj/item/reagent_containers/food/snacks/meat/slab/monkey = 25,
Expand Down
8 changes: 4 additions & 4 deletions code/game/machinery/scan_gate.dm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define SCANGATE_SPIDER "rachnid"
#define SCANGATE_IPC "ipc"
#define SCANGATE_SQUID "squid"
#define SCANGATE_ELZUOSA "elzuosa"
#define SCANGATE_ELZUOSE "elzuose"
#define SCANGATE_KEPORI "kepori"

/obj/machinery/scanner_gate
Expand Down Expand Up @@ -147,8 +147,8 @@
scan_species = /datum/species/spider
if(SCANGATE_IPC)
scan_species = /datum/species/ipc
if(SCANGATE_ELZUOSA)
scan_species = /datum/species/elzuosa
if(SCANGATE_ELZUOSE)
scan_species = /datum/species/elzuose
if(SCANGATE_KEPORI)
scan_species = /datum/species/kepori
if(is_species(H, scan_species))
Expand Down Expand Up @@ -248,5 +248,5 @@
#undef SCANGATE_SPIDER
#undef SCANGATE_IPC
#undef SCANGATE_SQUID
#undef SCANGATE_ELZUOSA
#undef SCANGATE_ELZUOSE
#undef SCANGATE_KEPORI
2 changes: 1 addition & 1 deletion code/game/objects/items/grenades/discogrenade.dm
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
return
if(target.stat != CONSCIOUS) //Only conscious people can dance
return
if(!target || iselzuosa(target)) //Non humans and non etherals can't dance
if(!target || iselzuose(target)) //Non humans and non etherals can't dance
return

var/distance = max(0,get_dist(get_turf(src), target_turf))
Expand Down
2 changes: 1 addition & 1 deletion code/modules/admin/topic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@
cookiealt = /obj/item/reagent_containers/food/condiment/milk
else if(isplasmaman(H))
cookiealt = /obj/item/reagent_containers/food/condiment/milk
else if(iselzuosa(H))
else if(iselzuose(H))
cookiealt = /obj/item/reagent_containers/food/snacks/energybar
// WS - More fun with cookies - Start
else if(islizard(H))
Expand Down
2 changes: 1 addition & 1 deletion code/modules/autowiki/pages/ships.dm
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

/datum/autowiki/ship/proc/get_dummy_image(datum/job/to_equip)
//Controlled randomisation
wiki_dummy.seeded_randomization("[to_equip.outfit]", list(/datum/species/elzuosa, /datum/species/human, /datum/species/ipc, /datum/species/lizard, /datum/species/moth, /datum/species/spider))
wiki_dummy.seeded_randomization("[to_equip.outfit]", list(/datum/species/elzuose, /datum/species/human, /datum/species/ipc, /datum/species/lizard, /datum/species/moth, /datum/species/spider))
//Delete all the old stuff they had
wiki_dummy.wipe_state()

Expand Down
4 changes: 2 additions & 2 deletions code/modules/client/preferences.dm
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
dat += "<span style='border: 1px solid #161616; background-color: #[features["mcolor"]];'>&nbsp;&nbsp;&nbsp;</span> <a href='?_src_=prefs;preference=mutant_color;task=input'>Change</a><BR>"
dat += "<span style='border: 1px solid #161616; background-color: #[features["mcolor2"]];'>&nbsp;&nbsp;&nbsp;</span> <a href='?_src_=prefs;preference=mutant_color_2;task=input'>Change</a><BR>"

if(istype(pref_species, /datum/species/elzuosa)) //not the best thing to do tbf but I dont know whats better.
if(istype(pref_species, /datum/species/elzuose)) //not the best thing to do tbf but I dont know whats better.

dat += "<h3>Elzuosa Color</h3>"

Expand Down Expand Up @@ -1816,7 +1816,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
to_chat(user, "<span class='danger'>Invalid color. Your color is not bright enough.</span>")

if("color_ethereal")
var/new_etherealcolor = input(user, "Choose your elzuosa color:", "Character Preference","#"+features["ethcolor"]) as color|null
var/new_etherealcolor = input(user, "Choose your elzuose color:", "Character Preference","#"+features["ethcolor"]) as color|null
if(new_etherealcolor)
var/temp_hsv = RGBtoHSV(new_etherealcolor)
if(ReadHSV(temp_hsv)[3] >= ReadHSV("#505050")[3]) // elzu colors should be bright
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@
race = /datum/species/dullahan

/mob/living/carbon/human/species/ethereal
race = /datum/species/elzuosa
race = /datum/species/elzuose

/mob/living/carbon/human/species/fly
race = /datum/species/fly
Expand Down
6 changes: 3 additions & 3 deletions code/modules/mob/living/carbon/human/species.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1359,9 +1359,9 @@ GLOBAL_LIST_EMPTY(roundstart_races)
var/hungry = (500 - H.nutrition) / 5 //So overeat would be 100 and default level would be 80
if(hungry >= 70)
H.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/hunger, multiplicative_slowdown = (hungry / 50))
else if(iselzuosa(H))
var/datum/species/elzuosa/E = H.dna.species
if(E.get_charge(H) <= ELZUOSA_CHARGE_NORMAL)
else if(iselzuose(H))
var/datum/species/elzuose/E = H.dna.species
if(E.get_charge(H) <= ELZUOSE_CHARGE_NORMAL)
H.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/hunger, multiplicative_slowdown = (1.5 * (1 - E.get_charge(H) / 100)))
else
H.remove_movespeed_modifier(/datum/movespeed_modifier/hunger)
Expand Down
6 changes: 3 additions & 3 deletions code/modules/mob/living/carbon/human/species_types/IPC.dm
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
icon_state = "wire1"

/obj/item/apc_powercord/afterattack(atom/target, mob/user, proximity_flag, click_parameters)
if((!istype(target, /obj/machinery/power/apc) && !iselzuosa(target)) || !ishuman(user) || !proximity_flag)
if((!istype(target, /obj/machinery/power/apc) && !iselzuose(target)) || !ishuman(user) || !proximity_flag)
return ..()
user.changeNext_move(CLICK_CD_MELEE)
var/mob/living/carbon/human/H = user
Expand All @@ -155,7 +155,7 @@
to_chat(user, "<span class='warning'>There is not enough charge to draw from that APC.</span>")
return

if(iselzuosa(target))
if(iselzuose(target))
var/mob/living/carbon/human/target_ethereal = target
var/obj/item/organ/stomach/ethereal/eth_stomach = target_ethereal.getorganslot(ORGAN_SLOT_STOMACH)
if(target_ethereal.nutrition > 0 && eth_stomach)
Expand Down Expand Up @@ -207,7 +207,7 @@
if(A.crystal_charge == 0)
to_chat(H, "<span class='warning'>[A] is completely drained!</span>")
break
siphon_amt = A.crystal_charge <= (2 * ELZUOSA_CHARGE_SCALING_MULTIPLIER) ? A.crystal_charge : (2 * ELZUOSA_CHARGE_SCALING_MULTIPLIER)
siphon_amt = A.crystal_charge <= (2 * ELZUOSE_CHARGE_SCALING_MULTIPLIER) ? A.crystal_charge : (2 * ELZUOSE_CHARGE_SCALING_MULTIPLIER)
A.adjust_charge(-1 * siphon_amt)
H.nutrition += (siphon_amt)
if(H.nutrition > NUTRITION_LEVEL_WELL_FED)
Expand Down
Loading

0 comments on commit c147dcf

Please sign in to comment.