diff --git a/src/js/rulesAssistantOptions.js b/src/js/rulesAssistantOptions.js index 5492bc3082de95f50ebad40853a6bd0777273876..cf8038dccfafa31df5f698c528e01d6f9e783ff6 100644 --- a/src/js/rulesAssistantOptions.js +++ b/src/js/rulesAssistantOptions.js @@ -3151,27 +3151,7 @@ globalThis.rulesAssistantOptions = (function() { class HairStyleList extends ListSelector { constructor() { - const pairs = [ - ["neat"], - ["shaved"], - ["trimmed"], - ["buzzcut"], - ["up"], - ["ponytail"], - ["bun"], - ["messy bun"], - ["messy"], - ["curled"], - ["permed"], - ["luxurious"], - ["dreadlocks"], - ["cornrows"], - ["braided"], - ["tails"], - ["eary"], - ["afro"], - ["strip"] - ]; + const pairs = App.Medicine.Modification.hairStyles.Normal.map(c => [c.title, c.value]).concat(App.Medicine.Modification.hairStyles.Cut.map(c => [c.title, c.value])); super("Hair style", pairs); this.setValue(current_rule.set.hStyle); this.onchange = (value) => current_rule.set.hStyle = value;