diff --git a/src/npc/startingGirls/startingGirls.js b/src/npc/startingGirls/startingGirls.js index 01c6faca6df6c890ca22f7d8f02dca82f1f15c7b..68a7b5c4a16e33fd562169d777b805234d83f896 100644 --- a/src/npc/startingGirls/startingGirls.js +++ b/src/npc/startingGirls/startingGirls.js @@ -1061,7 +1061,6 @@ App.StartingGirls.physical = function(slave) { App.StartingGirls.profile = function(slave) { const el = new DocumentFragment(); let options = new App.UI.OptionsGroup(); - let r; let option; const {His} = getPronouns(slave); @@ -1158,17 +1157,22 @@ App.StartingGirls.profile = function(slave) { }); option = options.addOption("Prestige", "prestige", slave) - .addValueList([["None", 0], ["Locally known", 1], ["Regionally famous", 2], ["World renowned", 3]]); + .addValueList([ + ["None", 0], + ["Locally known", 1], + ["Regionally famous", 2], + ["World renowned", 3] + ]); if (slave.prestige > 0) { - r = []; + const r = []; r.push("Starting slaves incur an extreme cost penalty for prestige. This slave's"); if (slave.actualAge >= 25) { if (slave.actualAge > 35) { - r.push(" advanced"); + r.push("advanced"); } - r.push(" age decreases the penalty."); + r.push("age decreases the penalty."); } else { - r.push(" young age requires paying the full penalty."); + r.push("young age requires paying the full penalty."); } option.addComment(`<span class="warning">${r.join(" ")}</span>`); } @@ -1197,7 +1201,7 @@ App.StartingGirls.profile = function(slave) { .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("Prestige description", "prestigeDesc", slave).showTextBox().addComment("Use complete, capitalized and punctuated sentences."); } 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");