diff --git a/src/npc/startingGirls/startingGirls.js b/src/npc/startingGirls/startingGirls.js index 540ea67aa15730fed446fb184449e960ed07e8a6..9107e55671c096282889834a3e1868ee2bd054d4 100644 --- a/src/npc/startingGirls/startingGirls.js +++ b/src/npc/startingGirls/startingGirls.js @@ -1134,9 +1134,17 @@ App.StartingGirls.profile = function(slave) { } option.addComment(text).pulldown(); - options.addOption("Legal status", "indenture", slave) - .addValue("Slave", -1, () => slave.indentureRestrictions = 0) - .addRange(52, 0, ">=", "Indentured Servant"); + const indenture = {active: slave.indenture > -1}; + + options.addOption("Legal status", "active", indenture) + .addValue("Slave", false, () => { + slave.indenture = -1; + slave.indentureRestrictions = 0; + }) + .addValue("Indentured Servant", true, () => { + slave.indenture = 52; + }); + if (slave.indenture > -1) { options.addOption("Remaining weeks", "indenture", slave).showTextBox(); @@ -1235,10 +1243,10 @@ App.StartingGirls.profile = function(slave) { .showTextBox({large: true, forceString: true}) .addComment("Use complete, capitalized and punctuated sentences."); } - options.addOption("Description", "desc", slave.custom).showTextBox().addComment("Use complete, capitalized and punctuated sentences."); + options.addOption("Description", "desc", slave.custom).showTextBox({large: true}) + .addComment("Use complete, capitalized and punctuated sentences."); options.addOption("Label", "label", slave.custom).showTextBox().addComment("Use a short phrase"); - el.append(options.render()); return el; };