From cf925b50fec900b3eb5365f36a9de15161c5c00e Mon Sep 17 00:00:00 2001 From: Anu <anulithic@gmail.com> Date: Thu, 24 Aug 2023 23:32:25 -0700 Subject: [PATCH] Immortal ovaries: descriptive blurb and tweak reset condition --- src/js/utilsSlave.js | 2 +- src/npc/descriptions/crotch/vagina.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/js/utilsSlave.js b/src/js/utilsSlave.js index 3fed41510dd..668cb47e91b 100644 --- a/src/js/utilsSlave.js +++ b/src/js/utilsSlave.js @@ -2927,7 +2927,7 @@ globalThis.ageSlave = function(slave, forceDevelopment = false) { if (slave.broodmother === 1) { slave.ovaryAge += 0.2; } - if (slave.ovaryAge < 0) { + if ((slave.ovaries > 0 || slave.mpreg > 0) && slave.ovaryAge < 0) { slave.ovaryAge = -100; // reset immortal ovaries every year } if (slave.physicalAge <= 20 && (forceDevelopment || V.loliGrow > 0)) { diff --git a/src/npc/descriptions/crotch/vagina.js b/src/npc/descriptions/crotch/vagina.js index 99d74e8c7ee..a185acd3899 100644 --- a/src/npc/descriptions/crotch/vagina.js +++ b/src/npc/descriptions/crotch/vagina.js @@ -256,6 +256,10 @@ App.Desc.vagina = function(slave) { } } + if ((slave.ovaries > 0 || slave.mpreg > 0) && slave.ovaryAge < 0) { + r.push(`${His} ovaries have been replaced with genetically modified clones that will continue to produce new ova for as long as ${he} lives.`); + } + if (slave.ovaImplant !== 0) { switch (slave.ovaImplant) { case "fertility": -- GitLab