From b70f7ca37713842f07fd5f1465f401d24bb3389b Mon Sep 17 00:00:00 2001 From: shellspeed1 <46614774+shellspeed1@users.noreply.github.com> Date: Tue, 24 Sep 2019 15:35:21 -0700 Subject: [PATCH] Update preferences.dm --- code/modules/client/preferences.dm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index 7e59042c..9b1da634 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -460,6 +460,20 @@ GLOBAL_LIST_EMPTY(preferences_datums) if(mutant_category >= MAX_MUTANT_ROWS) dat += "" mutant_category = 0 + + if("moth_markings" in pref_species.default_features) + if(!mutant_category) + dat += APPEARANCE_CATEGORY_COLUMN + + dat += "

Moth markings

" + + dat += "[features["moth_markings"]]
" + + mutant_category++ + if(mutant_category >= MAX_MUTANT_ROWS) + dat += "" + mutant_category = 0 + if("tail_human" in pref_species.default_features) if(!mutant_category) dat += APPEARANCE_CATEGORY_COLUMN @@ -1789,6 +1803,12 @@ GLOBAL_LIST_EMPTY(preferences_datums) if(new_moth_wings) features["moth_wings"] = new_moth_wings + if("moth_markings") + var/new_moth_markings + new_moth_markings = input(user, "Choose your character's markings:", "Character Preference") as null|anything in GLOB.moth_markings_list + if(new_moth_markings) + features["moth_markings"] = new_moth_markings + if("s_tone") var/new_s_tone = input(user, "Choose your character's skin-tone:", "Character Preference") as null|anything in GLOB.skin_tones if(new_s_tone)