From a6ff9c82a95ae56b70aa480d1a8805e5989fd2ee Mon Sep 17 00:00:00 2001 From: wkwk <12408-wkwk@users.norepy.gitgud.io> Date: Tue, 7 Apr 2020 21:22:28 -0500 Subject: [PATCH] Fix debugger call that should not be in prod, add a few extra options to rules assistant --- src/js/rulesAssistantOptions.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/js/rulesAssistantOptions.js b/src/js/rulesAssistantOptions.js index 9e380a41317..f4635e1a278 100644 --- a/src/js/rulesAssistantOptions.js +++ b/src/js/rulesAssistantOptions.js @@ -359,7 +359,7 @@ window.rulesAssistantOptions = (function() { } else { selected = this.children.filter(listItem => this.dataEqual(listItem.data, dataValue)); } - if (selected.length > 1) { debugger; throw Error(`Multiple shortcuts matched ${JSON.stringify(dataValue)}`); } + if (selected.length > 1) { throw Error(`Multiple shortcuts matched ${JSON.stringify(dataValue)}`); } if (selected.length === 1) { const listItem = selected[0]; listItem.select(false); @@ -2309,8 +2309,7 @@ window.rulesAssistantOptions = (function() { if (V.arcologies[0].FSAssetExpansionistResearch === 1) { drugs.push(["hyper breast injections"]); } - if (V.dispensary) - { + if (V.dispensary) { drugs.push(["nipple enhancers"]); } if (V.purchasedSagBGone === 1) { @@ -2938,7 +2937,11 @@ window.rulesAssistantOptions = (function() { ["nice", 1], ["gorgeous", 2], ["color-coordinate with hair", 3], - ["slutty", 4] + ["slutty", 4], + ["neon", 5], + ["neon color-coordinate with hair", 6], + ["metallic", 7], + ["metallic color-coordinate with hair", 8] ]; super("Makeup", pairs); this.setValue(current_rule.set.makeup); @@ -2969,6 +2972,7 @@ window.rulesAssistantOptions = (function() { class HairLengthList extends ListSelector { constructor() { const pairs = [ + ["shaved", 0], ["very short", 5], ["short", 10], ["shoulder length", 30], -- GitLab