Removes species default_features variable.

This commit is contained in:
Ghommie
2020-03-21 02:04:57 +01:00
parent 53f2c780b3
commit 26e2ec92ca
25 changed files with 161 additions and 201 deletions
+1 -1
View File
@@ -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()
+6 -6
View File
@@ -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)