From 0a49816cd87bf743f67e67f44ecbbb878d8e21d0 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Sat, 16 Jan 2021 10:14:23 -0500 Subject: [PATCH] Move long option text into a comment --- src/facilities/salon/salonPassage.js | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/src/facilities/salon/salonPassage.js b/src/facilities/salon/salonPassage.js index c90dfe69178..7981b8ebb57 100644 --- a/src/facilities/salon/salonPassage.js +++ b/src/facilities/salon/salonPassage.js @@ -374,28 +374,24 @@ App.UI.salon = function(slave, cheat = false) { option.pulldown(); if (slave.markings === "beauty mark") { - r = []; - r.push(`${He} has a prominent mole on ${his} face, which`); + option = options.addOption(`${He} has a prominent mole on ${his} face`, "markings", slave) + .addValue("Remove it", "none", billMod); if (slave.face > 40) { - r.push(`qualifies as a beauty mark and enhances ${his} attractiveness due to ${his} facial beauty.`); + option.addComment(`The mole qualifies as a beauty mark and enhances ${his} attractiveness due to ${his} facial beauty.`); } else if (slave.face < -10) { - r.push(`makes ${him} even less attractive.`); + option.addComment(`The mole makes ${him} even less attractive.`); } else { - r.push(`qualifies as a beauty mark since ${he}'s pretty, having no significant impact on ${his} beauty.`); + option.addComment(`The mole qualifies as a beauty mark since ${he}'s pretty, having no significant impact on ${his} beauty.`); } - options.addOption(r.join(" "), "markings", slave) - .addValue("Remove it", "none", billMod); } if (slave.markings === "birthmark") { - r = []; - r.push(`${He} has a large birthmark, which`); + option = options.addOption(`${He} has a large birthmark`, "markings", slave) + .addValue("Bleach it", "none", billMod); if (slave.prestige > 0 || slave.porn.prestige > 1) { - r.push(`enhances ${his} attractiveness due to ${his} prestige.`); + option.addComment(`The birthmark enhances ${his} attractiveness due to ${his} prestige.`); } else { - r.push(`detracts from ${his} attractiveness.`); + option.addComment(`The birthmark detracts from ${his} attractiveness.`); } - options.addOption(r.join(" "), "markings", slave) - .addValue("Bleach it", "none", billMod); } el.append(options.render()); -- GitLab