Skip to content
Snippets Groups Projects
Commit 8f8a343b authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'Salon-fixes' into 'pregmod-master'

Salon fixes

Closes #2621

See merge request !8520
parents ed1b69eb c7c75930
No related branches found
No related tags found
1 merge request!8520Salon fixes
...@@ -30,6 +30,7 @@ App.UI.salon = function(slave, cheat = false) { ...@@ -30,6 +30,7 @@ App.UI.salon = function(slave, cheat = false) {
} }
el.append(hair()); el.append(hair());
el.append(makeup()); el.append(makeup());
el.append(nails());
el.append(skin()); el.append(skin());
el.append(bodyHair()); el.append(bodyHair());
return el; return el;
...@@ -145,6 +146,32 @@ App.UI.salon = function(slave, cheat = false) { ...@@ -145,6 +146,32 @@ App.UI.salon = function(slave, cheat = false) {
return el; return el;
} }
function nails() {
const el = new DocumentFragment();
App.UI.DOM.appendNewElement("h3", el, "Nails");
const options = new App.UI.OptionsGroup();
options.addOption(App.Desc.nails(slave), "nails", slave)
.addValue("Neatly clipped", 0, billMod)
.addValue("Long and elegant", 1, billMod)
.addValue("Sharp and claw-like", 3, billMod)
.addValue("Bright and glittery", 4, billMod)
.addValue("Very long and garish", 4, billMod)
.addValue("Color-coordinate with hair", 2, billMod);
options.addOption("", "makeup", slave)
.addValue("Neon", 6, billMod)
.addValue("Neon, color-coordinate with hair", 7, billMod);
options.addOption("", "makeup", slave)
.addValue("Metallic", 8, billMod)
.addValue("Metallic, color-coordinate with hair", 9, billMod);
el.append(options.render());
return el;
}
function hair() { function hair() {
const el = new DocumentFragment(); const el = new DocumentFragment();
let option; let option;
...@@ -440,7 +467,7 @@ App.UI.salon = function(slave, cheat = false) { ...@@ -440,7 +467,7 @@ App.UI.salon = function(slave, cheat = false) {
option = options.addOption(r.join(" "), "pubicHColor", slave); option = options.addOption(r.join(" "), "pubicHColor", slave);
if (hasPubes) { if (hasPubes) {
if (slave.pubicHColor !== slave.hColor) { if (slave.pubicHColor !== slave.hColor) {
option.addValue("Match the curtains", slave.pubicHColor); option.addValue("Match the curtains", slave.hColor);
} }
option.addValueList(makeAList(App.Medicine.Modification.Color.Primary.map(color => color.value))) option.addValueList(makeAList(App.Medicine.Modification.Color.Primary.map(color => color.value)))
.addCallbackToEach(billMod) .addCallbackToEach(billMod)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment