code:
:: SA drugs [nobr]

<<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">>
	<<set _intensive = 1>>
<</if>>

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

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

<<case "psychosuppressants">>
	<<if ($slaves[$i].fetish != "mindbroken")>>
		The psychosuppressants @@.hotpink;reduce $possessive ability to question $possessive role@@ or @@.mediumaquamarine;think independently.@@
		<<set $slaves[$i].devotion += 4, $slaves[$i].trust += 4>>
		<<if ($slaves[$i].intelligence > -2)>>
			They @@.orange;negatively impact $possessive intelligence,@@ as well.
			<<set $slaves[$i].intelligence -= 1>>
		<</if>>
		<<if $slaves[$i].fuckdoll == 0 && $slaves[$i].intelligence < 0 && $slaves[$i].fetishStrength <= 60 && $slaves[$i].fetish != "submissive" && $fetishChangeChance > random(0,100)>>
			The willingness to @@.lightcoral;submit@@ created by the drugs invades $possessive sexuality, too.
			<<set $slaves[$i].fetish = "submissive", $slaves[$i].fetishKnown = 1, $slaves[$i].fetishStrength = 10>>
		<</if>>
	<<else>>
		The psychosuppressants have little effect on $possessive passive mind.
	<</if>>

<<case "hyper breast injections">>
	<<set $slaves[$i].chem += 2>>
	<<set _growth = (1+$injectionUpgrade)*3>>
	$pronounCap receives @@.lime;direct injections of <<if ($injectionUpgrade != 0)>> advanced<</if>> hyper growth hormones, right into $possessive breasts;@@
	<<if ($slaves[$i].diet == "fattening")>>
		all the food $pronoun's required to consume fuels growth, <<if $slaves[$i].health > -20>>and<<else>>but<</if>>
		<<set _growth += 6>>
	<<elseif ($slaves[$i].diet == "restricted")>>
		$possessive restricted diet means $possessive body has few resources to grow on, <<if $slaves[$i].health > -20>>but<<else>>and<</if>>
		<<set _growth -= 1>>
	<<elseif ($slaves[$i].weight > 130)>>
		the enormous diet $pronoun eats to maintain $possessive hugely fat body helps support growth, <<if $slaves[$i].health > -20>>but<<else>>and<</if>>
		<<set _growth += 4>>
	<<elseif ($slaves[$i].weight > 30)>>
		the generous diet $pronoun eats to maintain $possessive fat body helps support growth, <<if $slaves[$i].health > -20>>and<<else>>but<</if>>
		<<set _growth += 2>>
	<<elseif ($slaves[$i].weight <= -30)>>
		the diet $pronoun is required to maintain to keep slim impedes growth, <<if $slaves[$i].health > -20>>but<<else>>and<</if>>
		<<set _growth-->>
	<</if>>
	<<if $slaves[$i].health > 80>>
		$possessive 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 > -20)>>
		$possessive health supports growth, <<if $slaves[$i].boobs < 2000>>and<<else>>but<</if>>
	<<else>>
		$possessive poor health does not support steady growth, but
		<<set _growth-->>
	<</if>>
	$possessive
	<<if ($slaves[$i].boobs < 800)>>
		small chest tends to grow rapidly.
		<<set _growth += 10>>
		<<if ($slaves[$i].boobShape != "saggy") && ($slaves[$i].breastMesh != 1)>>
			<<if random(1,10) < 5>>
				As $possessive boobs rapidly grow, they 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 += 8>>
		<<if ($slaves[$i].boobShape != "saggy") && ($slaves[$i].breastMesh != 1)>>
			<<if random(1,10) < 5>>
				As $possessive boobs rapidly grow, they 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 += 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, $possessive mass of breastflesh directing $possessive nipples downward.
				<<set $slaves[$i].boobShape = "saggy">>
			<</if>>
		<</if>>
	<<elseif ($slaves[$i].boobs < 10000)>>
		huge boobs tend to grow slowly.
		<<set _growth += 4>>
		<<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, $possessive mass of breastflesh directing $possessive 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 += 10>>
		<<if ($slaves[$i].boobShape != "normal") && ($slaves[$i].breastMesh != 1)>>
		  <<if random(1,10) == 1>>
			$possessiveCap @@.coral;breasts lose their unique shape@@ as they adapt to their monstrous, unnatural size. There's simply nowhere else for her mass of boob to go, and its expansion fills her breasts out and points her nipples forward.
			<<set $slaves[$i].boobShape = "normal">>
		  <</if>>
		<</if>>
	<</if>>
	<<set _growth = 25*Math.trunc(_growth*0.8)>>
	<<set $slaves[$i].boobs += Math.clamp(_growth, 25, 5000)>>
	<<if random(1,100) > 30+($slaves[$i].areolae*10) && $slaves[$i].areolae < 3>>
		The increase in breast size @@.lime;stretches and broadens $possessive areolae.@@
		<<set $slaves[$i].areolae += 1>>
	<</if>>
	<<if (random(1,100) > 70) && ($slaves[$i].nipples != "inverted")>>
		<<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 $possessive nipples.@@
			<<set $slaves[$i].nipples = "inverted">>
		<</if>>
	<</if>>

<<case "breast injections" "intensive breast injections">>
	<<set _growth = 1+$injectionUpgrade>>
	$pronounCap receives @@.lime;
	<<if _intensive>>
		massive
		<<set _growth*=2>>
	<</if>>
	injections of <<if ($injectionUpgrade != 0)>>advanced<</if>> growth hormones, right into $possessive breasts;@@
	<<if ($slaves[$i].diet == "fattening")>>
		all the food $pronoun's required to consume fuels growth, <<if $slaves[$i].health > -20>>and<<else>>but<</if>>
		<<set _growth += 2>>
	<<elseif ($slaves[$i].diet == "restricted")>>
		$possessive restricted diet means $possessive body has few resources to grow on, <<if $slaves[$i].health > -20>>but<<else>>and<</if>>
		<<set _growth -= 2>>
	<<elseif ($slaves[$i].weight > 130)>>
		the enormous diet $pronoun eats to maintain $possessive hugely fat body helps support growth, <<if $slaves[$i].health > -20>>and<<else>>but<</if>>
		<<set _growth++>>
	<<elseif ($slaves[$i].weight > 30)>>
		the generous diet $pronoun eats to maintain $possessive fat body helps support growth, <<if $slaves[$i].health > -20>>and<<else>>but<</if>>
		<<set _growth++>>
	<<elseif ($slaves[$i].weight <= -30)>>
		the diet $pronoun is required to maintain to keep slim impedes growth, <<if $slaves[$i].health > -20>>but<<else>>and<</if>>
		<<set _growth-->>
	<</if>>
	<<if $slaves[$i].health > 80>>
		$possessive perfect health supports growth extremely well, <<if $slaves[$i].boobs < 2000>>and<<else>>but<</if>>
		<<set _growth++>>
	<<elseif ($slaves[$i].health > -20)>>
		$possessive health supports growth, <<if $slaves[$i].boobs < 2000>>and<<else>>but<</if>>
	<<else>>
		$possessive poor health does not support steady growth, <<if $slaves[$i].boobs < 2000>>but<<else>>and<</if>>
		<<set _growth-->>
	<</if>>
	$possessive
	<<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 $possessive boobs grow, they take on a torpedo shape within the frame of $possessive narrow shoulders,@@ projecting a long way from $possessive chest and swinging delightfully when $pronoun's naked.
					<<set $slaves[$i].boobShape = "torpedo-shaped">>
				<<else>>
					@@.lime;As $possessive boobs grow, they become widely set across the broadness of $possessive chest,@@ spreading sideways even when $pronoun's not lying on $possessive 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 $possessive 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, $possessive mass of breastflesh directing $possessive 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;$possessiveCap breasts lose their unique shape@@ as they adapt to their monstrous, unnatural size. There's simply nowhere else for $possessive mass of boob to go, and its expansion fills $possessive breasts out and points $possessive nipples forward.
				<<set $slaves[$i].boobShape = "normal">>
			<</if>>
		<</if>>
	<</if>>
	<<set _growth = 25*Math.trunc(_growth*0.8)>>
	<<set $slaves[$i].boobs += Math.clamp(_growth, 25, 200)>>
	<<if $slaves[$i].areolae < 3>>
	<<if _growth > $slaves[$i].areolae*25>>
		The increase in breast size @@.lime;stretches and broadens $possessive areolae.@@
		<<set $slaves[$i].areolae += 1>>
	<</if>>
	<</if>>
	<<if $slaves[$i].nipples != "huge">>
	<<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 $possessive cute nipples to become puffy.@@
		<<set $slaves[$i].nipples = "puffy">>
		<<else>>
		The explosive breast growth also @@.lime;causes $possessive 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 $possessive puffy nipples to become really enormous.@@
		<<set $slaves[$i].nipples = "huge">>
		<<else>>
		The explosive breast growth also @@.lime;causes $possessive 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 $possessive nipples to invert completely.@@
		<<set $slaves[$i].nipples = "inverted">>
	<</if>>
	<</if>>
	<</if>>

<<case "butt injections" "intensive butt injections">>
	<<set _growth = 1+$injectionUpgrade>>
	$pronounCap receives @@.lime;
	<<if _intensive>>
		massive
		<<set _growth*=2>>
	<</if>>
	injections of <<if ($injectionUpgrade != 0)>>advanced<</if>> growth hormones, right into $possessive buttocks;@@
	<<if ($slaves[$i].diet == "fattening")>>
		all the food $pronoun's required to consume fuels growth, <<if $slaves[$i].health > -20>>and<<else>>but<</if>>
		<<set _growth += 2>>
	<<elseif ($slaves[$i].diet == "restricted")>>
		$possessive restricted diet means $possessive body has few resources to grow on, <<if $slaves[$i].health > -20>>but<<else>>and<</if>>
		<<set _growth -= 2>>
	<<elseif ($slaves[$i].weight > 130)>>
		the generous diet $pronoun eats to maintain $possessive fat body helps support growth, <<if $slaves[$i].health > -20>>and<<else>>but<</if>>
		<<set _growth += 3>>
	<<elseif ($slaves[$i].weight > 30)>>
		the generous diet $pronoun eats to maintain $possessive fat body helps support growth, <<if $slaves[$i].health > -20>>and<<else>>but<</if>>
		<<set _growth++>>
	<<elseif ($slaves[$i].weight <= -30)>>
		the diet $pronoun is required to maintain to keep slim impedes growth, <<if $slaves[$i].health > -20>>but<<else>>and<</if>>
		<<set _growth-->>
	<</if>>
	<<if $slaves[$i].health > 80>>
		$possessive perfect health supports growth extremely well, <<if $slaves[$i].butt < 6>>and<<else>>but<</if>>
		<<set _growth++>>
	<<elseif ($slaves[$i].health > -20)>>
		$possessive health supports growth, <<if $slaves[$i].butt < 6>>and<<else>>but<</if>>
	<<else>>
		$possessive poor health does not support steady growth, <<if $slaves[$i].butt < 6>>but<<else>>and<</if>>
		<<set _growth-->>
	<</if>>
	$possessive
	<<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 tend to grow slowly.
		<<set _growth++>>
	<<else>>
		monstrous cheeks tend to grow very slowly.
	<</if>>
	<<set _growth*=0.2>>
	<<set $slaves[$i].butt += Math.clamp(_growth,0.2,1)>>
	<<if _intensive>>
		<<if $slaves[$i].anus > 1>>
			The reckless drug therapy has the side effect of rejuvenating her sphincter muscles, @@.lime;tightening up $possessive <<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 her sphincter muscles, @@.lime;tightening up $possessive <<if $slaves[$i].anus > 4>>gaping<<else>>loose<</if>> anus.@@
			<<set $slaves[$i].anus-->>
		<</if>>
	<</if>>

<<case "hyper butt injections">>
	<<set $slaves[$i].chem += 2>>
	<<set _growth = .5>>
	$pronounCap receives @@.lime;direct injections of <<if ($injectionUpgrade != 0)>> advanced<</if>> hyper growth hormones, right into $possessive buttocks;@@
	<<if ($slaves[$i].diet == "fattening")>>
		all the food $pronoun's required to consume fuels growth, <<if $slaves[$i].health > -20>>and<<else>>but<</if>>
		<<set _growth += 0.2>>
	<<elseif ($slaves[$i].diet == "restricted")>>
		$possessive restricted diet means $possessive body has few resources to grow on, <<if $slaves[$i].health > -20>>and<<else>>but<</if>>
		<<set _growth -= 0.2>>
	<<elseif ($slaves[$i].weight > 130)>>
	the enormous diet $pronoun eats to maintain $possessive hugely fat body helps support growth, <<if $slaves[$i].health > -20>>and<<else>>but<</if>>
	<<set _growth += 0.2>>
	<<elseif ($slaves[$i].weight > 30)>>
	the generous diet $pronoun eats to maintain $possessive fat body helps support growth, <<if $slaves[$i].health > -20>>and<<else>>but<</if>>
	<<set _growth += 0.1>>
	<<elseif ($slaves[$i].weight <= -30)>>
		the diet $pronoun is required to maintain to keep slim impedes growth, <<if $slaves[$i].health > -20>>and<<else>>but<</if>>
		<<set _growth -= 0.1>>
	<</if>>
	<<if $slaves[$i].health > 80>>
		$possessive perfect health supports growth extremely well, <<if $slaves[$i].butt < 10>>and<<else>>but<</if>>
		<<set _growth += .5>>
	<<elseif ($slaves[$i].health > -20)>>
		$possessive health supports growth reasonably well, <<if ($slaves[$i].butt < 10)>>and<<else>>but<</if>>
	<<else>>
		$possessive poor health does not support steady growth,  <<if ($slaves[$i].butt < 10)>>but<<else>>and<</if>>
		<<set _growth -= 0.1>>
	<</if>>
	$possessive
	<<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 _growth > 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;$possessiveCap lips swell rapidly, becoming a facepussy useless for anything other than oral sex.@@
		<<elseif ($slaves[$i].lips > 70) && ($slaves[$i].lips <= 75)>>
			@@.lime;$possessiveCap lips swell rapidly, and are now so large that $pronoun can no longer enunciate properly.@@
		<<else>>
			@@.lime;$possessiveCap lips swell rapidly.@@
		<</if>>
		<<set $slaves[$i].lips += 5>>
	<</if>>

<<case "growth stimulants">>
	<<set $slaves[$i].chem += 2>>
	<<set _growth = 1>>
	$pronounCap 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 $possessive 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>>
		$possessiveCap 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 $pronoun'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">>
		$possessiveCap restricted diet means $possessive 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">>
		$possessiveCap growth is slightly inhibited by $possessive 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 == "XY" || $slaves[$i].diet == "XX" || $slaves[$i].diet == "XXY">>
		$possessiveCap growth is restrained by $possessive 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">>
		$possessiveCap growth is severely inhibited by $possessive 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>>
		$possessiveCap 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 > 80>>
		$possessiveCap perfect health greatly supports $possessive growth.
		<<set _growth += 0.2>>
	<<elseif $slaves[$i].health > -20>>
		$possessiveCap health supports $possessive growth.
	<<else>>
		$possessiveCap poor health hinders growth.
		<<set _growth-->>
	<</if>>
	/*if growth was accomplished*/
	<<if _growth > 0>>
		/*age modifier*/
		<<set _ageMod = 1>>
		<<if $slaves[$i].genes == "XY">>
			<<if $slaves[$i].pubertyXY == 0 && $slaves[$i].physicalAge <= 3>>
				$possessiveCap very young body responds extremely well to the treatment.
				<<set _ageMod = 2.5>>
			<<elseif $slaves[$i].pubertyXY == 0 && $slaves[$i].physicalAge > 3>>
				$possessiveCap young body eagerly responds to the stimulants.
				<<set _ageMod = 1.5>>
			<<elseif $slaves[$i].physicalAge <= ($slaves[$i].pubertyAgeXY + $pubertyLength)>>
				Due to $possessive recent puberty, $possessive body welcomes the treatment with open arms.
				<<set _ageMod = 2>>
			<<elseif $slaves[$i].physicalAge <= $maxGrowthAge>>
				With $possessive puberty concluded, $possessive body resists the stimulants.
				<<set _ageMod = 1>>
			<<else>>
				$possessiveCap 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>>
				$possessiveCap very young body responds extremely well to the treatment.
				<<set _ageMod = 2.5>>
			<<elseif $slaves[$i].pubertyXX == 0 && $slaves[$i].physicalAge > 3>>
				$possessiveCap young body eagerly responds to the stimulants.
				<<set _ageMod = 1.5>>
			<<elseif $slaves[$i].physicalAge <= ($slaves[$i].pubertyAgeXX + $pubertyLength)>>
				Due to $possessive recent puberty, $possessive body welcomes the treatment with open arms.
				<<set _ageMod = 2>>
			<<elseif $slaves[$i].physicalAge <= $maxGrowthAge>>
				With $possessive puberty concluded, $possessive body resists the stimulants.
				<<set _ageMod = 1>>
			<<else>>
				$possessiveCap 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 she 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>>
		<<set _growth = Math.round(Math.clamp(_growth,0,5))>>
		/*communicates the amount of growth*/
		<<if _growth < 1>> 												/*in case _heightDiff manages to bring _growth down enough*/
			Despite the treatment, $possessive height does not increase this week.
		<<elseif _growth == 1>>
			@@.lime;$possessiveCap height slightly increased this week.@@
		<<elseif _growth == 2>>
			@@.lime;$possessiveCap height increased this week.@@
		<<elseif _growth == 3>>
			@@.lime;$possessiveCap height greatly increased this week.@@
		<<elseif _growth == 4>>
			@@.lime;$possessiveCap height dramatically increased this week.@@
		<<elseif _growth == 5>>
			@@.lime;$possessiveCap body experienced explosive growth this week@@,
		<</if>>
		/*health issues*/
		<<if _growth == 5>>
			$possessive growth is so extreme that $possessive body can barely keep up, @@.red;severely damaging $possessive health.@@
			<<set $slaves[$i].health -= 20>>
		<</if>>
		<<if random(1,10) == 1 && _growth != 5>>
			the stimulants stressed $slaves[$i].slaveName's body more than expected, @@.red;damaging $possessive health.@@
			<<set $slaves[$i].health -= 10>>
		<</if>>
		<<if $slaves[$i].physicalAge > $maxGrowthAge>>
			<<if random(1,6) == 1>>
				Since $possessive body already concluded $possessive natural growth processes, the treatment @@.red;weakens $possessive considerably.@@
				<<set $slaves[$i].health -= 15>>
			<</if>>
		<</if>>
		/*updates slave's height*/
		<<set $slaves[$i].height += _growth>>
	/*if growth is zero or negative*/
	<<else>>
		Despite the treatment, $possessive height does not increase this week.
	<</if>>

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

<<case "female hormone injections">>
	<<if $slaves[$i].pubertyXX == 1>>
		$pronounCap has begun ovulating. @@.yellow;$possessiveCap drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<else>>
		The intense hormonal injections leave $object @@.red;sickened and weak@@ as $possessive body struggles to adapt to the overwhelming chemicals flooding $possessive system.
		<<set $slaves[$i].chem += 20>>
		<<set $slaves[$i].health -= 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].dick > 0)>>
		<<if (random(1,100) > _growth+($slaves[$i].dick*5))>>
			@@.lime;$possessiveCap cock grows painfully,@@ becoming both longer and girthier.
			<<set $slaves[$i].dick++>>
		<<else>>
			Despite being dosed with a spectrum of powerful growth promoters, $possessive 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;$possessive balls drop.@@
			<<set $slaves[$i].balls += 1>>
		<</if>>
		<</if>>
		<<if $slaves[$i].dick == 6>>
		<<if $slaves[$i].balls > 0>>
			@@.yellow;$possessiveCap dick is at the limit of what $possessive cardiovascular system could conceivably bring erect.@@ Further penis enhancement may limit $possessive ability to get hard.
		<</if>>
		<</if>>
	<<else>>
		<<if (random(1,100) > _growth-($slaves[$i].clit*10))>>
			@@.lime;$possessiveCap clit grows painfully,@@ becoming both longer and girthier.
			<<set $slaves[$i].clit++>>
		<<else>>
			Despite being dosed with a spectrum of powerful growth promoters, $possessive clit does not grow.
		<</if>>
	<</if>>

<<case "hyper penis enhancement">>
	<<if ($slaves[$i].dick > 0)>>
		$pronounCap receives @@.lime;direct injections of hyper growth hormones, right into $possessive dick.@@
		<<set $slaves[$i].chem += 2>>
		<<if ($slaves[$i].dick >= 30)>>
			$possessiveCap cock is now so huge that further drug enhancement will not increase its size. @@.yellow;$possessiveCap drug regimen has been ended.@@
			<<set $slaves[$i].drugs = "no drugs">>
		<<else>>
			@@.lime;$possessiveCap cock grows painfully,@@ becoming both longer and girthier.
			<<set $slaves[$i].dick += 1>>
		<</if>>
	<<else>>
		$pronounCap receives @@.lime;direct injections of hyper growth hormones, right into $possessive clit.@@
		<<set $slaves[$i].chem += 2>>
		<<if ($slaves[$i].clit == 5)>>
			$possessiveCap clit is now so huge that further drug enhancement will not increase its size. @@.yellow;$possessiveCap drug regimen has been ended.@@
			<<set $slaves[$i].drugs = "no drugs">>
		<<else>>
			@@.lime;$possessiveCap clit grows painfully,@@ becoming both longer and girthier.
			<<set $slaves[$i].clit += 1>>
		<</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 (random(1,100) > _growth+($slaves[$i].balls*5))>>
		@@.lime;$possessiveCap balls swell painfully.@@
		<<set $slaves[$i].balls++>>
	<<else>>
		Despite being filled with testicle enhancers and painfully swollen with resultant cum overproduction, $possessive balls do not grow.
	<</if>>
	<<if $slaves[$i].dick == 1>>
	<<if $slaves[$i].scrotum > 0>>
		As a side effect of the testicle enhancement drugs, @@.lime;$possessive micropenis grows,@@ becoming merely tiny.
		<<set $slaves[$i].dick++>>
	<</if>>
	<</if>>
	<</if>>

<<case "hyper testicle enhancement">>
	$pronounCap receives @@.lime;direct injections of hyper growth hormones, right into $possessive testicles;@@ forcing them to swell with cum overproduction.
	<<set $slaves[$i].chem += 2>>
	<<if ($slaves[$i].balls >= 125)>>
		$possessiveCap balls are now so immense that further drug enhancement will not increase their size. However, leaving her on them will still stimulate cum production.
	<<elseif ($slaves[$i].balls < 125)>>
		@@.lime;$possessiveCap balls swell painfully.@@
		<<set $slaves[$i].balls += 2>>
	<</if>>

<<case "steroids">>
	<<if ($slaves[$i].dick == 0) && (random(1,100) > 40+($slaves[$i].clit*10))>>
	The gear $pronoun's on @@.lime;increases the size of $possessive clit.@@
	<<set $slaves[$i].clit += 1>>
	<<elseif ($slaves[$i].dick != 0) && ($slaves[$i].dick < 3) && (random(1,100) > 95)>>
	The gear $pronoun's on @@.lime;increases the size of $possessive penis.@@
	<<set $slaves[$i].dick += 1>>
	<<elseif ($slaves[$i].faceShape != "masculine") && ($slaves[$i].faceShape != "androgynous") && (random(1,100) > 95)>>
	The gear $pronoun's on @@.orange;hardens $possessive 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 $pronoun's on @@.lime;increases the size of $possessive balls.@@
	<<set $slaves[$i].balls += 1>>
	<<elseif random(1,100) > 110-($slaves[$i].anus*10)>>
	The steroids $pronoun's on have an effect on $possessive stretched anal muscles, giving $object a @@.lime;tighter butthole.@@
	<<set $slaves[$i].anus -= 1>>
	<<elseif random(1,100) > 110-($slaves[$i].vagina*10)>>
	The steroids $pronoun's on have an effect on $possessive vaginal muscles, giving $object a @@.lime;tighter pussy.@@
	<<set $slaves[$i].vagina -= 1>>
	<<elseif ($slaves[$i].face-$slaves[$i].faceImplant > 10) && (random(1,100) > 90)>>
	The gear $pronoun's on @@.orange;hardens $possessive pretty face a little.@@
	<<set $slaves[$i].face -= 5>>
	<</if>>

<<case "anti-aging cream">>
	<<if ($slaves[$i].visualAge <= 18)>>
		$possessiveCap outward age has regressed to the point that the creams will have little effect. Since they can't be improved with further drug treatment, @@.yellow;$possessive drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<else>>
		The skin creams @@.lime;soothe $possessive aging skin@@ leaving $object 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>>
			$pronounCap @@.mediumaquamarine;trusts you more@@ for allowing $object to fit in better with society and not be singled out for $possessive looks.
			<<set $slaves[$i].trust += 2>>
		<</if>>
	<</if>>
	<<if $arcologies[0].FSMaturityPreferentialist != "unset">>
		<<if $slaves[$i].visualAge > 30>>
			$pronounCap is @@.gold;terrified@@ that $possessive fading age will single $object out for abuse in your society.
			<<set $slaves[$i].trust -= 2>>
		<</if>>
	<</if>>

<<case "super fertility drugs">>
	<<if $slaves[$i].pregKnown == 1>>
		$pronounCap's already pregnant, so the fertility drugs $pronoun's on do $object no good.
	<<elseif $slaves[$i].pregWeek < 0>>
		$pronounCap's still recovering from a recent pregnancy, so the fertility drugs $pronoun's on do $object little good.
	<<elseif ($slaves[$i].preg > 1)>>
		Despite being on intense fertility drugs, $pronoun shows no signs of increased fertility. Cursory tests reveal that @@.lime;$pronoun 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 $possessive asshole pregnant, limiting the potential impact of the fertility drugs $pronoun's on to $possessive boobs.
		<<else>>
			The fertility drugs $pronoun's on are pointless, since $pronoun's already lactating and it's impossible to impregnate $possessive butthole. That's no reason not to try, of course.
		<</if>>
	<<elseif ($slaves[$i].preg < -1)>>
		$pronounCap's sterile, so the fertility drugs $pronoun's on do $object no good.
	<<elseif ($slaves[$i].ovaries == 0) && ($slaves[$i].mpreg != 1)>>
		$pronounCap's barren, so the fertility drugs $pronoun's on do $object no good.
	<<elseif ($slaves[$i].pubertyXX == 0) && (($slaves[$i].ovaries == 1) || ($slaves[$i].mpreg == 1))>>
		$pronounCap's prepubescent, so the fertility drugs $pronoun's on do $object no good.
	<<elseif ($slaves[$i].preg == -1)>>
		$pronounCap's on contraceptives, so the fertility drugs $pronoun's on do $object no good.
	<<else>>
		$pronounCap's on super fertility drugs, so $pronoun is more likely to conceive, and will have multiple pregnancy.
	<</if>>
	<<if $slaves[$i].lactation == 0 && random(0,50) < $slaves[$i].health>>
		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>>
	<</if>>
	<<if $slaves[$i].attrXY < 100 && random(0,10) < $slaves[$i].health>>
		The hormonal changes produced by the fertility drugs cause $object 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>>
		The hormonal changes produced by the fertility drugs cause $object to @@.green;begin craving sex more.@@
		<<set $slaves[$i].energy += 2>>
	<</if>>

<<case "fertility drugs">>
	<<if $slaves[$i].pregKnown == 1>>
		$pronounCap's already pregnant, so the fertility drugs $pronoun's on do $object no good.
	<<elseif $slaves[$i].pregWeek < 0>>
		$pronounCap's still recovering from a recent pregnancy, so the fertility drugs $pronoun's on do $object little good.
	<<elseif ($slaves[$i].preg > 1)>>
		Despite being on intense fertility drugs, $pronoun shows no signs of increased fertility. Cursory tests reveal that @@.lime;$pronoun 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 $possessive asshole pregnant, limiting the potential impact of the fertility drugs $pronoun's on to $possessive boobs.
		<<else>>
			The fertility drugs $pronoun's on are pointless, since $pronoun's already lactating and it's impossible to impregnate $possessive butthole. That's no reason not to try, of course.
		<</if>>
	<<elseif ($slaves[$i].preg < -1)>>
		$pronounCap's sterile, so the fertility drugs $pronoun's on do $object no good.
	<<elseif ($slaves[$i].ovaries == 0) && ($slaves[$i].mpreg != 1)>>
		$pronounCap's barren, so the fertility drugs $pronoun's on do $object no good.
	<<elseif ($slaves[$i].pubertyXX == 0) && (($slaves[$i].ovaries == 1) || ($slaves[$i].mpreg == 1))>>
		$pronounCap's prepubescent, so the fertility drugs $pronoun's on do $object no good.
	<<elseif ($slaves[$i].preg == -1)>>
		$pronounCap's on contraceptives, so the fertility drugs $pronoun's on do $object no good.
	<<else>>
		$pronounCap's on fertility drugs, so $pronoun is more likely to conceive, and may experience multiple pregnancy.
	<</if>>
	<<if $slaves[$i].lactation == 0 && random(0,100) < $slaves[$i].health>>
		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>>
	<</if>>

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

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

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

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

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

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

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

<<case "breast redistributors">>
	$pronounCap receives @@.lime;direct injections of fat redistributors right into $possessive breasts,@@ causing $possessive body to begin moving fatty tissue from them to $possessive core.
	<<if ($slaves[$i].boobs-$slaves[$i].boobsImplant) <= 100>>
		$possessiveCap natural breast tissue is now so thin that further drug use will fail to shrink it further; @@.yellow;$possessive drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<elseif ($slaves[$i].weight >= 200)>>
		$pronounCap is now so immensely obese $possessive health is greatly at risk; @@.yellow;$possessive drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<elseif ($slaves[$i].boobs-$slaves[$i].boobsImplant) >= 20000>>
		@@.lime;$possessiveCap breasts shrink painfully,@@ becoming massively smaller while $possessive @@.orange;waistline swells tremendously.@@
		<<set $slaves[$i].boobs -= 2000>>
		<<set $slaves[$i].weight += 20>>
	<<elseif ($slaves[$i].boobs-$slaves[$i].boobsImplant) >= 10000>>
		@@.lime;$possessiveCap breasts shrink painfully,@@ becoming greatly smaller while $possessive @@.orange;waistline swells.@@
		<<set $slaves[$i].boobs -= 1000>>
		<<set $slaves[$i].weight += 10>>
	<<elseif ($slaves[$i].boobs-$slaves[$i].boobsImplant) >= 5000>>
		@@.lime;$possessiveCap breasts shrink painfully,@@ becoming smaller while $possessive @@.orange;waistline swells.@@
		<<set $slaves[$i].boobs -= 500>>
		<<set $slaves[$i].weight += 5>>
	<<elseif ($slaves[$i].boobs-$slaves[$i].boobsImplant) >= 1000>>
		@@.lime;$possessiveCap breasts shrink painfully,@@ becoming smaller while $possessive @@.orange;waistline grows.@@
		<<set $slaves[$i].boobs -= 300>>
		<<set $slaves[$i].weight += 3>>
	<<elseif ($slaves[$i].boobs-$slaves[$i].boobsImplant) > 100>>
		@@.lime;$possessiveCap breasts shrink painfully,@@ becoming smaller while $possessive @@.orange;waistline grows slightly.@@
		<<set $slaves[$i].boobs -= 100>>
		<<set $slaves[$i].weight += 1>>
	<</if>>

<<case "butt redistributors">>
	$pronounCap receives @@.lime;direct injections of fat redistributors right into $possessive buttocks,@@ causing $possessive body to begin moving fatty tissue from it to $possessive core.
	<<if ($slaves[$i].butt-$slaves[$i].buttImplant) <= 0>>
		$possessiveCap natural ass flesh is now so thin that further drug use will fail to shrink it further; @@.yellow;$possessive drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<elseif ($slaves[$i].weight >= 200)>>
		$pronounCap is now so immensely obese $possessive health is greatly at risk; @@.yellow;$possessive drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<<elseif ($slaves[$i].butt-$slaves[$i].buttImplant) >= 15>>
		@@.lime;$possessiveCap butt shrinks painfully,@@ becoming massively smaller while $possessive @@.orange;waistline swells tremendously.@@
		<<set $slaves[$i].butt -= 2>>
		<<set $slaves[$i].weight += 25>>
	<<elseif ($slaves[$i].butt-$slaves[$i].buttImplant) >= 10>>
		@@.lime;$possessiveCap butt shrinks painfully,@@ becoming smaller while $possessive @@.orange;waistline swells tremendously.@@
		<<set $slaves[$i].butt -= 1>>
		<<set $slaves[$i].weight += 20>>
	<<elseif (random(1,100) > (50-($injectionUpgrade*10)-($slaves[$i].butt-$slaves[$i].buttImplant))) && ($slaves[$i].butt-$slaves[$i].buttImplant) >= 0>>
		@@.lime;$possessiveCap butt shrinks painfully,@@ becoming smaller while $possessive @@.orange;waistline swells greatly.@@
		<<set $slaves[$i].butt -= 1>>
		<<set $slaves[$i].weight += 10>>
	<</if>>

<<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 $possessive breasts,@@ which, while enjoyable to the both of you, doesn't seem to be doing much.
	<<elseif $slaves[$i].assignment == "please you">>
		When ever you have a free moment you take that time to @@.coral;massage sag-B-gone into $possessive breasts,@@ which, while enjoyable, doesn't seem to be doing much.
	<<else>>
		$pronounCap is required to frequently @@.coral;massage sag-B-gone into $possessive 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 >= 40>>
		$pronounCap is full term; gestation restriction agents @@.red;can't suppress labor@@ and $possessive regimen is ended to prevent health damage.
		<<set $slaves[$i].pregControl = "none">>
	<<elseif $slaves[$i].preg >= 16>>
		$possessiveCap belly feels very docile, $possessive gestation rate is @@.coral;greatly reduced@@.
	<<elseif $slaves[$i].preg > 0>>
		$possessiveCap gestation rate is @@.coral;greatly reduced,@@ delaying how long it will be until her pregnancy is visible.
	<</if>>
<<case "speed up">>
	<<set $slaves[$i].chem += 2>>
	<<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>>
		$possessiveCap _childCount growing rapidly within $possessive womb, far faster than $possessive @@.red;poor body can handle.@@<<if $slaves[$i].pregType >= 10 && $slaves[$i].bellyPreg >= 100000>> $possessiveCap rate of growth is straining $possessive womb, she is @@.red;at risk of bursting!@@<</if>>
		<<set $slaves[$i].health -= ($slaves[$i].preg+$slaves[$i].pregType-$slaves[$i].bellySag)>>
		<<if $slaves[$i].health <= -100>>
			$possessiveCap 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 = -4, $slaves[$i].pregKnown = 0, WombFlush($slaves[$i])>><<SetBellySize $slaves[$i]>>
			<<if $slaves[$i].fetish != "mindbroken" && $slaves[$i].fuckdoll == 0>>
				$pronounCap is
				<<if $slaves[$i].devotion < -50>>
				  @@.mediumorchid;filled with violent, consuming hatred@@ and @@.gold;fear.@@ Even though $pronoun knew $possessive baby was destined for a slave orphanage, it seems $pronoun 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 $pronoun knew $possessive baby was destined for a slave orphanage, it seems $pronoun 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 $pronoun knew $possessive baby was destined for a slave orphanage, it seems $pronoun cared for it.
				  <<set $slaves[$i].devotion -= 5, $slaves[$i].trust -= 5>>
				<<elseif $slaves[$i].devotion <= 50>>
				  dully obedient. $pronounCap has been broken to slave life so thoroughly that even this is neither surprising nor affecting.
				<<else>>
				  @@.hotpink;pleased by this stark development@@, since $pronoun is so attentive to your will. $pronounCap also expects $pronoun will be able to fuck better now once her health recovers.
				  <<set $slaves[$i].devotion += 4>>
				<</if>>
			<</if>>
		<</if>>
	<</if>>
<<case "labor supressors">>
	<<set $slaves[$i].chem += 2>>
 	<<if WombBirthReady($slaves[$i], 60) > 0>>
		<<set $slaves[$i].health -= 20>>
		<<set $slaves[$i].labor = 1>>
		<<set $slaves[$i].induce = 1>>
		<<set $birthee = 1>>
		$pronounCap has been ready to give birth for some time now. Supressing birth for so long @@.red;greatly affects $possessive health.@@ $pronounCap may @@.red;have trouble@@ giving birth to $possessive oversized child<<if $slaves[$i].pregType > 1>>ren<</if>>. $pronounCap seems to be in distress, $possessive body is @@.red;forcing $possessive child<<if $slaves[$i].pregType > 1>>ren<</if>> out!@@
 	<<elseif WombBirthReady($slaves[$i], 50) > 0>>
		<<set $slaves[$i].health -= 20>>
		$pronounCap has been ready to give birth for some time now. Supressing birth for so long @@.red;greatly affects $possessive health.@@ $pronounCap may @@.red;have trouble@@ giving birth to $possessive oversized child<<if $slaves[$i].pregType > 1>>ren<</if>>.
	<<elseif WombBirthReady($slaves[$i], 40) > 0>>
		<<set $slaves[$i].health -= 10>>
		Labor suppressing agents @@.red;negatively affect $possessive health.@@
	<</if>>
<</switch>>

<<if $slaves[$i].curatives > 1>>
	<<if ($slaves[$i].health > 90)>>
		$possessiveCap health is already outstanding and cannot be improved with further drug treatment. @@.yellow;$possessiveCap 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")>>
		The curatives $pronoun's taking synergize with rest, keeping $object asleep most of the time. This is an @@.green;extremely effective health treatment.@@
		<<set $slaves[$i].health += 4>>
	<<elseif ($slaves[$i].health < -20)>>
		@@.green;$possessiveCap poor health rapidly improves@@ under drug treatment.
		<<set $slaves[$i].health += 2>>
	<<else>>
		@@.green;$possessiveCap health improves@@ under curative treatment.
	<</if>>
	<<if $slaves[$i].fuckdoll == 0>>
	<<if $slaves[$i].fetish != "mindbroken">>
		$pronounCap @@.mediumaquamarine;trusts you more@@ for giving $object access to expensive modern medicine.
		<<set $slaves[$i].trust += 1>>
	<</if>>
	<</if>>
	<<set $slaves[$i].health += 6>>
	<<set $slaves[$i].health += $curativeUpgrade*6>>
	<<set $slaves[$i].chem += 1>>
<</if>>

<<if $slaves[$i].aphrodisiacs > 0>>
<<if $slaves[$i].aphrodisiacs > 1>>
	The aphrodisiacs $pronoun's on
	<<if $slaves[$i].energy <= 95>>
		@@.green;rapidly boost $possessive sex drive.@@
		<<set $slaves[$i].energy += 5>>
	<<else>>
		can't improve her absurd sex drive.
	<</if>>
	<<if $slaves[$i].fuckdoll == 0>>
	<<if $slaves[$i].fetish != "mindbroken">>
		They @@.hotpink;increase $possessive acceptance@@ of sexual slavery.
		<<set $slaves[$i].devotion += 5>>
	<</if>>
	<</if>>
	<<if ($arcologies[0].FSBodyPuristLaw == 0) && ($healthyDrugsUpgrade == 0)>>
		Such a high dosage @@.red;isn't healthy.@@
		<<set $slaves[$i].health -= 5>>
	<</if>>
	<<set $slaves[$i].chem += 1>>
<<else>>
	The aphrodisiacs $pronoun's on
	<<if $slaves[$i].energy <= 95>>
		@@.green;boost $possessive sex drive.@@
		<<set $slaves[$i].energy += 3>>
	<<else>>
		can't improve her absurd sex drive.
	<</if>>
	<<if $slaves[$i].fuckdoll == 0>>
	<<if $slaves[$i].fetish != "mindbroken">>
		They @@.hotpink;increase $possessive acceptance@@ of sexual slavery.
		<<set $slaves[$i].devotion += 3>>
	<</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 $slaves[$i].health -= random(3,5), _intensive = 0>>
<</if>>

<<if $slaves[$i].curatives < 2 && $slaves[$i].inflationType != "curative" && $slaves[$i].assignment != "get treatment in the clinic">>
<<if $slaves[$i].health < -50>>
	It's difficult being so ill, and $pronoun @@.mediumorchid;resents you@@ for not treating $possessive.
	<<set $slaves[$i].devotion -= 2>>
<<elseif ($slaves[$i].health > 50)>>
	<<if $slaves[$i].fuckdoll == 0>>
	<<if $slaves[$i].fetish != "mindbroken">>
		$pronounCap understands that $pronoun owes $possessive 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>>

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

<<if $slaves[$i].fuckdoll == 0 && $slaves[$i].fetish != "mindbroken">>
<<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].sexualFlaw == "hates anal")>>
	<<if random(1,100) > 80>>
		Getting buttfucked morning and night by reciprocating dildos that ejaculate $possessive drug regime forces $object 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 $possessive drug regime @@.mediumorchid;infuriates $object,@@ since $pronoun 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 $possessive drug regime has revealed something: @@.lightcoral;$pronoun 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 $possessive drug regime has @@.lightcoral;deepened $possessive 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 $possessive drug regime @@.mediumorchid;disgusts $object.@@
		<<set $slaves[$i].devotion -= 2>>
	<<elseif $fetishChangeChance > random(0,100)>>
		$pronounCap starts to look forward to getting buttfucked morning and night by reciprocating dildos that ejaculate $possessive drug regime; $pronoun's @@.lightcoral;become anally fixated.@@
		<<set $slaves[$i].fetish = "buttslut">>
		<<set $slaves[$i].fetishKnown = 1>>
		<<set $slaves[$i].fetishStrength = 10>>
	<</if>>
	<</if>>
	<<if ($slaves[$i].sexualQuirk == "painal queen")>>
	$pronounCap @@.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 $possessive tight asshole.@@
		<<set $slaves[$i].anus += 1>>
	<</if>>
	<</if>>
<</if>>
<</if>>
<</if>>

/* DRUG EXPIRY */
<<switch $slaves[$i].drugs>>
<<case "growth stimulants">>
	<<set _maxHeight = Math.trunc(Math.clamp((Height.mean($slaves[$i]) * 1.25),0,274))>>	/*max achievable height is expected height plus 25%*/
	<<if  $slaves[$i].height >= _maxHeight>>
		$possessiveCap body has already grown far past $possessive natural limits; further injections of stimulants will have no effect. @@.yellow;$possessiveCap drug regimen has been ended.@@
		<<set $slaves[$i].height = Math.clamp($slaves[$i].height,0,_maxHeight), $slaves[$i].drugs = "no drugs">>
	<</if>>
<<case "breast injections" "intensive breast injections">>
	<<if $slaves[$i].boobs >= 50000>>
		$possessiveCap udders are now so huge that further A-HGH treatment will not increase their size. @@.yellow;$possessiveCap drug regimen has been ended.@@
		<<set $slaves[$i].boobs = Math.clamp($slaves[$i].boobs,0,50000), $slaves[$i].drugs = "no drugs">>
	<</if>>
<<case "butt injections" "intensive butt injections">>
	<<if ($slaves[$i].butt >= 10)>>
		$possessiveCap ass is now so huge that further A-HGH treatment will not increase its size. @@.yellow;$possessiveCap drug regimen has been ended.@@
		<<set $slaves[$i].butt = Math.clamp($slaves[$i].butt,0,10), $slaves[$i].drugs = "no drugs">>
	<</if>>
<<case "hyper butt injections">>
	<<if $slaves[$i].butt >= 20>>
		$possessiveCap ass is now so freakishly monstrous that further HA-HGH treatment will not increase its size. @@.yellow;$possessiveCap drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<</if>>
<<case "hyper breast injections">>
	<<if ($slaves[$i].boobs >= 50000)>>
		$possessiveCap udders are now so huge that further HA-HGH treatment will not increase their size. @@.yellow;$possessiveCap 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))>>
		$possessiveCap lips are now so huge that further A-HGH treatment will not increase their size. @@.yellow;$possessiveCap drug regimen has been ended.@@
		<<set $slaves[$i].drugs = "no drugs">>
	<</if>>
<<case "penis enhancement" "intensive penis enhancement">>
	<<if ($slaves[$i].dick >= 10)>>
		$possessiveCap cock is now so huge that further drug enhancement will not increase its size. @@.yellow;$possessiveCap 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>>
		$possessiveCap clit is now so huge that further drug enhancement will not increase its size. @@.yellow;$possessiveCap 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)>>
		$possessiveCap balls are now so huge that further drug enhancement will not increase their size. However, leaving $object on them will still stimulate cum production.
	<<elseif ($slaves[$i].balls >= 2) && ($slaves[$i].scrotum == 0)>>
		$possessiveCap balls are now functionally sized, and cannot sustainably grow larger hidden within $possessive abdomen. @@.yellow;$possessiveCap drug regimen has been ended.@@
		<<set $slaves[$i].balls = Math.clamp($slaves[$i].balls,0,2), $slaves[$i].drugs = "no drugs">>
	<</if>>
<<case "psychosuppressants">>
	<<if ($slaves[$i].intelligence <= -2)>>
	$pronounCap is so moronic that drug treatment can't really make $object more willing to obey others than $pronoun already is. @@.yellow;$possessiveCap drug regimen has been ended.@@
	<<set $slaves[$i].drugs = "no drugs">>
	<</if>>
<</switch>>

license: mit


code:
:: SA get milked [nobr]

<!-- Statistics gathering -->
<<set _incomeStats = getSlaveStatisticData($slaves[$i], $slaves[$i].assignment === Job.DAIRY ? $facility.dairy : undefined)>>
<<set _incomeStats.milk = 0; _incomeStats.cum = 0; _incomeStats.fluid = 0>>

<<if ndef $slaves[$i].lactationAdaptation>>
	<<set $slaves[$i].lactationAdaptation = 0>>
<</if>>

<<set $milk = 0>>
<<set $cum = 0>>

gets milked this week.
<<if $dairy > 0>>
<<if $dairyRestraintsSetting < 2>>
	<<if (($universalRulesFacilityWork == 1) && ($slaves[$i].assignment == "get milked") && ($dairySpots > 0)) || ($slaves[$i].assignment == "work in the dairy")>>
	<<if ($slaves[$i].assignment == "get milked")>>
		Since there's extra space in $dairyName, she spends most of her milkings there.
		<<set $dairySpots -= 1>>
	<</if>>
	<<if ($Milkmaid != 0)>>
		While there, she gets the benefit of $Milkmaid.slaveName's <<if ($Milkmaid.physicalAge < 21)>>youthful energy<<else>>care<</if>><<if ($Milkmaid.oralSkill >= 100)>> and talented tongue<</if>>.
		<<if ($slaves[$i].devotion < $milkmaidDevotionThreshold)>>
			<<set $slaves[$i].devotion += $milkmaidDevotionBonus>>
		<</if>>
		<<if ($slaves[$i].trust < $milkmaidTrustThreshold)>>
			<<set $slaves[$i].trust += $milkmaidTrustBonus>>
		<</if>>
		<<if ($slaves[$i].health < 100)>>
			<<set $slaves[$i].health += $milkmaidHealthBonus>>
		<</if>>
	<</if>>
	<</if>>
<</if>>
<</if>>

<<if $slaves[$i].lactation > 0>>

	<<set $milk = milkAmount($slaves[$i])>>

	She produces from her <<print either("tits", "breasts", "mammaries", "udders", "boobs")>>, which have a combined volume of <<print $slaves[$i].boobs*2>> CCs;
	<<if ($slaves[$i].lactation == 1)>>
		she is lactating naturally and produces a healthy stream of milk.
	<<elseif ($slaves[$i].lactation == 2)>>
		she is on lactation drugs and produces a river of milk.
		<<if $slaves[$i].lactationAdaptation < 100>>
			Her udders are forced to adapt to this unnatural productivity.
			<<set $slaves[$i].lactationAdaptation += 1>>
		<</if>>
		<<if $slaves[$i].curatives == 0 && $slaves[$i].inflationType != "curative">>
			The stress of extreme milk production @@.red;damages her health.@@
			<<set $slaves[$i].health -= 3>>
		<</if>>
	<</if>>

	<<if ($slaves[$i].devotion > 50)>>
		She's such a happy cow that her mental state has a positive impact on her production.
	<<elseif ($slaves[$i].devotion < -50)>>
		She's such an unhappy cow that her mental state has a negative impact on her production.
	<</if>>

	<<if ($slaves[$i].boobsImplant > 200)>>
		However, her breast implants impede milk production.
	<</if>>

	<<set $hormones = $slaves[$i].hormoneBalance/100>>
	<<if ($slaves[$i].balls != 0) && ($hormones < -20)>>
		<<set $hormones -= 1>>
	<</if>>
	<<if (($slaves[$i].ovaries != 0) || ($slaves[$i].mpreg != 0)) && ($hormones > 20)>>
		<<set $hormones += 1>>
	<</if>>
	<<if ($hormones > 1)>>
		Her internal chemistry is perfectly suited to milk production.
	<<elseif ($hormones > 0)>>
		Her hormonal balance favors milk production.
	<<elseif ($hormones < 0)>>
		Her hormonal balance impedes milk production.
	<<elseif ($hormones < -1)>>
		Her internal chemistry is poorly suited to milk production.
	<</if>>

	<<if $slaves[$i].lactationAdaptation < 100>>
	<<if ($slaves[$i].assignment == "get milked") || ($slaves[$i].assignment == "work in the dairy")>>
		Living as a cow helps her body and mind adapt to producing milk.
		<<set $slaves[$i].lactationAdaptation += 1>>
	<</if>>
	<</if>>

	<<if ($slaves[$i].preg > 5) && ($slaves[$i].pregKnown == 1)>>
		Her pregnancy helps her body produce more milk naturally<<if $slaves[$i].lactationAdaptation < 100>>, and also helps it adapt to milk production<<set $slaves[$i].lactationAdaptation += 1>><</if>>.
	<</if>>

	<<if ($slaves[$i].health > 50)>>
		Her shining health helps her really produce.
	<<elseif ($slaves[$i].health < -50)>>
		Her poor health impedes milk production.
	<</if>>

	<<if ($slaves[$i].weight > 10)>>
		Her extra weight supports her productivity.
	<<elseif ($slaves[$i].weight < -10)>>
		Her thinness hinders her productivity.
	<</if>>

	<<if $slaves[$i].lactationAdaptation > 10>>
	<<if $slaves[$i].lactationAdaptation > 50>>
		Her body has adapted heavily to milk production, making her extremely productive.
	<<else>>
		Her body has gotten used to producing milk, making her very productive.
	<</if>>
	<</if>>

	<<if $dairySlimMaintainUpgrade == 1>>
	<<if $dairySlimMaintain == 1>>
		<<if ($slaves[$i].boobs <= 700)>>
			<<if ($arcologies[0].FSSlimnessEnthusiast > 80)>>
				Your arcology's milkers are optimized to extract maximum output from small breasted slaves, which substantially increases her otherwise modest productivity.
				<<set $milk *= 1.5>>
			<<elseif ($arcologies[0].FSSlimnessEnthusiast > 20)>>
				Your arcology's milkers have been carefully modified to more readily accommodate slaves with tiny breasts, which slightly mitigates her less than ideal physiology for milk production.
				<<set $milk *= 1.1>>
			<</if>>
		<</if>>
	<</if>>
	<</if>>

	<<if ($slaves[$i].assignment == "work in the dairy")>>
		<<if ($dairyFeedersUpgrade == 1)>>
		<<if ($dairyFeedersSetting > 0)>>
			<<set $milk += $milk*(0.1*($dairyFeedersUpgrade+$dairyRestraintsSetting+((50-$slaves[$i].physicalAge)/20)))>>
			<<if ($slaves[$i].chem > 360)>>
				<<set $milk *= 0.6>>
			<<elseif ($slaves[$i].chem > 100)>>
				<<set $milk *= ((600-$slaves[$i].chem)/600)>>
			<</if>>
		<</if>>
		<</if>>
	<<elseif ($slaves[$i].assignment == "be confined in the arcade")>>
		<<set $milk *= 0.5>>
	<</if>>

	<<set $milk *= $servantMilkersMultiplier>>

	<<set $milk = Math.trunc($milk)>>
	<<if $milk < 1>>
		<<set $milk = 1>>
	<</if>>
	<<set $slaves[$i].milk += $milk>>
	<<set $milkTotal += $milk>>

	As a result, she produces $milk liters of milk over the week.
	<<set _incomeStats.milk = $milk>>

	<<if ($arcologies[0].FSPastoralistLaw == 1)>>
		<<set $milkSale = $milk*(8+Math.trunc($arcologies[0].FSPastoralist/30))>>
		Since breast milk is $arcologies[0].name's only legal dairy product, she can scarcely be milked fast enough, and she makes @@.yellowgreen;<<print cashFormat($milkSale)>>.@@
	<<elseif ($arcologies[0].FSPastoralist != "unset")>>
		<<set $milkSale = $milk*(6+Math.trunc($arcologies[0].FSPastoralist/30))>>
		Since milk is fast becoming a major part of the $arcologies[0].name's dietary culture, her milk is in demand, and she makes @@.yellowgreen;<<print cashFormat($milkSale)>>.@@
	<<else>>
		<<set $milkSale = $milk*6>>
		Her milk is sold for @@.yellowgreen;<<print cashFormat($milkSale)>>.@@
	<</if>>
	<<set $cash += $milkSale>>
	<<set _incomeStats.income += $milkSale>>

	<<if $slaves[$i].fetishKnown>>
	<<if ($slaves[$i].fetish == "boobs") || ($slaves[$i].energy > 95)>>
		Getting constantly milked is as good as sex, as far as she's concerned. @@.hotpink;She is happy@@ to have her breasts receive so much attention.
		<<set $slaves[$i].devotion += 1>>
		<<if $slaves[$i].need>><<set $slaves[$i].need = 0>><</if>>
	<</if>>
	<</if>>

	<<if $slaves[$i].career == "a dairy cow" && $slaves[$i].fetish != "mindbroken" && $slaves[$i].fuckdoll == 0>>
		She feels like @@.hotpink;she was made to be milked,@@ @@.mediumaquamarine;not that she'd complain about such a good feeling.@@
		<<set $slaves[$i].devotion++, $slaves[$i].trust++>>
		<<if $slaves[$i].need>><<set $slaves[$i].need = 0>><</if>>
	<</if>>

	<<if ($slaves[$i].lactation > 1)>>
		<<if ($slaves[$i].nipples != "huge")>>
		<<if ($slaves[$i].nipples == "inverted")>>
			<<if ($slaves[$i].fetish == "masochist") && ($slaves[$i].fetishKnown == 1)>>
			Having the milkers constantly haul her inverted nipples out is @@.hotpink;extremely uncomfortable; she loves it.@@
			<<set $slaves[$i].devotion += 3>>
			<<else>>
			Having the milkers constantly haul her inverted nipples out is @@.mediumorchid;extremely uncomfortable.@@
			<<set $slaves[$i].devotion -= 3>>
			<</if>>
			<<if (random(1,100) > 50)>>
			The constant suction @@.lime;permanently protrudes them,@@ and
			<<if (random(1,2) == 1)>>
				it turns out they're absolutely massive.
				<<set $slaves[$i].nipples = "huge">>
			<<else>>
				it turns out they're nice and puffy.
				<<set $slaves[$i].nipples = "puffy">>
			<</if>>
			<</if>>
		<<elseif ($slaves[$i].nipples == "partially inverted")>>
			<<if ($slaves[$i].fetish == "masochist") && ($slaves[$i].fetishKnown == 1)>>
			Having the milkers constantly haul her inverted nipples out is @@.hotpink;quite uncomfortable; she loves it.@@
			<<set $slaves[$i].devotion += 1>>
			<<else>>
			Having the milkers constantly haul her inverted nipples out is @@.mediumorchid;quite uncomfortable.@@
			<<set $slaves[$i].devotion -= 1>>
			<</if>>
			<<if (random(1,100) > 30)>>
			The constant suction @@.lime;permanently protrudes them,@@ and
			<<if (random(1,2) == 1)>>
				it turns out they're pretty cute.
				<<set $slaves[$i].nipples = "cute">>
			<<else>>
				it turns out they're nice and puffy.
				<<set $slaves[$i].nipples = "puffy">>
			<</if>>
			<</if>>
		<<elseif ($slaves[$i].nipples == "puffy") && (random(1,100) > 90)>>
			Producing this river of milk @@.lime;enlarges her nipples:@@ they're now enormous.
			<<set $slaves[$i].nipples = "huge">>
		<<elseif ($slaves[$i].nipples == "cute") && (random(1,100) > 80)>>
			Producing this river of milk @@.lime;makes her nipples nice and puffy.@@
			<<set $slaves[$i].nipples = "puffy">>
		<<elseif ($slaves[$i].nipples == "tiny")>>
			Producing this river of milk @@.lime;makes her nipples grow to a nice size.@@
			<<set $slaves[$i].nipples = "cute">>
		<<elseif ($slaves[$i].areolae < 3) && (random(1,100) > 30+($slaves[$i].areolae*20))>>
			Producing this river of milk @@.lime;broadens her areolae.@@
			<<set $slaves[$i].areolae += 1>>
		<</if>>
		<</if>>
	<<else>>
		<<if ($slaves[$i].nipples != "huge")>>
		<<if ($slaves[$i].nipples == "inverted")>>
			<<if ($slaves[$i].fetish == "masochist") && ($slaves[$i].fetishKnown == 1)>>
			Having the milkers constantly haul her inverted nipples out is @@.hotpink;extremely uncomfortable; she loves it.@@
			<<set $slaves[$i].devotion += 3>>
			<<else>>
			Having the milkers constantly haul her inverted nipples out is @@.mediumorchid;extremely uncomfortable.@@
			<<set $slaves[$i].devotion -= 3>>
			<</if>>
			<<if (random(1,100) > 50)>>
			The constant suction @@.lime;permanently protrudes them,@@ and
			<<if (random(1,2) == 1)>>
				it turns out they're absolutely massive.
				<<set $slaves[$i].nipples = "huge">>
			<<else>>
				it turns out they're nice and puffy.
				<<set $slaves[$i].nipples = "puffy">>
			<</if>>
			<</if>>
		<<elseif ($slaves[$i].nipples == "partially inverted")>>
			<<if ($slaves[$i].fetish == "masochist") && ($slaves[$i].fetishKnown == 1)>>
			Having the milkers constantly haul her inverted nipples out is @@.hotpink;quite uncomfortable; she loves it.@@
			<<set $slaves[$i].devotion += 1>>
			<<else>>
			Having the milkers constantly haul her inverted nipples out is @@.mediumorchid;quite uncomfortable.@@
			<<set $slaves[$i].devotion -= 1>>
			<</if>>
			<<if (random(1,100) > 30)>>
			The constant suction @@.lime;permanently protrudes them,@@ and
			<<if (random(1,2) == 1)>>
				it turns out they're pretty cute.
				<<set $slaves[$i].nipples = "cute">>
			<<else>>
				it turns out they're nice and puffy.
				<<set $slaves[$i].nipples = "puffy">>
			<</if>>
			<</if>>
		<<elseif ($slaves[$i].nipples == "tiny") && (random(1,100) > 50)>>
			Producing milk @@.lime;makes her nipples grow to a nice size.@@
			<<set $slaves[$i].nipples = "cute">>
		<</if>>
		<</if>>
	<</if>>

<</if>> /* CLOSES BREAST MILKING */

<<if ($slaves[$i].balls > 0)>>

	<<set $cumSlaves += 1>>
	<<set $cum = cumAmount($slaves[$i])>>

	<<if $slaves[$i].lactation > 0>>
		Her
	<<else>>
		$slaves[$i].slaveName's
	<</if>>

	<<if $slaves[$i].dick > 0>>
		<<if ($slaves[$i].dick > 6)>>
			inhuman
		<<elseif ($slaves[$i].dick > 5)>>
			massive
		<<elseif ($slaves[$i].dick > 4)>>
			big
		<<elseif ($slaves[$i].dick > 3)>>
			sizeable
		<<elseif ($slaves[$i].dick > 2)>>
			moderate
		<<elseif ($slaves[$i].dick > 1)>>
			little
		<<else>>
			tiny
		<</if>>
		prick is
		<<if $slaves[$i].lactation > 0>>
			also
		<</if>>
		machine-milked
	<<else>>
		butt is machine-fucked
	<</if>>
	to extract the cum from her
	<<if !$slaves[$i].scrotum>>
		invisible
	<<else>>
		<<switch $slaves[$i].balls>>
		<<case 10>>inhuman
		<<case 9>>titanic
		<<case 8>>gigantic
		<<case 7>>monstrous
		<<case 6>>huge
		<<case 5>>pendulous
		<<case 4>>swinging
		<<case 3>>big
		<<case 2>>average
		<<case 1>>pathetic
		<<default>>hypertrophied
		<</switch>>
	<</if>>
	<<if $slaves[$i].drugs == "testicle enhancement">>
		balls, relieving them of the excessive cum production caused by the testicle enhancement drugs.
	<<elseif $slaves[$i].drugs == "hyper testicle enhancement">>
		balls, relieving them of the excessive cum production caused by the hyper testicle enhancement drugs.
	<<else>>
		balls.
	<</if>>

	<<if $slaves[$i].diet == "cum production">>
		Her diet is designed for cum production.
	<</if>>

	<<set $hormones = $slaves[$i].hormoneBalance/50>>
	<<if $hormones < -1>>
		Her internal chemistry is perfectly suited to cum production.
	<<elseif $hormones < 0>>
		Her hormonal balance favors cum production.
	<<elseif $hormones > 0>>
		Her hormonal balance impedes cum production.
	<<elseif $hormones > 1>>
		Her internal chemistry is poorly suited to cum production.
	<</if>>

	<<if $slaves[$i].scrotum == 0>>
		She does produce cum despite her apparent ballslessness, but less than she would if they weren't hidden inside her.
	<</if>>

	<<if $slaves[$i].prostate>>
		<<if $slaves[$i].prostate > 2>>
			Her heavily altered prostate greatly increases the volume of her ejaculations and promotes excessive, watery semen production. This dilute ejaculate @@.red;sells poorly@@ compared to normal cum.
		<<elseif $slaves[$i].prostate > 1>>
			Her hyperactive prostate increases the volume of her ejaculations and promotes good semen production.
		<</if>>
	<<else>>
		Her lack of a prostate reduces the health and volume of her ejaculations.
	<</if>>

	<<if ($slaves[$i].devotion > 50)>>
		She's so happy that her mental state has a positive impact on her semen production.
	<<elseif ($slaves[$i].devotion < -50)>>
		She's so unhappy that her mental state has a negative impact on her semen production.
	<</if>>

	<<if ($slaves[$i].health > 50)>>
		Her shining health helps her really produce.
	<<elseif ($slaves[$i].health < -50)>>
		Her poor health impedes semen production.
	<</if>>

	<<if $slaves[$i].vasectomy == 1>>
		Her cum lacks the primary ingredient, sperm, thanks to her vasectomy, @@.red;considerably lowering the value@@ of her ejaculate.
	<</if>>

	<<if ($slaves[$i].assignment == "work in the dairy")>>
		<<if ($dairyStimulatorsUpgrade == 1)>>
			<<if ($dairyStimulatorsSetting > 0)>>
				<<set $cum += $cum*(0.2*($dairyStimulatorsSetting+$dairyRestraintsSetting+Math.trunc((50-$slaves[$i].physicalAge)/20)))>>
			<</if>>
			<<if ($slaves[$i].chem > 360)>>
				<<set $cum = Math.trunc($cum*0.6)>>
			<<elseif ($slaves[$i].chem > 100)>>
				<<set $cum = Math.trunc($cum*((600-$slaves[$i].chem)/600))>>
			<</if>>
		<<elseif ($Milkmaid != 0)>>
			<<if ($Milkmaid.dick > 4) && canAchieveErection($Milkmaid)>>
				$Milkmaid.slaveName sometimes stands in for the machines, which is a polite way of saying she sometimes fucks $slaves[$i].slaveName's ass to help her cum.
				<<set $cum += $cum*0.2>>
			<</if>>
		<</if>>
	<<elseif ($slaves[$i].assignment == "be confined in the arcade")>>
		<<set $cum = $cum*0.5>>
	<</if>>

	<<set $cum = Math.trunc($cum)>>
	<<if $cum < 1>>
		<<set $cum = 1>>
	<</if>>
	<<set $slaves[$i].cum += $cum>>
	<<set $cumTotal += $cum>>
	<<set _incomeStats.cum = $cum>>

	<<if ($arcologies[0].FSPastoralist == "unset")>>
		<<set _cumSale = ($cum*random(15,25))>>
		<<if  $slaves[$i].vasectomy == 1>><<set _cumSale *= 0.2>><<elseif $slaves[$i].prostate == 3>><<set _cumSale *= 0.5>><</if>>
		She produces <<print $cum>> deciliters of cum over the week; the fresh ejaculate is sold for @@.yellowgreen;<<print cashFormat(_cumSale)>>.@@
	<<elseif $arcologies[0].FSPastoralistLaw == 1>>
		<<set _cumSale = ($cum*(random(20,40)))>>
		<<if  $slaves[$i].vasectomy == 1>><<set _cumSale *= 0.2>><<elseif $slaves[$i].prostate == 3>><<set _cumSale *= 0.5>><</if>>
		She produces <<print $cum>> deciliters of cum over the week; the fresh ejaculate, which is in extremely high demand as one of $arcologies[0].name's few legal sources of animal protein, is sold for @@.yellowgreen;<<print cashFormat(_cumSale)>>.@@
	<<else>>
		<<set _cumSale = ($cum*(random(10,20)+Math.trunc($arcologies[0].FSPastoralist/10)))>>
		<<if  $slaves[$i].vasectomy == 1>><<set _cumSale *= 0.2>><<elseif $slaves[$i].prostate == 3>><<set _cumSale *= 0.5>><</if>>
		She produces <<print $cum>> deciliters of cum over the week; the fresh ejaculate, which is in high demand given the new cultural preference for slave products, is sold for @@.yellowgreen;<<print cashFormat(_cumSale)>>.@@
	<</if>>
	<<set $cash += _cumSale>>
	<<set _incomeStats.income += _cumSale>>

	<<if ($slaves[$i].energy > 95)>>
		Getting her dick constantly milked is almost as good as getting constant blowjobs as far as she's concerned. @@.hotpink;She is happy@@ to have her member receive so much attention.
		<<set $slaves[$i].devotion += 1>>
	<</if>>

	<<if $slaves[$i].need>>
		Her cock and balls are milked so thoroughly that she's involuntarily sexually sated, regardless of her feelings and tastes.
		<<set $slaves[$i].need = 0>>
	<</if>>

	<<if !canAchieveErection($slaves[$i])>>
		Since she cannot maintain an erection, she requires @@.gold;painful@@ and @@.mediumorchid;degrading@@ anal electrostimulation to produce.
		<<set $slaves[$i].devotion -= 2>>
		<<set $slaves[$i].trust -= 2>>
		<<if ($slaves[$i].anus == 0)>>
			The electrostimulator @@.lime;breaks in her virgin asshole.@@
			<<set $slaves[$i].anus = 1>>
		<</if>>
	<<elseif ($slaves[$i].devotion <= 20)>>
		Since she's unaroused by her situation, she requires @@.gold;painful@@ and @@.mediumorchid;degrading@@ anal electrostimulation to produce.
		<<set $slaves[$i].devotion -= 2>>
		<<set $slaves[$i].trust -= 2>>
		<<if ($slaves[$i].anus == 0)>>
			The electrostimulator @@.lime;breaks in her virgin asshole.@@
			<<set $slaves[$i].anus = 1>>
		<</if>>
	<</if>>

	<<if ($slaves[$i].balls < 3)>>
		<<if ($slaves[$i].balls < 2)>>
			<<if (random(1,100) > 70)>>
				Constant semen production and continual emptying and refilling @@.lime;increases the size of her tiny testicles.@@
				<<set $slaves[$i].balls += 1>>
			<</if>>
		<<elseif (random(1,100) > 90)>>
			Constant semen production and continual emptying and refilling @@.lime;increases the size of her small testicles.@@
			<<set $slaves[$i].balls += 1>>
		<</if>>
	<</if>>

<</if>> /* CLOSES COCK MILKING */

<<if $slaves[$i].genes == "XX" && $slaves[$i].prostate > 0 && $slaves[$i].balls == 0 >>
	Her female prostate fluid is considered an exotic delicacy.
	<<set $fluid = $slaves[$i].prostate * $slaves[$i].energy/5 + 1 >>
	<<if $slaves[$i].energy > 10 >>
		<<if $slaves[$i].health > 50 >>
			<<if $slaves[$i].energy > 90 >>
				As a nympho, she has no trouble orgasming almost constantly.
			<</if>>
			<<set $fluid = $fluid*$slaves[$i].health/50 >>
			Her shining health keeps her juices flowing.
		<<elseif $slaves[$i].health < -50 >>
			<<set $fluid = $fluid * (1 + $slaves[$i].health/50) >>
			She is so unwell, she produces less than normal.
		<</if>>
	<<else>>
		/* $slaves[$i].energy <= 10 */
		Unfortunately, she is frigid and rarely reaches orgasm in spite of the intense automatic stimulation.
	<</if>>
	<<set $fluid = Math.clamp(Math.trunc($fluid),1,1000) >>
	<<set _incomeStats.fluid = $fluid>>
	<<print $fluid >> deciliters of uncommon ejaculate is gathered during her milkings.
	<<set $fluidSale = $fluid*random(40,50) >>
	<<if $arcologies[0].FSPastoralist != "unset" && $arcologies[0].FSPastoralist > 30 >>
		<<set $fluidSale = Math.trunc($fluidSale*(1 + ($arcologies[0].FSPastoralist-30)/140)) >> /* fully accepted parsoralism gives +50% on the price*/
		Because of your arcology's cultural preferences, it comes with extra value.
	<</if>>
	It is sold for @@.yellowgreen;<<print cashFormat($fluidSale)>>.@@
	<<set $cash += $fluidSale>>
	<<set _incomeStats.income += $fluidSale>>
<</if>> /* CLOSES FEMALE PROSTATE FLUID GATHERING */

<<if ($slaves[$i].behavioralQuirk == "fitness")>>
	$slaves[$i].slaveName @@.hotpink;privately enjoys@@ the focus on her health and fitness that comes with being a cow.
	<<set $slaves[$i].devotion += 1>>
<</if>>

/* FACILITY DECORATION IMPACTS */

<<if $slaves[$i].assignment == "work in the dairy">>
<<if $dairyDecoration != "standard">>
<<set $seed = 0.0001*$FSSingleSlaveRep*($milk+5*$cum)>>
<<switch $dairyDecoration>>
<<case "Roman Revivalist">>
	<<set $arcologies[0].FSRomanRevivalist += $seed>>
<<case "Aztec Revivalist">>
	<<set $arcologies[0].FSAztecRevivalist += $seed>>
<<case "Egyptian Revivalist">>
	<<set $arcologies[0].FSEgyptianRevivalist += $seed>>
<<case "Edo Revivalist">>
	<<set $arcologies[0].FSEdoRevivalist += $seed>>
<<case "Arabian Revivalist">>
	<<set $arcologies[0].FSArabianRevivalist += $seed>>
<<case "Chinese Revivalist">>
	<<set $arcologies[0].FSChineseRevivalist += $seed>>
<<case "Chattel Religionist">>
	<<set $arcologies[0].FSChattelReligionist += $seed>>
<<case "Degradationist">>
	<<set $arcologies[0].FSDegradationist += $seed>>
<<case "Repopulation Focus">>
	<<set $arcologies[0].FSRepopulationFocus += $seed>>
<<case "Eugenics">>
	<<set $arcologies[0].FSRestart += $seed>>
<<case "Asset Expansionist">>
	<<set $arcologies[0].FSAssetExpansionist += $seed>>
<<case "Transformation Fetishist">>
	<<set $arcologies[0].FSTransformationFetishist += $seed>>
<<case "Gender Radicalist">>
	<<set $arcologies[0].FSGenderRadicalist += $seed>>
<<case "Gender Fundamentalist">>
	<<set $arcologies[0].FSGenderFundamentalist += $seed>>
<<case "Physical Idealist">>
	<<set $arcologies[0].FSPhysicalIdealist += $seed>>
<<case "Hedonistic">>
	<<set $arcologies[0].FSHedonisticDecadence += $seed>>
<<case "Supremacist">>
	<<set $arcologies[0].FSSupremacist += $seed>>
<<case "Subjugationist">>
	<<set $arcologies[0].FSSubjugationist += $seed>>
<<case "Paternalist">>
	<<set $arcologies[0].FSPaternalist += $seed>>
<<case "Pastoralist">>
	<<set $arcologies[0].FSPastoralist += $seed>>
<<case "Maturity Preferentialist">>
	<<set $arcologies[0].FSMaturityPreferentialist += $seed>>
<<case "Youth Preferentialist">>
	<<set $arcologies[0].FSYouthPreferentialist += $seed>>
<<case "Body Purist">>
	<<set $arcologies[0].FSBodyPurist += $seed>>
<<case "Slimness Enthusiast">>
	<<set $arcologies[0].FSSlimnessEnthusiast += $seed>>
<</switch>>
<</if>>
<</if>>


code:
:: SA guard you [nobr]

carries arms in your defense.

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

<<Deadliness $slaves[$i]>>

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

<<if setup.bodyguardCareers.includes($slaves[$i].career)>>
	She has experience in personal defense from before she was a slave.
<<elseif $slaves[$i].skillBG >= $masteredXP>>
	She has experience in personal defense from working for you.
<<else>>
	<<set $slaves[$i].skillBG += random(1,($slaves[$i].intelligence+4)*2)>>
<</if>>

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

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

<<if $slaves[$i].height >= 170>>
	Her height gives her a reach advantage with her sword.
<</if>>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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