From 942c80f1c3c145f6951265df730d044dff937330 Mon Sep 17 00:00:00 2001 From: Transhumanist01 <13112-Transhumanist01@users.noreply.gitgud.io> Date: Sat, 23 May 2020 07:00:13 -0700 Subject: [PATCH] Update assayJS.js --- src/js/assayJS.js | 39 +++++++++++++++------------------------ 1 file changed, 15 insertions(+), 24 deletions(-) diff --git a/src/js/assayJS.js b/src/js/assayJS.js index b473011e476..6bcff58fde6 100644 --- a/src/js/assayJS.js +++ b/src/js/assayJS.js @@ -1850,30 +1850,21 @@ globalThis.retirementReady = function(slave) { * @param {boolean} [forceDevelopment=false] */ globalThis.ageSlave = function(slave, forceDevelopment=false) { - if (slave.advancedGeneticModification.immortality === 1) { - if (slave.physicalAge > 25) { - slave.physicalAge--; - } - if (slave.visualAge > 25) { - slave.visualAge--; - } - } else { - slave.physicalAge++; - slave.actualAge++; - if (slave.geneMods.NCS === 0) { - slave.visualAge++; - slave.ovaryAge += either(0.8, 0.9, 0.9, 1.0, 1.0, 1.0, 1.1); - } else { - /* Induced NCS completely takes over visual aging. Additionally, because of the neoteny aspects of NCS, ovaries don't age quite as fast. */ - slave.ovaryAge += either(0.5, 0.6, 0.7, 0.7, 0.8, 0.9, 1.0); - } - if (slave.broodmother === 1) { - slave.ovaryAge += 0.2; - } - if (slave.physicalAge <= 18 && (forceDevelopment || V.loliGrow > 0)) { - physicalDevelopment(slave); - } - } + slave.physicalAge++; + slave.actualAge++; + if (slave.geneMods.NCS === 0) { + slave.visualAge++; + slave.ovaryAge += either(0.8, 0.9, 0.9, 1.0, 1.0, 1.0, 1.1); + } else { + /* Induced NCS completely takes over visual aging. Additionally, because of the neoteny aspects of NCS, ovaries don't age quite as fast. */ + slave.ovaryAge += either(0.5, 0.6, 0.7, 0.7, 0.8, 0.9, 1.0); + } + if (slave.broodmother === 1) { + slave.ovaryAge += 0.2; + } + if (slave.physicalAge <= 18 && (forceDevelopment || V.loliGrow > 0)) { + physicalDevelopment(slave); + } }; /** Is the slave a shelter slave? -- GitLab