code:
:: SA hormone effects [nobr]

<<if $slaves[$i].hormoneBalance <= -400>>
	$His hormone balance is overwhelmingly masculine.
<<elseif $slaves[$i].hormoneBalance <= -300>>
	$His hormone balance is extremely masculine.
<<elseif $slaves[$i].hormoneBalance <= -200>>
	$His hormone balance is heavily masculine.
<<elseif $slaves[$i].hormoneBalance <= -100>>
	$His hormone balance is very masculine.
<<elseif $slaves[$i].hormoneBalance < -20>>
	$His hormone balance is masculine.
<<elseif $slaves[$i].hormoneBalance >= 400>>
	$His hormone balance is overwhelmingly feminine.
<<elseif $slaves[$i].hormoneBalance >= 300>>
	$His hormone balance is extremely feminine.
<<elseif $slaves[$i].hormoneBalance >= 200>>
	$His hormone balance is heavily feminine.
<<elseif $slaves[$i].hormoneBalance >= 100>>
	$His hormone balance is very feminine.
<<elseif $slaves[$i].hormoneBalance > 20>>
	$His hormone balance is feminine.
<<else>>
	$He has a neutral hormone balance.
<</if>>

<<if $hormoneUpgradeMood == 0>>
	<<if $slaves[$i].hormoneBalance > 20 && $slaves[$i].genes == "XY" && $slaves[$i].balls != 0 && $slaves[$i].ballType != "sterile">>
		$His feminine hormonal balance conflicts with $his natural hormones,
		<<if $slaves[$i].devotion > 50>>
			but $he's a good enough slave to suppress the occasional moodiness.
		<<else>>
			causing @@.mediumorchid;occasional moodiness.@@
			<<set $slaves[$i].devotion -= 1>>
		<</if>>
		<<if $slaves[$i].energy > 10>>
			It also has the unfortunate consequence of @@.red;damaging $his libido.@@
			<<set $slaves[$i].energy-->>
		<</if>>
		<<if $slaves[$i].attrXX > 50 || $slaves[$i].attrXY > 50>>
			Even more troubling, $his sexual confusion @@.red;leaves $him finding others less attractive.@@
			<<if $slaves[$i].attrXX > 50>>
				<<set $slaves[$i].attrXX-->>
			<</if>>
			<<if $slaves[$i].attrXY > 50>>
				<<set $slaves[$i].attrXY-->>
			<</if>>
		<</if>>
	<</if>>
	<<if $slaves[$i].hormoneBalance < -20 && $slaves[$i].genes == "XX" && ($slaves[$i].ovaries != 0 || $slaves[$i].mpreg != 0)>>
		$His masculine hormonal balance conflicts with $his natural hormones,
		<<if $slaves[$i].devotion > 50>>
			but $he's a good enough slave to suppress the occasional moodiness.
		<<else>>
			causing @@.mediumorchid;occasional moodiness.@@
			<<set $slaves[$i].devotion -= 1>>
		<</if>>
		<<if $slaves[$i].energy > 10>>
			It also has the unfortunate consequence of @@.red;damaging $his libido.@@
			<<set $slaves[$i].energy-->>
		<</if>>
		<<if $slaves[$i].attrXX > 50 || $slaves[$i].attrXY > 50>>
			Even more troubling, $his sexual confusion @@.red;leaves $him finding others less attractive.@@
			<<if $slaves[$i].attrXX > 50>>
				<<set $slaves[$i].attrXX-->>
			<</if>>
			<<if $slaves[$i].attrXY > 50>>
				<<set $slaves[$i].attrXY-->>
			<</if>>
		<</if>>
	<</if>>
<</if>>

/* quirk modifiers */
<<set _rearQuirk = $slaves[$i].geneticQuirks.rearLipedema == 2 ? 2 : 0>>
<<set _gigantomastiaMod = $slaves[$i].geneticQuirks.gigantomastia == 2 ? ($slaves[$i].geneticQuirks.macromastia == 2 ? 3 : 2) : 1>>

<<if $slaves[$i].physicalAge >= 18 || $loliGrow == 0 || $slaves[$i].geneMods.NCS == 1>>
<<if Math.abs($slaves[$i].hormoneBalance) >= 50>>
<<set _effBreastSize = ($slaves[$i].boobs-$slaves[$i].boobsImplant-$slaves[$i].boobsMilk)>>
<<set _effButtSize = ($slaves[$i].butt-$slaves[$i].buttImplant)>>
<<if $slaves[$i].hormoneBalance > 30 && $slaves[$i].geneMods.NCS != 1>>		/* 'Expected' breast size based on weight for feminine-bodied slaves */
	<<set _normBreasts = Math.trunc((100 + ($slaves[$i].weight + 100)*5 + 2*$slaves[$i].lactationAdaptation)*(0.85+$slaves[$i].hormoneBalance/400)*_gigantomastiaMod)>>
	<<set _normButt = (($slaves[$i].weight + 100)*.025*(0.9+$slaves[$i].hormoneBalance/600)*(_rearQuirk/2 + 1))>>
<</if>>

<<if $slaves[$i].hormoneBalance >= 350>>

	<<if ($slaves[$i].geneMods.NCS == 1)>>
		<<if ($slaves[$i].shoulders+(Math.abs($slaves[$i].shouldersImplant)) > -1) && ($slaves[$i].shoulders > -2) && (random(1,100) < 40+(20*$hormoneUpgradePower))>>
			Feminine hormones team up with $his @@.orange;NCS@@ to cause @@.lime;$his shoulders to shrink into a more childlike narrowness@@ than before.
			<<set $slaves[$i].shoulders-->>
		<</if>>
	<<elseif ($slaves[$i].physicalAge < 25)>>
		<<if ($slaves[$i].shoulders+(Math.abs($slaves[$i].shouldersImplant)) > -1) && ($slaves[$i].shoulders > -2) && (random(1,100) < 20+(10*$hormoneUpgradePower))>>
			$His body has not yet found its final bone structure, which typically happens in the mid-twenties. Hormonal effects cause @@.lime;$his shoulders to develop into a more feminine narrowness@@ than they would have done naturally.
			<<set $slaves[$i].shoulders-->>
		<</if>>
		<<if ($slaves[$i].geneMods.NCS == 0) && ($slaves[$i].hips-(Math.abs($slaves[$i].hipsImplant)) < 1) && ($slaves[$i].hips < 2) && (random(1,100) <= 20+(10*$hormoneUpgradePower))>>
			$His body has not yet found its final bone structure, which typically happens in the mid-twenties. Hormonal effects cause @@.lime;$his hips to develop more broadly@@ than they would have done naturally.
			<<set $slaves[$i].hips++>>
		<</if>>
	<</if>>

	<<if $slaves[$i].faceImplant < 5>>
		<<if ($slaves[$i].faceShape == "masculine")>>
			Hormonal effects cause @@.orange;$his face to soften into <<if $slaves[$i].geneMods.NCS == 1>>childlike <</if>>androgyny.@@
			<<set $slaves[$i].faceShape = "androgynous">>
		<<elseif ($slaves[$i].faceShape == "androgynous" && $slaves[$i].geneticQuirks.androgyny != 2)>>
			Hormonal effects cause @@.lime;$his face to soften into <<if $slaves[$i].geneMods.NCS == 1>>childlike normalcy<<else>>femininity<</if>>.@@
			<<set $slaves[$i].faceShape = "normal">>
		<<elseif (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50) && ($slaves[$i].faceShape == "normal"))>>
			Hormonal effects cause @@.lime;$his face to soften into childlike cuteness.@@
			<<set $slaves[$i].faceShape = "cute">>
		<</if>>
	<</if>>
	<<if ($slaves[$i].face-$slaves[$i].faceImplant < 0) && ($slaves[$i].face < 75)>>
		Hormonal effects cause @@.lime;$his facial structure to soften and become less unattractive.@@
		<<set _faceInc = 1+$hormoneUpgradePower>>
		<<if ($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50)>>
			<<set _faceInc *= 2>>
		<</if>>
		<<= faceIncrease($slaves[$i], _faceInc)>>
	<</if>>

	<<if ($slaves[$i].voice < 3) && ($slaves[$i].voice > 0)>>
		Hormonal effects cause @@.lime;$his voice to become higher and more <<if $slaves[$i].geneMods.NCS == 1>>childlike<<else>>feminine<</if>>.@@
		<<set $slaves[$i].voice++>>
	<</if>>

	<<if $slaves[$i].muscles > 10 && $slaves[$i].diet != "muscle building" && $slaves[$i].drugs != "steroids">>
		Hormonal effects @@.orange;reduce $his musculature.@@
		<<set $slaves[$i].muscles -= 2+$hormoneUpgradePower+$slaves[$i].geneticQuirks.mLoss>>
		<<if ($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50)>>
			<<set $slaves[$i].muscles -= 2+$hormoneUpgradePower+$slaves[$i].geneticQuirks.mLoss>>
		<</if>>
	<</if>>
	<<if $slaves[$i].waist > -30>>
		Hormonal effects cause $his @@.lime;waist to narrow.@@
		<<set $slaves[$i].waist -= 2+$hormoneUpgradePower>>
	<</if>>

	<<if $slaves[$i].geneMods.NCS == 0>>
		<<if _effBreastSize < 0.9*_normBreasts>>	/* Grow to 90% of normBreasts */
			Hormonal effects cause @@.lime;a small amount of natural breast growth.@@
			<<set $slaves[$i].boobs += 25>>
		<</if>>
		<<if $slaves[$i].nipples == "tiny">>
			Hormonal effects cause $his tiny @@.lime;nipples to grow to a more normal size.@@
			<<set $slaves[$i].nipples = "cute">>
		<</if>>
		<<if _effButtSize < Math.trunc(4.5*_normButt)/5>>	/* 90% of normButt, rounded down to the next increment of .2 */
			Hormonal effects cause @@.lime;the natural size of $his butt to increase.@@
			<<set $slaves[$i].butt += 0.2>>
		<</if>>
	<<else>>
		$His @@.orange;NCS@@ blocks asset growth despite the fact that $his body is swimming in hormones.
	<</if>>
	<<if $slaves[$i].vagina > -1 && $slaves[$i].ovaries != 0 && $slaves[$i].vaginaLube < 2>>
		Hormonal effects cause @@.lime;$his vagina to produce more copious natural lubricant.@@
		<<set $slaves[$i].vaginaLube++>>
	<</if>>

	<<if $hormoneUpgradeShrinkage == 0>>
		<<if $slaves[$i].dick > 1>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50) && ($slaves[$i].dick > 2))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his dick to atrophy a lot.@@
				<<set $slaves[$i].dick -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;$his dick to atrophy.@@
			<</if>>
			<<set $slaves[$i].dick-->>
		<</if>>
		<<if $slaves[$i].balls > 1>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50) && ($slaves[$i].balls > 2))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his testicles to atrophy a lot.@@
				<<set $slaves[$i].balls -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;$his testicles to atrophy.@@
			<</if>>
			<<set $slaves[$i].balls-->>
		<</if>>
		<<if $slaves[$i].clit > 0>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50) && ($slaves[$i].clit > 1))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his clit to shrink down greatly.@@
				<<set $slaves[$i].clit -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;$his clit to shrink significantly.@@
			<</if>>
			<<set $slaves[$i].clit-->>
		<</if>>
	<</if>>

	<<if $slaves[$i].devotion <= 20>>
		Hormonal effects make $him a bit more @@.hotpink;docile.@@
		<<set $slaves[$i].devotion++>>
	<</if>>
	<<if $slaves[$i].trust <= 20>>
		Hormonal effects make $him a bit more @@.mediumaquamarine;trusting.@@
		<<set $slaves[$i].trust++>>
	<</if>>
	<<if $slaves[$i].attrXY < 100>>
		Hormonal effects cause $him to become @@.green;more attracted to men.@@
		<<set $slaves[$i].attrXY += 2+$hormoneUpgradePower>>
	<</if>>
<<elseif $slaves[$i].hormoneBalance >= 300>>

	<<if $slaves[$i].faceImplant < 5>>
		<<if ($slaves[$i].faceShape == "masculine")>>
			Hormonal effects cause @@.orange;$his face to soften into <<if $slaves[$i].geneMods.NCS == 1>>childlike <</if>>androgyny.@@
			<<set $slaves[$i].faceShape = "androgynous">>
		<<elseif ($slaves[$i].faceShape == "androgynous" && $slaves[$i].geneticQuirks.androgyny != 2)>>
			Hormonal effects cause @@.lime;$his face to soften into <<if $slaves[$i].geneMods.NCS == 1>>childlike normalcy<<else>>femininity<</if>>.@@
			<<set $slaves[$i].faceShape = "normal">>
		<<elseif (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50) && ($slaves[$i].faceShape == "normal"))>>
			Hormonal effects cause @@.lime;$his face to soften into childlike cuteness.@@
			<<set $slaves[$i].faceShape = "cute">>
		<</if>>
	<</if>>
	<<if ($slaves[$i].face-$slaves[$i].faceImplant < 0) && ($slaves[$i].face < 60)>>
		Hormonal effects cause @@.lime;$his facial structure to soften and become less unattractive.@@
		<<set _faceInc = 1+$hormoneUpgradePower>>
		<<if ($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50)>>
			<<set _faceInc *= 2>>
		<</if>>
		<<= faceIncrease($slaves[$i], _faceInc)>>
	<</if>>

	<<if ($slaves[$i].voice < 3) && ($slaves[$i].voice > 0)>>
		Hormonal effects cause @@.lime;$his voice to become higher and more <<if $slaves[$i].geneMods.NCS == 1>>childlike<<else>>feminine<</if>>.@@
		<<set $slaves[$i].voice++>>
	<</if>>

	<<if $slaves[$i].muscles > 30 && $slaves[$i].diet != "muscle building" && $slaves[$i].drugs != "steroids">>
		Hormonal effects @@.orange;reduce $his musculature.@@
		<<set $slaves[$i].muscles -= 2+$hormoneUpgradePower+$slaves[$i].geneticQuirks.mLoss>>
		<<if ($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50)>>
			<<set $slaves[$i].muscles -= 2+$hormoneUpgradePower+$slaves[$i].geneticQuirks.mLoss>>
		<</if>>
	<</if>>
	<<if $slaves[$i].waist > -10>>
		Hormonal effects cause $his @@.lime;waist to narrow.@@
		<<set $slaves[$i].waist -= 2+$hormoneUpgradePower>>
	<</if>>

	<<if $slaves[$i].geneMods.NCS == 0>>
		<<if _effBreastSize < 0.8*_normBreasts>>	/* Grow to 80% of expected */
			Hormonal effects cause @@.lime;a small amount of natural breast growth.@@
			<<set $slaves[$i].boobs += 25>>
		<</if>>
		<<if $slaves[$i].nipples == "tiny">>
			Hormonal effects cause $his tiny @@.lime;nipples to grow to a more normal size.@@
			<<set $slaves[$i].nipples = "cute">>
		<</if>>
		<<if _effButtSize < Math.trunc(4*_normButt)/5>>	/* 80% of normButt, rounded down to the next increment of .2 */
			Hormonal effects cause @@.lime;the natural size of $his butt to increase.@@
			<<set $slaves[$i].butt += 0.2>>
		<</if>>
	<</if>>
	<<if $slaves[$i].vagina > -1 && $slaves[$i].ovaries != 0 && $slaves[$i].vaginaLube < 2>>
		Hormonal effects cause @@.lime;$his vagina to produce more copious natural lubricant.@@
		<<set $slaves[$i].vaginaLube++>>
	<</if>>

	<<if $hormoneUpgradeShrinkage == 0>>
		<<if $slaves[$i].dick > 1>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50) && ($slaves[$i].dick > 2))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his dick to atrophy a lot.@@
				<<set $slaves[$i].dick -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;$his dick to atrophy.@@
			<</if>>
			<<set $slaves[$i].dick-->>
		<</if>>
		<<if $slaves[$i].balls > 1>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50) && ($slaves[$i].balls > 2))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his testicles to atrophy a lot.@@
				<<set $slaves[$i].balls -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;$his testicles to atrophy.@@
			<</if>>
			<<set $slaves[$i].balls-->>
		<</if>>
		<<if $slaves[$i].clit > 0>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50) && ($slaves[$i].clit > 1))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his clit to shrink down greatly.@@
				<<set $slaves[$i].clit -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;$his clit to shrink significantly.@@
			<</if>>
			<<set $slaves[$i].clit-->>
		<</if>>
	<</if>>

	<<if $slaves[$i].devotion <= 20>>
		Hormonal effects make $him a bit more @@.hotpink;docile.@@
		<<set $slaves[$i].devotion++>>
	<</if>>
	<<if $slaves[$i].trust <= 20>>
		Hormonal effects make $him a bit more @@.mediumaquamarine;trusting.@@
		<<set $slaves[$i].trust++>>
	<</if>>
	<<if $slaves[$i].attrXY < 100>>
		Hormonal effects cause $him to become @@.green;more attracted to men.@@
		<<set $slaves[$i].attrXY += 2+$hormoneUpgradePower>>
	<</if>>

<<elseif $slaves[$i].hormoneBalance >= 250>>

	<<if $slaves[$i].faceImplant < 5>>
		<<if ($slaves[$i].faceShape == "masculine")>>
			Hormonal effects cause @@.orange;$his face to soften into <<if $slaves[$i].geneMods.NCS == 1>>childlike <</if>>androgyny.@@
			<<set $slaves[$i].faceShape = "androgynous">>
		<<elseif ($slaves[$i].faceShape == "androgynous" && $slaves[$i].geneticQuirks.androgyny != 2)>>
			Hormonal effects cause @@.lime;$his face to soften into <<if $slaves[$i].geneMods.NCS == 1>>childlike normalcy<<else>>femininity<</if>>.@@
			<<set $slaves[$i].faceShape = "normal">>
		<<elseif ($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50) && ($slaves[$i].faceShape == "normal")>>
			Hormonal effects cause @@.lime;$his face to soften into childlike cuteness.@@
			<<set $slaves[$i].faceShape = "cute">>
		<</if>>
	<</if>>
	<<if ($slaves[$i].face-$slaves[$i].faceImplant < 0) && ($slaves[$i].face < 30)>>
		Hormonal effects cause @@.lime;$his facial structure to soften and become less unattractive.@@
		<<set _faceInc = 1+$hormoneUpgradePower>>
		<<if ($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50)>>
			<<set _faceInc *= 2>>
		<</if>>
		<<= faceIncrease($slaves[$i], _faceInc)>>
	<</if>>

	<<if ($slaves[$i].voice < 2) && ($slaves[$i].voice > 0)>>
		Hormonal effects cause @@.lime;$his voice to become higher and more <<if $slaves[$i].geneMods.NCS == 1>>childlike<<else>>feminine<</if>>.@@
		<<set $slaves[$i].voice++>>
	<</if>>

	<<if $slaves[$i].muscles > 30 && $slaves[$i].diet != "muscle building" && $slaves[$i].drugs != "steroids">>
		Hormonal effects @@.orange;reduce $his musculature.@@
		<<set $slaves[$i].muscles -= 2+$hormoneUpgradePower+$slaves[$i].geneticQuirks.mLoss>>
		<<if ($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50)>>
			<<set $slaves[$i].muscles -= 2+$hormoneUpgradePower+$slaves[$i].geneticQuirks.mLoss>>
		<</if>>
	<</if>>
	<<if $slaves[$i].waist > 0>>
		Hormonal effects cause $his @@.lime;waist to narrow.@@
		<<set $slaves[$i].waist -= 2+$hormoneUpgradePower>>
	<</if>>

	<<if $slaves[$i].geneMods.NCS == 0>>
		<<if _effBreastSize < 0.7*_normBreasts>>	/* Grow to 70% of expected */
			Hormonal effects cause @@.lime;a small amount of natural breast growth.@@
			<<set $slaves[$i].boobs += 25>>
		<</if>>
		<<if $slaves[$i].nipples == "tiny">>
			Hormonal effects cause $his tiny @@.lime;nipples to grow to a more normal size.@@
			<<set $slaves[$i].nipples = "cute">>
		<</if>>
		<<if _effButtSize < Math.trunc(3.5*_normButt)/5>>	/* 70% of normButt, rounded down to the next increment of .2 */
			Hormonal effects cause @@.lime;the natural size of $his butt to increase.@@
			<<set $slaves[$i].butt += 0.2>>
		<</if>>
	<</if>>
	<<if $slaves[$i].vagina > -1 && $slaves[$i].ovaries != 0 && $slaves[$i].vaginaLube < 1>>
		Hormonal effects cause @@.lime;$his vagina to produce more copious natural lubricant.@@
		<<set $slaves[$i].vaginaLube++>>
	<</if>>

	<<if $hormoneUpgradeShrinkage == 0>>
		<<if $slaves[$i].dick > 2>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his dick to atrophy a lot.@@
				<<set $slaves[$i].dick -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;$his dick to atrophy.@@
			<</if>>
			<<set $slaves[$i].dick-->>
		<</if>>
		<<if $slaves[$i].balls > 2>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his testicles to atrophy a lot.@@
				<<set $slaves[$i].balls -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;$his testicles to atrophy.@@
			<</if>>
			<<set $slaves[$i].balls-->>
		<</if>>
		<<if $slaves[$i].clit > 1>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his clit to shrink down greatly.@@
				<<set $slaves[$i].clit -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;$his clit to shrink significantly.@@
			<</if>>
			<<set $slaves[$i].clit-->>
		<</if>>
	<</if>>

	<<if $slaves[$i].devotion <= 20>>
		Hormonal effects make $him a bit more @@.hotpink;docile.@@
		<<set $slaves[$i].devotion++>>
	<</if>>
	<<if $slaves[$i].trust <= 20>>
		Hormonal effects make $him a bit more @@.mediumaquamarine;trusting.@@
		<<set $slaves[$i].trust++>>
	<</if>>
	<<if $slaves[$i].attrXY < 95>>
		Hormonal effects cause $him to become @@.green;more attracted to men.@@
		<<set $slaves[$i].attrXY += 2+$hormoneUpgradePower>>
	<</if>>

<<elseif $slaves[$i].hormoneBalance >= 200>>

	<<if $slaves[$i].faceImplant < 5>>
		<<if ($slaves[$i].faceShape == "masculine")>>
			Hormonal effects cause @@.orange;$his face to soften into <<if $slaves[$i].geneMods.NCS == 1>>childlike <</if>>androgyny.@@
			<<set $slaves[$i].faceShape = "androgynous">>
		<<elseif ($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50) && ($slaves[$i].faceShape == "androgynous" && $slaves[$i].geneticQuirks.androgyny != 2)>>
			Hormonal effects cause @@.lime;$his face to soften into <<if $slaves[$i].geneMods.NCS == 1>>childlike normalcy<<else>>femininity<</if>>.@@
			<<set $slaves[$i].faceShape = "normal">>
		<</if>>
	<</if>>
	<<if ($slaves[$i].face-$slaves[$i].faceImplant < 0) && ($slaves[$i].face < 0)>>
		Hormonal effects cause @@.lime;$his facial structure to soften and become less unattractive.@@
		<<set _faceInc = 1+$hormoneUpgradePower>>
		<<if ($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50)>>
			<<set _faceInc *= 2>>
		<</if>>
		<<= faceIncrease($slaves[$i], _faceInc)>>
	<</if>>

	<<if ($slaves[$i].voice < 2) && ($slaves[$i].voice > 0)>>
		Hormonal effects cause @@.lime;$his voice to become higher and more <<if $slaves[$i].geneMods.NCS == 1>>childlike<<else>>feminine<</if>>.@@
		<<set $slaves[$i].voice++>>
	<</if>>

	<<if $slaves[$i].muscles > 30 && $slaves[$i].diet != "muscle building" && $slaves[$i].drugs != "steroids">>
		Hormonal effects @@.orange;reduce $his musculature.@@
		<<set $slaves[$i].muscles -= 2+$hormoneUpgradePower+$slaves[$i].geneticQuirks.mLoss>>
		<<if ($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50)>>
			<<set $slaves[$i].muscles -= 2+$hormoneUpgradePower+$slaves[$i].geneticQuirks.mLoss>>
		<</if>>
	<</if>>
	<<if $slaves[$i].waist > 10>>
		Hormonal effects cause $his @@.lime;waist to narrow.@@
		<<set $slaves[$i].waist -= 2+$hormoneUpgradePower>>
	<</if>>

	<<if $slaves[$i].geneMods.NCS == 0>>
		<<if _effBreastSize < 0.6*_normBreasts>>	/* Grow to 60% of expected */
			Hormonal effects cause @@.lime;a small amount of natural breast growth.@@
			<<set $slaves[$i].boobs += 25>>
		<</if>>
		<<if $slaves[$i].nipples == "tiny">>
			Hormonal effects cause $his tiny @@.lime;nipples to grow to a more normal size.@@
			<<set $slaves[$i].nipples = "cute">>
		<</if>>
		<<if _effButtSize < Math.trunc(3*_normButt)/5>>	/* 60% of normButt, rounded down to the next increment of .2 */
			Hormonal effects cause @@.lime;the natural size of $his butt to increase.@@
			<<set $slaves[$i].butt += 0.2>>
		<</if>>
	<</if>>
	<<if $slaves[$i].vagina > -1 && $slaves[$i].ovaries != 0 && $slaves[$i].vaginaLube < 1>>
		Hormonal effects cause @@.lime;$his vagina to produce more copious natural lubricant.@@
		<<set $slaves[$i].vaginaLube++>>
	<</if>>

	<<if $hormoneUpgradeShrinkage == 0>>
		<<if $slaves[$i].dick > 3>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his dick to atrophy a lot.@@
				<<set $slaves[$i].dick -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;$his dick to atrophy.@@
				<<set $slaves[$i].dick-->>
			<</if>>
		<</if>>
		<<if $slaves[$i].balls > 3>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his testicles to atrophy a lot.@@
				<<set $slaves[$i].balls -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;$his testicles to atrophy.@@
			<</if>>
			<<set $slaves[$i].balls-->>
		<</if>>
		<<if $slaves[$i].clit > 2>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his clit to shrink down greatly.@@
				<<set $slaves[$i].clit -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;$his clit to shrink significantly.@@
			<</if>>
			<<set $slaves[$i].clit-->>
		<</if>>
	<</if>>

	<<if $slaves[$i].devotion <= 20>>
		Hormonal effects make $him a bit more @@.hotpink;docile.@@
		<<set $slaves[$i].devotion++>>
	<</if>>
	<<if $slaves[$i].trust <= 20>>
		Hormonal effects make $him a bit more @@.mediumaquamarine;trusting.@@
		<<set $slaves[$i].trust++>>
	<</if>>
	<<if $slaves[$i].attrXY < 90>>
		Hormonal effects cause $him to become @@.green;more attracted to men.@@
		<<set $slaves[$i].attrXY += 2+$hormoneUpgradePower>>
	<</if>>

<<elseif $slaves[$i].hormoneBalance >= 100>>

	<<if $slaves[$i].faceImplant < 5>>
		<<if ($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50) && ($slaves[$i].faceShape == "masculine")>>
			Hormonal effects cause @@.orange;$his face to soften into <<if $slaves[$i].geneMods.NCS == 1>>childlike <</if>>androgyny.@@
			<<set $slaves[$i].faceShape = "androgynous">>
		<</if>>
	<</if>>

	<<if $slaves[$i].geneMods.NCS == 0>>
		<<if _effBreastSize < 0.5*_normBreasts>>	/* Grow to 50% of expected */
			Hormonal effects cause @@.lime;a small amount of natural breast growth.@@
			<<set $slaves[$i].boobs += 25>>
		<</if>>
	<</if>>

	<<if ($slaves[$i].devotion <= 20)>>
		Hormonal effects make $him a bit more @@.hotpink;docile.@@
		<<set $slaves[$i].devotion++>>
	<</if>>
	<<if ($slaves[$i].trust <= 20)>>
		Hormonal effects make $him a bit more @@.mediumaquamarine;trusting.@@
		<<set $slaves[$i].trust++>>
	<</if>>
	<<if ($slaves[$i].attrXY < 80)>>
		Hormonal effects cause $him to become @@.green;more attracted to men.@@
		<<set $slaves[$i].attrXY += 2+$hormoneUpgradePower>>
	<</if>>

<<elseif $slaves[$i].hormoneBalance >= 50>>
	<<if ($slaves[$i].attrXY < 70)>>
		Hormonal effects cause $him to become @@.green;more attracted to men.@@
		<<set $slaves[$i].attrXY += 2+$hormoneUpgradePower>>
	<</if>>

<<elseif $slaves[$i].hormoneBalance <= -350>>
	<<if ($slaves[$i].geneMods.NCS == 1)>>
		<<if ($slaves[$i].hips+(Math.abs($slaves[$i].hipsImplant)) > -1) && ($slaves[$i].hips > -2) && (random(1,100) <= 20+(10*$hormoneUpgradePower))>>
			Masculine hormones team up with $his @@.orange;NCS@@ to cause @@.lime;$his hips to shrink into a more childlike narrowness@@ than before.
			<<set $slaves[$i].hips -= 1>>
		<</if>>
	<<elseif ($slaves[$i].physicalAge < 25)>>
		<<if ($slaves[$i].shoulders-(Math.abs($slaves[$i].shouldersImplant)) < 1) && ($slaves[$i].shoulders < 2) && (random(1,100) < 20+(10*$hormoneUpgradePower))>>
			$His body has not yet found its final bone structure, which typically happens in the mid-twenties. Hormonal effects cause @@.orange;$his shoulders to develop a more masculine wideness@@ than they would have done naturally.
			<<set $slaves[$i].shoulders += 1>>
		<</if>>
		<<if ($slaves[$i].hips+(Math.abs($slaves[$i].hipsImplant)) > -1) && ($slaves[$i].hips > -2) && (random(1,100) <= 20+(10*$hormoneUpgradePower))>>
			$His body has not yet found its final bone structure, which typically happens in the mid-twenties. Hormonal effects cause @@.orange;$his hips to develop more narrowly@@ than they would have done naturally.
			<<set $slaves[$i].hips -= 1>>
		<</if>>
	<</if>>

	<<if ($slaves[$i].geneMods.NCS == 0)>>
		<<if $slaves[$i].faceImplant < 5>>
			<<if $slaves[$i].geneticQuirks.androgyny != 2>>
				<<if ($slaves[$i].faceShape == "androgynous")>>
					Hormonal effects cause @@.orange;$his face to harden into masculinity.@@
					<<set $slaves[$i].faceShape = "masculine">>
				<<elseif ($slaves[$i].faceShape != "masculine")>>
					Hormonal effects cause @@.orange;$his face to harden into androgyny.@@
					<<set $slaves[$i].faceShape = "androgynous">>
				<</if>>
			<</if>>
		<</if>>
		<<if ($slaves[$i].face-$slaves[$i].faceImplant > 0)>>
			Hormonal effects cause @@.orange;$his facial structure to harden and become less attractive.@@
			<<set _faceDec = 1+$hormoneUpgradePower>>
			<<set $slaves[$i].face = Math.trunc($slaves[$i].face-_faceDec,-100,100)>>
		<</if>>
		<<if ($slaves[$i].voice > 1)>>
			Hormonal effects cause @@.orange;$his voice to become deeper and less feminine.@@
			<<set $slaves[$i].voice-->>
		<</if>>
	<</if>>

	<<if ($hormoneUpgradeShrinkage == 0)>>
		<<if (($slaves[$i].butt-$slaves[$i].buttImplant) > 1) && _rearQuirk != 2>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50) && ($slaves[$i].butt > 2))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his butt to decrease a lot.@@
				<<set $slaves[$i].butt -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;the natural size of $his butt to decrease.@@
			<</if>>
			<<set $slaves[$i].butt-->>
		<</if>>
		<<if (($slaves[$i].boobs-$slaves[$i].boobsImplant-$slaves[$i].boobsMilk) > 100*_gigantomastiaMod && _gigantomastiaMod != 3)>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50) && ($slaves[$i].boobsImplant > 200))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his tits to shrink a lot.@@
				<<set $slaves[$i].boobs -= 10+(15*$hormoneUpgradePower)>>
			<<else>>
				Hormonal effects cause @@.orange;the natural size of $his tits to shrink.@@
			<</if>>
			<<set $slaves[$i].boobs -= 10+(15*$hormoneUpgradePower)>>
		<</if>>
	<</if>>
	<<if ($slaves[$i].geneMods.NCS == 1) && ($slaves[$i].nipples == "tiny")>>
		/* nothing, just don't advance to cute */
	<<elseif ($slaves[$i].nipples != "cute") && ($slaves[$i].nipples != "fuckable")>>
		Hormonal effects cause $his @@.orange;nipples to shrink to a more masculine size.@@
		<<set $slaves[$i].nipples = "cute">>
	<</if>>

	<<if $slaves[$i].geneMods.NCS == 0>>
		<<if ($slaves[$i].dick > 0) && ($slaves[$i].dick < 5)>>
			Hormonal effects add @@.lime;a bit more heft to $his penis.@@
			<<set $slaves[$i].dick++>>
		<</if>>
		<<if ($slaves[$i].balls > 0) && ($slaves[$i].balls < 5)>>
			Hormonal effects cause @@.lime;$his balls to hang a little heavier.@@
			<<set $slaves[$i].balls++>>
		<</if>>

		<<if ($slaves[$i].clit < 5) && ($slaves[$i].dick == 0)>>
			Hormonal effects cause @@.lime;$his clit to grow significantly.@@
			<<set $slaves[$i].clit++>>
		<</if>>
		<<if ($slaves[$i].vagina > -1) && ($slaves[$i].vaginaLube > 0)>>
			Hormonal effects cause @@.orange;$his vagina to produce less natural lubricant.@@
			<<set $slaves[$i].vaginaLube-->>
		<</if>>

		<<if ($slaves[$i].muscles <= 50) && ($slaves[$i].diet != "slimming")>>
			Hormonal effects @@.lime;build up $his musculature.@@
			<<set $slaves[$i].muscles += 2+$hormoneUpgradePower+$slaves[$i].geneticQuirks.mGain>>
		<</if>>
		<<if ($slaves[$i].waist < 80)>>
			Hormonal effects cause $his @@.orange;waist to broaden.@@
			<<set $slaves[$i].waist += 2+$hormoneUpgradePower>>
		<</if>>
	<</if>>

	<<if ($slaves[$i].attrXX < 100)>>
		Hormonal effects cause $him to become @@.green;more attracted to women.@@
		<<set $slaves[$i].attrXX += 2+$hormoneUpgradePower>>
	<</if>>

	<<if ($slaves[$i].devotion > 20) && $slaves[$i].trust <= 20>>
		Hormonal effects @@.mediumorchid;make $him a bit less docile.@@
		<<set $slaves[$i].devotion -= 1>>
	<</if>>

<<elseif $slaves[$i].hormoneBalance <= -300>>
	<<if ($slaves[$i].geneMods.NCS == 0)>>
		<<if $slaves[$i].faceImplant < 5>>
			<<if $slaves[$i].geneticQuirks.androgyny != 2>>
				<<if ($slaves[$i].faceShape == "androgynous")>>
					Hormonal effects cause @@.orange;$his face to harden into masculinity.@@
					<<set $slaves[$i].faceShape = "masculine">>
				<<elseif ($slaves[$i].faceShape != "masculine")>>
					Hormonal effects cause @@.orange;$his face to harden into androgyny.@@
					<<set $slaves[$i].faceShape = "androgynous">>
				<</if>>
			<</if>>
		<</if>>
		<<if ($slaves[$i].face-$slaves[$i].faceImplant > 0)>>
			Hormonal effects cause @@.orange;$his facial structure to harden and become less attractive.@@
			<<set _faceDec = 1+$hormoneUpgradePower>>
			<<set $slaves[$i].face = Math.trunc($slaves[$i].face-_faceDec,-100,100)>>
		<</if>>

		<<if ($slaves[$i].voice > 1)>>
			Hormonal effects cause @@.orange;$his voice to become deeper and less feminine.@@
			<<set $slaves[$i].voice-->>
		<</if>>
	<</if>>

	<<if ($hormoneUpgradeShrinkage == 0)>>
		<<if (($slaves[$i].butt-$slaves[$i].buttImplant) > 1) && _rearQuirk != 2>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50) && ($slaves[$i].butt > 2))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his butt to decrease a lot.@@
				<<set $slaves[$i].butt -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;the natural size of $his butt to decrease.@@
			<</if>>
			<<set $slaves[$i].butt-->>
		<</if>>
		<<if (($slaves[$i].boobs-$slaves[$i].boobsImplant-$slaves[$i].boobsMilk) > 300*_gigantomastiaMod && _gigantomastiaMod != 3)>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his tits to shrink a lot.@@
				<<set $slaves[$i].boobs -= 10+(15*$hormoneUpgradePower)>>
			<<else>>
				Hormonal effects cause @@.orange;the natural size of $his tits to shrink.@@
			<</if>>
			<<set $slaves[$i].boobs -= 10+(15*$hormoneUpgradePower)>>
		<</if>>
	<</if>>
	<<if ($slaves[$i].geneMods.NCS == 1) && ($slaves[$i].nipples == "tiny")>>
		/* nothing, just don't advance to cute */
	<<elseif ($slaves[$i].nipples != "cute") && ($slaves[$i].nipples != "fuckable")>>
		Hormonal effects cause $his @@.orange;nipples to shrink to a more masculine size.@@
		<<set $slaves[$i].nipples = "cute">>
	<</if>>

	<<if $slaves[$i].geneMods.NCS == 0>>
		<<if ($slaves[$i].dick > 0) && ($slaves[$i].dick < 5)>>
			Hormonal effects add @@.lime;a bit more heft to $his penis.@@
			<<set $slaves[$i].dick++>>
		<</if>>
		<<if ($slaves[$i].balls > 0) && ($slaves[$i].balls < 5) && $slaves[$i].ballType != "sterile">>
			Hormonal effects cause @@.lime;$his balls to hang a little heavier.@@
			<<set $slaves[$i].balls++>>
		<</if>>

		<<if ($slaves[$i].clit < 4) && ($slaves[$i].dick == 0)>>
			Hormonal effects cause @@.lime;$his clit to grow significantly.@@
			<<set $slaves[$i].clit++>>
		<</if>>
		<<if ($slaves[$i].vagina > -1) && ($slaves[$i].vaginaLube > 0)>>
			Hormonal effects cause @@.orange;$his vagina to produce less natural lubricant.@@
			<<set $slaves[$i].vaginaLube-->>
		<</if>>

		<<if ($slaves[$i].muscles <= 50) && ($slaves[$i].diet != "slimming")>>
			Hormonal effects @@.lime;build up $his musculature.@@
			<<set $slaves[$i].muscles += 2+$hormoneUpgradePower+$slaves[$i].geneticQuirks.mGain>>
		<</if>>
		<<if ($slaves[$i].waist < 40)>>
			Hormonal effects cause $his @@.orange;waist to broaden.@@
			<<set $slaves[$i].waist += 2+$hormoneUpgradePower>>
		<</if>>
	<</if>>

	<<if ($slaves[$i].attrXX < 100)>>
		Hormonal effects cause $him to become @@.green;more attracted to women.@@
		<<set $slaves[$i].attrXX += 2+$hormoneUpgradePower>>
	<</if>>

	<<if ($slaves[$i].devotion > 20) && $slaves[$i].trust <= 20>>
		Hormonal effects @@.mediumorchid;make $him a bit less docile.@@
		<<set $slaves[$i].devotion -= 1>>
	<</if>>

<<elseif $slaves[$i].hormoneBalance <= -250>>
	<<if ($slaves[$i].geneMods.NCS == 0)>>
		<<if $slaves[$i].faceImplant < 5>>
			<<if $slaves[$i].faceShape != "masculine" && $slaves[$i].faceShape != "androgynous">>
				Hormonal effects cause @@.orange;$his face to harden into androgyny.@@
				<<set $slaves[$i].faceShape = "androgynous">>
			<</if>>
		<</if>>
		<<if ($slaves[$i].face-$slaves[$i].faceImplant > 20)>>
			Hormonal effects cause @@.orange;$his facial structure to harden and become less attractive.@@
			<<set _faceDec = 1+$hormoneUpgradePower>>
			<<set $slaves[$i].face = Math.trunc($slaves[$i].face-_faceDec,-100,100)>>
		<</if>>

		<<if ($slaves[$i].voice > 1)>>
			Hormonal effects cause @@.orange;$his voice to become deeper and less feminine.@@
			<<set $slaves[$i].voice-->>
		<</if>>
	<</if>>

	<<if ($hormoneUpgradeShrinkage == 0)>>
		<<if (($slaves[$i].butt-$slaves[$i].buttImplant) > 2) && _rearQuirk != 2>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his butt to decrease a lot.@@
				<<set $slaves[$i].butt -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;the natural size of $his butt to decrease.@@
			<</if>>
			<<set $slaves[$i].butt-->>
		<</if>>
		<<if (($slaves[$i].boobs-$slaves[$i].boobsImplant-$slaves[$i].boobsMilk) > 400*_gigantomastiaMod && _gigantomastiaMod != 3)>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his tits to shrink a lot.@@
				<<set $slaves[$i].boobs -= 10+(15*$hormoneUpgradePower)>>
			<<else>>
				Hormonal effects cause @@.orange;the natural size of $his tits to shrink.@@
			<</if>>
			<<set $slaves[$i].boobs -= 10+(15*$hormoneUpgradePower)>>
		<</if>>
	<</if>>
	<<if ($slaves[$i].geneMods.NCS == 1) && ($slaves[$i].nipples == "tiny")>>
		/* nothing, just don't advance to cute */
	<<elseif ($slaves[$i].nipples != "cute") && ($slaves[$i].nipples != "fuckable")>>
		Hormonal effects cause $his @@.orange;nipples to shrink to a more masculine size.@@
		<<set $slaves[$i].nipples = "cute">>
	<</if>>

	<<if $slaves[$i].geneMods.NCS == 0>>
		<<if ($slaves[$i].dick > 0) && ($slaves[$i].dick < 4)>>
			Hormonal effects add @@.lime;a bit more heft to $his penis.@@
			<<set $slaves[$i].dick++>>
		<</if>>
		<<if ($slaves[$i].balls > 0) && ($slaves[$i].balls < 4) && $slaves[$i].ballType != "sterile">>
			Hormonal effects cause @@.lime;$his balls to hang a little heavier.@@
			<<set $slaves[$i].balls++>>
		<</if>>

		<<if ($slaves[$i].clit < 3) && ($slaves[$i].dick == 0)>>
			Hormonal effects cause @@.lime;$his clit to grow significantly.@@
			<<set $slaves[$i].clit++>>
		<</if>>
		<<if ($slaves[$i].vagina > -1) && ($slaves[$i].vaginaLube > 0)>>
			Hormonal effects cause @@.orange;$his vagina to produce less natural lubricant.@@
			<<set $slaves[$i].vaginaLube-->>
		<</if>>

		<<if ($slaves[$i].muscles <= 35) && ($slaves[$i].diet != "slimming")>>
			Hormonal effects @@.lime;build up $his musculature.@@
			<<set $slaves[$i].muscles += 2+$hormoneUpgradePower+$slaves[$i].geneticQuirks.mGain>>
		<</if>>
		<<if ($slaves[$i].waist < 25)>>
			Hormonal effects cause $his @@.orange;waist to broaden.@@
			<<set $slaves[$i].waist += 2+$hormoneUpgradePower>>
		<</if>>
	<</if>>

	<<if ($slaves[$i].attrXX < 95)>>
		Hormonal effects cause $him to become @@.green;more attracted to women.@@
		<<set $slaves[$i].attrXX += 2+$hormoneUpgradePower>>
	<</if>>

	<<if ($slaves[$i].devotion > 20) && $slaves[$i].trust <= 20>>
		Hormonal effects @@.mediumorchid;make $him a bit less docile.@@
		<<set $slaves[$i].devotion -= 1>>
	<</if>>

<<elseif $slaves[$i].hormoneBalance <= -200>>
	<<if ($slaves[$i].geneMods.NCS == 0)>>
		<<if $slaves[$i].faceImplant < 5>>
			<<if $slaves[$i].faceShape != "masculine" && $slaves[$i].faceShape != "androgynous">>
				Hormonal effects cause @@.orange;$his face to harden into androgyny.@@
				<<set $slaves[$i].faceShape = "androgynous">>
			<</if>>
		<</if>>
		<<if ($slaves[$i].face-$slaves[$i].faceImplant > 40)>>
			Hormonal effects cause @@.orange;$his facial structure to harden and become less attractive.@@
			<<set _faceDec = 1+$hormoneUpgradePower>>
			<<set $slaves[$i].face = Math.trunc($slaves[$i].face-_faceDec,-100,100)>>
		<</if>>

		<<if ($slaves[$i].voice > 2)>>
			Hormonal effects cause @@.orange;$his voice to become deeper and less feminine.@@
			<<set $slaves[$i].voice-->>
		<</if>>
	<</if>>

	<<if ($hormoneUpgradeShrinkage == 0)>>
		<<if (($slaves[$i].butt-$slaves[$i].buttImplant) > 3) && _rearQuirk != 2>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his butt to decrease a lot.@@
				<<set $slaves[$i].butt -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;the natural size of $his butt to decrease.@@
			<</if>>
			<<set $slaves[$i].butt-->>
		<</if>>
		<<if (($slaves[$i].boobs-$slaves[$i].boobsImplant-$slaves[$i].boobsMilk) > 600*_gigantomastiaMod && _gigantomastiaMod != 3)>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his tits to shrink a lot.@@
				<<set $slaves[$i].boobs -= 10+(15*$hormoneUpgradePower)>>
			<<else>>
				Hormonal effects cause @@.orange;the natural size of $his tits to shrink.@@
			<</if>>
			<<set $slaves[$i].boobs -= 10+(15*$hormoneUpgradePower)>>
		<</if>>
	<</if>>
	<<if ($slaves[$i].nipples == "huge") || $slaves[$i].nipples == "puffy">>
		Hormonal effects cause $his big @@.orange;nipples to shrink to a more reasonable size.@@
		<<set $slaves[$i].nipples = "cute">>
	<</if>>

	<<if $slaves[$i].geneMods.NCS == 0>>
		<<if ($slaves[$i].dick > 0) && ($slaves[$i].dick < 3)>>
			Hormonal effects add @@.lime;a bit more heft to $his penis.@@
			<<set $slaves[$i].dick++>>
		<</if>>
		<<if ($slaves[$i].balls > 0) && ($slaves[$i].balls < 3) && $slaves[$i].ballType != "sterile">>
			Hormonal effects cause @@.lime;$his balls to hang a little heavier.@@
			<<set $slaves[$i].balls++>>
		<</if>>

		<<if ($slaves[$i].clit < 2) && ($slaves[$i].dick == 0)>>
			Hormonal effects cause @@.lime;$his clit to grow significantly.@@
			<<set $slaves[$i].clit++>>
		<</if>>
		<<if ($slaves[$i].vagina > -1) && ($slaves[$i].vaginaLube > 0)>>
			Hormonal effects cause @@.orange;$his vagina to produce less natural lubricant.@@
			<<set $slaves[$i].vaginaLube-->>
		<</if>>

		<<if ($slaves[$i].muscles <= 15) && ($slaves[$i].diet != "slimming")>>
			Hormonal effects @@.lime;build up $his musculature.@@
			<<set $slaves[$i].muscles += 2+$hormoneUpgradePower+$slaves[$i].geneticQuirks.mGain>>
		<</if>>
		<<if ($slaves[$i].waist < 9)>>
			Hormonal effects cause $his @@.orange;waist to broaden.@@
			<<set $slaves[$i].waist += 2+$hormoneUpgradePower>>
		<</if>>
	<</if>>

	<<if ($slaves[$i].attrXX < 90)>>
		Hormonal effects cause $him to become @@.green;more attracted to women.@@
		<<set $slaves[$i].attrXX += 2+$hormoneUpgradePower>>
	<</if>>

	<<if ($slaves[$i].devotion > 20) && $slaves[$i].trust <= 20>>
		Hormonal effects @@.mediumorchid;make $him a bit less docile.@@
		<<set $slaves[$i].devotion -= 1>>
	<</if>>

<<elseif $slaves[$i].hormoneBalance <= -100>>
	<<if ($slaves[$i].geneMods.NCS == 0)>>
		<<if ($slaves[$i].face-$slaves[$i].faceImplant > 60)>>
			Hormonal effects cause @@.orange;$his facial structure to harden and become less attractive.@@
			<<set _faceDec = 1+$hormoneUpgradePower>>
			<<set $slaves[$i].face = Math.trunc($slaves[$i].face-_faceDec,-100,100)>>
		<</if>>

		<<if ($slaves[$i].voice > 2)>>
			Hormonal effects cause @@.orange;$his voice to become deeper and less feminine.@@
			<<set $slaves[$i].voice-->>
		<</if>>
	<</if>>

	<<if ($hormoneUpgradeShrinkage == 0)>>
		<<if (($slaves[$i].butt-$slaves[$i].buttImplant) > 4) && _rearQuirk != 2>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his butt to decrease a lot.@@
				<<set $slaves[$i].butt -= 1>>
			<<else>>
				Hormonal effects cause @@.orange;the natural size of $his butt to decrease.@@
			<</if>>
			<<set $slaves[$i].butt-->>
		<</if>>
		<<if (($slaves[$i].boobs-$slaves[$i].boobsImplant-$slaves[$i].boobsMilk) > 800*_gigantomastiaMod && _gigantomastiaMod != 3)>>
			<<if (($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50))>>
				Hormonal effects work with $his @@.orange;NCS@@ and cause @@.orange;$his tits to shrink a lot.@@
				<<set $slaves[$i].boobs -= 10+(15*$hormoneUpgradePower)>>
			<<else>>
				Hormonal effects cause @@.orange;the natural size of $his tits to shrink.@@
			<</if>>
			<<set $slaves[$i].boobs -= 10+(15*$hormoneUpgradePower)>>
		<</if>>
	<</if>>

	<<if $slaves[$i].geneMods.NCS == 0>>
		<<if ($slaves[$i].muscles < 0) && ($slaves[$i].diet != "slimming")>>
			Hormonal effects @@.lime;build up $his musculature.@@
			<<set $slaves[$i].muscles += 2+$hormoneUpgradePower+$slaves[$i].geneticQuirks.mGain>>
		<</if>>

		<<if ($slaves[$i].waist < 0)>>
			Hormonal effects cause $his @@.orange;waist to broaden.@@
			<<set $slaves[$i].waist += 2+$hormoneUpgradePower>>
		<</if>>

		<<if ($slaves[$i].dick > 0) && ($slaves[$i].dick < 2)>>
			Hormonal effects cause @@.lime;$his micropenis to return to a more normal size.@@
			<<set $slaves[$i].dick++>>
		<</if>>
		<<if ($slaves[$i].balls > 0) && ($slaves[$i].balls < 2)>>
			Hormonal effects cause @@.lime;$his balls to drop.@@
			<<set $slaves[$i].balls++>>
		<</if>>

		<<if ($slaves[$i].clit < 1) && ($slaves[$i].dick == 0)>>
			Hormonal effects cause @@.lime;$his clit to grow significantly.@@
			<<set $slaves[$i].clit++>>
		<</if>>
		<<if ($slaves[$i].vagina > -1) && ($slaves[$i].vaginaLube > 1)>>
			Hormonal effects cause @@.orange;$his vagina to produce less natural lubricant.@@
			<<set $slaves[$i].vaginaLube-->>
		<</if>>
	<</if>>

	<<if ($slaves[$i].attrXX < 80)>>
		Hormonal effects cause $him to become @@.green;more attracted to women.@@
		<<set $slaves[$i].attrXX += 2+$hormoneUpgradePower>>
	<</if>>

	<<if ($slaves[$i].devotion > 20) && $slaves[$i].trust <= 20>>
		Hormonal effects @@.mediumorchid;make $him a bit less docile.@@
		<<set $slaves[$i].devotion -= 1>>
	<</if>>

<<elseif $slaves[$i].hormoneBalance <= -50>>
	<<if ($slaves[$i].attrXX < 70)>>
		Hormonal effects cause $him to become @@.green;more attracted to women.@@
		<<set $slaves[$i].attrXX += 2+$hormoneUpgradePower>>
	<</if>>

<</if>>

<</if>>
<</if>>

<<if $slaves[$i].fetish != "mindbroken" && $slaves[$i].fuckdoll == 0>>
	<<if ($slaves[$i].hormoneBalance <= 20) && $slaves[$i].hormones < 1>>
		<<if ($slaves[$i].dick > 0)>>
			<<if ($slaves[$i].devotion > 20)>>
				<<if ($slaves[$i].boobs < 800 && $slaves[$i].butt < 3) || ($slaves[$i].faceShape == "masculine") || ($slaves[$i].shoulders > $slaves[$i].hips) || ($slaves[$i].balls > 4)>>
					<<if ($slaves[$i].career == "a Futanari Sister")>>
						$He wishes $he were more feminine, but isn't unhappy to be off hormones, since $he likes being a stiff dicked futa.
					<<elseif ($slaves[$i].fetish == "buttslut") && ($slaves[$i].fetishStrength > 60) && ($slaves[$i].fetishKnown == 1)>>
						$He wishes $he were more feminine, but $he loves getting fucked in the butt so much that it doesn't much bother $him.
					<<elseif ($slaves[$i].fetish == "sadist") && ($slaves[$i].fetishStrength > 60) && ($slaves[$i].fetishKnown == 1)>>
						Life is easier for effeminate slaves, but $he loves abusing other slaves so much that $he likes being able to get hard.
					<<elseif ($slaves[$i].fetish == "dom") && ($slaves[$i].fetishStrength > 60) && ($slaves[$i].fetishKnown == 1)>>
						Life is easier for effeminate slaves, but $he loves dominating other girls so much that $he likes being able to get hard.
					<<elseif ($slaves[$i].energy > 95)>>
						$He wishes $he were more feminine, but $he loves getting fucked like a good little sex slave so much that $he doesn't think about it much.
					<<elseif ($slaves[$i].devotion <= 20)>>
						Life is easier for effeminate slaves, so @@.mediumorchid;$he's a little unhappy@@ that $he isn't getting hormones to make $him more feminine.
						<<set $slaves[$i].devotion -= 2>>
					<<elseif ($slaves[$i].devotion <= 50)>>
						$He wants to be a good slave girl, so @@.mediumorchid;$he's a little unhappy@@ that $he isn't getting hormones to make $him look more feminine.
						<<set $slaves[$i].devotion -= 2>>
					<<else>>
						$He wishes $he were more feminine, but $he accepts your judgment in not giving $him hormones to make that happen.
					<</if>>
				<</if>>
			<</if>>
		<</if>>
	<</if>>
<</if>>

<<if Math.abs($slaves[$i].hormones) > 1>>
	<<set $slaves[$i].chem += 0.5>>
<</if>>