code:
:: SA drugs [nobr]

/* Induced NCS is working at a genetical level against all types of growth, but doesn't stop it, generally about
* 1/2 the growth, however, boob and butt fat is interpreted as excess fat by NCS and so is converted to slave
* sexual energy.
*/
<<if $slaves[$i].drugs == "intensive breast injections" || $slaves[$i].drugs == "intensive butt injections" || $slaves[$i].drugs == "intensive penis enhancement" || $slaves[$i].drugs == "intensive testicle enhancement" || $slaves[$i].drugs == "intensive age-reduction" || $slaves[$i].drugs == "intensive psychosuppressants" || $slaves[$i].drugs == "intensive smart pills">>
	<<set _intensive = 1>>
<</if>>

<<switch $slaves[$i].drugs>>

<<case "hormone enhancers">>
	$His drug regime prepares $his body to accept hormonal effects.

<<case "beauty drugs">>
    <<run healthDamage($slaves[$i], 15)>>
    <<set $slaves[$i].chem += 5>>
    <<if $slaves[$i].face >= 90>>
        $His face was @@.green;perfected this week by drugs, they can do no more for her face.
        <<set $slaves[$i].face = 100>>
        <<set $slaves[$i].drugs = "no drugs">>
    <<else>>
        $His face was @@.lime;smoothed and beautified@@ by $his drugs this week. Unfortunately, $his health @@.red;suffers@@ from the effects of the potent drugs.
        <<set $slaves[$i].face += random(4, 10)>>
        <<if $dispensaryUpgrade > 0>>
            Your advanced pharmaceutical fabricator greatly refines and improves the @@.lime;effectiveness@@ of $his beauty drugs. It also mitigated some of the side effects, @@.green;improving@@ $his health.
            <<set $slaves[$i].face += random(8, 14)>>
            <<if $slaves[$i].face >= 95>>
                <<set $slaves[$i].face = 100>>
            <</if>>
            <<run healthDamage($slaves[$i], -5)>>
            <<set $slaves[$i].chem -= 2>>
        <</if>>
        <<if $slaves[$i].faceShape == "masculine" && random(1, 100) >= 60>>
            $His face was @@.lime;softened@@ to an androgynous shape.
            <<set $slaves[$i].faceShape = "androgynous">>
        <</if>>
    <</if>>

<<case "pregnancy adapters">>
    <<set $slaves[$i].pregAdaptation += (Math.pow(($slaves[$i].bellyPreg*1.5) / 15000, 0.55))>> /*Tentative, set to return increasing results as bellyPreg increases.*/
    <<if $slaves[$i].bellyPreg > $slaves[$i].pregAdaptation*2000>>
        <<run healthDamage($slaves[$i], -5)>>
    <</if>>
    $His body was @@.green;soothed and healed@@ by the advanced pregnancy support drugs, leaving $him more able to safely bear huge broods.
    <<if $arcologies[0].FSRepopulationFocus >= 80>>
        $He is @@.hotpink;grateful@@ for this assistance in remaining happy and healthy in a Repopulationist society like yours, and @@.mediumaquamarine;trusts@@ you to keep $his best interests in mind.
        <<set $slaves[$i].devotion += 4>>
        <<set $slaves[$i].trust += 3>>
    <</if>>
    <<if $slaves[$i].bellyPreg > $slaves[$i].pregAdaptation*4500>>
        It matters very little what $he thinks of you, @@.hotpink;relief from any source@@ is @@.mediumaquamarine;welcome against the hellish torture@@ $his absurd brood inflicts upon $him.
        <<set $slaves[$i].devotion += 8>>
        <<set $slaves[$i].trust += 6>>
    <<elseif $slaves[$i].bellyPreg > $slaves[$i].pregAdaptation*3200>>
        <<if $slaves[$i].devotion > -95>>
            Regardless of $his opinion about you, $he @@.hotpink;gratefully welcomes@@ an @@.mediumaquamarine;escape from the racking pains@@ of $his massive, agitated womb.
            <<set $slaves[$i].devotion += 6>>
            <<set $slaves[$i].trust += 5>>
        <<else>>
            $He hates you so much that even the sweet relief from hyperpregnancy pains can't sway $his opinion about you.
        <</if>>
    <<elseif $slaves[$i].bellyPreg > $slaves[$i].pregAdaptation*2000>>
        <<if $slaves[$i].devotion > 50>>
            $He is immensely grateful for your consideration of $his health and comfort during $his pregnancy, leaving him even more @@.hotpink;loving and devoted to@@ $his @@.mediumaquamarine;kind and caring@@  <<if $PC.title != 0>>Master<<else>>Mistress<</if>>.
            <<set $slaves[$i].devotion += 6>>
            <<set $slaves[$i].trust += 6>>
        <<elseif $slaves[$i].devotion > -20>>
            $He isn't sure what to think about you just yet, but $he is nonetheless @@.hotpink;grateful for the relief@@ you have provided $him, and @@.mediumaquamarine;trusts you to treat her well@@ in the future.
            <<set $slaves[$i].devotion += 4>>
            <<set $slaves[$i].trust += 5>>
        <<elseif $slaves[$i].devotion > -50>>
            $He is deeply conflicted about your relieving of his discomfort, unsure whether to trust you for providing it, or fear that it is only a ploy to lower $his guard.
        <<else>>
            $He hates you so deeply that no amount of relief could possibly buy $his devotion to you. If anything, $he simply @@.mediumorchid;hates you more@@ for inflicting this state upon him to begin with, and @@.gold;fears that you may take it away@@ on a cruel whim.
            <<set $slaves[$i].devotion -= 4>>
            <<set $slaves[$i].trust -= 5>>
        <</if>>
    <<elseif $slaves[$i].bellyPreg > $slaves[$i].pregAdaptation*1000>>
        <<if $slaves[$i].devotion > 50>>
            $He is very grateful that you would consider $his health and comfort during $his pregnancy, and @@.hotpink;loves you all the more@@ for it.
            <<set $slaves[$i].devotion += 5>>
            <<set $slaves[$i].trust += 3>>
        <<elseif $slaves[$i].devotion > 20>>
            $He is @@.hotpink;thankful that you would consider $his health and comfort@@, but still hesitant to truly trust you to keep $his best interests in mind.
            <<set $slaves[$i].devotion += 3>>
        <<elseif $slaves[$i].devotion > -20>>
            $He is grateful for the relief, but deeply conflicted on how to react, as he does not yet particularly like or trust you despite your consideration of $his comfort.
        <<else>>
            $He already greatly dislikes you, and relieving moderately irritating discomfort isn't going to help that, not when $he @@.mediumorchid;blames you for $his state in the first place@@.
            <<set $slaves[$i].devotion -= 5>>
        <</if>>
    <<elseif $slaves[$i].bellyPreg > $slaves[$i].pregAdaptation*750>>
        Since $he is not in any particular discomfort, the application of the drugs matter little to $him.
    <</if>>

<<case "priapism agents">>
	<<if $slaves[$i].dick == 0>>
		Since $he lacks a dick, it is pointless to try and keep it hard. @@.yellow;$His drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<elseif $slaves[$i].chastityPenis == 1>>
		A tight cage around a dick forced hard are a bad mix so @@.yellow;$his drug regimen has been ended.@@
	<<elseif $slaves[$i].health.health <= -50>>
		$He is too unwell to risk further health complications from priapism. @@.yellow;$His drug regimen has been ended.@@
	<<elseif $slaves[$i].dick > 10>>
		$His dick is so enormous that attempts to force an erection would kill $him. @@.yellow;$His drug regimen has been mercifully ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<else>>
		$His drug regime keeps $his dick @@.red;painfully erect.@@
		<<run healthDamage($slaves[$i], 5)>>
		<<if $slaves[$i].dick >= 7>>
			The amount of blood needed to keep $his oversized cock hard has @@.red;severe effects on $his health!@@
			<<run healthDamage($slaves[$i], $slaves[$i].dick*5)>>
		<</if>>
	<</if>>

<<case "psychosuppressants" "intensive psychosuppressants">>
	<<if ($slaves[$i].fetish != "mindbroken")>>
    <<if _intensive != 1>>
		The psychosuppressants @@.hotpink;reduce $his ability to question $his role@@ or @@.mediumaquamarine;think independently.@@
		<<set $slaves[$i].devotion += 4, $slaves[$i].trust += 4>>
		<<if ($slaves[$i].intelligence >= -95)>>
			They @@.orange;negatively impact $his intelligence,@@ as well.
			<<set $slaves[$i].intelligence -= 5>>
		<</if>>
        <<if $slaves[$i].intelligence < -80>>
            They have made her @@.orange;so outstandingly stupid@@ that they no longer have an appreciable effect.
            <<set $slaves[$i].intelligence = -100>>
            <<set $slaves[$i].drugs = "no drugs">>
        <</if>>
		<<if $slaves[$i].fuckdoll == 0 && $slaves[$i].intelligence < -15 && $slaves[$i].fetishStrength <= 60 && $slaves[$i].fetish != "submissive" && fetishChangeChance($slaves[$i]) > random(0,100)>>
			The willingness to @@.lightcoral;submit@@ created by the drugs invades $his sexuality, too.
			<<set $slaves[$i].fetish = "submissive", $slaves[$i].fetishKnown = 1, $slaves[$i].fetishStrength = 10>>
		<</if>>
    <<elseif _intensive == 1>>
        The massive doses of psychosuppressants @@.hotpink;utterly destroy $his free will@@ and @@.mediumaquamarine;snuff out all independent thought.@@
        <<set $slaves[$i].devotion += 15, $slaves[$i].trust += 15>>
        <<if $slaves[$i].intelligence >= -80>>
            They @@.orange;utterly ravage $his intellect,@@ as well.
            <<set $slaves[$i].intelligence -= 20>>
        <</if>>
        <<if $slaves[$i].intelligence < -80>>
            They have made her @@.orange;so outstandingly stupid@@ that they no longer have an appreciable effect.
            <<set $slaves[$i].intelligence = -100>>
            <<set $slaves[$i].drugs = "no drugs">>
        <</if>>
        <<if $slaves[$i].fuckdoll == 0 && $slaves[$i].intelligence < -15 && $slaves[$i].fetishStrength <= 60 && $slaves[$i].fetish != "submissive" && fetishChangeChance($slaves[$i]) > random(0,100)>>
			The willingness to @@.lightcoral;submit@@ created by the drugs invades $his sexuality, too.
			<<set $slaves[$i].fetish = "submissive", $slaves[$i].fetishKnown = 1, $slaves[$i].fetishStrength = 10>>
		<</if>>
        The massive doses of invasive chemicals @@.red;damage $his health also@@.
        <<set $slaves[$i].chem += 5>>
        <<run healthDamage($slaves[$i], 10)>>
    <</if>>
	<<else>>
		The psychosuppressants have little effect on $his passive mind.
	<</if>>

<<case "smart pills" "intensive smart pills">>
    <<if _intensive != 1>>
        <<if $slaves[$i].devotion <= 95>>
        The intelligence boosters modify $his brain chemistry to encourage neuron formation, @@.yellow;increasing independent thought@@ and making $him @@.mediumorchid;question $his role.@@
        <<set $slaves[$i].devotion -= 5>>
        <<set $slaves[$i].trust -= 5>>
        <<elseif $slaves[$i].devotion > 95>>
        The intelligence boosters modify $his brain chemistry to encourage neuron formation, making $him smarter, but $pronoun is so devoted this has no effect on $his opinion of you.
        <</if>>
        <<if ($slaves[$i].intelligence <= 95)>>
            The drugs @@.lime;positively impact $his intelligence.@@
            <<set $slaves[$i].intelligence += 5>>
        <<elseif $slaves[$i].intelligence > 95>>
            The drugs have @@.lime;made $him inhumanly smart,@@ and can do no more.
            <<set $slaves[$i].intelligence = 100>>
            <<set $slaves[$i].drugs = "no drugs">>
        <</if>>
    <<elseif _intensive == 1>>
        <<if $slaves[$i].devotion <= 95>>
        The huge doses of intelligence booster rapidly modify $his brain chemistry to promote mass neuron formation, @@.yellow;greatly increasing independent thought capacity@@ and making @@.mediumorchid;$him deeply question $his situation@@.
        <<set $slaves[$i].devotion -= 20>>
        <<set $slaves[$i].trust -= 15>>
        <<elseif $slaves[$i].devotion > 95>>
        The massive doses of intelligence boosters rapidly encourage neuron formation, but $he is so devoted to you even this massive boost in intellect can't shake $his ironclad will to serve.
        <</if>>
        <<if $slaves[$i].intelligence <= 85>>
            The drugs @@.lime;massively increase $his intelligence.@@
            <<set $slaves[$i].intelligence += 15>>
        <<elseif $slaves[$i].intelligence > 85>>
            The drugs have @@.lime;made $him inhumanly smart,@@ and can do no more.
            <<set $slaves[$i].intelligence = 100>>
            <<set $slaves[$i].drugs = "no drugs">>
        <</if>>
        Unfortunately, the chemicals in this dosage are immensely invasive, and @@.red;greatly affect $his health@@.
        <<set $slaves[$i].chem += 10>>
        <<run healthDamage($slaves[$i], 25)>>
    <</if>>

<<case "aphrodisiac recovery">>
	The aphrodisiac recovery drugs rapidly re-acclimate $his body to functioning without aphrodisiacs, @@.lime;reducing $his addiction.@@ <<if $healthyDrugsUpgrade == 1>> The improved drugs your fabricator produces amplify this effect.<</if>>
	<<if $slaves[$i].addict >= 12>>
	<<set $slaves[$i].addict -= 8>>
	<<if $healthyDrugsUpgrade == 1>>
		<<set $slaves[$i].addict -= 6>>
	<</if>>
	<<else>>
	<<set $slaves[$i].addict -= 8>>
	<</if>>

<<case "psychostimulants">>
	$He takes a cup of @@.deepskyblue;mind stimulating@@ tea with each meal;
	<<if ($slaves[$i].fetish != "mindbroken")>>
		the soothing drink @@.mediumaquamarine;sets $his thoughts at ease.@@
		<<if $slaves[$i].devotion < -50>>
			<<set $slaves[$i].trust += 6>>
		<<elseif $slaves[$i].devotion < -20>>
			<<set $slaves[$i].trust += 4>>
		<<elseif $slaves[$i].devotion <= 20>>
			<<set $slaves[$i].trust += 2>>
		<<else>>
			<<set $slaves[$i].trust += 1>>
		<</if>>
		<<set $slaves[$i].intelligence += 1>>
		<<if $slaves[$i].energy > 60>>
			$He spends @@.red;less time thinking about sex,@@ as well.
			<<if $slaves[$i].energy > 95>>
				<<set $slaves[$i].energy -= 3>>
			<<elseif $slaves[$i].energy > 80>>
				<<set $slaves[$i].energy -= 2>>
			<<else>>
				<<set $slaves[$i].energy -= 1>>
			<</if>>
		<</if>>
	<<else>>
		it has little effect on $his passive mind.
	<</if>>

<<case "hyper breast injections">>
	<<set _gigantomastiaMod = $slaves[$i].geneticQuirks.gigantomastia == 2 ? ($slaves[$i].geneticQuirks.macromastia == 2 ? 3 : 2) : 1>>
	<<set $slaves[$i].chem += 2>>
	<<set _growth = (4+$injectionUpgrade)*3*_gigantomastiaMod>>
	$He receives @@.lime;direct injections of <<if ($injectionUpgrade != 0)>> advanced<</if>> hyper growth hormones, right into $his breasts;@@
	<<if ($slaves[$i].diet == "fattening")>>
		all the food $he's required to consume fuels growth, <<if $slaves[$i].health.condition > -20>>and<<else>>but<</if>>
		<<set _growth += 6>>
	<<elseif ($slaves[$i].diet == "fertility")>>
		the fertility hormones in $his food favor breast growth, <<if $slaves[$i].health.condition > -20>>and<<else>>but<</if>>
		<<set _growth += 1>>
	<<elseif ($slaves[$i].diet == "restricted")>>
		$his restricted diet means $his body has few resources to grow on, <<if $slaves[$i].health.condition > -20>>but<<else>>and<</if>>
		<<set _growth -= 1>>
	<<elseif ($slaves[$i].weight > 130)>>
		the enormous diet $he eats to maintain $his hugely fat body helps support growth, <<if $slaves[$i].health.condition > -20>>but<<else>>and<</if>>
		<<set _growth += 4>>
	<<elseif ($slaves[$i].weight > 30)>>
		the generous diet $he eats to maintain $his fat body helps support growth, <<if $slaves[$i].health.condition > -20>>and<<else>>but<</if>>
		<<set _growth += 2>>
	<<elseif ($slaves[$i].weight <= -30)>>
		the diet $he is required to maintain to keep slim impedes growth, <<if $slaves[$i].health.condition > -20>>but<<else>>and<</if>>
		<<set _growth-->>
	<</if>>
	<<if $slaves[$i].health.condition > 80>>
		$his perfect health supports growth extremely well, <<if $slaves[$i].boobs < 5000 || $slaves[$i].boobs >= 10000>>and<<else>>but<</if>>
		<<set _growth += 6>>
	<<elseif ($slaves[$i].health.condition > -20)>>
		$his health supports growth, <<if $slaves[$i].boobs < 2000 || $slaves[$i].boobs >= 10000>>and<<else>>but<</if>>
	<<else>>
		$his poor health does not support steady growth, but
		<<set _growth-->>
	<</if>>
	$his
	<<if ($slaves[$i].boobs < 800)>>
		small chest tends to grow rapidly.
		<<set _growth += 12>>
		<<if ($slaves[$i].boobShape != "saggy") && ($slaves[$i].breastMesh != 1)>>
			<<if random(1,10) < 8>>
				As $his boobs rapidly grow, they @@.orange;become saggy@@ under their own rapid weight gain.
				<<set $slaves[$i].boobShape = "saggy">>
			<</if>>
		<</if>>
	<<elseif ($slaves[$i].boobs < 2000)>>
		modest tits tend to grow fast.
		<<set _growth += 10>>
		<<if ($slaves[$i].boobShape != "saggy") && ($slaves[$i].breastMesh != 1)>>
			<<if random(1,10) < 7>>
				As $his boobs rapidly grow, they @@.orange;become saggy@@ under their own rapid weight gain.
				<<set $slaves[$i].boobShape = "saggy">>
			<</if>>
		<</if>>
	<<elseif ($slaves[$i].boobs < 5000)>>
		heavy boobs tend to grow modestly.
		<<set _growth += 8>>
		<<if ($slaves[$i].boobShape != "saggy") && ($slaves[$i].breastMesh != 1)>>
			<<if random(1,10) == 1>>
				As they grow, they @@.coral;begin to sag@@ under their own monstrous weight, $his mass of breastflesh directing $his nipples downward.
				<<set $slaves[$i].boobShape = "saggy">>
			<</if>>
		<</if>>
	<<elseif ($slaves[$i].boobs < 10000)>>
		huge boobs tend to grow slowly.
		<<set _growth += 6>>
		<<if ($slaves[$i].boobShape != "saggy") && ($slaves[$i].breastMesh != 1)>>
			<<if random(1,10) == 1>>
				As they grow, they @@.coral;begin to sag@@ under their own monstrous weight, $his mass of breastflesh directing $his nipples downward.
				<<set $slaves[$i].boobShape = "saggy">>
			<</if>>
		<</if>>
	<<else>>
		monstrous udders are just the right size to experience the explosive growth the drugs promise.
		<<set _growth += 25>>
		<<if ($slaves[$i].boobShape != "normal") && ($slaves[$i].breastMesh != 1)>>
			<<if random(1,10) == 1>>
				$His @@.coral;breasts lose their unique shape@@ as they adapt to their monstrous, unnatural size. There's simply nowhere else for $his mass of boob to go, and its expansion fills $his breasts out and points $his nipples forward.
				<<set $slaves[$i].boobShape = "normal">>
			<</if>>
		<</if>>
	<</if>>
	<<if $slaves[$i].geneMods.NCS == 1>>
		<<set _growth = Math.trunc(_growth/2.2)>>
		$His @@.orange;NCS@@ kicks in fighting the breast growth, converting the excess fat into sexual energy for $him.
		<<set $slaves[$i].energy += _growth>>
	<</if>>
	<<set _growth = 25*Math.trunc(_growth)>>
	<<set $slaves[$i].boobs += Math.clamp(_growth, 25, 5000)>>
	<<if random(1,100) > 30+($slaves[$i].areolae*10) && $slaves[$i].areolae < 4>>
		The increase in breast size @@.lime;stretches and broadens $his areolae.@@
		<<set $slaves[$i].areolae += 1>>
	<</if>>
	<<if (random(1,100) > 70) && ($slaves[$i].nipples != "inverted") && ($slaves[$i].nipples != "fuckable")>>
		<<if ($slaves[$i].nipples == "tiny") || ($slaves[$i].nipples == "cute") || ($slaves[$i].nipples == "puffy") || ($slaves[$i].nipples == "huge")>>
			The explosive increase in breast flesh also @@.lime;completely swallows $his nipples.@@
			<<set $slaves[$i].nipples = "inverted">>
		<</if>>
	<</if>>
	<<if $slaves[$i].geneticQuirks.gigantomastia == 3 && random(1,200) < $slaves[$i].hormoneBalance>>
		<<set $slaves[$i].geneticQuirks.gigantomastia = 2>>
	<</if>>
	<<if $slaves[$i].geneticQuirks.macromastia == 3 && random(1,200) < $slaves[$i].hormoneBalance>>
		<<set $slaves[$i].geneticQuirks.macromastia = 2>>
	<</if>>

<<case "breast injections" "intensive breast injections">>
	<<set _gigantomastiaMod = $slaves[$i].geneticQuirks.gigantomastia == 2 ? ($slaves[$i].geneticQuirks.macromastia == 2 ? 3 : 2) : 1>>
	<<set _growth = 1+$injectionUpgrade*_gigantomastiaMod>>
	$He receives @@.lime;
	<<if _intensive>>
		massive
		<<set _growth*=2>>
	<</if>>
	injections of <<if ($injectionUpgrade != 0)>>advanced<</if>> growth hormones, right into $his breasts;@@
	<<if ($slaves[$i].diet == "fattening")>>
		all the food $he's required to consume fuels growth, <<if $slaves[$i].health.condition > -20>>and<<else>>but<</if>>
		<<set _growth += 2>>
	<<elseif ($slaves[$i].diet == "fertility")>>
		the fertility hormones in $his food favor breast growth, <<if $slaves[$i].health.condition > -20>>and<<else>>but<</if>>
		<<set _growth += 1>>
	<<elseif ($slaves[$i].diet == "restricted")>>
		$his restricted diet means $his body has few resources to grow on, <<if $slaves[$i].health.condition > -20>>but<<else>>and<</if>>
		<<set _growth -= 2>>
	<<elseif ($slaves[$i].weight > 130)>>
		the enormous diet $he eats to maintain $his hugely fat body helps support growth, <<if $slaves[$i].health.condition > -20>>and<<else>>but<</if>>
		<<set _growth++>>
	<<elseif ($slaves[$i].weight > 30)>>
		the generous diet $he eats to maintain $his fat body helps support growth, <<if $slaves[$i].health.condition > -20>>and<<else>>but<</if>>
		<<set _growth++>>
	<<elseif ($slaves[$i].weight <= -30)>>
		the diet $he is required to maintain to keep slim impedes growth, <<if $slaves[$i].health.condition > -20>>but<<else>>and<</if>>
		<<set _growth-->>
	<</if>>
	<<if $slaves[$i].health.condition > 80>>
		$his perfect health supports growth extremely well, <<if $slaves[$i].boobs < 2000>>and<<else>>but<</if>>
		<<set _growth++>>
	<<elseif ($slaves[$i].health.condition > -20)>>
		$his health supports growth, <<if $slaves[$i].boobs < 2000>>and<<else>>but<</if>>
	<<else>>
		$his poor health does not support steady growth, <<if $slaves[$i].boobs < 2000>>but<<else>>and<</if>>
		<<set _growth-->>
	<</if>>
	$his
	<<if ($slaves[$i].boobs < 800)>>
		modest chest tends to grow quickly.
		<<set _growth += 3>>
		<<if ($slaves[$i].boobShape != "torpedo-shaped") && ($slaves[$i].boobShape != "wide-set") && ($slaves[$i].breastMesh != 1)>>
			<<if random(1,10) == 1>>
				<<if $slaves[$i].shoulders < 0>>
					@@.lime;As $his boobs grow, they take on a torpedo shape within the frame of $his narrow shoulders,@@ projecting a long way from $his chest and swinging delightfully when $he's naked.
					<<set $slaves[$i].boobShape = "torpedo-shaped">>
				<<else>>
					@@.lime;As $his boobs grow, they become widely set across the broadness of $his chest,@@ spreading sideways even when $he's not lying on $his back.
					<<set $slaves[$i].boobShape = "wide-set">>
				<</if>>
			<</if>>
		<</if>>
	<<elseif ($slaves[$i].boobs < 2000)>>
		big tits tend to grow readily.
		<<set _growth += 2>>
		<<if ($slaves[$i].boobShape == "saggy") || ($slaves[$i].boobShape == "downward-facing") && ($slaves[$i].breastMesh != 1)>>
			<<if random(1,10) == 1>>
				@@.lime;As they grow, they lose their sag,@@ with the expanding tissue lifting $his nipples up to point forward.
				<<set $slaves[$i].boobShape = "normal">>
			<</if>>
		<</if>>
	<<elseif ($slaves[$i].boobs < 5000)>>
		heavy boobs tend to grow slowly.
		<<set _growth++>>
		<<if ($slaves[$i].boobShape != "saggy") && ($slaves[$i].breastMesh != 1)>>
			<<if random(1,10) == 1>>
				@@.coral;As they grow, they begin to sag@@ under their own monstrous weight, $his mass of breastflesh directing $his nipples downward.
				<<set $slaves[$i].boobShape = "saggy">>
			<</if>>
		<</if>>
	<<else>>
		monstrous udders tend to grow very slowly.
		<<if ($slaves[$i].boobShape != "normal") && ($slaves[$i].breastMesh != 1)>>
			<<if random(1,10) == 1>>
				@@.coral;$His breasts lose their unique shape@@ as they adapt to their monstrous, unnatural size. There's simply nowhere else for $his mass of boob to go, and its expansion fills $his breasts out and points $his nipples forward.
				<<set $slaves[$i].boobShape = "normal">>
			<</if>>
		<</if>>
	<</if>>
		<<if $slaves[$i].geneMods.NCS == 1>>
			<<set _growth = Math.trunc(_growth/2.2)>>
			$His @@.orange;NCS@@ kicks in fighting the breast growth, converting the excess fat into sexual energy for $him.
			<<set $slaves[$i].energy += _growth>>
		<</if>>
	<<set _growth = 50*Math.trunc(_growth*0.9)>>
	<<set $slaves[$i].boobs += Math.clamp(_growth, 25, 600)>>
	<<if $slaves[$i].areolae < 4>>
		<<if _growth > $slaves[$i].areolae*25>>
			The increase in breast size @@.lime;stretches and broadens $his areolae.@@
			<<set $slaves[$i].areolae += 1>>
		<</if>>
	<</if>>
	<<if $slaves[$i].nipples != "huge" && ($slaves[$i].nipples != "fuckable")>>
		<<if random(1,200) < _growth>>
			<<if ($slaves[$i].nipples == "tiny")>>
				The hormones also @@.lime;cause nipple growth.@@
				<<set $slaves[$i].nipples = "cute">>
			<<elseif ($slaves[$i].nipples == "cute")>>
				<<if random(1,2) == 1>>
					The hormones also @@.lime;cause $his cute nipples to become puffy.@@
					<<set $slaves[$i].nipples = "puffy">>
				<<else>>
					The explosive breast growth also @@.lime;causes $his cute nipples to become partially inverted.@@
					<<set $slaves[$i].nipples = "partially inverted">>
				<</if>>
			<<elseif ($slaves[$i].nipples == "puffy")>>
				<<if random(1,2) == 1>>
					The hormones also @@.lime;cause $his puffy nipples to become really enormous.@@
					<<set $slaves[$i].nipples = "huge">>
				<<else>>
					The explosive breast growth also @@.lime;causes $his puffy nipples to become completely inverted.@@
					<<set $slaves[$i].nipples = "inverted">>
				<</if>>
			<<elseif ($slaves[$i].nipples == "partially inverted")>>
				The explosive breast growth also @@.lime;causes $his nipples to invert completely.@@
				<<set $slaves[$i].nipples = "inverted">>
			<</if>>
		<</if>>
	<</if>>
	<<if $slaves[$i].geneticQuirks.gigantomastia == 3 && random(1,300) < $slaves[$i].hormoneBalance>>
		<<set $slaves[$i].geneticQuirks.gigantomastia = 2>>
	<</if>>
	<<if $slaves[$i].geneticQuirks.macromastia == 3 && random(1,300) < $slaves[$i].hormoneBalance>>
		<<set $slaves[$i].geneticQuirks.macromastia = 2>>
	<</if>>

<<case "butt injections" "intensive butt injections">>
	<<set _growth = (1+$injectionUpgrade) * 1.5>>
	<<set _rearQuirk = $slaves[$i].geneticQuirks.rearLipedema == 2 ? 1 : 0>>
	$He receives @@.lime;
	<<if _intensive>>
		massive
		<<set _growth*=2>>
	<</if>>
	injections of <<if ($injectionUpgrade != 0)>>advanced<</if>> growth hormones, right into $his buttocks;@@
	<<if ($slaves[$i].diet == "fattening")>>
		all the food $he's required to consume fuels growth, <<if $slaves[$i].health.condition > -20>>and<<else>>but<</if>>
		<<set _growth += 2>>
	<<elseif ($slaves[$i].diet == "restricted")>>
		$his restricted diet means $his body has few resources to grow on, <<if $slaves[$i].health.condition > -20>>but<<else>>and<</if>>
		<<set _growth -= 2>>
	<<elseif ($slaves[$i].weight > 130)>>
		the generous diet $he eats to maintain $his fat body helps support growth, <<if $slaves[$i].health.condition > -20>>and<<else>>but<</if>>
		<<set _growth += 3>>
	<<elseif ($slaves[$i].weight > 30)>>
		the generous diet $he eats to maintain $his fat body helps support growth, <<if $slaves[$i].health.condition > -20>>and<<else>>but<</if>>
		<<set _growth++>>
	<<elseif ($slaves[$i].weight <= -30)>>
		the diet $he is required to maintain to keep slim impedes growth, <<if $slaves[$i].health.condition > -20>>but<<else>>and<</if>>
		<<set _growth-->>
	<</if>>
	<<if $slaves[$i].health.condition > 80>>
		$his perfect health supports growth extremely well, <<if $slaves[$i].butt < 6>>and<<else>>but<</if>>
		<<set _growth++>>
	<<elseif ($slaves[$i].health.condition > -20)>>
		$his health supports growth, <<if $slaves[$i].butt < 6>>and<<else>>but<</if>>
	<<else>>
		$his poor health does not support steady growth, <<if $slaves[$i].butt < 6>>but<<else>>and<</if>>
		<<set _growth-->>
	<</if>>
	$his
	<<if $slaves[$i].butt < 2>>
		modest rear tends to grow quickly.
	<<elseif $slaves[$i].butt < 4>>
		big behind tends to grow readily.
		<<set _growth += 2>>
	<<elseif $slaves[$i].butt < 6>>
		massive ass tends to grow slowly.
		<<set _growth++>>
	<<else>>
		monstrous cheeks tend to grow very slowly.
	<</if>>
	<<if _rearQuirk != 0>>
		<<set _growth += 3>>
		<<if $geneticMappingUpgrade >= 1>>
			$His rear lipedema amplifies the drug's effects on $his bottom.
		<<else>>
			The drugs seem to have an added effect on $him.
		<</if>>
	<</if>>
	<<set _growth*=0.2>>
	<<if $slaves[$i].geneMods.NCS == 1>>
		<<set _growth = Math.trunc(_growth/2.2)>>
		$His @@.orange;NCS@@ kicks in fighting the butt growth<<if _growth > 1>>, converting the excess fat into sexual energy for $him<<else>> and no change happens<</if>>.
		<<set $slaves[$i].energy += _growth>>
	<</if>>
	<<set $slaves[$i].butt += Math.clamp(_growth,0,2+_rearQuirk)>>
	<<if $slaves[$i].geneMods.rapidCellGrowth != 1>>
		<<if _intensive>>
			<<if $slaves[$i].anus > 1>>
				The reckless drug therapy has the side effect of rejuvenating $his sphincter muscles, @@.lime;tightening up $his <<if $slaves[$i].anus > 4>>gaping<<elseif $slaves[$i].anus > 3>>loose<<else>>relaxed<</if>> anus.@@
				<<set $slaves[$i].anus-->>
			<</if>>
		<<else>>
			<<if $slaves[$i].anus > 2>>
				The drugs nearby rejuvenate $his sphincter muscles, @@.lime;tightening up $his <<if $slaves[$i].anus > 4>>gaping<<else>>loose<</if>> anus.@@
				<<set $slaves[$i].anus-->>
			<</if>>
		<</if>>
	<</if>>

<<case "hyper butt injections">>
	<<set $slaves[$i].chem += 2>>
	<<set _rearQuirk = $slaves[$i].geneticQuirks.rearLipedema == 2 ? 1 : 0>>
	<<set _growth = .5 + ($injectionUpgrade * 0.25)>>
	$He receives @@.lime;direct injections of <<if ($injectionUpgrade != 0)>> advanced<</if>> hyper growth hormones, right into $his buttocks;@@
	<<if ($slaves[$i].diet == "fattening")>>
		all the food $he's required to consume fuels growth, <<if $slaves[$i].health.condition > -20>>and<<else>>but<</if>>
		<<set _growth += 0.2>>
	<<elseif ($slaves[$i].diet == "restricted")>>
		$his restricted diet means $his body has few resources to grow on, <<if $slaves[$i].health.condition > -20>>and<<else>>but<</if>>
		<<set _growth -= 0.2>>
	<<elseif ($slaves[$i].weight > 130)>>
	the enormous diet $he eats to maintain $his hugely fat body helps support growth, <<if $slaves[$i].health.condition > -20>>and<<else>>but<</if>>
	<<set _growth += 0.2>>
	<<elseif ($slaves[$i].weight > 30)>>
	the generous diet $he eats to maintain $his fat body helps support growth, <<if $slaves[$i].health.condition > -20>>and<<else>>but<</if>>
	<<set _growth += 0.1>>
	<<elseif ($slaves[$i].weight <= -30)>>
		the diet $he is required to maintain to keep slim impedes growth, <<if $slaves[$i].health.condition > -20>>and<<else>>but<</if>>
		<<set _growth -= 0.1>>
	<</if>>
	<<if $slaves[$i].health.condition > 80>>
		$his perfect health supports growth extremely well, <<if $slaves[$i].butt < 10>>and<<else>>but<</if>>
		<<set _growth += .5>>
	<<elseif ($slaves[$i].health.condition > -20)>>
		$his health supports growth reasonably well, <<if ($slaves[$i].butt < 10)>>and<<else>>but<</if>>
	<<else>>
		$his poor health does not support steady growth, <<if ($slaves[$i].butt < 10)>>but<<else>>and<</if>>
		<<set _growth -= 0.1>>
	<</if>>
	$his
	<<if ($slaves[$i].butt < 6)>>
		modest rear tends to grow quickly.
		<<set _growth += 1>>
	<<elseif ($slaves[$i].butt < 8)>>
		gigantic behind tends to grow readily.
		<<set _growth += .8>>
	<<elseif ($slaves[$i].butt < 10)>>
		titanic jiggly butt tends to grow steadily.
		<<set _growth += .6>>
	<<else>>
		inhuman cheeks tend to grow slowly.
		<<set _growth += .4>>
	<</if>>
	<<if _rearQuirk != 0>>
		<<set _growth += 1>>
		<<if $geneticMappingUpgrade >= 1>>
			$His rear lipedema massively amplifies the drug's effects.
		<<else>>
			The drugs seem to have an added effect on $him.
		<</if>>
	<</if>>
	<<if $slaves[$i].geneMods.NCS == 1>>
		<<set _growth = Math.trunc(_growth/2.2)>>
		$His @@.orange;NCS@@ kicks in fighting the butt growth<<if _growth > 1>>, converting the excess fat into sexual energy for $him<<else>> and no change happens<</if>>.
		<<set $slaves[$i].energy += _growth>>
	<</if>>
	<<if ((_growth > 1) || ($slaves[$i].geneMods.NCS == 1))>>
		<<set $slaves[$i].butt += _growth>>
	<<else>>
		<<set $slaves[$i].butt += 1>>
	<</if>>
	<<if $slaves[$i].butt >= 20>>
		<<set $slaves[$i].butt = 20>>
	<</if>>

<<case "lip injections">>
	<<if ($slaves[$i].lips <= 95)>>
		<<if ($slaves[$i].lips > 90)>>
			@@.lime;$His lips swell rapidly from the injections of <<if ($injectionUpgrade != 0)>> advanced<</if>> growth agents, becoming a facepussy useless for anything other than oral sex.@@
		<<elseif ($slaves[$i].lips > 70) && ($slaves[$i].lips <= 75)>>
			@@.lime;$His lips swell rapidly from the injections of <<if ($injectionUpgrade != 0)>> advanced<</if>> growth agents, and are now so large that $he can no longer enunciate properly.@@
		<<else>>
			@@.lime;$His lips swell rapidly from the injections of <<if ($injectionUpgrade != 0)>> advanced<</if>> growth agents.@@
		<</if>>
		<<if $slaves[$i].geneMods.NCS == 1>>
			<<set $slaves[$i].lips += 2>>
		<<else>>
			<<set $slaves[$i].lips += 5>>
		<</if>>
	<</if>>

<<case "hyper lip injections">>
	<<if $slaves[$i].lips <= 95>>
		<<if ($slaves[$i].lips > 90)>>
			@@.lime;$His lips swell rapidly, becoming a facepussy useless for anything but oral sex.@@
		<<elseif ($slaves[$i].lips > 70) && ($slaves[$i].lips <= 75)>>
			@@.lime;$His lips swell rapidly, and are now so large that $pronoun can no longer enunciate properly.@@
		<<else>>
			@@.lime;$His lips swell tremendously.@@
		<</if>>
		<<set $slaves[$i].lips += 20>>
	<</if>>

<<case "growth stimulants">>
	<<set $slaves[$i].chem += 2>>
	<<set _growth = 1>>
	$He receives frequent @@.lime;
	injections of growth stimulants.@@
	/*Hormones*/
	<<if $slaves[$i].hormones == 2 || $slaves[$i].hormones == -2>>
		<<set _growth-->>
		The massive quantities of sexual hormones flooding $his body limits the effectiveness of the treatment.
	<<elseif $slaves[$i].hormones == 0>>
		<<set _growth += 0.2>>
		In the absence of significant levels of sexual hormones, the treatment is more effective.
	<<elseif $slaves[$i].hormones == 1 || $slaves[$i].hormones == -1>>
		$His low level of sexual hormones allow the treatment to work undisturbed.
	<</if>>
	/*hormone balance*/
	<<if $slaves[$i].hormoneBalance <= -50>>
		<<set _growth += 0.5>>
	<<elseif $slaves[$i].hormoneBalance <= -25>>
		<<set _growth += 0.2>>
	<<elseif $slaves[$i].hormoneBalance < 50>>
		<<set _growth -= 0.2>>
	<<else>>
		<<set _growth -= 0.5>>
	<</if>>
	/*diet*/
	<<if $slaves[$i].diet == "fattening">>
		All the food $he's required to consume boosts
		<<if $slaves[$i].dietMilk == 2>>
			growth and the generous amount of added milk enhances its effect.
			<<set _growth += 0.3>>
		<<elseif $slaves[$i].dietMilk == 1>>
			growth and the added milk enhances its effect.
			<<set _growth += 0.2>>
		<<else>>
			growth.
		<</if>>
		<<set _growth += 0.2>>
	<<elseif $slaves[$i].diet == "restricted">>
		$His restricted diet means $his body has few resources to grow
		<<if $slaves[$i].dietMilk == 2>>
			on, but the generous amount of added milk mitigates its effect.
			<<set _growth += 0.3>>
		<<elseif $slaves[$i].dietMilk == 1>>
			on, but the added milk mitigates its effect.
			<<set _growth += 0.2>>
		<<else>>
			on.
		<</if>>
		<<set _growth-->>
	<<elseif $slaves[$i].diet == "slimming">>
		$His growth is slightly inhibited by $his strict
		<<if $slaves[$i].dietMilk == 2>>
			diet, but the generous amount of added milk mitigates its effect.
			<<set _growth += 0.3>>
		<<elseif $slaves[$i].dietMilk == 1>>
			diet, but the added milk mitigates its effect.
			<<set _growth += 0.2>>
		<<else>>
			diet.
		<</if>>
		<<set _growth -= 0.2>>
	<<elseif ($slaves[$i].diet == "fertility")>>
		the fertility hormones in $his food restrain $his
		<<if $slaves[$i].dietMilk == 2>>
			growth, but the generous amount of added milk mitigates its effect.
			<<set _growth += 0.3>>
		<<elseif $slaves[$i].dietMilk == 1>>
			growth, but the added milk mitigates its effect.
			<<set _growth += 0.2>>
		<<else>>
			growth.
		<</if>>
		<<set _growth -= 0.1>>
	<<elseif $slaves[$i].diet == "XY" || $slaves[$i].diet == "XX" || $slaves[$i].diet == "XXY">>
		$His growth is restrained by $his sexual hormones rich
		<<if $slaves[$i].dietMilk == 2>>
			diet, but the generous amount of added milk mitigates its effect.
			<<set _growth += 0.3>>
		<<elseif $slaves[$i].dietMilk == 1>>
			diet, but the added milk mitigates its effect.
			<<set _growth += 0.2>>
		<<else>>
			diet.
		<</if>>
		<<set _growth -= 0.5>>
	<<elseif $slaves[$i].diet == "cleansing">>
		$His growth is severely inhibited by $his cleansing
		<<if $slaves[$i].dietMilk == 2>>
			diet, but the generous amount of added milk mitigates its effect.
			<<set _growth += 0.3>>
		<<elseif $slaves[$i].dietMilk == 1>>
			diet, but the added milk mitigates its effect.
			<<set _growth += 0.2>>
		<<else>>
			diet.
		<</if>>
		<<set _growth-->>
	<<elseif $slaves[$i].diet == "muscle building" || $slaves[$i].muscles >= 96>>
		$His workout diet and constant physical exercise help support
		<<if $slaves[$i].dietMilk == 2>>
			growth and the generous amount of added milk enhances its effect.
			<<set _growth += 0.3>>
		<<elseif $slaves[$i].dietMilk == 1>>
			growth and the added milk enhances its effect.
			<<set _growth += 0.2>>
		<<else>>
			growth.
		<</if>>
		<<set _growth += 0.5>>
	<</if>>
	/*health*/
	<<if $slaves[$i].health.condition > 80>>
		$His perfect health greatly supports $his growth.
		<<set _growth += 0.2>>
	<<elseif $slaves[$i].health.condition > -20>>
		$His health supports $his growth.
	<<else>>
		$His poor health hinders growth.
		<<set _growth-->>
	<</if>>
	/*if growth was accomplished*/
	<<if _growth > 0>>
		/*age modifier*/
		<<set _ageMod = 1>>
		<<if $slaves[$i].geneMods.NCS == 1>>
			$His @@.orange;NCS@@ inhibits $his body response to the treatment.
			<<set _ageMod = .25>>
		<<elseif $slaves[$i].genes == "XY">>
			<<if $slaves[$i].pubertyXY == 0 && $slaves[$i].physicalAge <= 3>>
				$His very young body responds extremely well to the treatment.
				<<set _ageMod = 2.5>>
			<<elseif $slaves[$i].pubertyXY == 0 && $slaves[$i].physicalAge > 3>>
				$His young body eagerly responds to the stimulants.
				<<set _ageMod = 1.5>>
			<<elseif $slaves[$i].physicalAge <= ($slaves[$i].pubertyAgeXY + $pubertyLength)>>
				Due to $his recent puberty, $his body welcomes the treatment with open arms.
				<<set _ageMod = 2>>
			<<elseif $slaves[$i].physicalAge <= $maxGrowthAge>>
				With $his puberty concluded, $his body resists the stimulants.
				<<set _ageMod = 1>>
			<<else>>
				$His mature body struggles to respond to the treatment, making progress difficult.
				<<set _ageMod = 0.5>>
			<</if>>
		<<elseif $slaves[$i].genes == "XX">>
			<<if $slaves[$i].pubertyXX == 0 && $slaves[$i].physicalAge <= 3>>
				$His very young body responds extremely well to the treatment.
				<<set _ageMod = 2.5>>
			<<elseif $slaves[$i].pubertyXX == 0 && $slaves[$i].physicalAge > 3>>
				$His young body eagerly responds to the stimulants.
				<<set _ageMod = 1.5>>
			<<elseif $slaves[$i].physicalAge <= ($slaves[$i].pubertyAgeXX + $pubertyLength)>>
				Due to $his recent puberty, $his body welcomes the treatment with open arms.
				<<set _ageMod = 2>>
			<<elseif $slaves[$i].physicalAge <= $maxGrowthAge>>
				With $his puberty concluded, $his body resists the stimulants.
				<<set _ageMod = 1>>
			<<else>>
				$His mature body struggles to respond to the treatment, making progress difficult.
				<<set _ageMod = 0.5>>
			<</if>>
		<</if>>
		/*evaluate against slave expected height ...*/
		<<set _heightDiff = $slaves[$i].height / Height.forAge($slaves[$i].height, $slaves[$i])>>
		/*if $he is taller than the expected height the growth is reduced, if shorter accelerated,
		proportionally to the distance from the expected height*/
		<<if _heightDiff >= 1>>
			<<set _heightDiff = 1 - _heightDiff>>
		<<else>>
			<<set _heightDiff-->>
		<</if>>
		/*... and calculates final value*/
		<<set _growth = (_growth + _growth * _heightDiff) * _ageMod>>
		<<if $slaves[$i].geneMods.NCS == 0>>
			<<set _growth = Math.round(Math.clamp(_growth,0,5))>>
		<<else>>
			<<set _growth = Math.round(Math.clamp(_growth,0,2))>>
		<</if>>
		/*communicates the amount of growth*/
		<<if _growth < 1>>												/*in case _heightDiff manages to bring _growth down enough*/
			Despite the treatment, $his height does not increase this week.
		<<elseif _growth == 1>>
			@@.lime;$His height slightly increased this week.@@
		<<elseif _growth == 2>>
			@@.lime;$His height increased this week.@@
		<<elseif _growth == 3>>
			@@.lime;$His height greatly increased this week.@@
		<<elseif _growth == 4>>
			@@.lime;$His height dramatically increased this week.@@
		<<elseif _growth == 5>>
			@@.lime;$His body experienced explosive growth this week,@@
		<</if>>
		/*health issues*/
		<<if _growth == 5>>
			$his growth is so extreme that $his body can barely keep up, @@.red;severely damaging $his health.@@
			<<run healthDamage($slaves[$i], 20)>>
		<</if>>
		<<if random(1,10) == 1 && _growth != 5>>
			The stimulants stressed $slaves[$i].slaveName's body more than expected, @@.red;damaging $his health.@@
			<<run healthDamage($slaves[$i], 10)>>
		<</if>>
		<<if $slaves[$i].physicalAge > $maxGrowthAge>>
			<<if random(1,6) == 1>>
				Since $his body already concluded $his natural growth processes, the treatment @@.red;weakens $him considerably.@@
				<<run healthDamage($slaves[$i], 15)>>
			<</if>>
		<</if>>
		/*updates slave's height*/
		<<set $slaves[$i].height += _growth>>
	/*if growth is zero or negative*/
	<<else>>
		Despite the treatment, $his height does not increase this week.
	<</if>>

<<case "growth inhibitor">>
    /*Gonna flip to negative at the end, rather than rewriting all this math*/
	<<set $slaves[$i].chem += 2>>
	<<set _growth = 2>>
	$He receives frequent @@.orange;
	injections of growth stimulants.@@
	/*Hormones*/
	<<if $slaves[$i].hormones == 2 || $slaves[$i].hormones == -2>>
		<<set _growth -= 0.5>>
		The massive quantities of sexual hormones flooding $his body limits the effectiveness of the treatment.
	<<elseif $slaves[$i].hormones == 0>>
		<<set _growth += 0.4>>
		In the absence of significant levels of sexual hormones, the treatment is more effective.
	<<elseif $slaves[$i].hormones == 1 || $slaves[$i].hormones == -1>>
		$His low level of sexual hormones allow the treatment to work undisturbed.
	<</if>>
	/*hormone balance*/
	<<if $slaves[$i].hormoneBalance <= -50>>
		<<set _growth -= 0.5>>
	<<elseif $slaves[$i].hormoneBalance <= -25>>
		<<set _growth -= 0.2>>
	<<elseif $slaves[$i].hormoneBalance < 50>>
		<<set _growth += 0.2>>
	<<else>>
		<<set _growth += 0.5>>
	<</if>>
	/*diet*/
    /*Drugs use essentially modified, upscaled osteoblasts, not particularly affected by diet, but bigger impact to health*/
	/*health*/
	<<if $slaves[$i].health.condition > 80>>
		$His perfect health greatly supports $his growth.
		<<set _growth += 0.5>>
	<<elseif $slaves[$i].health.condition > -20>>
		$His health supports $his growth.
	<<else>>
		$His poor health hinders growth.
		<<set _growth -= 1.5>>
	<</if>>
	/*if growth was accomplished*/
	<<if _growth > 0>>
		/*age modifier*/
        /*Now backwards, young people don't lose bone mass without degenerative diseases, old people drop it naturally.*/
		<<set _ageMod = 1>>
		<<if $slaves[$i].geneMods.NCS == 1>>
			$His @@.orange;NCS@@ inhibits $his body response to the treatment.
			<<set _ageMod = .25>>
		<<elseif $slaves[$i].genes == "XY">>
			<<if $slaves[$i].pubertyXY == 0 && $slaves[$i].physicalAge <= 3>>
				$His very young body responds extremely poorly to the treatment.
				<<set _ageMod = 0.5>>
			<<elseif $slaves[$i].pubertyXY == 0 && $slaves[$i].physicalAge > 3>>
				$His young body sluggishly responds to the inhibitors.
				<<set _ageMod = 0.75>>
			<<elseif $slaves[$i].physicalAge <= ($slaves[$i].pubertyAgeXY + $pubertyLength)>>
				Due to $his recent puberty, $his body partially rejects the treatment, limiting effectiveness.
				<<set _ageMod = 1>>
			<<elseif $slaves[$i].physicalAge <= $maxGrowthAge>>
				With $his puberty concluded, $his body no longer fights the inhibitors.
				<<set _ageMod = 1.25>>
			<<else>>
				$His mature body readily sheds bone mass under the advanced treatments.
				<<set _ageMod = 0.5>>
			<</if>>
		<<elseif $slaves[$i].genes == "XX">>
			<<if $slaves[$i].pubertyXY == 0 && $slaves[$i].physicalAge <= 3>>
				$His very young body responds extremely poorly to the treatment.
				<<set _ageMod = 0.5>>
			<<elseif $slaves[$i].pubertyXY == 0 && $slaves[$i].physicalAge > 3>>
				$His young body sluggishly responds to the inhibitors.
				<<set _ageMod = 0.75>>
			<<elseif $slaves[$i].physicalAge <= ($slaves[$i].pubertyAgeXX + $pubertyLength)>>
				Due to $his recent puberty, $his body partially rejects the treatment, limiting effectiveness.
				<<set _ageMod = 1>>
			<<elseif $slaves[$i].physicalAge <= $maxGrowthAge>>
				With $his puberty concluded, $his body no longer fights the inhibitors.
				<<set _ageMod = 1.25>>
			<<else>>
				$His mature body readily sheds bone mass under the advanced treatments.
				<<set _ageMod = 0.5>>
			<</if>>
		<</if>>
		/*Stripping out proportional growth because my brain hurts when I try to invert this math.*/
		<<set _heightDiff = Height.forAge($slaves[$i].height, $slaves[$i])>>
        /*Set up maximum growth reduction: 60% of slave's expected height, NOT current height.*/
        <<if $slaves[$i].geneticQuirks.dwarfism == 2>>
            <<set _growth *= 2>>
            <<set _heightDiff = _heightDiff * 0.4>>
        <<elseif $slaves[$i].geneticQuirks.gigantism == 2>>
            <<set _growth *= 0.5>>
            <<set _heightDiff = _heightDiff * 0.8>>
        <<else>>
            <<set _heightDiff = _heightDiff * 0.6>>
        <</if>>
        <<if $slaves[$i].height > _heightDiff>>
            <<if $slaves[$i].height - _growth < _heightDiff>>
                <<set _growth = $slaves[$i].height - _heightDiff>>
            <</if>>
        <</if>>
		/*communicates the amount of growth*/
		<<if _growth < 1>>												/*in case _heightDiff manages to bring _growth down enough*/
			Despite the treatment, $his height does not decrease this week.
		<<elseif _growth == 1>>
			@@.orange;$His height slightly increased this week.@@
		<<elseif _growth == 2>>
			@@.orange;$His height decreased this week.@@
		<<elseif _growth == 3>>
			@@.orange;$His height greatly decreased this week.@@
		<<elseif _growth == 4>>
			@@.orange;$His height dramatically decreased this week.@@
		<<elseif _growth == 5>>
			@@.orange;$His body experienced incredible shrinkage this week,@@
		<</if>>
		/*health issues*/
		<<if _growth == 5>>
			$his reduction is so extreme that $his body can barely keep up, @@.red;severely damaging $his health.@@
			<<run healthDamage($slaves[$i], 30)>>
		<</if>>
		<<if random(1,10) >= 3 && _growth != 5>>
			The inhibitors stressed $slaves[$i].slaveName's body more than expected, @@.red;damaging $his health.@@
			<<run healthDamage($slaves[$i], 20)>>
		<</if>>
		<<if $slaves[$i].physicalAge < $maxGrowthAge>>
			<<if random(1,6) == 1>>
				Since $his body has not yet concluded $his natural growth processes, the treatment @@.red;weakens $him considerably.@@
				<<run healthDamage($slaves[$i], 20)>>
			<</if>>
		<</if>>
		/*updates slave's height*/
		<<set $slaves[$i].height -= _growth>> /*Simple and easy flip to reduce height instead of increasing it*/
	/*if growth is zero or negative*/
	<<else>>
		Despite the treatment, $his height does not decrease this week.
	<</if>>

<<case "male hormone injections">>
	<<if $slaves[$i].pubertyXY == 1>>
		$He has potent sperm. @@.yellow;$His drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<else>>
		The intense hormonal injections leave $him @@.red;sickened and weak@@ as $his body struggles to adapt to the overwhelming chemicals flooding $his system.
		<<set $slaves[$i].chem += 20>>
		<<run healthDamage($slaves[$i], 10)>>
		<<if $slaves[$i].energy > 5>>
			<<set $slaves[$i].energy -= 5>>
		<</if>>
	<</if>>

<<case "female hormone injections">>
	<<if $slaves[$i].pubertyXX == 1>>
		$He has begun ovulating. @@.yellow;$His drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<else>>
		The intense hormonal injections leave $him @@.red;sickened and weak@@ as $his body struggles to adapt to the overwhelming chemicals flooding $his system.
		<<set $slaves[$i].chem += 20>>
		<<run healthDamage($slaves[$i], 10)>>
		<<if $slaves[$i].energy > 5>>
			<<set $slaves[$i].energy -= 5>>
		<</if>>
	<</if>>

<<case "penis enhancement" "intensive penis enhancement">>
	<<set _growth = 60-($injectionUpgrade*10)>>
	<<if _intensive>><<set _growth -= 20>><</if>>
	<<if $slaves[$i].geneMods.NCS == 1>>
		<<set _growth += 30>>
	<</if>>
	<<if ($slaves[$i].dick > 0)>>
		<<if (random(1,100) > _growth+($slaves[$i].dick*5))>>
			@@.lime;$His cock grows painfully,@@ becoming both longer and girthier.
			<<set $slaves[$i].dick++>>
		<<else>>
			Despite being dosed with a spectrum of powerful growth promoters, $his dick does not grow.
		<</if>>
		<<if $slaves[$i].balls == 1>>
			<<if $slaves[$i].scrotum > 0>>
				As a side effect of the dick enhancement drugs, @@.lime;$his balls drop.@@
				<<set $slaves[$i].balls += 1>>
			<</if>>
		<</if>>
		<<if $slaves[$i].dick == 6>>
			<<if $slaves[$i].balls > 0>>
				@@.yellow;$His dick is at the limit of what $his cardiovascular system could conceivably bring erect.@@ Further penis enhancement may limit $his ability to get hard.
			<</if>>
		<</if>>
	<<else>>
		<<if (random(1,100) > _growth-($slaves[$i].clit*10))>>
			@@.lime;$His clit grows painfully,@@ becoming both longer and girthier.
			<<set $slaves[$i].clit++>>
		<<else>>
			Despite being dosed with a spectrum of powerful growth promoters, $his clit does not grow.
		<</if>>
	<</if>>

<<case "hyper penis enhancement">>
	<<if ($slaves[$i].dick > 0)>>
		$He receives @@.lime;direct injections of hyper growth hormones, right into $his dick.@@
		<<set $slaves[$i].chem += 2>>
		<<if ($slaves[$i].dick >= 30)>>
			$His cock is now so huge that further drug enhancement will not increase its size. @@.yellow;$His drug regimen has been ended.@@
			<<set $slaves[$i].drugs = "no drugs">>
		<<else>>
			<<if $slaves[$i].geneMods.NCS == 0>>
				@@.lime;$His cock grows painfully,@@ becoming both longer and girthier.
				<<set $slaves[$i].dick += 1>>
			<<elseif (random(1, (20 - $slaves[$i].dick)) > 12)>>
				@@.lime;$His cock grows painfully,@@ becoming both longer and girthier, depsite $his @@.orange;NCS.@@
				<<set $slaves[$i].dick += 1>>
			<<else>>
				The treatment fails to overcome $his @@.orange;NCS@@ and $his cock fails to grow.
			<</if>>
		<</if>>
	<<else>>
		$He receives @@.lime;direct injections of hyper growth hormones, right into $his clit.@@
		<<set $slaves[$i].chem += 2>>
		<<if ($slaves[$i].clit == 5)>>
			$His clit is now so huge that further drug enhancement will not increase its size. @@.yellow;$His drug regimen has been ended.@@
			<<set $slaves[$i].drugs = "no drugs">>
		<<else>>
			<<if $slaves[$i].geneMods.NCS == 0>>
				@@.lime;$His clit grows painfully,@@ becoming both longer and girthier.
				<<set $slaves[$i].clit += 1>>
			<<elseif (random(1,(16 - $slaves[$i].clit)) > 10)>>
				@@.lime;$His clit grows painfully,@@ becoming both longer and girthier, despite $his @@.orange;NCS.@@
				<<set $slaves[$i].clit += 1>>
			<<else>>
				The treatment fails to overcome $his @@.orange;NCS@@ and $his clit fails to grow.
			<</if>>
		<</if>>
	<</if>>

<<case "testicle enhancement" "intensive testicle enhancement">>
	<<if $slaves[$i].balls >= 10>>
	<<else>>
		<<set _growth = 60-($injectionUpgrade*10)>>
		<<if _intensive>><<set _growth -= 20>><</if>>
		<<if $slaves[$i].geneMods.NCS == 1>>
			<<set _growth += 30>>
		<</if>>
		<<if (random(1,100) > _growth+($slaves[$i].balls*5))>>
			@@.lime;$His balls swell painfully.@@
			<<set $slaves[$i].balls++>>
		<<else>>
			Despite being filled with testicle enhancers and painfully swollen with resultant cum overproduction, $his balls do not grow.
		<</if>>
		<<if $slaves[$i].dick == 1 && $slaves[$i].geneMods.NCS == 0>>
			<<if $slaves[$i].scrotum > 0>>
				As a side effect of the testicle enhancement drugs, @@.lime;$his micropenis grows,@@ becoming merely tiny.
				<<set $slaves[$i].dick++>>
			<</if>>
		<</if>>
	<</if>>

<<case "hyper testicle enhancement">>
	$He receives @@.lime;direct injections of hyper growth hormones, right into $his testicles;@@ forcing them to swell with cum overproduction.
	<<set $slaves[$i].chem += 2>>
	<<if ($slaves[$i].balls >= 125)>>
		$His balls are now so immense that further drug enhancement will not increase their size. However, leaving $him on them will still stimulate cum production.
	<<elseif ($slaves[$i].balls < 125)>>
		<<if $slaves[$i].geneMods.NCS == 0>>
			@@.lime;$His balls swell painfully.@@
			<<set $slaves[$i].balls += 3>>
		<<elseif random(1,400 - $slaves[$i].balls) > 200>>
			@@.lime;$His balls swell painfully,@@ despite $his @@.orange;NCS.@@
			<<set $slaves[$i].balls += 1>>
		<<else>>
			The treatment fails to overcome $his @@.orange;NCS@@ and $his balls fail to grow.
		<</if>>
	<</if>>

<<case "steroids">>
	<<if $slaves[$i].geneMods.NCS == 0 || random(1,100) > 50>>
		<<if ($slaves[$i].dick == 0) && (random(1,100) > 70+($slaves[$i].clit*10))>>
			The gear $he's on @@.lime;increases the size of $his clit.@@
			<<set $slaves[$i].clit += 1>>
		<<elseif ($slaves[$i].dick != 0) && ($slaves[$i].dick < 3) && (random(1,100) > 95)>>
			The gear $he's on @@.lime;increases the size of $his penis.@@
			<<set $slaves[$i].dick += 1>>
		<<elseif ($slaves[$i].faceShape != "masculine") && ($slaves[$i].faceShape != "androgynous") && (random(1,100) > 99)>>
			The gear $he's on @@.orange;hardens $his face into androgyny.@@
			<<set $slaves[$i].faceShape = "androgynous">>
		<<elseif ($slaves[$i].balls != 0) && ($slaves[$i].scrotum != 0) && ($slaves[$i].balls < 3) && (random(1,100) > 95)>>
			The gear $he's on @@.lime;increases the size of $his balls.@@
			<<set $slaves[$i].balls += 1>>
		<<elseif random(1,100) > 110-($slaves[$i].anus*10) && $slaves[$i].geneMods.rapidCellGrowth != 1>>
			The steroids $he's on have an effect on $his stretched anal muscles, giving $him a @@.lime;tighter butthole.@@
			<<set $slaves[$i].anus -= 1>>
		<<elseif random(1,100) > 110-($slaves[$i].vagina*10) && $slaves[$i].geneMods.rapidCellGrowth != 1>>
			The steroids $he's on have an effect on $his vaginal muscles, giving $him a @@.lime;tighter pussy.@@
			<<set $slaves[$i].vagina -= 1>>
		<<elseif ($slaves[$i].face-$slaves[$i].faceImplant > 10) && (random(1,100) > 95)>>
			The gear $he's on @@.orange;hardens $his pretty face a little.@@
			<<set $slaves[$i].face -= 5>>
		<</if>>
	<</if>>

<<case "anti-aging cream">>
	<<if ($slaves[$i].visualAge <= Math.max(10, $minimumSlaveAge))>>
		$His outward age has regressed to the point that the creams will have little effect. Since there is no gain for further drug treatment, @@.yellow;$his drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<else>>
		The skin creams @@.lime;soothe $his aging skin@@ leaving $him looking younger, though the effects are only skin deep.
		<<set $slaves[$i].visualAge -= 1>>
	<</if>>
	<<if $arcologies[0].FSYouthPreferentialist != "unset">>
		<<if $slaves[$i].visualAge > 30>>
			$He @@.mediumaquamarine;trusts you more@@ for allowing $him to fit in better with society and not be singled out for $his looks.
			<<set $slaves[$i].trust += 2>>
		<</if>>
	<</if>>
	<<if $arcologies[0].FSMaturityPreferentialist != "unset">>
		<<if $slaves[$i].visualAge > 30>>
			$He is @@.gold;terrified@@ that $his fading age will single $him out for abuse in your society.
			<<set $slaves[$i].trust -= 2>>
		<</if>>
	<</if>>

<<case "age-reduction" "intensive age-reduction">>
    <<if _intensive == 1>>
        <<if $slaves[$i].physicalAge+1 <= Math.max(8, $minimumSlaveAge)>>
            $His age has been reduced as much as physically possible, so @.yellow;$his drug treatment has ended.@@
            <<set $slaves[$i].drugs = "no drugs">>
            <<set $slaves[$i].physicalAge = Math.max(8, $minimumSlaveAge)>>
            <<set $slaves[$i].visualAge = $slaves[$i].physicalAge>>
        <<else>>
            $His age has faded quite a bit this week, leaving $him @@.lime;2 years younger than before.@@ The extremely powerful drugs have @@.red;@@greatly damaged $his health.@@
            <<if $slaves[$i].visualAge >= $slaves[$i].physicalAge>>
                <<set $slaves[$i].visualAge = $slaves[$i].physicalAge-2>>
            <</if>>
            <<set $slaves[$i].physicalAge -= 2>>
            <<run healthDamage($slaves[$i], 4-)>>
            <<set $slaves[$i].ovaryAge -= 0.5>>
        <</if>>
    <<else>>
        <<if $slaves[$i].physicalAge <= Math.max(8, $minimumSlaveAge)>>
            $His age has been reduced as much as possible, so @@.yellow;$his drug treatment has ended.@@
            <<set $slaves[$i].drugs = "no drugs">>
            <<set $slaves[$i].physicalAge = Math.max(8, $minimumSlaveAge)>>
            <<set $slaves[$i].visualAge = $slaves[$i].physicalAge>>
        <<else>>
            $His age has faded a little this week, leaving $him @@.lime;a year younger than before.@@ The intense drugs have @@.red;damaged $his health.@@
            <<if $slaves[$i].visualAge >= $slaves[$i].physicalAge>>
                <<set $slaves[$i].visualAge = $slaves[$i].physicalAge-1>>
            <</if>>
            <<set $slaves[$i].physicalAge -= 1>>
            <<run healthDamage($slaves[$i], 20)>>
            <<set $slaves[$i].ovaryAge -= 0.25>>
        <</if>>
    <</if>>
    <<if $arcologies[0].FSYouthPreferentialist != "unset">>
        <<if $slaves[$i].physicalAge > 28>>
            $He @@.mediumaquamarine;trusts you much more@@ for making $possessive more attractive to society on a fundamental level.
            <<set $slaves[$i].trust += 4>>
        <</if>>
    <</if>>
    <<if $arcologies[0].FSMaturityPreferentialist != "unset">>
        <<if $slaves[$i].physicalAge > 28>>
            $He is @@.gold;utterly terrified@@ that $possessive permanent age reversal will lead to mistreatment in your new society.
            <<set $slaves[$i].trust -= 4>>
        <</if>>
    <</if>>

<<case "super fertility drugs">>
	<<if $slaves[$i].pregKnown == 1>>
		<<if $slaves[$i].geneticQuirks.superfetation == 2 && $geneticMappingUpgrade != 0>>
			$He's already pregnant, but combined with $his superfetation the fertility drugs will cause $him multiple pregnancies.
		<<else>>
			@@.yellow;$He's already pregnant, so the fertility drugs $he's on do $him no good.@@
		<</if>>
	<<elseif $slaves[$i].pregWeek < 0>>
		$He's still recovering from a recent pregnancy, and the super fertility drugs @@.green;supercharge@@ $his recovery. The drugs have made $him @@.lime;completely fertile again.@@
        <<set $slaves[$i].pregWeek = 0>>
	<<elseif ($slaves[$i].preg > 1)>>
		Despite being on intense fertility drugs, $he shows no signs of increased fertility. Cursory tests reveal that @@.lime;$he has a bun already in the oven.@@
		<<set $slaves[$i].pregKnown = 1>>
	<<elseif ($slaves[$i].vagina == -1) && ($slaves[$i].mpreg != 1)>>
		<<if ($slaves[$i].lactation == 0)>>
			Unfortunately, it's impossible to fuck $his asshole pregnant, limiting the potential impact of the fertility drugs $he's on to $his boobs.
		<<else>>
			The fertility drugs $he's on are pointless, since $he's already lactating and it's impossible to impregnate $his butthole. That's no reason not to try, of course.
		<</if>>
	<<elseif ($slaves[$i].preg < -1)>>
		$He's sterile, so the fertility drugs $he's on do $him no good.
	<<elseif ($slaves[$i].ovaries == 0) && ($slaves[$i].mpreg != 1)>>
		$He's barren, so the fertility drugs $he's on do $him no good.
	<<elseif ($slaves[$i].pubertyXX == 0) && (($slaves[$i].ovaries == 1) || ($slaves[$i].mpreg == 1))>>
		$He's prepubescent, so the fertility drugs $he's on do $him no good.
	<<elseif ($slaves[$i].preg == -1)>>
		$He's on contraceptives, so the fertility drugs $he's on do $him no good.
	<<else>>
		$He's on super fertility drugs, so $he is more likely to conceive, and will have multiple pregnancy.
	<</if>>
	<<if $slaves[$i].geneMods.NCS == 0>>
		<<if $slaves[$i].lactation == 0 && random(0,50) < $slaves[$i].health.condition>>
			The hormonal changes produced by the fertility drugs have the side effect of @@.lime;inducing lactation,@@ indistinguishable from natural lactation.
			<<set $slaves[$i].lactation = 1, $slaves[$i].lactationDuration = 1>>
		<</if>>
	<</if>>
	<<if $slaves[$i].attrXY < 100 && random(0,10) < $slaves[$i].health.condition>>
		The hormonal changes produced by the fertility drugs cause $him to begin @@.green;finding men more attractive.@@
		<<set $slaves[$i].attrXY += random(5,10)>>
	<</if>>
	<<if $slaves[$i].energy < 85 && random(0,10) < $slaves[$i].health.condition>>
		The hormonal changes produced by the fertility drugs cause $him to @@.green;begin craving sex more.@@
		<<set $slaves[$i].energy += 2>>
	<</if>>

<<case "fertility drugs">>
	<<if $slaves[$i].pregKnown == 1>>
		<<if $slaves[$i].geneticQuirks.superfetation == 2 && $geneticMappingUpgrade != 0>>
			$He's already pregnant, but combined with $his superfetation the fertility drugs are likely to cause $him multiple pregnancies.
		<<else>>
			@@.yellow;$He's already pregnant, so the fertility drugs $he's on do $him no good.@@
		<</if>>
	<<elseif $slaves[$i].pregWeek < 0>>
		$He's still recovering from a recent pregnancy, and the fertility drugs @@.green;enhance@@ $his recovery from $his pregnancy.
        <<if $slaves[$i].pregWeek < -2>>
            It has @@.lime;accelerated@@ $his recovery from $his recent pregnancy.
            <<set $slaves[$i].pregWeek += 2>>
        <<elseif $slaves[$i].pregWeek >= -2>>
            It has @@.lime;fully recovered $his fertility.@@
            <<set $slaves[$i].pregWeek = 0>>
        <</if>>
	<<elseif ($slaves[$i].preg > 1)>>
		Despite being on intense fertility drugs, $he shows no signs of increased fertility. Cursory tests reveal that @@.lime;$he has a bun already in the oven.@@
		<<set $slaves[$i].pregKnown = 1>>
	<<elseif ($slaves[$i].vagina == -1) && ($slaves[$i].mpreg != 1)>>
		<<if ($slaves[$i].lactation == 0)>>
			Unfortunately, it's impossible to fuck $his asshole pregnant, limiting the potential impact of the fertility drugs $he's on to $his boobs.
		<<else>>
			The fertility drugs $he's on are pointless, since $he's already lactating and it's impossible to impregnate $his butthole. That's no reason not to try, of course.
		<</if>>
	<<elseif ($slaves[$i].preg < -1)>>
		$He's sterile, so the fertility drugs $he's on do $him no good.
	<<elseif ($slaves[$i].ovaries == 0) && ($slaves[$i].mpreg != 1)>>
		$He's barren, so the fertility drugs $he's on do $him no good.
	<<elseif ($slaves[$i].pubertyXX == 0) && (($slaves[$i].ovaries == 1) || ($slaves[$i].mpreg == 1))>>
		$He's prepubescent, so the fertility drugs $he's on do $him no good.
	<<elseif ($slaves[$i].preg == -1)>>
		$He's on contraceptives, so the fertility drugs $he's on do $him no good.
	<<else>>
		$He's on fertility drugs, so $he is more likely to conceive, and may experience multiple pregnancy.
	<</if>>
	<<if $slaves[$i].geneMods.NCS == 0>>
		<<if $slaves[$i].lactation == 0 && random(0,100) < $slaves[$i].health.condition>>
			The hormonal changes produced by the fertility drugs have the side effect of @@.lime;inducing lactation,@@ indistinguishable from natural lactation.
			<<set $slaves[$i].lactation = 1, $slaves[$i].lactationDuration = 1>>
		<</if>>
	<</if>>

<<case "appetite suppressors">>
	<<if $slaves[$i].weight <= -95>>
		Since $his body has no weight left to shed, $he no longer needs appetite suppressors to maintain it; @@.yellow;$his drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<else>>
		<<switch $slaves[$i].diet>>
		<<case "slimming" "restricted">>
			Since $he is already on a diet that favors weight loss, $his reduced appetite allows $his body @@.lime;to shed pounds@@ even more effectively.
			<<set $slaves[$i].weight -= 5>>
		<<case "fattening">>
			Since $he is on a diet that favors weight gain, $his reduced appetite is counter productive; @@.yellow;$his drug regimen has been ended.@@
			<<set $slaves[$i].drugs = "no drugs">>
		<<default>>
			The appetite suppressors encourage $him to eat less at meal time, gradually causing $him to @@.lime;lose weight.@@
			<<set $slaves[$i].weight -= 2>>
		<</switch>>
	<</if>>

<<case "weight gain pill">>
	<<if $slaves[$i].weight < 95>>
	<<switch $slaves[$i].diet>>
	<<case "slimming" "restricted">>
		Since $he is on a diet, the weight gain treatments are redundant; @@.yellow;$his drug treatment has ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<case "fattening">>
		Since $he is on a diet that favors weight gain, $he @@.lime;packs on pounds@@ as a result of $his treatment.
		<<set $slaves[$i].weight += 5>>
	<<default>>
		The weight gain treatments cause $him to eat more at meals, and slow $his metabolism, causing @@.lime;slow weight gain.@@
        <<set $slaves[$i].weight += 2>>
	<</switch>>
	<</if>>

<<case "penis atrophiers">>
	$He receives @@.lime;direct injections of atrophiers right into $his penis,@@ causing $his body to begin pulling resources from it<<if $slaves[$i].geneMods.NCS == 1>>, $his @@.orange;NCS@@ amplifies the effectiveness<</if>>.
	<<set _shrinkage = 0>>
	<<if $slaves[$i].dick == 1>>
		$His penis is now so minuscule that further drug use will fail to shrink it further; @@.yellow;$his drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<elseif $slaves[$i].dick >= 20>>
		@@.lime;$His cock shrinks painfully,@@ becoming massively shorter and thinner.
		<<set _shrinkage = 3>>
	<<elseif $slaves[$i].dick >= 10>>
		@@.lime;$His cock shrinks painfully,@@ becoming shorter and thinner.
		<<set _shrinkage = 2>>
	<<elseif (($slaves[$i].geneMods.NCS == 1) || (random(1,100) > (40-($injectionUpgrade*10)-($slaves[$i].dick*5)))) && ($slaves[$i].dick > 1)>>
		@@.lime;$His cock shrinks painfully,@@ becoming shorter and thinner.
		<<set _shrinkage = 1>>
	<</if>>
	<<if ($slaves[$i].geneMods.NCS == 1) && ($slaves[$i].dick > 2)>>
		<<set _shrinkage *= 2>>
	<</if>>
	<<set $slaves[$i].dick -= _shrinkage>>

<<case "testicle atrophiers">>
	$He receives @@.lime;direct injections of atrophiers right into $his testicles,@@ causing $his body to begin pulling resources from them<<if $slaves[$i].geneMods.NCS == 1>>, $his @@.orange;NCS@@ amplifies the effectiveness<</if>>.
	<<set _shrinkage = 0>>
	<<if $slaves[$i].balls == 1>>
		$His balls are now so minuscule that further drug use will fail to shrink them further; @@.yellow;$his drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<elseif $slaves[$i].balls >= 100>>
		@@.lime;$His balls shrink painfully,@@ becoming massively smaller and leaving $his scrotum looser.
		<<set _shrinkage = 5>>
	<<elseif $slaves[$i].balls >= 80>>
		@@.lime;$His balls shrink painfully,@@ becoming massively smaller and leaving $his scrotum looser.
		<<set _shrinkage = 4>>
	<<elseif $slaves[$i].balls >= 60>>
		@@.lime;$His balls shrink painfully,@@ becoming massively smaller and leaving $his scrotum looser.
		<<set _shrinkage = 3>>
	<<elseif $slaves[$i].balls >= 40>>
		@@.lime;$His balls shrink painfully,@@ becoming much smaller and leaving $his scrotum looser.
		<<set _shrinkage = 2>>
	<<elseif $slaves[$i].balls >= 20>>
		@@.lime;$His balls shrink painfully,@@ becoming smaller and leaving $his scrotum looser.
		<<set _shrinkage = 1>>
	<<elseif (($slaves[$i].geneMods.NCS == 1) || (random(1,100) > (40-($injectionUpgrade*10)-($slaves[$i].balls*2)))) && ($slaves[$i].balls > 1)>>
		@@.lime;$His balls shrink painfully,@@ becoming smaller and leaving $his scrotum looser.
		<<set _shrinkage = 1>>
	<</if>>
	<<if ($slaves[$i].geneMods.NCS == 1) && ($slaves[$i].balls > 2)>>
		<<set _shrinkage *= 2>>
	<</if>>
	<<set $slaves[$i].balls -= _shrinkage>>

<<case "clitoris atrophiers">>
	$He receives @@.lime;direct injections of atrophiers right into $his clitoris,@@ causing $his body to begin pulling resources from it<<if $slaves[$i].geneMods.NCS == 1>>, $his @@.orange;NCS@@ amplifies the effectiveness<</if>>.
	<<if $slaves[$i].clit == 0>>
		$His clit is now so minuscule that further drug use will fail to shrink it further; @@.yellow;$his drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<elseif (($slaves[$i].geneMods.NCS == 1) || (random(1,100) > (60-($injectionUpgrade*10)-($slaves[$i].clit*5)))) && ($slaves[$i].clit > 0)>>
		@@.lime;$His clit shrinks painfully,@@ becoming smaller.
		<<set $slaves[$i].clit -= 1>>
	<</if>>
	<<if ($slaves[$i].geneMods.NCS == 1) && ($slaves[$i].clit > 2)>>
		<<set $slaves[$i].clit -= 1>>
	<</if>>

<<case "labia atrophiers">>
	$He receives @@.lime;direct injections of atrophiers right into $his labia majora,@@ causing $his body to begin pulling resources from them<<if $slaves[$i].geneMods.NCS == 1>>, $his @@.orange;NCS@@ amplifies the effectiveness<</if>>.
	<<if $slaves[$i].labia == 0>>
		$His labia are now so minuscule that further drug use will fail to shrink them further; @@.yellow;$his drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<elseif (($slaves[$i].geneMods.NCS == 1) || (random(1,100) > (60-($injectionUpgrade*10)-($slaves[$i].labia*5)))) && ($slaves[$i].labia > 0)>>
		@@.lime;$His labia shrink painfully,@@ becoming smaller.
		<<set $slaves[$i].labia -= 1>>
	<</if>>
	<<if ($slaves[$i].geneMods.NCS == 1) && ($slaves[$i].labia > 2)>>
		<<set $slaves[$i].labia -= 1>>
	<</if>>

<<case "nipple atrophiers">>
	$He receives @@.lime;direct injections of atrophiers right into $his nipples,@@ causing $his body to begin pulling resources from it<<if $slaves[$i].geneMods.NCS == 1>>, $his @@.orange;NCS@@ amplifies the effectiveness<</if>>.
	<<switch $slaves[$i].nipples>>
	<<case "huge">>
		<<if (($slaves[$i].geneMods.NCS == 1) || (random(1,100) > (60-($injectionUpgrade*15))))>>
			@@.lime;$His nipples shrink painfully,@@ becoming smaller and puffy.
			<<set $slaves[$i].nipples = "puffy">>
		<</if>>
	<<case "puffy">>
		<<if (($slaves[$i].geneMods.NCS == 1) || (random(1,100) > (60-($injectionUpgrade*15))))>>
			@@.lime;$His nipples shrink painfully,@@ becoming smaller and cuter.
			<<set $slaves[$i].nipples = "cute">>
		<</if>>
	<<case "cute">>
		<<if (($slaves[$i].geneMods.NCS == 1) || (random(1,100) > (60-($injectionUpgrade*15))))>>
			@@.lime;$His nipples shrink painfully,@@ becoming tiny.
			<<set $slaves[$i].nipples = "tiny">>
		<</if>>
	<<default>>
		$His nipples are now so small that further drug use will fail to shrink them further; @@.yellow;$his drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<</switch>>

<<case "lip atrophiers">>
	$He receives @@.lime;direct injections of atrophiers right into $his lips,@@ causing $his body to begin pulling resources from them<<if $slaves[$i].geneMods.NCS == 1>>, $his @@.orange;NCS@@ amplifies the effectiveness<</if>>.
	<<set _shrinkage = 0>>
	<<if ($slaves[$i].lips-$slaves[$i].lipsImplant) == 0>>
		$His natural lips are now so thin that further drug use will fail to shrink them further; @@.yellow;$his drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<elseif ($slaves[$i].lips-$slaves[$i].lipsImplant) >= 70>>
		@@.lime;$His natural lips shrink painfully,@@ becoming massively smaller and thinner.
		<<set _shrinkage = 5>>
	<<elseif ($slaves[$i].lips-$slaves[$i].lipsImplant) >= 50>>
		@@.lime;$His natural lips shrink painfully,@@ becoming smaller and thinner.
		<<set _shrinkage = 3>>
	<<elseif ($slaves[$i].lips-$slaves[$i].lipsImplant) >= 20>>
		@@.lime;$His natural lips shrink painfully,@@ becoming smaller and thinner.
		<<set _shrinkage = 1>>
	<<elseif (($slaves[$i].geneMods.NCS == 1) || (random(1,100) > (40-($injectionUpgrade*10)-($slaves[$i].lips-$slaves[$i].lipsImplant)))) && (($slaves[$i].lips-$slaves[$i].lipsImplant) > 0)>>
		@@.lime;$His natural lips shrink painfully,@@ becoming smaller and thinner.
		<<set _shrinkage = 1>>
	<</if>>
	<<if ($slaves[$i].geneMods.NCS == 1) && ($slaves[$i].lipsImplant > 1)>>
		<<set _shrinkage *= 2>>
	<</if>>
	<<set $slaves[$i].lips -= _shrinkage>>

<<case "breast redistributors">>
	<<set _gigantomastiaMod = $slaves[$i].geneticQuirks.gigantomastia == 2 ? ($slaves[$i].geneticQuirks.macromastia == 2 ? 3 : 2) : 1>>
	$He receives @@.lime;direct injections of fat redistributors right into $his
	<<if _gigantomastiaMod != 3>>
		breasts, causing $his body to begin moving fatty tissue from them to $his core<<if $slaves[$i].geneMods.NCS == 1>>, $his @@.orange;NCS@@ amplifies the effectiveness@@<</if>>.
		<<set _factor = 0>>
		<<if ($slaves[$i].boobs-$slaves[$i].boobsImplant-$slaves[$i].boobsMilk) <= 100>>
			$His natural breast tissue is now so thin that further drug use will fail to shrink it further; @@.yellow;$his drug regimen has been ended.@@
			<<set $slaves[$i].drugs = "no drugs">>
		<<elseif ($slaves[$i].weight >= 200)>>
			$He is now so immensely obese $his health is greatly at risk; @@.yellow;$his drug regimen has been ended.@@
			<<set $slaves[$i].drugs = "no drugs">>
		<<elseif ($slaves[$i].boobs-$slaves[$i].boobsImplant-$slaves[$i].boobsMilk) >= 20000>>
			@@.lime;$His breasts shrink painfully,@@ becoming massively smaller while $his @@.orange;waistline swells tremendously.@@
			<<set _factor = 20>>
		<<elseif ($slaves[$i].boobs-$slaves[$i].boobsImplant-$slaves[$i].boobsMilk) >= 10000>>
			@@.lime;$His breasts shrink painfully,@@ becoming greatly smaller while $his @@.orange;waistline swells.@@
			<<set _factor = 10>>
		<<elseif ($slaves[$i].boobs-$slaves[$i].boobsImplant-$slaves[$i].boobsMilk) >= 5000>>
			@@.lime;$His breasts shrink painfully,@@ becoming smaller while $his @@.orange;waistline swells.@@
			<<set _factor = 5>>
		<<elseif ($slaves[$i].boobs-$slaves[$i].boobsImplant-$slaves[$i].boobsMilk) >= 1000>>
			@@.lime;$His breasts shrink painfully,@@ becoming smaller while $his @@.orange;waistline grows.@@
			<<set _factor = 3>>
		<<elseif ($slaves[$i].boobs-$slaves[$i].boobsImplant-$slaves[$i].boobsMilk) > 100>>
			@@.lime;$His breasts shrink painfully,@@ becoming smaller while $his @@.orange;waistline grows slightly.@@
			<<set _factor = 1>>
		<</if>>
		<<set $slaves[$i].weight += _factor>>
		<<if ($slaves[$i].geneMods.NCS == 1) && (($slaves[$i].boobs-$slaves[$i].boobsImplant-$slaves[$i].boobsMilk) > 200)>>
			<<set _factor *= 2>>
		<</if>>
		<<if _gigantomastiaMod == 2>>
			<<set _factor = 1>>
			<<if $geneticMappingUpgrade >= 1>>
				However, @@.orange;$his gigantomastia inhibits $his breast loss.@@
			<<else>>
				However, @@.orange;$his breasts do not shrink proportionately to $his stomach's growth.@@
			<</if>>
		<</if>>
		<<set $slaves[$i].boobs -= 100*_factor>>
	<<elseif $geneticMappingUpgrade >= 1>>
		breasts to no avail; $his body refuses to allow $his breasts to shrink, and as such, @@.yellow;$his drug regimen has been ended.@@
	<<else>>
		breasts to no avail; @@.yellow;$his drug regimen has been ended.@@
	<</if>>

<<case "butt redistributors">>
	<<set _rearQuirk = $slaves[$i].geneticQuirks.rearLipedema == 2 ? 2 : 0>>
	$He receives @@.lime;direct injections of fat redistributors right into $his buttocks,@@ causing $his body to begin moving fatty tissue from it to $his core<<if $slaves[$i].geneMods.NCS == 1 && _rearQuirk != 2>>, $his @@.orange;NCS@@ amplifies the effectiveness<</if>>.
	<<if ($slaves[$i].butt-$slaves[$i].buttImplant) <= 0>>
		$His natural ass flesh is now so thin that further drug use will fail to shrink it further; @@.yellow;$his drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<elseif ($slaves[$i].weight >= 200)>>
		$He is now so immensely obese $his health is greatly at risk; @@.yellow;$his drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<elseif _rearQuirk == 2>>
		$His @@.orange;waistline swells slightly,@@ but @@.lime;$his butt barely loses any mass@@
		<<if $geneticMappingUpgrade >= 1>>
			due to $his rear lipedema putting it right back.
		<<else>>
			for an unknown reason.
		<</if>>
		<<set $slaves[$i].butt -= .2>>
		<<set $slaves[$i].weight += 5>>
	<<elseif ($slaves[$i].butt-$slaves[$i].buttImplant) >= 15>>
		@@.lime;$His butt shrinks painfully,@@ becoming massively smaller while $his @@.orange;waistline swells tremendously.@@
		<<set $slaves[$i].butt -= 2>>
		<<set $slaves[$i].weight += 25>>
	<<elseif ($slaves[$i].butt-$slaves[$i].buttImplant) >= 10>>
		@@.lime;$His butt shrinks painfully,@@ becoming smaller while $his @@.orange;waistline swells tremendously.@@
		<<set $slaves[$i].butt -= 1>>
		<<set $slaves[$i].weight += 20>>
	<<elseif (($slaves[$i].geneMods.NCS == 1) || (random(1,100) > (50-($injectionUpgrade*10)-($slaves[$i].butt-$slaves[$i].buttImplant)))) && ($slaves[$i].butt-$slaves[$i].buttImplant) >= 0>>
		@@.lime;$His butt shrinks painfully,@@ becoming smaller while $his @@.orange;waistline swells greatly.@@
		<<set $slaves[$i].butt -= 1>>
		<<set $slaves[$i].weight += 10>>
	<</if>>
	<<set $slaves[$i].butt = Math.clamp($slaves[$i].butt,0,20)>>

<<case "sag-B-gone">>
	<<if $slaves[$i].assignment == "be your concubine">>
		Before bed and when you awake, you take the time sensually @@.coral;massage sag-B-gone into $his breasts,@@ which, while enjoyable to the both of you, doesn't seem to be doing much.
	<<elseif $slaves[$i].assignment == "please you">>
		Whenever you have a free moment you take that time to @@.coral;massage sag-B-gone into $his breasts,@@ which, while enjoyable, doesn't seem to be doing much.
	<<else>>
		$He is required to frequently @@.coral;massage sag-B-gone into $his breasts,@@ which, while enjoyable to watch, doesn't seem to be doing much.
	<</if>>

<</switch>>

<<switch $slaves[$i].pregControl>>
<<case "slow gestation">>
	<<set $slaves[$i].chem += 1>>
	<<if $slaves[$i].preg >= $slaves[$i].pregData.normalBirth>>
		$He is full term; gestation restriction agents @@.red;can't suppress labor@@ and $his regimen is ended to prevent health damage.
		<<set $slaves[$i].pregControl = "none">>
	<<elseif $slaves[$i].preg >= $slaves[$i].pregData.normalBirth/2.5>>
		$His belly feels very docile, $his gestation rate is @@.coral;greatly reduced.@@
	<<elseif $slaves[$i].preg > 0>>
		$His gestation rate is @@.coral;greatly reduced,@@ delaying how long it will be until $his pregnancy is visible.
	<</if>>
<<case "speed up">>
	<<set $slaves[$i].chem += 2>>
	<<if (($slaves[$i].assignment != "get treatment in the clinic") || ($Nurse == 0)) && $slaves[$i].geneMods.rapidCellGrowth != 1>>
		<<if $slaves[$i].pregType > 1>><<set _childCount = "children are">><<else>><<set _childCount = "child is">><</if>>
		$His _childCount growing rapidly within $his womb, far faster than $his @@.red;poor body can handle.@@<<if $slaves[$i].pregType >= 10 && $slaves[$i].bellyPreg >= 100000>> $His rate of growth is straining $his womb, $he is @@.red;at risk of bursting!@@<</if>>
		<<run healthDamage($slaves[$i], ($slaves[$i].preg+$slaves[$i].pregType-$slaves[$i].bellySag))>>
		<<if $slaves[$i].health.health <= -100>>
			$His critically poor health @@.orange;caused $him to miscarry.@@
			<<if lastPregRule($slaves[$i],$defaultRules)>><<set $slaves[$i].preg = -1>><<else>><<set $slaves[$i].preg = 0>><</if>>
			<<set TerminatePregnancy($slaves[$i])>>
			<<if $slaves[$i].fetish != "mindbroken" && $slaves[$i].fuckdoll == 0>>
				$He is
				<<if $slaves[$i].devotion < -50>>
					@@.mediumorchid;filled with violent, consuming hatred@@ and @@.gold;fear.@@ Even though $he knew $his baby was destined for a slave orphanage, it seems $he cared for it and views you as its killer.
					<<set $slaves[$i].devotion -= 25, $slaves[$i].trust -= 25>>
				<<elseif $slaves[$i].devotion < -20>>
					@@.mediumorchid;afflicted by desperate, inconsolable grief@@ and @@.gold;horror.@@ Even though $he knew $his baby was destined for a slave orphanage, it seems $he cared for it.
					<<set $slaves[$i].devotion -= 10, $slaves[$i].trust -= 20>>
				<<elseif $slaves[$i].devotion <= 20>>
					@@.mediumorchid;consumed by enduring sorrow@@ and @@.gold;horror.@@ Even though $he knew $his baby was destined for a slave orphanage, it seems $he cared for it.
					<<set $slaves[$i].devotion -= 5, $slaves[$i].trust -= 5>>
				<<elseif $slaves[$i].devotion <= 50>>
					dully obedient. $He has been broken to slave life so thoroughly that even this is neither surprising nor affecting.
				<<else>>
					@@.hotpink;pleased by this stark development,@@ since $he is so attentive to your will. $He also expects $he will be able to fuck better now once $his health recovers.
					<<set $slaves[$i].devotion += 4>>
				<</if>>
			<</if>>
			<<if $slaves[$i].abortionTat > -1>>
				<<set $slaves[$i].abortionTat++>>
				The temporary tattoo of a child has been replaced with $his <<= ordinalSuffix($slaves[$i].abortionTat)>> crossed out infant.
				<<run cashX(forceNeg($modCost), "slaveMod", $slaves[$i])>>
			<</if>>
		<</if>>
	<</if>>

<<case "labor suppressors">>
	<<set $slaves[$i].chem += 2>>
	<<if WombBirthReady($slaves[$i], $slaves[$i].pregData.normalBirth*1.5) > 0>>
		<<run healthDamage($slaves[$i], 20)>>
		<<set $slaves[$i].labor = 1>>
		<<set $slaves[$i].induce = 1>>
		<<set $birthee = 1>>
		$He has been ready to give birth for some time now. Suppressing birth for so long @@.red;greatly affects $his health.@@ $He may @@.red;have trouble@@ giving birth to $his oversized child<<if $slaves[$i].pregType > 1>>ren<</if>>. $He seems to be in distress, $his body is @@.red;forcing $his child<<if $slaves[$i].pregType > 1>>ren<</if>> out!@@
	<<elseif WombBirthReady($slaves[$i], $slaves[$i].pregData.normalBirth*1.25) > 0>>
		<<run healthDamage($slaves[$i], 20)>>
		$He has been ready to give birth for some time now. Suppressing birth for so long @@.red;greatly affects $his health.@@ $He may @@.red;have trouble@@ giving birth to $his oversized child<<if $slaves[$i].pregType > 1>>ren<</if>>.
	<<elseif WombBirthReady($slaves[$i], $slaves[$i].pregData.normalBirth) > 0>>
		<<run healthDamage($slaves[$i], 10)>>
		Labor suppressing agents @@.red;negatively affect $his health.@@
	<</if>>

<<case "hyperspeed">>
    <<set $slaves[$i].chem += 5>>
    <<if $slaves[$i].assignment != "get treatment in the clinic" && $Nurse == 0>>
		<<if $slaves[$i].pregType > 1>><<set _childCount = "children are">><<else>><<set _childCount = "child is">><</if>>
		$His _childCount growing astoundingly rapidly within $his womb, much, much faster than $his @@.red;poor body can handle.@@<<if $slaves[$i].pregType >= 10>> $His astronomical rate of growth is greatly straining $his womb, she is @@.red;at a high risk of bursting!@@<</if>>
		<<run healthDamage($slaves[$i],($slaves[$i].preg+($slaves[$i].pregType*2)-$slaves[$i].bellySag))>>
		<<if $slaves[$i].health.health <= -100>>
			$His critically poor health @@.orange;caused her to miscarry.@@
			<<if lastPregRule($slaves[$i],$defaultRules)>><<set $slaves[$i].preg = -1>><<else>><<set $slaves[$i].preg = 0>><</if>>
			<<set $slaves[$i].pregType = 0, $slaves[$i].pregSource = 0, $slaves[$i].pregWeek = 0, $slaves[$i].pregKnown = 0>><<SetBellySize $slaves[$i]>>
			<<if $slaves[$i].fetish != "mindbroken" && $slaves[$i].fuckdoll == 0>>
				$He is
				<<if $slaves[$i].devotion < -50>>
				  @@.mediumorchid;filled with violent, consuming hatred@@ and @@.gold;fear.@@ Even though $he knew $his baby was destined for a slave orphanage, it seems $he cared for it and views you as its killer.
				  <<set $slaves[$i].devotion -= 25, $slaves[$i].trust -= 25>>
				<<elseif $slaves[$i].devotion < -20>>
				  @@.mediumorchid;afflicted by desperate, inconsolable grief@@ and @@.gold;horror.@@ Even though $he knew $his baby was destined for a slave orphanage, it seems $he cared for it.
				  <<set $slaves[$i].devotion -= 10, $slaves[$i].trust -= 20>>
				<<elseif $slaves[$i].devotion <= 20>>
				  @@.mediumorchid;consumed by enduring sorrow@@ and @@.gold;horror.@@ Even though $he knew $his baby was destined for a slave orphanage, it seems $he cared for it.
				  <<set $slaves[$i].devotion -= 5, $slaves[$i].trust -= 5>>
				<<elseif $slaves[$i].devotion <= 50>>
				  dully obedient. $He has been broken to slave life so thoroughly that even this is neither surprising nor affecting.
				<<else>>
				  @@.hotpink;pleased by this stark development@@, since $he is so attentive to your will. $He also expects $he will be able to fuck better now once her health recovers.
				  <<set $slaves[$i].devotion += 4>>
				<</if>>
			<</if>>
		<</if>>
	<</if>>
<</switch>>

<<if $slaves[$i].curatives > 1>>
	<<if ($slaves[$i].health.condition > 90) && (slaves[$i].health.shortDamage <= 0>>
		$His health is already outstanding and cannot be improved with further drug treatment. @@.yellow;$His drug regimen has defaulted to preventatives.@@
		<<set $slaves[$i].curatives = 1>>
	<<elseif (($slaves[$i].assignment == "rest") || ($slaves[$i].assignment == "rest in the spa")) && ($slaves[$i].fetish != "mindbroken")>>
		<<if $slaves[$i].inflationType != "curative" || $slaves[$i].inflation == 0>>
			The curatives $he's taking synergize with rest, keeping $him asleep most of the time. This is an @@.green;extremely effective health treatment.@@
		<<else>>
			Since $he is usually slumbering soundly, the curatives are able to @@.green;work more efficiently.@@
		<</if>>
		<<run improveCondition($slaves[$i], 12)>>
	<<elseif ($slaves[$i].health.condition < -20)>>
		@@.green;$His poor health rapidly improves@@ under drug treatment.
		<<run improveCondition($slaves[$i], 6)>>
	<<else>>
		@@.green;$His health improves@@ under curative treatment.
	<</if>>
	<<if $slaves[$i].fuckdoll == 0>>
		<<if $slaves[$i].fetish != "mindbroken">>
			$He @@.mediumaquamarine;trusts you more@@ for giving $him access to expensive modern medicine.
			<<set $slaves[$i].trust += 1>>
		<</if>>
	<</if>>
	<<run improveCondition($slaves[$i], 6)>>
	<<run healthCure($slaves[$i], $curativeUpgrade * 6)>>
	<<set $slaves[$i].chem += 1>>
<</if>>

<<if $slaves[$i].aphrodisiacs > 0>>
	<<if $slaves[$i].aphrodisiacs > 1>>
		The aphrodisiacs $he's on
		<<if $slaves[$i].energy <= 95>>
			@@.green;rapidly boost $his sex drive.@@
			<<set $slaves[$i].energy += 7>>
		<<else>>
			can't improve $his absurd sex drive.
            <<set $slaves[$i].energy = 100>>
		<</if>>
		<<if $slaves[$i].fuckdoll == 0>>
			<<if $slaves[$i].fetish != "mindbroken">>
				They @@.hotpink;increase $his acceptance@@ of sexual slavery.
				<<set $slaves[$i].devotion += 8>>
			<</if>>
		<</if>>
		<<if ($arcologies[0].FSBodyPuristLaw == 0) && ($healthyDrugsUpgrade == 0)>>
			Such a high dosage @@.red;isn't healthy.@@
			<<run healthDamage($slaves[$i], 5)>>
		<</if>>
		<<set $slaves[$i].chem += 1>>
	<<else>>
		The aphrodisiacs $he's on
		<<if $slaves[$i].energy <= 95>>
			@@.green;boost $his sex drive.@@
			<<set $slaves[$i].energy += 3>>
		<<else>>
			can't improve $his absurd sex drive.
            <<set $slaves[$i].energy = 100>>
		<</if>>
		<<if $slaves[$i].fuckdoll == 0>>
			<<if $slaves[$i].fetish != "mindbroken">>
				They @@.hotpink;increase $his acceptance@@ of sexual slavery.
				<<set $slaves[$i].devotion += 4>>
			<</if>>
		<</if>>
		<<set $slaves[$i].chem += 0.5>>
	<</if>>
<</if>>

<<if $slaves[$i].drugs != "no drugs" && $slaves[$i].drugs != "appetite suppressors">>
	<<if $arcologies[0].FSBodyPuristLaw == 0>>
		<<if $healthyDrugsUpgrade == 0>>
			<<set $slaves[$i].chem += 1.5>>
			<<if _intensive>><<set $slaves[$i].chem += 1>><</if>>
		<</if>>
	<</if>>
<</if>>
<<set $slaves[$i].chem = Math.clamp($slaves[$i].chem-0.5, 0, 1000)>>

<<if _intensive>>
	Such reckless doping is dangerous and @@.red;unhealthy.@@
	<<set _intensive = 0>>
	<<run healthDamage($slaves[$i], jsRandom(3, 5))>>
<</if>>

<<if $slaves[$i].curatives < 2 && $slaves[$i].inflationType != "curative" && $slaves[$i].assignment != "rest in the spa" && $slaves[$i].assignment != "rest" && $slaves[$i].assignment != "get treatment in the clinic">>
	<<if $slaves[$i].health.illness > 0>>
		$He is
		<<if $slaves[$i].health.illness > 4>>
			deathly
		<<elseif $slaves[$i].health.illness > 3>>
			seriously
		<<elseif $slaves[$i].health.illness < 2>>
			slightly
		<</if>>
		<<if $slaves[$i].fuckdoll == 0>>
			<<if $slaves[$i].fetish == "mindbroken">>
				ill, yet still continues to mindlessly carry out $his duties.
			<<elseif $slaves[$i].health.illness < 2>>
				ill, though not enough to complain about.
			<<elseif $slaves[$i].devotion < 20>>
				ill and @@.mediumorchid;hates@@ having $his health issues @@.gold;ignored.@@
				<<set $slaves[$i].devotion -= $slaves[$i].health.illness * 2, $slaves[$i].trust -= $slaves[$i].health.illness>>
			<<elseif $slaves[$i].devotion < 50>>
				ill and @@.mediumorchid;resents@@ being @@.gold;denied@@ proper treatment.
				<<set $slaves[$i].devotion -= $slaves[$i].health.illness * 3, $slaves[$i].trust -= $slaves[$i].health.illness * 2>>
			<<elseif $slaves[$i].health.illness > 3>>
				ill and @@.gold;struggles with@@ being withheld treatment.
				<<set $slaves[$i].trust -= $slaves[$i].health.illness * 3>>
			<<else>>
				ill and does $his best to continue with $his duties out of dedication to you.
			<</if>>
		<<else>>
			ill, triggering $his suit's preventative measures.
		<</if>>
	<</if>>
	<<if $slaves[$i].fuckdoll == 0>>
		<<if $slaves[$i].fetish != "mindbroken">>
			<<if $slaves[$i].health.condition < -50>>
				It's difficult being so in such poor condition, and $he @@.mediumorchid;resents you@@ for ignoring $his plight.
				<<set $slaves[$i].devotion -= 2>>
			<<elseif ($slaves[$i].health.condition > 50)>>
				$He understands that $he owes $his near-perfect health to you and @@.hotpink;believes@@ that life with you is better than freedom in some ways.
				<<set $slaves[$i].trust += 1>>
			<</if>>
		<</if>>
	<</if>>
<</if>>

<<= illness($slaves[$i])>>

<<if $slaves[$i].drugs != "stimulants" && $slaves[$i].inflationType != "stimulant">>
	<<if ($slaves[$i].assignment != "rest in the spa" && $slaves[$i].assignment != "rest" && $slaves[$i].assignment != "get treatment in the clinic")>>
		<<if $slaves[$i].health.tired > 90>>
			$He has been worked to the bone
			<<if $slaves[$i].devotion < 20>>
				and @@.hotpink;bends a little more to your will,@@ while @@.gold;fearing she'll never earn a reprieve@@ from toiling.
				<<set $slaves[$i].devotion += 2, $slaves[$i].trust -= 2>>
			<<elseif $slaves[$i].devotion < 50>>
				and can't help but @@.gold;worry a little about her well-being.@@
				<<set $slaves[$i].trust -= 1>>
			<<else>>
				but $he carries on without reservations.
			<</if>>
		<<elseif $slaves[$i].health.tired > 60>>
			$He is suffering from exhaustion
			<<if $slaves[$i].devotion < 20>>
				and it is @@.hotpink;wearing away at her resistance.@@
				<<set $slaves[$i].devotion += 1>>
			<<else>>
				but $he tries not to let it show.
			<</if>>
		<</if>>
	<</if>>
<</if>>

<<if ($slaves[$i].addict > 0)>>
	<<if $slaves[$i].aphrodisiacs > 0>>
		<<set $slaves[$i].addict += $slaves[$i].aphrodisiacs>>
	<<elseif ($slaves[$i].addict < 2)>>
		$He has finally been @@.cyan;weaned off aphrodisiacs.@@
		<<set $slaves[$i].addict = 0>>
	<<elseif ($aphrodisiacUpgrade == 1)>>
		Substitutes produced by your advanced pharmaceutical fabricator protect $him from the negative effects of aphrodisiac withdrawal and even hasten the flushing of $his system.
		<<set $slaves[$i].addict -= 2>>
	<<elseif $slaves[$i].inflationType != "aphrodisiac">>
		$He feels the effects of withdrawal from aphrodisiacs keenly, and $he is @@.mediumorchid;bitterly resentful.@@
		<<set $slaves[$i].addict -= 2>>
		<<set $slaves[$i].devotion -= 10>>
	<<else>>
		$He gets $his fix from $his aphrodisiac filled belly.
	<</if>>
<<else>>
	<<if $slaves[$i].aphrodisiacs > 0>>
		<<if random(1,100) < 40+(20*$slaves[$i].aphrodisiacs)>>
			@@.cyan;$He has become an aphrodisiac addict.@@
			<<set $slaves[$i].addict = 1>>
		<</if>>
	<</if>>
<</if>>

<<if $slaves[$i].fuckdoll == 0>>
	<<if $suppository == 1>>
		<<if ($slaves[$i].aphrodisiacs > 0) || ($slaves[$i].curatives > 0) || ($slaves[$i].drugs == "psychosuppressants") || ($slaves[$i].drugs == "hormone enhancers") || ($slaves[$i].drugs == "hormone blockers") || ($slaves[$i].hormones != 0)>>
			<<if $slaves[$i].anus == 0>>
				<<if $slaves[$i].fetish == "mindbroken">>
					$His @@.lime;virgin anus is broken in@@ by a callous machine, but $he didn't notice.
				<<elseif $slaves[$i].devotion <= 20>>
					$His @@.lime;anal virginity is taken@@ by a machine whose sole purpose is to fuck drugs into $him; @@.mediumorchid;an indignity $he does not take well.@@
					<<set $slaves[$i].devotion -= 10>>
				<<else>>
					$His @@.lime;virgin anus is broken in@@ by a callous machine, but $he accepts such indignities as a part of life.
				<</if>>
				<<set $slaves[$i].anus = 1>>
			<<else>>
				<<if $slaves[$i].fetish == "mindbroken">>
					A reciprocating dildo pumps $his drug regime into $him each morning and night.
				<<elseif ($slaves[$i].sexualFlaw == "hates anal")>>
					<<if random(1,100) > 80>>
						Getting buttfucked morning and night by reciprocating dildos that ejaculate $his drug regime forces $him to @@.green;accept anal sex@@ as a fact of life.
						<<set $slaves[$i].sexualFlaw = "none">>
					<<else>>
						Getting buttfucked morning and night by reciprocating dildos that ejaculate $his drug regime @@.mediumorchid;infuriates $him,@@ since $he hates getting assraped.
						<<set $slaves[$i].devotion -= 4>>
					<</if>>
				<<elseif ($slaves[$i].fetish == "buttslut")>>
					<<if ($slaves[$i].fetishKnown == 0)>>
						Getting buttfucked morning and night by reciprocating dildos that ejaculate $his drug regime has revealed something: @@.lightcoral;$he likes it up the ass!@@
						<<set $slaves[$i].fetishKnown = 1>>
					<<elseif ($slaves[$i].fetishStrength <= 95) && ($slaves[$i].devotion > 4)>>
						Getting buttfucked morning and night by reciprocating dildos that ejaculate $his drug regime has @@.lightcoral;deepened $his anal fixation.@@
						<<set $slaves[$i].fetishStrength += 5>>
					<</if>>
				<<elseif ($slaves[$i].fetish != "buttslut")>>
					<<if ($slaves[$i].devotion < -20)>>
						Getting buttfucked morning and night by reciprocating dildos that ejaculate $his drug regime @@.mediumorchid;disgusts $him.@@
						<<set $slaves[$i].devotion -= 2>>
					<<elseif fetishChangeChance($slaves[$i]) > random(0,100)>>
						$He starts to look forward to getting buttfucked morning and night by reciprocating dildos that ejaculate $his drug regime; $he's @@.lightcoral;become anally fixated.@@
						<<set $slaves[$i].fetish = "buttslut">>
						<<set $slaves[$i].fetishKnown = 1>>
						<<set $slaves[$i].fetishStrength = 10>>
					<<else>>
						A reciprocating dildo pumps $his drug regime into $him each morning and night.
					<</if>>
				<</if>>
				<<if ($slaves[$i].sexualQuirk == "painal queen")>>
					$He @@.hotpink;secretly enjoys@@ being assraped by a machine twice a day.
					<<set $slaves[$i].devotion += 1>>
				<</if>>
				<<if ($slaves[$i].anus == 1)>>
					<<if random(1,100) > 70>>
						The regular machine anal @@.lime;stretches out $his tight asshole.@@
						<<set $slaves[$i].anus += 1>>
					<</if>>
				<</if>>
			<</if>>
		<</if>>
	<</if>>
<</if>>

/* DRUG EXPIRY */
<<switch $slaves[$i].drugs>>
<<case "growth stimulants">>
	<<if !canImproveHeight($slaves[$i])>>
		$His body has already grown far past $his natural limits; further injections of stimulants will have no effect. @@.yellow;$His drug regimen has been ended.@@
		<<set $slaves[$i].height = Math.clamp($slaves[$i].height,0,maxHeight($slaves[$i])), $slaves[$i].drugs = "no drugs">>
	<</if>>
<<case "growth inhibitor">>
    <<if $slaves[$i].geneticQuirks.dwarfism != 2 && $slaves[$i].geneticQuirks.gigantism != 2>>
        <<set _minHeight = (Height.forAge($slaves[$i].height, $slaves[$i]) * 0.6)>>
    <<elseif $slaves[$i].geneticQuirks.dwarfism == 2>>
        <<set _minHeight = Height.forAge($slaves[$i].height, $slaves[$i]) * 0.4>>
    <<elseif $slaves[$i].geneticQuirks.gigantism == 2>>
        <<set _minHeight = Height.forAge($slaves[$i].height, $slaves[$i]) * 0.8>>
    <<else>>
        <<set _minHeight = Height.forAge($slaves[$i].height, $slaves[$i]) * 0.6>>
    <</if>>
    <<if $slaves[$i].height <= _minHeight>>
        $His body has already been shrunken as far as it can be without extensive surgical modification; further treatments will be ineffective. @@.yellow;$His drug regimen has been ended.@@
        <<set $slaves[$i].height = Math.clamp($slaves[$i].height,_minHeight,200)>>
        <<set $slaves[$i].drugs = "no drugs">>
    <</if>>
<<case "breast injections" "intensive breast injections" "minimal breast injections">>
	<<if $slaves[$i].boobs >= 50000>>
		$His udders are now so huge that further A-HGH treatment will not increase their size. @@.yellow;$His drug regimen has been ended.@@
		<<set $slaves[$i].boobs = Math.clamp($slaves[$i].boobs,0,50000), $slaves[$i].drugs = "no drugs">>
	<</if>>
<<case "smart pills" "intensive smart pills">>
	<<if ($slaves[$i].intelligence >= 95) && _intensive != 1>>
		$He is so intelligent that drugs can no longer increase $his intelligence.
		<<set $slaves[$i].drugs = "no drugs", $slaves[$i].intelligence = 100>>
    <<elseif $slaves[$i].intelligence > 85 && _intensive == 1>>
        $He is so intelligent that drugs can no longer increase $his intelligence.
		<<set $slaves[$i].drugs = "no drugs", $slaves[$i].intelligence = 100>>
	<</if>>
<<case "pregnancy adapters">>
    <<if $slaves[$i].bellyPreg < $slaves[$i].pregAdaptation*750 || $slaves[$i].pregAdaptation >= 1000>>
        $He is so well-adjusted to pregnancy that further pregnancy treatments will have little noticeable effect. @@.yellow;$His drug regimen has ended.@@
        <<set $slaves[$i].drugs = "no drugs", $slaves[$i].pregAdaptation = 1000>>
    <</if>>
<<case "butt injections" "intensive butt injections">>
	<<if ($slaves[$i].butt >= 10)>>
		$His ass is now so huge that further A-HGH treatment will not increase its size. @@.yellow;$His drug regimen has been ended.@@
		<<set $slaves[$i].butt = Math.clamp($slaves[$i].butt,0,20), $slaves[$i].drugs = "no drugs">>
	<</if>>
<<case "hyper butt injections">>
	<<if $slaves[$i].butt >= 20>>
		$His ass is now so freakishly monstrous that further HA-HGH treatment will not increase its size. @@.yellow;$His drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<</if>>
<<case "hyper breast injections">>
	<<if ($slaves[$i].boobs >= 50000)>>
		$His udders are now so huge that further HA-HGH treatment will not increase their size. @@.yellow;$His drug regimen has been ended.@@
		<<set $slaves[$i].boobs = Math.clamp($slaves[$i].boobs,0,50000), $slaves[$i].drugs = "no drugs">>
	<</if>>
<<case "lip injections">>
	<<if ($slaves[$i].lips > 95) || (($slaves[$i].lips > 85) && ($seeExtreme != 1))>>
		$His lips are now so huge that further A-HGH treatment will not increase their size. @@.yellow;$His drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<</if>>
<<case "penis enhancement" "intensive penis enhancement">>
	<<if ($slaves[$i].dick >= 10)>>
		$His cock is now so huge that further drug enhancement will not increase its size. @@.yellow;$His drug regimen has been ended.@@
		<<set $slaves[$i].dick = Math.clamp($slaves[$i].dick,0,10), $slaves[$i].drugs = "no drugs">>
	<<elseif $slaves[$i].clit >= 5 && $slaves[$i].dick == 0>>
		$His clit is now so huge that further drug enhancement will not increase its size. @@.yellow;$His drug regimen has been ended.@@
		<<set $slaves[$i].clit = Math.clamp($slaves[$i].clit,0,5), $slaves[$i].drugs = "no drugs">>
	<</if>>
<<case "testicle enhancement" "intensive testicle enhancement">>
	<<if ($slaves[$i].balls >= 10)>>
		$His balls are now so huge that further drug enhancement will not increase their size. However, leaving $him on them will still stimulate cum production.
	<<elseif ($slaves[$i].balls >= 2) && ($slaves[$i].scrotum == 0)>>
		$His balls are now functionally sized, and cannot sustainably grow larger hidden within $his abdomen. @@.yellow;$His drug regimen has been ended.@@
		<<set $slaves[$i].balls = Math.clamp($slaves[$i].balls,0,2), $slaves[$i].drugs = "no drugs">>
	<</if>>
<<case "psychosuppressants" "intensive psychosuppressants">>
	<<if ($slaves[$i].intelligence < -95) && _intensive != 1>>
		$He is so moronic that drug treatment can't really make $him more willing to obey others than $he already is. @@.yellow;$His drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
    <<elseif ($slaves[$i].intelligence < -80) && _intensive == 1>>
        $He is so moronic that drug treatment can't really make $him more willing to obey others than $he already is. @@.yellow;$His drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<</if>>
<<case "weight gain pill">>
	<<if ($slaves[$i].weight >= 95)>>
	$He is so fat further treatment cannot enlarge $him any further.
	<<set $slaves[$i].drugs = "no drugs">>
	<</if>>
<<case "aphrodisiac recovery">>
	<<if $slaves[$i].addict < 12>>
	$His recovery can no longer be helped by the aphrodisiac recovery drugs. @@.yellow;$His drug regimen has ended.@@
	<<set $slaves[$i].drugs = "no drugs">>
    <<set $slaves[$i].addict = 4>>
	<</if>>
<<case "psychostimulants">>
		<<if !canImproveIntelligence($slaves[$i])>>
			$His intelligence has been improved as much as a drink possibly can. @@.yellow;$His drug regimen has been ended.@@
			<<set $slaves[$i].drugs = "no drugs">>
		<</if>>
<</switch>>

repo_name: Free/Cities

license: mit