Removes species default_features variable.
This commit is contained in:
@@ -358,18 +358,18 @@
|
||||
base_bp_icon = (base_bp_icon == DEFAULT_BODYPART_ICON) ? DEFAULT_BODYPART_ICON_ORGANIC : base_bp_icon
|
||||
else
|
||||
species_color = ""
|
||||
|
||||
|
||||
if(base_bp_icon != DEFAULT_BODYPART_ICON)
|
||||
color_src = MUTCOLORS //TODO - Add color matrix support to base limbs
|
||||
|
||||
if("legs" in S.default_features)
|
||||
if(S.mutant_bodyparts["legs"])
|
||||
if(body_zone == BODY_ZONE_L_LEG || body_zone == BODY_ZONE_R_LEG)
|
||||
if(DIGITIGRADE in S.species_traits)
|
||||
digitigrade_type = lowertext(H.dna.features["legs"])
|
||||
else
|
||||
digitigrade_type = null
|
||||
|
||||
if("mam_body_markings" in S.default_features)
|
||||
if(S.mutant_bodyparts["mam_body_markings"])
|
||||
var/datum/sprite_accessory/Smark
|
||||
Smark = GLOB.mam_body_markings_list[H.dna.features["mam_body_markings"]]
|
||||
if(Smark)
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
..()
|
||||
if(istype(H))
|
||||
color = H.hair_color
|
||||
H.dna.species.mutant_bodyparts |= "ears"
|
||||
H.dna.species.mutant_bodyparts["ears"] = "Cat"
|
||||
H.dna.features["ears"] = "Cat"
|
||||
H.update_body()
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
/obj/item/organ/tail/cat/Insert(mob/living/carbon/human/H, special = 0, drop_if_replaced = TRUE)
|
||||
..()
|
||||
if(istype(H))
|
||||
if(!("tail_human" in H.dna.species.mutant_bodyparts))
|
||||
H.dna.species.mutant_bodyparts |= "tail_human"
|
||||
if(!H.dna.species.mutant_bodyparts["tail_human"])
|
||||
H.dna.species.mutant_bodyparts["tail_human"] = tail_type
|
||||
H.dna.features["tail_human"] = tail_type
|
||||
H.update_body()
|
||||
|
||||
@@ -46,13 +46,13 @@
|
||||
..()
|
||||
if(istype(H))
|
||||
// Checks here are necessary so it wouldn't overwrite the tail of a lizard it spawned in
|
||||
if(!("tail_lizard" in H.dna.species.mutant_bodyparts))
|
||||
if(!H.dna.species.mutant_bodyparts["tail_lizard"])
|
||||
H.dna.features["tail_lizard"] = tail_type
|
||||
H.dna.species.mutant_bodyparts |= "tail_lizard"
|
||||
H.dna.species.mutant_bodyparts["tail_lizard"] = tail_type
|
||||
|
||||
if(!("spines" in H.dna.species.mutant_bodyparts))
|
||||
if(!H.dna.species.mutant_bodyparts["spines"])
|
||||
H.dna.features["spines"] = spines
|
||||
H.dna.species.mutant_bodyparts |= "spines"
|
||||
H.dna.species.mutant_bodyparts["spines"] = spines
|
||||
H.update_body()
|
||||
|
||||
/obj/item/organ/tail/lizard/Remove(special = FALSE)
|
||||
|
||||
Reference in New Issue
Block a user