From 1b411de03d02063eda367039af4ee159d6c31cd2 Mon Sep 17 00:00:00 2001 From: Anu <barrychahal@gmail.com> Date: Wed, 16 Sep 2020 17:20:06 -0700 Subject: [PATCH] Truncate biometrics collar "# weeks till I pop" --- src/npc/children/longChildDescription.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/npc/children/longChildDescription.js b/src/npc/children/longChildDescription.js index 24dba977dbd..8d36bdda9a6 100644 --- a/src/npc/children/longChildDescription.js +++ b/src/npc/children/longChildDescription.js @@ -859,7 +859,7 @@ App.Facilities.Nursery.LongChildDescription = function(child, {market = 0, event if (child.pregWeek < 0) { r += `"${num(child.pregWeek * -1)} week${child.pregWeek !== -1 ? `s` : ``} until I can get preggers again!" `; } else if (child.pregKnown) { - r += `"${40-child.preg} weeks till I pop!" `; + r += `"${40-Math.ceil(child.preg)} weeks till I pop!" `; } else { r += `"My womb needs filling!" `; } -- GitLab