From 1a194a3557dff796f3e23bbdee9576973023a2c9 Mon Sep 17 00:00:00 2001 From: DCoded <dcoded@live.com> Date: Wed, 10 Apr 2019 14:21:32 -0400 Subject: [PATCH] Fixes --- src/cheats/mod_editSlaveCheatNew.tw | 6 +++--- src/endWeek/saServant.js | 8 +++++++- src/js/generateGenetics.js | 3 ++- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/cheats/mod_editSlaveCheatNew.tw b/src/cheats/mod_editSlaveCheatNew.tw index 96c9fdb3d36..de082b12151 100644 --- a/src/cheats/mod_editSlaveCheatNew.tw +++ b/src/cheats/mod_editSlaveCheatNew.tw @@ -1963,10 +1963,10 @@ <<radiobutton "$tempSlave.eyes" -2>> Blind <br> ''$He has '' - <<if $tempSlave.eyesImplant == 0>>normal<<else>>artificial<</if>>eyes. + <<if $tempSlave.eyesImplant == 0>>normal<<else>>artificial<</if>> eyes. <br> - <<radiobutton "tempSlave.eyesImplant" 0>> Normal - <<radiobutton "tempSlave.eyesImplant" 1>> Artificial + <<radiobutton "$tempSlave.eyesImplant" 0>> Normal + <<radiobutton "$tempSlave.eyesImplant" 1>> Artificial <br> <</widget>> diff --git a/src/endWeek/saServant.js b/src/endWeek/saServant.js index 5b13a5642fc..f44e150408f 100644 --- a/src/endWeek/saServant.js +++ b/src/endWeek/saServant.js @@ -1,5 +1,10 @@ -window.saServant = /** @param {App.Entity.SlaveState} slave */ function saServant(slave) { +/** + * @param {App.Entity.SlaveState} slave + * @returns {string} + */ +window.saServant = function saServant(slave) { const V = State.variables; + /* eslint-disable */ const pronouns = getPronouns(slave); const he = pronouns.pronoun; const him = pronouns.object; @@ -9,6 +14,7 @@ window.saServant = /** @param {App.Entity.SlaveState} slave */ function saServan const boy = pronouns.noun; const He = capFirstChar(he); const His = capFirstChar(his); + /* eslint-enable */ let t = `works as a servant. ${He} performs the lowest jobs in your penthouse, cleaning up after your other slaves, bathing them, helping them dress, and giving them sexual relief.`; diff --git a/src/js/generateGenetics.js b/src/js/generateGenetics.js index 7a0cb567eab..74d4db4638f 100644 --- a/src/js/generateGenetics.js +++ b/src/js/generateGenetics.js @@ -881,7 +881,7 @@ window.generateGenetics = (function() { } } - //rear lipedema + // rear lipedema if (father !== 0) { if (mother.geneticQuirks.rearLipedema === 2 && father.geneticQuirks.rearLipedema === 2) { if (jsRandom(1, 4) >= 3) { @@ -1190,6 +1190,7 @@ window.generateChild = function (mother, ova, destination) { } else { V.activeSlaveOneTimeMinAge = V.targetAge; V.activeSlaveOneTimeMaxAge = V.targetAge; + // eslint-disable-next-line camelcase V.one_time_age_overrides_pedo_mode = 1; V.ageAdjustOverride = 1; -- GitLab