Skip to content

Commit

Permalink
modular species stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Paxilmaniac committed Dec 4, 2024
1 parent 68c965a commit 1e6584b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
name = "Android (Species Preview)"
// nude

/datum/species/android/on_species_gain(mob/living/carbon/target, datum/species/old_species, pref_load)
/datum/species/android/on_species_gain(mob/living/carbon/target, datum/species/old_species, pref_load, regenerate_icons)
. = ..()
if(ishuman(target))
power_cord = new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
BODY_ZONE_R_LEG = /obj/item/bodypart/leg/right/digitigrade/anthromorph,
)

/datum/species/anthromorph/on_species_gain(mob/living/carbon/human/target, datum/species/old_species, pref_load)
/datum/species/anthromorph/on_species_gain(mob/living/carbon/human/target, datum/species/old_species, pref_load, regenerate_icons)
apply_animal_trait(target, find_animal_trait(target))
return ..()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"N/a.",
)

/datum/species/human/genemod/on_species_gain(mob/living/carbon/human/target, datum/species/old_species, pref_load)
/datum/species/human/genemod/on_species_gain(mob/living/carbon/human/target, datum/species/old_species, pref_load, regenerate_icons)
apply_animal_trait(target, find_animal_trait(target))
return ..()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

var/golem_speed_mod = 0.8

/datum/species/golem/on_species_gain(mob/living/carbon/new_golem, datum/species/old_species, pref_load)
/datum/species/golem/on_species_gain(mob/living/carbon/new_golem, datum/species/old_species, pref_load, regenerate_icons)
. = ..()
new_golem.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/snail, multiplicative_slowdown = golem_speed_mod)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

return ..()

/datum/species/human/genemod/hemophage/on_species_gain(mob/living/carbon/human/new_hemophage, datum/species/old_species, pref_load)
/datum/species/human/genemod/hemophage/on_species_gain(mob/living/carbon/human/new_hemophage, datum/species/old_species, pref_load, regenerate_icons)
. = ..()
to_chat(new_hemophage, HEMOPHAGE_SPAWN_TEXT)
new_hemophage.update_body()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
neck = /obj/item/clothing/neck/scarf/primitive_genemod_scarf
back = /obj/item/forging/reagent_weapon/axe/fake_copper

/datum/species/human/genemod/primitive/on_species_gain(mob/living/carbon/new_primitive, datum/species/old_species, pref_load)
/datum/species/human/genemod/primitive/on_species_gain(mob/living/carbon/new_primitive, datum/species/old_species, pref_load, regenerate_icons)
. = ..()
var/mob/living/carbon/human/hearthkin = new_primitive
if(!istype(hearthkin))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
head = /obj/item/clothing/head/beret/doppler_command/science
neck = /obj/item/clothing/neck/doppler_mantle/science

/datum/species/ramatan/on_species_gain(mob/living/carbon/human/new_ramatan, datum/species/old_species, pref_load)
/datum/species/ramatan/on_species_gain(mob/living/carbon/human/new_ramatan, datum/species/old_species, pref_load, regenerate_icons)
. = ..()
new_ramatan.AddComponent(/datum/component/sign_language)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
uniform = /obj/item/clothing/under/rank/medical/chemist/pharmacologist/skirt
mask = /obj/item/clothing/mask/surgical

/datum/species/snail/on_species_gain(mob/living/carbon/new_snailperson, datum/species/old_species, pref_load)
/datum/species/snail/on_species_gain(mob/living/carbon/new_snailperson, datum/species/old_species, pref_load, regenerate_icons)
. = ..()
new_snailperson.update_icons()

Expand Down

0 comments on commit 1e6584b

Please sign in to comment.