mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-01-06 07:03:06 +00:00
Add eye type support to werewolf quirk
Updates the Werewolf quirk to record and restore custom eye types.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user