code:
:: SA guard you [nobr]

carries arms in your defense.

<<if $dojo > 1>>
	<<set $slaves[$i].livingRules = "luxurious">>
<</if>>

<<set $deadliness = Deadliness($slaves[$i])>>

<<if $slaves[$i].combatSkill > 0>>
	$His combat skills greatly increase $his deadliness.
<</if>>

<<if setup.bodyguardCareers.includes($slaves[$i].career)>>
	$He has experience in personal defense from before $he was a slave.
<<elseif $slaves[$i].skillBG >= $masteredXP>>
	$He has experience in personal defense from working for you.
<<else>>
	<<set $slaves[$i].skillBG += random(1,Math.ceil(($slaves[$i].intelligence+$slaves[$i].intelligenceImplant)/15) + 8)>>
<</if>>

<<if ($slaves[$i].muscles > 30) && ($slaves[$i].muscles <= 95)>>
	$He is strong and powerful yet quick and flexible.
<<elseif $slaves[$i].muscles > 95 && $slaves[$i].height >= 185>>
	$His huge muscles are an intimidating sight and, despite their massive size, $he is tall enough to use them effectively.
<<elseif $slaves[$i].muscles > 95>>
	$His huge muscles are an intimidating sight, but are so big that they actually detract from $his combat effectiveness.
<<elseif $slaves[$i].muscles > 5>>
	$He is reasonably fit, but not enough to significantly affect $his combat effectiveness.
<<elseif $slaves[$i].muscles < -95>>
	$He can barely stand, let alone fight. A single shot from $his own weapon is liable to incapacitate $him, making $him an absolute travesty of a bodyguard.
<<elseif $slaves[$i].muscles < -30>>
	$He tires from just standing, rendering $him both ineffective and embarrassing to have as your guard.
<<elseif $slaves[$i].muscles < -5>>
	$He is rather unfit, enough to negatively impact $his combat effectiveness.
<</if>>

<<if $slaves[$i].amp == -4>>
	$His tough combat limbs make $him an intimidating sight to behold.
<<elseif $slaves[$i].amp == -5>>
	The artificial muscles of $his cybernetic limbs increase $his strength and flexibility to enhance $his combat abilities and give $him the intimidating appearance of a super-soldier.
<</if>>

<<if $slaves[$i].height >= 170>>
	$His height gives $him a reach advantage with $his sword.
<</if>>

<<if $slaves[$i].health > 50>>
	$His shining health makes $him a better combatant.
<</if>>

<<if $slaves[$i].boobs > 4000>>
	$His titanic tits are a terrible hindrance in actual fighting.
<<elseif $slaves[$i].boobs > 2000>>
	$His big breasts get in $his way and reduce $his efficiency.
<</if>>

<<if $slaves[$i].dick >= 10>>
	$His massive dick gets in $his way and reduces $his efficiency.
<</if>>

<<if $slaves[$i].balls >= 15>>
	$His massive balls slow $him down and limit $his range of motion.
<</if>>

<<if $slaves[$i].butt > 6>>
	$His massive ass slows $him down and limits $his range of motion.
<</if>>

<<if $slaves[$i].hips > 2>>
	$He struggles to move with $his inhumanly wide hips and frequently gets caught between things trying to follow you.
<</if>>

<<if $slaves[$i].weight > 190>>
	$His extreme weight nearly immobilizes $him. $He struggles to move let alone protect you. At least $his bloated body will likely stop bullets and block doorways when needed.
<<elseif $slaves[$i].weight > 160>>
	$His extreme weight limits $his mobility and range of motion making $him a poor bodyguard but decent meatshield.
<<elseif $slaves[$i].weight > 130>>
	$His extreme weight is an impediment as a bodyguard.
<<elseif $slaves[$i].weight > 30>>
	$His heavy weight is an impediment as a bodyguard.
<<elseif $slaves[$i].weight < -10>>
	$His light weight is an impediment as a bodyguard.
<</if>>

<<if $slaves[$i].health < -50>>
	$His poor health makes $him a weaker combatant.
<</if>>

<<if $slaves[$i].pregKnown == 1 || $slaves[$i].bellyPreg >= 1500>>
	<<if $slaves[$i].bellyPreg >= 750000>>
		$His monolithic pregnancy greatly restricts $his movement and renders $him nearly useless in combat. $He can barely waddle after you, and when $he does, finds doors and small passages don't agree with $his bloated figure.
	<<elseif $slaves[$i].bellyPreg >= 450000>>
		$His gigantic pregnancy greatly hinders $his movement and terribly reduces $his effectiveness in combat. It also limits where $he can follow you, as doors and small passages don't agree with $his bloated figure.
	<<elseif $slaves[$i].bellyPreg >= 300000>>
		$His massive pregnancy obstructs $his movement and greatly hinders $his ability to protect you. It also limits where $he can follow you, as doors and small passages don't agree with $his bloated figure.
	<<elseif $slaves[$i].bellyPreg >= 150000>>
		$His giant pregnancy obstructs $his movement and greatly slows $him down. It also limits where $he can follow you, as $he has trouble waddling through crowds.
	<<elseif $slaves[$i].bellyPreg >= 100000>>
		$His giant belly gets in $his way and weighs $him down.
	<<elseif $slaves[$i].bellyPreg >= 10000>>
		$His huge belly is unwieldy and hinders $him.
	<<elseif $slaves[$i].bellyPreg >= 5000>>
		$His advanced pregnancy limits $his effectiveness.
	<<elseif $slaves[$i].bellyPreg >= 1500>>
		$His growing pregnancy occasionally distracts $him from $his job.
	<<else>>
		The life just beginning to grow inside $him occasionally distracts $him from $his job.
	<</if>>
<<elseif $slaves[$i].bellyImplant >= 1500>>
	<<if $slaves[$i].bellyImplant >= 750000>>
		$His monolithic, <<print $slaves[$i].bellyImplant>>cc implant filled belly greatly restricts $his movement and renders $him nearly useless in combat. $He can barely waddle after you, and when $he does, finds doors and small passages don't agree with $his bloated figure.
	<<elseif $slaves[$i].bellyImplant >= 450000>>
		$His gigantic, <<print $slaves[$i].bellyImplant>>cc implant filled belly greatly hinders $his movement and terribly reduces $his effectiveness in combat. It also limits where $he can follow you, as doors and small passages don't agree with $his bloated figure.
	<<elseif $slaves[$i].bellyImplant >= 300000>>
		$His massive, <<print $slaves[$i].bellyImplant>>cc implant filled belly obstructs $his movement and greatly hinders $his ability to protect you. It also limits where $he can follow you, as doors and small passages don't agree with $his bloated figure.
	<<elseif $slaves[$i].bellyImplant >= 150000>>
		$His giant, <<print $slaves[$i].bellyImplant>>cc implant filled belly obstructs $his movement and greatly slows $him down. It also limits where $he can follow you, as $he has trouble waddling through crowds.
	<<elseif $slaves[$i].bellyImplant >= 100000>>
		$His giant, <<print $slaves[$i].bellyImplant>>cc implant filled belly is very heavy and unwieldy, frequently getting in the way of $his job.
	<<elseif $slaves[$i].bellyImplant >= 10000>>
		$His huge, <<print $slaves[$i].bellyImplant>>cc implant filled belly is very heavy and unwieldy, throwing off $his weight and making $him far less effective.
	<<elseif $slaves[$i].bellyImplant >= 5000>>
		$His large, <<print $slaves[$i].bellyImplant>>cc implant filled belly is heavy and unwieldy, limiting $his effectiveness.
	<<elseif $slaves[$i].bellyImplant >= 1500>>
		$His swollen, <<print $slaves[$i].bellyImplant>>cc implant filled belly is heavy and occasionally distracts $him.
	<</if>>
<</if>>
<<if $slaves[$i].labor == 1>>
	$He's feeling labor pains, greatly detracting from $his ability to protect you.
<<elseif $slaves[$i].preg >= 40 && $slaves[$i].pregControl != "labor supressors">>
	$He'll be going into labor any time now detracting from $his ability to protect you.
<</if>>

<<if $slaves[$i].bellyFluid >= 10000>>
	$His hugely bloated, <<print $slaves[$i].inflationType>>-filled belly is taut and painful, hindering $his ability to guard you.
<<elseif $slaves[$i].bellyFluid >= 5000>>
	$His bloated, <<print $slaves[$i].inflationType>>-stuffed belly is constantly jiggling and moving, distracting $him and throwing off $his weight.
<<elseif $slaves[$i].bellyFluid >= 2000>>
	$His distended, <<print $slaves[$i].inflationType>>-belly is uncomfortable and heavy, distracting $him.
<</if>>

<<if $slaves[$i].teeth == "pointy">>
	$His sharp teeth add nothing to $his actual effectiveness, but they're certainly intimidating.
<</if>>

<<if ($slaves[$i].combatSkill < 1) && (random(-100,150) <= ($slaves[$i].intelligence+$slaves[$i].intelligenceImplant))>>
	After some experience guarding you, and diligent practice in the armory, @@.green;$his combat skills increase.@@
	<<set $slaves[$i].combatSkill += 1>>
<<elseif $slaves[$i].combatSkill >= 1>>
	$He maintains $his combat skill with practice in the armory.
<<else>>
	Though $he practices diligently $his basic combat skills do not improve this week.
<</if>>

$His constant presence is
<<if $deadliness > 6>>
	extremely intimidating, @@.green;adding much to your reputation.@@
	<<if $slaves[$i].career == "an arcology owner">>
	You've made a onetime rival arcology owner into a deadly and loyal protector, a feat of slaveownership that's @@.green;internationally famous.@@
	<<set $repGain += $deadliness*10>>
	<</if>>
<<elseif $deadliness > 3>>
	intimidating, @@.green;adding to your reputation.@@
<<else>>
	hardly intimidating, @@.yellow;barely adding to your reputation.@@
<</if>>

<<set $repGain += $deadliness*10>>

Being continually trusted with your life @@.hotpink;increases $his devotion to you@@ and encourages $his to @@.mediumaquamarine;trust you in turn.@@
	<<set $slaves[$i].devotion += 2>>
	<<set $slaves[$i].trust += 4>>

<<if $dojo > 1>>
	$He @@.hotpink;appreciates@@ how special it is that $he has a nice room off the armory to rest in.
	<<set $slaves[$i].devotion += 1>>
<</if>>

<<if $bodyguardTrains == 1 && $slaves[$i].devotion > 95 && $slaves[$i].trust > 50 && $slaves[$i].combatSkill > 0 && $slaves[$i].intelligence+$slaves[$i].intelligenceImplant > 15>>
	$He's confident in $his martial skills, but smart enough to know that $he isn't immortal, and devoted enough to worry about who will protect you should $he die.
	<<set _successorCandidates = $slaves.filter( function(s) { return (s.assignmentVisible == 1 || s.assignment == "be your Concubine" || s.assignment == "be the Wardeness" || s.assignment == "be your Head Girl" || s.assignment == "work as a servant" || s.assignment == "serve in the master suite") && bodyguardSuccessorEligible(s); } )>>
	<<set _combatSkilled = _successorCandidates.filter( function(s) { return s.combatSkill > 0; })>>
	<<if _combatSkilled.length < 2>>
		<<unset $subSlave>>
		<<set _flawedTrainee = 0>>
		<<if $slaves[$i].relationship > 1>>
			<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
			<<if def $subSlave && $subSlave.combatSkill == 0 && bodyguardSuccessorEligible($subSlave)>>
				$He does $his best to train $subSlave.slaveName whenever $he can, hoping that $his
				<<if $slaves[$i].relationship > 4>>wife<<elseif $slaves[$i].relationship == 4>>lover<<elseif $slaves[$i].relationship == 3>>girlfriend<<else>>best friend<</if>>
				can be made capable of stepping into $his place.
			<</if>>
		<</if>>
		<<if ndef $subSlave>>
			<<if $HeadGirl != 0 && $HeadGirl.combatSkill == 0 && bodyguardSuccessorEligible($HeadGirl)>>
				$He does $his best to train $HeadGirl.slaveName whenever $he can, hoping that your Head Girl can be made capable of stepping into $his place.
				<<set $subSlave = $HeadGirl>>
			<</if>>
		<</if>>
		<<if ndef $subSlave>>
			<<if $Concubine != 0 && $Concubine.combatSkill == 0 && $Concubine.devotion > 50 && $Concubine.muscles >= -30 && $Concubine.weight < 150 && $Concubine.butt < 10 && $Concubine.boobs < 25000 && $Concubine.belly < 5000 && $Concubine.balls < 20 && $Concubine.dick < 15 && $Concubine.fuckdoll == 0 && $Concubine.fetish != "mindbroken" && canWalk($Concubine)>>
				$He does $his best to train $Concubine.slaveName whenever $he can, hoping that your Concubine can be made capable of stepping into $his place.
				<<if $Concubine.boobs >= 8000 || $Concubine.butt >= 10 || $Concubine.belly >= 5000 || $Concubine.balls >= 10 || $Concubine.dick >= 10 || $Concubine.muscles < 0 || $Concubine.weight >= 100>>
					$His body is poorly suited for combat, but $he can learn to work around it with enough effort.
					<<set _flawedTrainee = random(0,50)>>
				<</if>>
				<<set $subSlave = $Concubine>>
			<</if>>
		<</if>>
		<<if ndef $subSlave>>
			<<if $Wardeness != 0 && $Wardeness.combatSkill == 0 && bodyguardSuccessorEligible($Wardeness)>>
				$He does $his best to train $Wardeness.slaveName whenever $he can, hoping that your Wardeness can be made capable of stepping into $his place.
				<<set $subSlave = $Wardeness>>
			<</if>>
		<</if>>
		<<if ndef $subSlave>>
			<<set $subSlave = _successorCandidates.find( function(s) { return s.combatSkill == 0; })>>
			<<if def $subSlave>>
				$He does $his best to train $subSlave.slaveName whenever $he can, hoping that $his subordinate can be made capable of stepping into $his place.
			<</if>>
		<</if>>
		<<if def $subSlave>>
			<<if ($slaves[$i].intelligence + $slaves[$i].intelligenceImplant - _flawedTrainee) > random(1,500)>>
				By the end of the week, $he is satisfied that $subSlave.slaveName @@.green;has the combat skill@@ to contribute to your defense.
				<<set _sgy = $slaveIndices[$subSlave.ID]>>
				<<set $slaves[_sgy].combatSkill = 1>>
			<</if>>
		<<else>>
			$He finds no suitable candidates to serve as $his replacement, leaving $him stressed over your future safety. The worry is exhausting and @@.red;bad for $his health.@@
			<<set $slaves[$i].health -= 3>>
		<</if>>
	<<else>>
		$He takes care to look after the skills of your other defensively capable slaves, satisfied that there are enough of them living in your penthouse.
	<</if>>
<</if>>


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 $his 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>>

<<if $slaves[$i].physicalAge >= 18 || $loliGrow == 1 || $slaves[$i].geneMods.NCS == 1>>
<<if Math.abs($slaves[$i].hormoneBalance) >= 50>>

<<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].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")>>
		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 ($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>>
		<<if ($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50)>>
			<<set $slaves[$i].muscles -= 2+$hormoneUpgradePower>>
		<</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 ($slaves[$i].boobs-$slaves[$i].boobsImplant) < 1400>>
			Hormonal effects cause @@.lime;a small amount of natural breast growth.@@
			<<set $slaves[$i].boobs += 10+(15*$hormoneUpgradePower)>>
		<</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 ($slaves[$i].butt-$slaves[$i].buttImplant) < 4>>
			Hormonal effects cause @@.lime;the natural size of $his butt to increase.@@
			<<set $slaves[$i].butt++>>
		<</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].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")>>
		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 ($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>>
		<<if ($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50)>>
			<<set $slaves[$i].muscles -= 2+$hormoneUpgradePower>>
		<</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 ($slaves[$i].boobs-$slaves[$i].boobsImplant) < 1000>>
			Hormonal effects cause @@.lime;a small amount of natural breast growth.@@
			<<set $slaves[$i].boobs += 10+(15*$hormoneUpgradePower)>>
		<</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 ($slaves[$i].butt-$slaves[$i].buttImplant) < 4>>
			Hormonal effects cause @@.lime;the natural size of $his butt to increase.@@
			<<set $slaves[$i].butt++>>
		<</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].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")>>
		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 ($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>>
		<<if ($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50)>>
			<<set $slaves[$i].muscles -= 2+$hormoneUpgradePower>>
		<</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 ($slaves[$i].boobs-$slaves[$i].boobsImplant) < 800>>
			Hormonal effects cause @@.lime;a small amount of natural breast growth.@@
			<<set $slaves[$i].boobs += 10+(15*$hormoneUpgradePower)>>
		<</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 ($slaves[$i].butt-$slaves[$i].buttImplant) < 3>>
			Hormonal effects cause @@.lime;the natural size of $his butt to increase.@@
			<<set $slaves[$i].butt++>>
		<</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].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")>>
		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 ($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>>
		<<if ($slaves[$i].geneMods.NCS == 1) && (random(1,100) > 50)>>
			<<set $slaves[$i].muscles -= 2+$hormoneUpgradePower>>
		<</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 ($slaves[$i].boobs-$slaves[$i].boobsImplant) < 650>>
			Hormonal effects cause @@.lime;a small amount of natural breast growth.@@
			<<set $slaves[$i].boobs += 10+(15*$hormoneUpgradePower)>>
		<</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 ($slaves[$i].butt-$slaves[$i].buttImplant) < 2>>
			Hormonal effects cause @@.lime;the natural size of $his butt to increase.@@
			<<set $slaves[$i].butt++>>
		<</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].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 $slaves[$i].geneMods.NCS == 0>>
		<<if ($slaves[$i].boobs-$slaves[$i].boobsImplant) < 500>>
			Hormonal effects cause @@.lime;a small amount of natural breast growth.@@
			<<set $slaves[$i].boobs += 10+(15*$hormoneUpgradePower)>>
		<</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].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 ($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)>>
			<<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) > 100)>>
			<<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>>
		<</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].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 ($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)>>
			<<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) > 300)>>
			<<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>>
		<</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].faceShape != "masculine" && $slaves[$i].faceShape != "androgynous">>
			Hormonal effects cause @@.orange;$his face to harden into androgyny.@@
			<<set $slaves[$i].faceShape = "androgynous">>
		<</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)>>
			<<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) > 400)>>
			<<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>>
		<</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].faceShape != "masculine" && $slaves[$i].faceShape != "androgynous">>
			Hormonal effects cause @@.orange;$his face to harden into androgyny.@@
			<<set $slaves[$i].faceShape = "androgynous">>
		<</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)>>
			<<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) > 600)>>
			<<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>>
		<</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)>>
			<<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) > 800)>>
			<<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>>
		<</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>>

repo_name: nook/fc