Skip to content
Snippets Groups Projects
Commit 33cbc95e authored by lowercasedonkey's avatar lowercasedonkey
Browse files

age

parent 43c86529
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ App.UI.Player.design = function() {
const freshStart = (V.freshPC === 1 || V.saveImported === 0);
// Title / age
if (freshStart) {
if (freshStart || V.cheatMode) {
options.addOption("You are a", "title", V.PC)
.addValue("Masculine Master", 1, () => V.PC.genes = "XY").addValue("Feminine Mistress", 0, () => V.PC.genes = "XX");
......@@ -83,11 +83,20 @@ App.UI.Player.design = function() {
V.PC.physicalAge = V.PC.actualAge;
V.PC.visualAge = V.PC.actualAge;
options.addOption("You are", "actualAge", V.PC).showTextBox()
.addRange(25, 35, "<", "Surprisingly young").addRange(40, 50, "<", "Entering middle age")
.addRange(55, 65, "<", "Well into middle age").addRange(70, 65, ">=", "Old");
if (V.cheatMode) {
options.addOption("Actual Age", "actualAge", V.PC).showTextBox();
options.addOption("Physical Age", "physicalAge", V.PC).showTextBox();
options.addOption("Visual Age", "visualAge", V.PC).showTextBox();
options.addOption("Ovary Age", "ovaryAge", V.PC).showTextBox();
options.addOption("Age Implant", "ageImplant", V.PC).showTextBox().addComment("0: no surgery, 1: age altering surgery");
options.addOption("Player Aging", "playerAging", V).showTextBox().addComment("0: no aging, 1: no aging, but birthdays, 2: aging");
} else {
options.addOption("You are", "actualAge", V.PC).showTextBox()
.addRange(25, 35, "<", "Surprisingly young").addRange(40, 50, "<", "Entering middle age")
.addRange(55, 65, "<", "Well into middle age").addRange(70, 65, ">=", "Old");
options.addOption(`Your birthday was <strong>${V.PC.birthWeek}</strong> weeks ago.`, "birthWeek", V.PC).showTextBox();
options.addOption(`Your birthday was <strong>${V.PC.birthWeek}</strong> weeks ago.`, "birthWeek", V.PC).showTextBox();
}
} else {
r = [];
r.push(`You are a`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment