diff --git a/src/npc/startingGirls/startingGirls.js b/src/npc/startingGirls/startingGirls.js index af914df90a5499721ab371697cf9cc99fa89b6c2..4d955ddf8eae09a01e6ca3faed26f9c153464f5f 100644 --- a/src/npc/startingGirls/startingGirls.js +++ b/src/npc/startingGirls/startingGirls.js @@ -698,6 +698,36 @@ App.StartingGirls.physical = function(slave) { .addRange(55, 95, "<", "Beautiful") .addRange(100, 95, ">=", "Very beautiful"); + const optionLeft = options.addOption("Left eye", "vision", slave.eye.left); + const optionRight = options.addOption("Right eye", "vision", slave.eye.right); + optionLeft.addValueList([["Normal", 2], ["Nearsighted", 1]]); + optionRight.addValueList([["Normal", 2], ["Nearsighted", 1]]); + if (V.seeExtreme === 1) { + optionLeft.addValue("Blind", 0); + optionRight.addValue("Blind", 0); + } else { + if (slave.eye.left.vision === 0) { + slave.eye.left.vision = 2; + } + if (slave.eye.right.vision === 0) { + slave.eye.right.vision = 2; + } + } + option = options.addOption("Natural eye color", "origColor", slave.eye) + .showTextBox(); + for (const color of App.Medicine.Modification.eyeColor.map(color => color.value)) { + option.addValue(capFirstChar(color), color); + } + option.pulldown(); + + option = options.addOption("Hearing", "hears", slave); + option.addValueList([["Normal", 0], ["Hard of hearing", -1]]); + if (V.seeExtreme === 1) { + option.addValue("Deaf", -2); + } else if (slave.hears === 0) { + slave.hears = 2; + } + option = options.addOption("Lips", "lips", slave) .addRange(5, 10, "<", "Thin") .addRange(15, 20, "<", "Normal") @@ -713,6 +743,14 @@ App.StartingGirls.physical = function(slave) { options.addOption("Voice", "voice", slave) .addValueList([["Mute", 0], ["Deep", 1], ["Normal", 2], ["High", 3]]); + if (V.seeExtreme === 1) { + options.addOption("Smell ability", "smells", slave) + .addValueList([["Normal", 0], ["None", -1]]); + + options.addOption("Taste ability", "tastes", slave) + .addValueList([["Normal", 0], ["None", -1]]); + } + if (slave.voice !== 0) { options.addOption(V.language, "accent", slave) .addValueList([ @@ -729,6 +767,7 @@ App.StartingGirls.physical = function(slave) { ["Gapped", "gapped"], ["Braces", "straightening braces"] ]); + if (slave.physicalAge >= 12) { if (slave.teeth === "baby" || slave.teeth === "mixed") { slave.teeth = "normal"; @@ -1009,43 +1048,7 @@ App.StartingGirls.physical = function(slave) { ["Has a prostate", 1] ]); - const optionLeft = options.addOption("Left eye", "vision", slave.eye.left); - const optionRight = options.addOption("Right eye", "vision", slave.eye.right); - optionLeft.addValueList([["Normal", 2], ["Nearsighted", 1]]); - optionRight.addValueList([["Normal", 2], ["Nearsighted", 1]]); if (V.seeExtreme === 1) { - optionLeft.addValue("Blind", 0); - optionRight.addValue("Blind", 0); - } else { - if (slave.eye.left.vision === 0) { - slave.eye.left.vision = 2; - } - if (slave.eye.right.vision === 0) { - slave.eye.right.vision = 2; - } - } - option = options.addOption("Natural eye color", "origColor", slave.eye) - .showTextBox(); - for (const color of App.Medicine.Modification.eyeColor.map(color => color.value)) { - option.addValue(capFirstChar(color), color); - } - option.pulldown(); - - option = options.addOption("Hearing", "hears", slave); - option.addValueList([["Normal", 0], ["Hard of hearing", -1]]); - if (V.seeExtreme === 1) { - option.addValue("Deaf", -2); - } else if (slave.hears === 0) { - slave.hears = 2; - } - - if (V.seeExtreme === 1) { - options.addOption("Smell ability", "smells", slave) - .addValueList([["Normal", 0], ["None", -1]]); - - options.addOption("Taste ability", "tastes", slave) - .addValueList([["Normal", 0], ["None", -1]]); - State.temporary.LA = hasLeftArm(slave); options.addOption("Left arm", "LA", State.temporary) .addValue("Healthy", true, () => slave.arm.left = new App.Entity.LimbState())