Add eye type support to werewolf quirk

Updates the Werewolf quirk to record and restore custom eye types.
This commit is contained in:
Darius
2023-02-06 21:15:06 -05:00
parent 16ddb0ceb8
commit 552585ebfc
2 changed files with 2 additions and 0 deletions

View File

@@ -548,6 +548,7 @@
old_features["size"] = get_size(quirk_mob)
old_features["bark"] = quirk_mob.vocal_bark_id
old_features["taur"] = quirk_mob.dna.features["taur"]
old_features["eye_type"] = quirk_mob.dna.species.eye_type
/datum/quirk/werewolf/post_add()
// Define quirk action

View File

@@ -709,6 +709,7 @@
action_owner.dna.features["mam_tail"] = old_features["mam_tail"]
action_owner.dna.features["legs"] = old_features["legs"]
action_owner.dna.features["insect_fluff"] = old_features["insect_fluff"]
action_owner.dna.species.eye_type = old_features["eye_type"]
if(old_features["taur"] != "None")
action_owner.dna.features["taur"] = old_features["taur"]
if(old_features["legs"] == "Plantigrade")