From cf50c0ba2d68a9bf48fe172c7fab814d71aa363e Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Fri, 18 Dec 2020 16:09:03 -0500 Subject: [PATCH] tweak origin --- src/npc/startingGirls/startingGirls.js | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/npc/startingGirls/startingGirls.js b/src/npc/startingGirls/startingGirls.js index 9e2cd569200..d9db41e2734 100644 --- a/src/npc/startingGirls/startingGirls.js +++ b/src/npc/startingGirls/startingGirls.js @@ -619,6 +619,7 @@ App.StartingGirls.applyPlayerOrigin = function(slave) { App.StartingGirls.physical = function(slave) { const el = new DocumentFragment(); + const {he} = getPronouns(slave); const options = new App.UI.OptionsGroup(); let option; @@ -938,6 +939,7 @@ App.StartingGirls.physical = function(slave) { slave.pregWeek = 0; slave.pregKnown = 0; }); + options.addOption("Births", "birthsTotal", slave.counter).showTextBox().addComment(`How many times ${he} has already given birth, not necessarily while owned by you.`); } if (V.PC.dick > 0 && slave.preg > 0) { @@ -1058,10 +1060,10 @@ App.StartingGirls.physical = function(slave) { App.StartingGirls.profile = function(slave) { const el = new DocumentFragment(); - const options = new App.UI.OptionsGroup(); + let options = new App.UI.OptionsGroup(); let r; let option; - const {His, he} = getPronouns(slave); + const {His} = getPronouns(slave); options.addOption("Birth name", "birthName", slave).showTextBox(); options.addOption("Slave name", "slaveName", slave).showTextBox(); @@ -1155,9 +1157,6 @@ App.StartingGirls.profile = function(slave) { slave.hips = either(0, 1, 2); }); - options.addOption("Births", "birthsTotal", slave.counter).showTextBox().addComment(`How many times ${he} has already given birth, not necessarily while owned by you.`); - - option = options.addOption("Prestige", "prestige", slave) .addValueList([["None", 0], ["Locally known", 1], ["Regionally famous", 2], ["World renowned", 3]]); if (slave.prestige > 0) { @@ -1186,18 +1185,22 @@ App.StartingGirls.profile = function(slave) { ["Amerindian", "amerindian"], ["Pacific Islander", "pacific islander"], ["Malay", "malay"], ["Mixed Race", "mixed race"]]); } - options.addOption("Custom origin story", "origin", slave).showTextBox().addComment("Use complete, capitalized and punctuated sentences."); + el.append(options.render()); + App.UI.DOM.appendNewElement("h3", el, "Optional customizations"); + options = new App.UI.OptionsGroup(); + + options.addOption("Origin story", "origin", slave).showTextBox().addComment("Use complete, capitalized and punctuated sentences."); options.addOption("Origin override", "originOverride", V) .addValue("Enable", 1).on() .addValue("Disable", 0).off() - .addComment("toggles allow Starting Girls to overwrite custom origin and tattoo with its defaults."); + .addComment("Prevent Starting Girls from overwriting custom origin and tattoo with its defaults."); if (slave.prestige) { options.addOption("Prestige description", "prestigeDesc", V).showTextBox().addComment("Use complete, capitalized and punctuated sentences."); } - options.addOption("Custom description", "desc", slave.custom).showTextBox().addComment("Use complete, capitalized and punctuated sentences."); - options.addOption("Custom label", "label", slave.custom).showTextBox().addComment("Use a short phrase"); + options.addOption("Description", "desc", slave.custom).showTextBox().addComment("Use complete, capitalized and punctuated sentences."); + options.addOption("Label", "label", slave.custom).showTextBox().addComment("Use a short phrase"); el.append(options.render()); -- GitLab