From fb747c0f8b8bedfc2e8210dbbdad74b35bd36ece Mon Sep 17 00:00:00 2001
From: DCoded <dcoded@live.com>
Date: Sun, 10 Feb 2019 15:27:02 -0500
Subject: [PATCH] sanityCheck cleanup

---
 src/facilities/nursery/childrenReport.tw | 307 +----------------------
 1 file changed, 2 insertions(+), 305 deletions(-)

diff --git a/src/facilities/nursery/childrenReport.tw b/src/facilities/nursery/childrenReport.tw
index a22fe4af419..89224786b08 100644
--- a/src/facilities/nursery/childrenReport.tw
+++ b/src/facilities/nursery/childrenReport.tw
@@ -18,7 +18,7 @@
 		@@.pink;$cribs[_nur].slaveName@@ is @@.lime;ready for release.@@ $He will be removed from $nurseryName upon your approach.
 	<</if>>
 
-	<<if $nurseryUpgradeWeight == 1>>
+	<<if $nurseryWeight == 1>>
 		<br>
 		<<if $nurseryWeightSetting == 1>>
 			<<if $cribs[_nur].weight < 200>>
@@ -48,7 +48,7 @@
 		<</if>>
 	<</if>>
 
-	<<if $nurseryUpgradeMuscles == 1>>
+	<<if $nurseryMuscles == 1>>
 		<br>
 		<<if $nurseryMusclesSetting == 2>>
 			<<if $cribs[_nur].muscles < 100>>
@@ -77,309 +77,6 @@
 			<<set $cribs[_nur].muscles -= 40>>
 		<</if>>
 	<</if>>
-
-	<<if $nurseryUpgradeGrowthStims == 1 && $nurseryGrowthStimsSetting != 0>>
-		<br>
-		<<set _heightLimit = Math.trunc(Math.clamp((Height.mean($cribs[_nur]) * 1.25),0,274))>>
-		<<set _heightLimitAge = Height.forAge($cribs[_nur].height, $cribs[_nur])>>
-		<<if $cribs[_nur].geneMods.NCS == 1>>
-			/*
-			** NCS should block physical growth beyond that of a toddler, but some players might like
-			** a little more or less. So using $minimumSlaveAge or 8, whichever is lesser.
-			*/
-			<<set _limitAge = Math.min(8, $minimumSlaveAge)>>
-			<<set _heightLimitAge = Height.forAge($cribs[_nur].height, _limitAge, $cribs[_nur].genes)>>
-			<<set _heightLimit = _heightLimitAge>>
-		<</if>>
-		<<if $cribs[_nur].height >= _heightLimit>>
-			The monitoring system detects $his body is not able to support further increases in height, so it carefully regulates stimulant injections to @@.yellow;maintain $his current stature.@@
-			<<set $cribs[_nur].height = _heightLimit>>
-		<<elseif $nurseryGrowthStimsSetting == 2>>
-			<<if $cribs[_nur].geneMods.NCS == 1>>
-				The monitoring system floods $his body with growth stimulants, but $his @@.orange;NCS prevents an increase in $his growth rate.@@
-				<<set $cribs[_nur].height = _heightLimitAge>>
-			<<else>>
-				The monitoring system floods $his body with growth stimulants, causing @@.green;a sharp increase in growth rate.@@
-				<<if $nurseryWeightSetting >= 1 && $nurseryMusclesSetting <= 1 && $nurseryReproductionSetting <= 1>>
-					<<set $cribs[_nur].height += random(1,2)>>
-				<<else>>
-					<<set $cribs[_nur].height += random(0,1)>>
-				<</if>>
-			<</if>>
-		<<elseif $nurseryGrowthStimsSetting == 1>>
-			<<if $cribs[_nur].geneMods.NCS == 1>>
-				The monitoring system detects $he is near the expected height for $his @@.orange;NCS@@ condition, so it carefully regulates stimulants injections to @@.yellow;maintain $his current stature.@@
-				<<set $cribs[_nur].height = _heightLimitAge>>
-			<<elseif $cribs[_nur].height > _heightLimitAge>>
-				The monitoring system detects $he is near the expected height, so it carefully regulates stimulants injections to @@.yellow;maintain $his current stature.@@
-				<<if random(1,10) == 10>>
-					<<set $cribs[_nur].height += random(0,1)>>
-				<</if>>
-			<<else>>
-				The monitoring system detects $his body is capable of developing more rapidly and @@.green;increases $his growth stimulant dosage.@@
-				<<set $cribs[_nur].height += random(0,1)>>
-			<</if>>
-		<</if>>
-		<<set $cribs[_nur].height = Math.clamp($cribs[_nur].height, 0, _heightLimit)>>
-	<<else>>
-		<br>
-		With the growth stimulant injections offline, $his body is left to develop naturally.
-	<</if>>
-
-	<<if $nurseryUpgradeReproduction == 1>>
-		<br>
-		<<if $nurseryReproductionSetting == 2>>
-			$His developing body is being flooded with hormones.
-			<<if $nurseryWeightSetting == 1>>
-				Combined with the abundant food provided to $him, $his body grows rapidly.
-				<<if $cribs[_nur].ovaries == 1>>
-					<<set $cribs[_nur].pubertyXX = 1>>
-					<<if $cribs[_nur].hormoneBalance < 500>>
-						<<set $cribs[_nur].hormoneBalance += 100>>
-					<</if>>
-					<<if $seeHyperPreg == 1>>
-						<<set $cribs[_nur].readyOva = random(25,45)>>
-					<<else>>
-						<<set $cribs[_nur].readyOva = random(3,8)>>
-					<</if>>
-					<<if $cribs[_nur].geneMods.NCS == 1>>
-						/* NCS blocks hormonal growth of all secondary sexual characteristics */
-						$His @@.orange;NCS blocks all growth@@ despite the excess estrogen-laced growth hormones flooding $his body.
-						<<if $cribs[_nur].boobs < 8000>>
-							The excess estrogen-laced growth hormones @@.green;rapidly balloon $his breasts.@@
-							<<set $cribs[_nur].boobs += 100>>
-						<</if>>
-						<<if $cribs[_nur].hips < 2 && random(1,100) > 80>>
-							The excess estrogen-laced growth hormones @@.green;cause $his hips to widen for childbirth.@@
-							<<set $cribs[_nur].hips++>>
-						<</if>>
-						<<if $cribs[_nur].butt < 12 && random(1,100) > 70>>
-							The excess estrogen-laced growth hormones @@.green;cause $his rear to grow fatter.@@
-							<<set $cribs[_nur].butt++>>
-						<</if>>
-					<</if>>
-				<<elseif $cribs[_nur].balls > 0>>
-					<<set $cribs[_nur].pubertyXY = 1>>
-					<<if $cribs[_nur].hormoneBalance > -500>>
-						<<set $cribs[_nur].hormoneBalance -= 100>>
-					<</if>>
-					<<if $cribs[_nur].geneMods.NCS == 1>>
-						/* NCS blocks hormonal growth of all secondary sexual characteristics */
-						$His @@.orange;NCS blocks all growth@@ despite the excess testosterone-laced growth hormones flooding $his body.
-						<<if $cribs[_nur].balls < 40 && random(1,100) > 30>>
-							The excess testosterone-laced growth hormones @@.green;cause $his balls to balloon for extra cum production.@@
-							<<set $cribs[_nur].balls++>>
-						<</if>>
-						<<if $cribs[_nur].dick < 10 && random(1,100) > 80>>
-							The excess testosterone-laced growth hormones @@.green;cause $his penis to swell.@@
-							<<set $cribs[_nur].dick++>>
-						<</if>>
-					<</if>>
-				<</if>>
-			<<elseif $nurseryWeightSetting == 2>>
-				Combined with the healthy food provided to $him, $his body grows readily.
-				<<if $cribs[_nur].ovaries == 1>>
-					<<set $cribs[_nur].pubertyXX = 1>>
-					<<if $cribs[_nur].hormoneBalance < 500>>
-						<<set $cribs[_nur].hormoneBalance += 100>>
-					<</if>>
-					<<if $seeHyperPreg == 1>>
-						<<set $cribs[_nur].readyOva = random(15,25)>>
-					<<else>>
-						<<set $cribs[_nur].readyOva = random(2,6)>>
-					<</if>>
-					<<if $cribs[_nur].geneMods.NCS == 1>>
-						/* NCS blocks hormonal growth of all secondary sexual characteristics */
-						$His @@.orange;NCS blocks all growth@@ despite the excess estrogen-laced growth hormones flooding $his body.
-						<<if $cribs[_nur].boobs < 4000>>
-							The excess estrogen-laced growth hormones @@.green;rapidly balloon $his breasts.@@
-							<<set $cribs[_nur].boobs += 100>>
-						<</if>>
-						<<if $cribs[_nur].hips < 2 && random(1,100) > 95>>
-							The excess estrogen-laced growth hormones @@.green;cause $his hips to widen for childbirth.@@
-							<<set $cribs[_nur].hips++>>
-						<</if>>
-						<<if $cribs[_nur].butt < 8 && random(1,100) > 80>>
-							The excess estrogen-laced growth hormones @@.green;cause $his rear to grow fatter.@@
-							<<set $cribs[_nur].butt++>>
-						<</if>>
-					<</if>>
-				<<elseif $cribs[_nur].balls > 0>>
-					<<set $cribs[_nur].pubertyXY = 1>>
-					<<if $cribs[_nur].hormoneBalance > -500>>
-						<<set $cribs[_nur].hormoneBalance -= 100>>
-					<</if>>
-					<<if $cribs[_nur].geneMods.NCS == 1>>
-						/* NCS blocks hormonal growth of all secondary sexual characteristics */
-						$His @@.orange;NCS blocks all growth@@ despite the excess testosterone-laced growth hormones flooding $his body.
-						<<if $cribs[_nur].balls < 10 && random(1,100) > 30>>
-							The excess testosterone-laced growth hormones @@.green;cause $his balls to balloon for extra cum production.@@
-							<<set $cribs[_nur].balls++>>
-						<</if>>
-						<<if $cribs[_nur].dick < 7 && random(1,100) > 80>>
-							The excess testosterone-laced growth hormones @@.green;cause $his penis to swell.@@
-							<<set $cribs[_nur].dick++>>
-						<</if>>
-					<</if>>
-				<</if>>
-			<<else>>
-				Since $his body has little to work with, $his growth is fairly minor.
-				<<if $cribs[_nur].ovaries == 1>>
-					<<set $cribs[_nur].pubertyXX = 1>>
-					<<if $cribs[_nur].hormoneBalance < 500>>
-						<<set $cribs[_nur].hormoneBalance += 100>>
-					<</if>>
-					<<if $seeHyperPreg == 1>>
-						<<set $cribs[_nur].readyOva = random(10,15)>>
-					<<else>>
-						<<set $cribs[_nur].readyOva = random(2,4)>>
-					<</if>>
-					<<if $cribs[_nur].geneMods.NCS == 1>>
-						/* NCS blocks hormonal growth of all secondary sexual characteristics */
-						$His @@.orange;NCS blocks all growth@@ despite the excess estrogen-laced growth hormones flooding $his body.
-						<<if $cribs[_nur].boobs < 2000>>
-							The excess estrogen-laced growth hormones @@.green;rapidly grow $his breasts.@@
-							<<set $cribs[_nur].boobs += 10>>
-						<</if>>
-						<<if $cribs[_nur].hips < 2 && random(1,100) > 95>>
-							The excess estrogen-laced growth hormones @@.green;cause $his hips to widen for childbirth.@@
-							<<set $cribs[_nur].hips++>>
-						<</if>>
-						<<if $cribs[_nur].butt < 6 && random(1,100) > 90>>
-							The excess estrogen-laced growth hormones @@.green;cause $his rear to grow fatter.@@
-							<<set $cribs[_nur].butt++>>
-						<</if>>
-					<</if>>
-				<<elseif $cribs[_nur].balls > 0>>
-					<<set $cribs[_nur].pubertyXY = 1>>
-					<<if $cribs[_nur].hormoneBalance > -500>>
-						<<set $cribs[_nur].hormoneBalance -= 100>>
-					<</if>>
-					<<if $cribs[_nur].geneMods.NCS == 1>>
-						/* NCS blocks hormonal growth of all secondary sexual characteristics */
-						$His @@.orange;NCS blocks all growth@@ despite the excess testosterone-laced growth hormones flooding $his body.
-						<<if $cribs[_nur].balls < 6 && random(1,100) > 80>>
-							The excess testosterone-laced growth hormones @@.green;cause $his balls to grow for extra cum production.@@
-							<<set $cribs[_nur].balls++>>
-						<</if>>
-						<<if $cribs[_nur].dick < 4 && random(1,100) > 90>>
-							The excess testosterone-laced growth hormones @@.green;cause $his penis to swell.@@
-							<<set $cribs[_nur].dick++>>
-						<</if>>
-					<</if>>
-				<</if>>
-			<</if>>
-		<<elseif $nurseryReproductionSetting == 1>>
-			$His hormone levels are being carefully managed, @@.green;encouraging early puberty.@@
-			<<if $cribs[_nur].ovaries == 1>>
-				<<set $cribs[_nur].pubertyXX = 1>>
-				<<set $cribs[_nur].hormoneBalance = 250>>
-				<<if $cribs[_nur].geneMods.NCS == 1>>
-					/* NCS blocks hormonal growth of all secondary sexual characteristics */
-					$His @@.orange;NCS blocks growth@@ despite the added estrogen.
-				<<else>>
-					<<if $cribs[_nur].boobs < 400 && random(1,100) > 60>>
-						The added estrogen @@.green;causes $his breasts to swell.@@
-						<<set $cribs[_nur].boobs += 50>>
-					<</if>>
-					<<if $cribs[_nur].hips < 2 && random(1,100) > 90>>
-						The added estrogen @@.green;causes $his hips to widen.@@
-						<<set $cribs[_nur].hips++>>
-					<</if>>
-					<<if $cribs[_nur].butt < 5 && random(1,100) > 80>>
-						The added estrogen @@.green;causes $his butt to grow.@@
-						<<set $cribs[_nur].butt++>>
-					<</if>>
-				<</if>>
-			<<elseif $cribs[_nur].balls > 0>>
-				<<set $cribs[_nur].pubertyXY = 1>>
-				<<set $cribs[_nur].hormoneBalance = -250>>
-				<<if $cribs[_nur].geneMods.NCS == 1>>
-					/* NCS blocks hormonal growth of all secondary sexual characteristics */
-					$His @@.orange;NCS blocks all growth@@ despite the added testosterone.
-				<<else>>
-					<<if $cribs[_nur].balls < 3 && random(1,100) > 80>>
-						The added testosterone @@.green;causes $his balls to swell.@@
-						<<set $cribs[_nur].balls++>>
-					<</if>>
-					<<if $cribs[_nur].dick < 3 && random(1,100) > 60>>
-						The added testosterone @@.green;causes $his penis to grow.@@
-						<<set $cribs[_nur].dick++>>
-					<</if>>
-				<</if>>
-			<</if>>
-		<<else>>
-			<<if $cribs[_nur].hormoneBalance > 100>>
-				<<set $cribs[_nur].hormoneBalance -= 50>>
-			<<elseif $cribs[_nur].hormoneBalance < -100>>
-				<<set $cribs[_nur].hormoneBalance += 50>>
-			<</if>>
-			<<if $cribs[_nur].balls > 0>>
-				<<if $cribs[_nur].balls > 1>>
-					<<set $cribs[_nur].balls -= 5>>
-				<</if>>
-				<<if $cribs[_nur].dick > 1>>
-					<<set $cribs[_nur].dick -= 5>>
-				<</if>>
-				<<if $cribs[_nur].balls <= 0>>
-					<<set $cribs[_nur].balls = 1>>
-				<</if>>
-				<<if $cribs[_nur].dick <= 0>>
-					<<set $cribs[_nur].dick = 1>>
-				<</if>>
-			<</if>>
-			<<if $cribs[_nur].boobs > 0>>
-				<<set $cribs[_nur].boobs -= 500>>
-			<</if>>
-			<<if $cribs[_nur].butt > 0>>
-				<<set $cribs[_nur].butt -= 4>>
-			<</if>>
-		<</if>>
-	<<else>>
-		<<if $cribs[_nur].hormoneBalance > 100>>
-			<<set $cribs[_nur].hormoneBalance -= 50>>
-		<<elseif $cribs[_nur].hormoneBalance < -100>>
-			<<set $cribs[_nur].hormoneBalance += 50>>
-		<</if>>
-		<<if $cribs[_nur].balls > 0>>
-			<<if $cribs[_nur].balls > 1>>
-				<<set $cribs[_nur].balls -= 5>>
-			<</if>>
-			<<if $cribs[_nur].dick > 1>>
-				<<set $cribs[_nur].dick -= 5>>
-			<</if>>
-			<<if $cribs[_nur].balls <= 0>>
-				<<set $cribs[_nur].balls = 1>>
-			<</if>>
-			<<if $cribs[_nur].dick <= 0>>
-				<<set $cribs[_nur].dick = 1>>
-			<</if>>
-		<</if>>
-		<<if $cribs[_nur].boobs > 0>>
-			<<set $cribs[_nur].boobs -= 500>>
-		<</if>>
-		<<if $cribs[_nur].butt > 0>>
-			<<set $cribs[_nur].butt -= 4>>
-		<</if>>
-	<</if>>
-
-	<<if $nurseryReproductionSetting == 2>>
-		<<set $cribs[_nur].energy = 80, $cribs[_nur].need = 100>>
-	<<elseif $nurseryReproductionSetting == 1>>
-		<<set $cribs[_nur].energy = 50, $cribs[_nur].need = 20>>
-	<<else>>
-		<<set $cribs[_nur].energy = 0, $cribs[_nur].need = 0>>
-	<</if>>
-	/* these are breaking everything, temporarily commented out
-	<<set $cribs[_nur].weight = Math.clamp($cribs[_nur].weight, -100, 200)>>
-	<<set $cribs[_nur].muscles = Math.clamp($cribs[_nur].muscles, -100, 100)>>
-	<<set $cribs[_nur].dick = Math.clamp($cribs[_nur].dick, 0, 10)>>
-	<<set $cribs[_nur].hips = Math.clamp($cribs[_nur].hips, -2, 2)>>
-	<<set $cribs[_nur].balls = Math.clamp($cribs[_nur].balls, 0, 40)>>
-	<<set $cribs[_nur].boobs = Math.clamp($cribs[_nur].boobs, 0, 30000)>>
-	<<set $cribs[_nur].height = Math.clamp($cribs[_nur].height, 0, 274)>>
-	<<set $cribs[_nur].hormoneBalance = Math.clamp($cribs[_nur].hormoneBalance, -500, 500)>>
-	*/
 <br>
 <</for>>
 /*
-- 
GitLab