From 1f71fe4c3eacc451373d6b0fc746141bba745d04 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Fri, 18 Dec 2020 19:47:17 -0500 Subject: [PATCH] move skin to data --- src/facilities/salon/salonPassage.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/facilities/salon/salonPassage.js b/src/facilities/salon/salonPassage.js index b78f34aecd9..a30348b65da 100644 --- a/src/facilities/salon/salonPassage.js +++ b/src/facilities/salon/salonPassage.js @@ -281,13 +281,10 @@ App.UI.salon = function(slave, cheat = false) { let comment = []; if (cheat) { - options.addOption(`${His} natural skin color is`, "origSkin", slave).showTextBox() - .addValueList([["Pure White", "pure white"], ["Ivory", "ivory"], ["White", "white"], ["Extremely Pale", "extremely pale"], - ["Very Pale", "very pale"], ["Pale", "pale"], ["Extremely Fair", "extremely fair"], ["Very Fair", "very fair"], - ["Fair", "fair"], ["Light", "light"], ["Light Olive", "light olive"], ["Tan", "tan"], ["Olive", "olive"], ["Bronze", "bronze"], - ["Dark Olive", "dark olive"], ["Dark", "dark"], ["Light Beige", "light beige"], ["Beige", "beige"], - ["Dark Beige", "dark beige"], ["Light Brown", "light brown"], ["Brown", "brown"], ["Dark Brown", "dark brown"], - ["Black", "black"], ["Ebony", "ebony"], ["Pure Black", "pure black"]]).pulldown(); + option = options.addOption(`${His} natural skin color is`, "origSkin", slave).showTextBox().pulldown(); + for (const skin of App.Medicine.Modification.naturalSkins) { + option.addValue(capFirstChar(skin), skin); + } } let option = options.addOption(`${His} skin is ${slave.skin}.`, "skin", slave); -- GitLab