diff --git a/src/js/rulesAssistantOptions.js b/src/js/rulesAssistantOptions.js index add70b98472f00374756fd60f75956f6af52b567..97617fa7a37261f1a910e334d5c3e475f1e52a39 100644 --- a/src/js/rulesAssistantOptions.js +++ b/src/js/rulesAssistantOptions.js @@ -8,7 +8,7 @@ window.rulesAssistantOptions = (function() { "use strict"; const noDefaultSetting = {value: "!NDS!", text: "no default setting"}; - + /** @type {App.RA.Rule} */ let current_rule; @@ -1548,7 +1548,6 @@ window.rulesAssistantOptions = (function() { this.appendChild(new ClearLabelSwitch()); this.appendChild(new LabelList()); this.appendChild(new LabelRemoveList()); - } } @@ -2504,16 +2503,19 @@ window.rulesAssistantOptions = (function() { class WeightEditor extends NumericRangeEditor { constructor() { + const hdp = V.arcologies[0].FSHedonisticDecadence !== "unset"; const pairs = [ - ["rail thin", App.RA.makeRange(-100, -96)], - ["thin", App.RA.makeRange(-95, -31)], + ["emaciated", App.RA.makeRange(-100, -96)], + ["very thin", App.RA.makeRange(-95, -31)], ["pleasingly thin", App.RA.makeRange(-30, -11)], ["healthy", App.RA.makeRange(-10, 10)], - ["curvy", App.RA.makeRange(10, 30)], - ["quite curvy", App.RA.makeRange(10, 30)], - ["extremely curvy", App.RA.makeRange(31, 95)] + ["nicely plush", App.RA.makeRange(11, 30)], + [hdp ? "quite curvy" : "chubby", App.RA.makeRange(31, 95)], + [hdp ? "extremely curvy": "overweight", App.RA.makeRange(96, 130)], + [hdp ? "amazingly curvy": "very overweight", App.RA.makeRange(131, 160)], + [hdp ? "spectacularly curvy": "extremely overweight", App.RA.makeRange(161, 190)], + [hdp ? "perfectly curvy" : "dangerously overweight", App.RA.makeRange(191, 200)] ]; - super("Weight", pairs, true, -100, 200); this.setValue(current_rule.set.weight); this.onchange = (value) => current_rule.set.weight = value;