code:
:: SA whore [nobr]

<!-- Statistics gathering -->
<<set _incomeStats = getSlaveStatisticData($slaves[$i], $slaves[$i].assignment === Job.BROTHEL ? $facility.brothel : undefined)>>

<<set $FResult = FResult($slaves[$i])>>
<<if ($slaves[$i].releaseRules == "restrictive") && ($slaves[$i].standardReward !== "orgasm")>>
	<<set $FResult += 2>>
<</if>>
<<if $ACitizens > $ASlaves*4>>
	<<set $FResult = Math.trunc($FResult*1.1)>>
<<elseif $ACitizens > $ASlaves*2>>
	<<set $FResult = Math.trunc($FResult*1)>>
<<elseif $ACitizens > $ASlaves>>
	<<set $FResult = Math.trunc($FResult*0.95)>>
<<elseif $ACitizens > $ASlaves*0.5>>
	<<set $FResult = Math.trunc($FResult*0.9)>>
<<else>>
	<<set $FResult = Math.trunc($FResult*0.85)>>
<</if>>
<<set $beauty = Beauty($slaves[$i])>>
<<if $ACitizens > $ASlaves*4>>
	<<set $beauty = Math.trunc($beauty*1.1)>>
<<elseif $ACitizens > $ASlaves*2>>
	<<set $beauty = Math.trunc($beauty*1)>>
<<elseif $ACitizens > $ASlaves>>
	<<set $beauty = Math.trunc($beauty*0.95)>>
<<elseif $ACitizens > $ASlaves*0.5>>
	<<set $beauty = Math.trunc($beauty*0.9)>>
<<else>>
	<<set $beauty = Math.trunc($beauty*0.85)>>
<</if>>
<<if $slaves[$i].sexualFlaw == "neglectful">>
	<<set $beauty = Math.trunc($beauty*1.1)>>
<</if>>
<<if $slaves[$i].assignment == "be the Madam">>
	<<if $brothelSlaves+$slavesGettingHelp > 0>>
	<<set $beauty = Math.trunc($beauty*((5-$brothelSlaves-$slavesGettingHelp)/5))>>
	<</if>>
<</if>>

<<if ($slaves[$i].devotion > 95) || ($slaves[$i].energy > 95)>>
	enthusiastically sells
<<elseif ($slaves[$i].devotion > 50)>>
	willingly sells
<<elseif ($slaves[$i].devotion > 20)>>
	obediently sells
<<elseif ($slaves[$i].trust < -20)>>
	reluctantly sells
<<else>>
	is forced to sell
<</if>>
$his body.

<<set $beautyMultiplier = 1>>
<<set _adsBeautyMultiplier = 0>>
<<if $brothel > 0>>
	<<if (($universalRulesFacilityWork == 1) && ($slaves[$i].assignment == "whore") && ($brothelSpots > 0)) || ($slaves[$i].assignment == "work in the brothel")>>
	<<if ($slaves[$i].assignment == "whore")>>
		Since there's extra space in $brothelName, $he sells $himself there.
		<<set $brothelSpots -= 1>>
	<</if>>
	<<if $brothelAdsSpending != 0>>
		<<if $brothelAdsStacked == 1>>
		<<if ($slaves[$i].butt > 4)>>
		<<if ($slaves[$i].boobs > 800)>>
			<<set $beautyMultiplier += 0.05>>
			$His stacked body fits $brothelName's ad campaign, getting $him more business.
		<</if>>
		<</if>>
		<<elseif $brothelAdsStacked == -1>>
		<<if ($slaves[$i].boobs < 500)>>
		<<if ($slaves[$i].butt < 3)>>
		<<if ($slaves[$i].weight <= 10)>>
		<<if ($slaves[$i].muscles <= 30)>>
			<<set $beautyMultiplier += 0.05>>
			$His slim body fits $brothelName's ad campaign, getting $him more business.
		<</if>>
		<</if>>
		<</if>>
		<</if>>
		<</if>>
		<<if $brothelAdsPreg == 1>>
		<<if ($slaves[$i].bellyPreg >= 5000) || ($slaves[$i].bellyImplant >= 5000)>>
			<<set $beautyMultiplier += 0.05>>
			$His gravid body fits $brothelName's ad campaign, getting $him more attention.
		<</if>>
		<<elseif $brothelAdsPreg == -1>>
		<<if ($slaves[$i].belly < 100) && ($slaves[$i].weight < 30) && (!setup.fakeBellies.includes($bellyAccessory)) && ($slaves[$i].bellyImplant <= 0)>>
			<<set $beautyMultiplier += 0.05>>
			$His flat belly fits $brothelName's ad campaign, getting $him more attention.
		<</if>>
		<</if>>
		<<if $brothelAdsModded == 1>>
		<<if $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>>
			<<set $beautyMultiplier += 0.05>>
			Body art like $hers is a major draw.
		<</if>>
		<<elseif $brothelAdsModded == -1>>
		<<if $slaves[$i].corsetPiercing == 0 && $piercingScore < 3 && $tatScore < 2>>
			<<set $beautyMultiplier += 0.05>>
			Very clean bodies like $hers are a major draw.
		<</if>>
		<</if>>
		<<if $brothelAdsImplanted == 1>>
		<<if ($slaves[$i].boobsImplant > 0)>>
		<<if ($slaves[$i].buttImplant > 0)>>
		<<if ($slaves[$i].bellyImplant >= 1500)>>
		<<if ($slaves[$i].waist < -10)>>
		<<if ($slaves[$i].lipsImplant > 0)>>
			<<set $beautyMultiplier += 0.05>>
			Many citizens come to the brothel looking to rent a plastic slut like $him.
		<</if>>
		<</if>>
		<</if>>
		<</if>>
		<</if>>
		<<elseif $brothelAdsImplanted == -1>>
		<<if ($slaves[$i].boobsImplant == 0)>>
		<<if ($slaves[$i].buttImplant == 0)>>
		<<if ($slaves[$i].waist >= -95)>>
		<<if ($slaves[$i].lipsImplant == 0)>>
		<<if ($slaves[$i].bellyImplant == -1)>>
		<<if ($slaves[$i].faceImplant < 30)>>
			<<set $beautyMultiplier += 0.05>>
			Many citizens come to the brothel looking to play with a natural girl like $him.
		<</if>>
		<</if>>
		<</if>>
		<</if>>
		<</if>>
		<</if>>
		<</if>>
		<<if $brothelAdsOld == 1>>
		<<if ($slaves[$i].physicalAge >= 30)>>
			<<set $beautyMultiplier += 0.05>>
			$He's perfect for $brothelName, whose brand is mature slaves.
		<</if>>
		<<elseif $brothelAdsOld == -1>>
		<<if ($slaves[$i].physicalAge < 30 && $slaves[$i].physicalAge >= 18)>>
			<<set $beautyMultiplier += 0.05>>
			$He's perfect for $brothelName, whose brand is young slaves.
		<</if>>
		<<elseif $brothelAdsOld == -2>>
		<<if ($slaves[$i].physicalAge <= 18 && $slaves[$i].physicalAge >= 13)>>
			<<set $beautyMultiplier += 0.05>>
			$He's perfect for $brothelName, whose brand is teenage slaves.
		<</if>>
		<<elseif $brothelAdsOld == -3>>
		<<if ($slaves[$i].physicalAge < 13)>>
			<<set $beautyMultiplier += 0.05>>
			$He's perfect for $brothelName, whose brand is loli slaves.
		<</if>>
		<</if>>
		<<if $brothelAdsXX == 1>>
		<<if ($slaves[$i].dick == 0)>>
			<<set $beautyMultiplier += 0.05>>
			Almost everyone who comes to $brothelName is looking to fuck a girl like $him.
		<</if>>
		<<elseif $brothelAdsXX == -1>>
		<<if ($slaves[$i].dick > 0)>>
			<<set $beautyMultiplier += 0.05>>
			Almost everyone who comes to $brothelName is looking to pound a girl who cums when buttfucked.
		<</if>>
		<</if>>
	<</if>>
	<<if $Madam != 0>>
		<<setLocalPronouns $Madam 2>>
		<<if $madamCashBonus > 0>>
		<<if !canHear($slaves[$i])>>
			<<set $beautyMultiplier += $madamCashBonus/2>>
		<<else>>
			<<set $beautyMultiplier += $madamCashBonus>>
		<</if>>
		<<if ($slaves[$i].assignment == "whore")>>
			Working
		<<else>>
			Living and working
		<</if>>
		out of the brothel, $he comes under <<= SlaveFullName($Madam)>>'s
		<<if $madamCashBonus < 0.1>>
			completely inept
		<<elseif $madamCashBonus < 0.2>>
			unskilled
		<<elseif $madamCashBonus < 0.3>>
			skillful
		<<else>>
			masterful
		<</if>>
		leadership.
		<<if ($Madam.dick > 2) && canAchieveErection($Madam)>>
			<<if ($slaves[$i].devotion <= 20)>>
				The Madam rapes $him when $he fails to meet standards.
			<<else>>
				The Madam uses _his2 dick to reward $him when $he does well and needs some loving.
			<</if>>
		<</if>>
		<<if !canHear($slaves[$i])>>
			Unfortunately, $his inability to hear wastes most of $Madam.slaveName's advice.
		<</if>>
		<<if $MadamIgnoresFlaws != 1>>
			<<if !["none", "neglectful", "cum addict", "anal addict", "attention whore", "breast growth", "abusive", "malicious", "self hating", "breeder"].includes($slaves[$i].sexualFlaw) && (random(1,100) > 90)>>
				<<= SlaveFullName($Madam)>> manages to @@.green;break@@ $slaves[$i].slaveName of $his sexual flaws.
				<<set $slaves[$i].sexualFlaw = "none">>
			<<elseif ($slaves[$i].behavioralFlaw != "none") && (random(1,100) > 90)>>
				<<= SlaveFullName($Madam)>> manages to @@.green;break@@ $slaves[$i].slaveName of $his flaws.
				<<set $slaves[$i].behavioralFlaw = "none">>
			<</if>>
		<</if>>
		<</if>>
	<</if>>
	<</if>>
<</if>>
<<set $beauty = Math.trunc($beauty*$beautyMultiplier),
_beautyCorrection = 0>>
<<if $beauty > 210>>
	<<set _beautyCorrection = $beauty / 210,
	$beauty = 210,
	$FResult = Math.trunc(_beautyCorrection * $FResult)>>
<</if>>

$His appearance attracted $beauty customers (<<print Math.trunc($beauty/7)>> a day)<<if $beauty > 160>>, so many that <<if canDoVaginal($slaves[$i]) && canDoAnal($slaves[$i])>>each of $his holes was<<elseif canDoVaginal($slaves[$i]) || canDoAnal($slaves[$i])>>each of $his available holes was<<else>>$his mouth and anywhere else a cock could fit was<</if>> often filled by more than one cock<<elseif $beauty > 140>>, so many that $he spent much of $his time getting gangbanged<<elseif $beauty > 120>>, so many that customers often <<if canDoAnal($slaves[$i]) || canDoVaginal($slaves[$i])>>spitroasted<<else>>double-teamed<</if>> the slut<<elseif $beauty > 100>>, so many that $he frequently had sex with multiple customers at once<<elseif $beauty > 70>>, so many that $he occasionally had sex with multiple customers at once<</if>>. They paid <<print cashFormat($FResult)>> on average<<if _beautyCorrection > 1>>, including a premium for being in extremely high demand<</if>>.
<<set _incomeStats.customers = $beauty>>

<<if $seeAge == 1>>
<<if $slaves[$i].physicalAge == $minimumSlaveAge && $slaves[$i].physicalAge == $fertilityAge && canGetPregnant($slaves[$i]) && ($arcologies[0].FSRepopulationFocus != "unset" || $arcologies[0].FSGenderFundamentalist != "unset") && $arcologies[0].FSRestart == "unset">>
	<<if $slaves[$i].birthWeek == 0>>
		$He just turned $minimumSlaveAge this week, giving $him an immense boost to both popularity and price. $He is also expected to become fertile soon, giving $him an additional boost as customers clamor to claim $his fresh womb.
	<<elseif $slaves[$i].birthWeek < 4>>
		This is still the first month in which it's legal to pay to fuck $him, giving $him a boost to both popularity and price. $He was also anticipated to become fertile this month, and $his womb is still unoccupied, giving $him an additional boost.
	<</if>>
<<elseif $slaves[$i].physicalAge == $minimumSlaveAge>>
	<<if $slaves[$i].birthWeek == 0>>
		$He just turned $minimumSlaveAge this week, giving $him an immense boost to both popularity and price.
	<<elseif $slaves[$i].birthWeek < 4>>
		This is still the first month in which it's legal to pay to fuck $him, giving $him a boost to both popularity and price.
	<</if>>
<<elseif $slaves[$i].physicalAge == $fertilityAge && canGetPregnant($slaves[$i]) && ($arcologies[0].FSRepopulationFocus != "unset" || $arcologies[0].FSGenderFundamentalist != "unset")>>
	<<if $slaves[$i].birthWeek == 0>>
		$He is expected to become fertile soon, giving $him an immense boost to both popularity and price as customers clamor to claim $his fresh womb.
	<<elseif $slaves[$i].birthWeek < 4 && $slaves[$i].pregKnown == 0>>
		This is still the first month in which $he was anticipated to become fertile, and $his womb is still unoccupied, giving $him a boost to both popularity and price.
	<</if>>
<</if>>
<</if>>

<<if ($slaves[$i].behavioralQuirk == "sinful")>>
	$slaves[$i].slaveName @@.hotpink;secretly enjoys@@ how utterly sinful and depraved it is for $him to sell $his body.
	<<set $slaves[$i].devotion += 1>>
<<elseif ($slaves[$i].behavioralQuirk == "cutting")>>
	$slaves[$i].slaveName @@.hotpink;openly enjoys@@ the direct, frank language of prostitution, and delights customers with cutting remarks even as they fuck $him.
	<<set $slaves[$i].devotion += 1>>
<</if>>
<<if ($slaves[$i].sexualQuirk == "caring")>>
	$slaves[$i].slaveName sees $his role as helping people with their sexual needs, and $he @@.mediumaquamarine;trusts that $his place@@ in society is an important one.
	<<set $slaves[$i].trust += 1>>
<</if>>

<<set $injury = 0>>
<<if $slaves[$i].assignment == "work in the brothel">>
<<elseif ($slaves[$i].curatives > 0) || $slaves[$i].inflationType == "curative">>
	The drugs <<if $slaves[$i].inflationType == "curative">>$he holds inside $his belly<<else>>$he's on<</if>> protect $him from the wear of whoring.
<<elseif ($slaves[$i].health < -50)>>
	The stress of whoring while ill is @@.red;very hard on $him.@@
	<<set $slaves[$i].health -= 10>>
	<<set $injury = 1>>
<<elseif ($slaves[$i].health < -20) && (random(1,100) > 50)>>
	The stress of whoring while ill is @@.red;hard on $him.@@
	<<set $slaves[$i].health -= 7>>
	<<set $injury = 1>>
<<elseif ($slaves[$i].vagina < 0)>>
	<<set $desc = SlaveTitle($slaves[$i])>>
	<<if (($slaves[$i].analSkill + $slaves[$i].oralSkill) >= 200)>>
	$He's such an expert whore that $he copes with the stress of being a $desc prostitute.
	<<elseif random(1,100) > 40+(10*($slaves[$i].analSkill + $slaves[$i].oralSkill))>>
	The stress of being a $desc prostitute is @@.red;hard on $him.@@
	<<set $slaves[$i].health -= 7>>
	<<set $injury = 1>>
	<</if>>
<<elseif ($slaves[$i].vaginalAccessory == "chastity belt") && canDoAnal($slaves[$i])>>
	<<if (($slaves[$i].analSkill + $slaves[$i].oralSkill) >= 200)>>
	$He's such an expert whore that $he copes with the stress of being limited to buttsex and oral.
	<<elseif random(1,100) > 40+(10*($slaves[$i].analSkill + $slaves[$i].oralSkill))>>
	The stress of being limited to buttsex and oral is @@.red;hard on $him.@@
	<<set $slaves[$i].health -= 7>>
	<<set $injury = 1>>
	<</if>>
<<elseif ($slaves[$i].analSkill + $slaves[$i].oralSkill + $slaves[$i].vaginalSkill) < 300>>
	<<if random(1,100) > 10+(($slaves[$i].analSkill + $slaves[$i].oralSkill + $slaves[$i].vaginalSkill)/10)>>
	<<set $injury = 1>>
	<</if>>
<</if>>
<<if ($injury == 1)>>
	<<set $slaves[$i].health -= 3>>
	<<if canDoAnal($slaves[$i])>>
		<<set _injuryChance = random(1,100)>>
	<<else>>
		<<set _injuryChance = random(1,80)>>
	<</if>>
	<<if (_injuryChance > 80)>>
	<<set $slaves[$i].minorInjury = "sore ass">>
	Rough anal with a careless customer left $him with a @@.red;$slaves[$i].minorInjury.@@
	<<include "minor injury response">>
	<<elseif (_injuryChance > 60)>>
	<<set $slaves[$i].minorInjury = "black eye">>
	A violent customer left $him with a @@.red;$slaves[$i].minorInjury.@@
	<<include "minor injury response">>
	<<elseif (_injuryChance > 40)>>
	<<set $slaves[$i].minorInjury = "split lip">>
	An abusive customer left $him with a @@.red;$slaves[$i].minorInjury.@@
	<<include "minor injury response">>
	<<elseif (_injuryChance > 20)>>
	<<set $slaves[$i].minorInjury = "bad bruise">>
	A rough customer left $him with a @@.red;$slaves[$i].minorInjury.@@
	<<include "minor injury response">>
	<<else>>
	<<set $slaves[$i].minorInjury = "sore muscle">>
	The hard labor of constant sex left $him with a @@.red;$slaves[$i].minorInjury.@@
	<</if>>
<</if>>

<<if canDoVaginal($slaves[$i])>>
	<<if ($slaves[$i].vagina == 0)>>
		<<if ($slaves[$i].aphrodisiacs > 1) || ($slaves[$i].inflationType == "aphrodisiac")>>
		$His virginity goes to the highest bidder, earning <<print cashFormat(($beauty*10))>>. $He's so full of aphrodisiacs that $he @@.hotpink;enjoys the experience.@@ @@.lime;$His pussy is now broken in.@@
		<<set $slaves[$i].devotion += 4>>
		<<set $slaves[$i].vagina = 1>>
		<<set $FResult += 10>>
		<<elseif ($slaves[$i].devotion > 20)>>
		$His virginity goes to the highest bidder, earning <<print cashFormat(($beauty*10))>>. Losing $his virginity in this way @@.hotpink;confirms $his submission to you.@@ @@.lime;$His pussy is now broken in.@@
		<<set $slaves[$i].devotion += 4>>
		<<set $slaves[$i].vagina = 1>>
		<<set $FResult += 10>>
		<<else>>
		$His virginity goes to the highest bidder, earning <<print cashFormat(($beauty*10))>>. $He tries to resist, and losing $his virginity to a rape makes $him @@.mediumorchid;hate@@ and @@.gold;fear@@ you a great deal. @@.lime;$His pussy is now broken in.@@
		<<set $slaves[$i].devotion -= 10>>
		<<set $slaves[$i].trust -= 10>>
		<<set $slaves[$i].vagina = 1>>
		<<set $FResult += 10>>
		<</if>>
	<<elseif ($slaves[$i].vagina < 3)>>
		<<if (random(1,100) > ((170-$beauty)+($slaves[$i].vagina*10)+($slaves[$i].vaginalSkill/3)))>>
		@@.lime;$His pussy gets loosened by the intense use.@@
		<<set $slaves[$i].vagina += 1>>
		<</if>>
	<</if>>
<</if>>

<<if canDoAnal($slaves[$i])>>
<<if ($slaves[$i].anus == 0)>>
	<<if ($slaves[$i].aphrodisiacs > 1) || ($slaves[$i].inflationType == "aphrodisiac")>>
	$His tight little anus goes to the highest bidder, earning <<print cashFormat(($beauty*5))>>. $He's so full of aphrodisiacs that $he @@.hotpink;enjoys the experience.@@ $His fresh asshole is fucked all week, and by the end of it @@.lime;$he won't sit down.@@
	<<set $slaves[$i].devotion += 4>>
	<<set $slaves[$i].anus = 2>>
	<<set $FResult += 5>>
	<<elseif ($slaves[$i].devotion > 20)>>
	$His tight little anus goes to the highest bidder, earning <<print cashFormat(($beauty*5))>>. The pain and humiliation @@.hotpink;confirm $his submission to you.@@ $His fresh asshole is fucked all week, and by the end of it @@.lime;$he won't sit down.@@
	<<set $slaves[$i].devotion += 4>>
	<<set $slaves[$i].anus = 2>>
	<<set $FResult += 5>>
	<<else>>
	$His tight little anus goes to the highest bidder, earning <<print cashFormat(($beauty*5))>>. The pain and humiliation increases $his @@.mediumorchid;hatred@@ and @@.gold;fear@@ for you. $His fresh asshole is fucked all week, and by the end of it @@.lime;$he won't sit down.@@
	<<set $slaves[$i].devotion -= 5>>
	<<set $slaves[$i].trust -= 5>>
	<<set $slaves[$i].anus = 2>>
	<<set $FResult += 5>>
	<</if>>
<<elseif ($slaves[$i].anus < 3)>>
	<<if ($slaves[$i].vagina < 0)>>
	<<if ((random(1,100) > ((150-$beauty)+($slaves[$i].anus*10)+($slaves[$i].analSkill/6))))>>
		@@.lime;$His asshole sees constant use in place of a pussy and loosens.@@
		<<set $slaves[$i].anus += 1>>
	<</if>>
	<<elseif ($slaves[$i].vaginalAccessory == "chastity belt")>>
	<<if ((random(1,100) > ((150-$beauty)+($slaves[$i].anus*10)+($slaves[$i].analSkill/6))))>>
		@@.lime;$His asshole sees constant use in place of $his protected pussy and loosens.@@
		<<set $slaves[$i].anus += 1>>
	<</if>>
	<<else>>
	<<if ((random(1,100) > ((160-$beauty)+($slaves[$i].anus*10)+($slaves[$i].analSkill/6))))>>
		@@.lime;$His asshole loosens with constant use.@@
		<<set $slaves[$i].anus += 1>>
	<</if>>
	<</if>>
<</if>>
<</if>>

<<if !setup.whoreCareers.includes($slaves[$i].career) && $slaves[$i].skillW < $masteredXP>>
	<<set $slaves[$i].skillW += random(1,Math.ceil(($slaves[$i].intelligence+$slaves[$i].intelligenceImplant)/15) + 8)>>
<</if>>
<<if setup.whoreCareers.includes($slaves[$i].career)>>
	$He has sex work experience from $his life before $he was a slave, making $him more effective.
<<elseif $slaves[$i].skillW >= $masteredXP>>
	$He has experience as a prostitute from working for you, making $him more effective.
<</if>>

<<if ($slaves[$i].devotion > 20)>>
<<elseif !canWalk($slaves[$i])>>
	Since $he can't walk, $he spends all of $his time in $his own room in the brothel. Customers come in, fuck $him, and leave.
<<if ($slaves[$i].whoreSkill <= 10)>>
<<elseif ($slaves[$i].whoreSkill <= 30)>>
	As a skilled prostitute, $he gets a little more money out of customers.
<<elseif ($slaves[$i].whoreSkill <= 60)>>
	As an expert prostitute, $he gets more money out of customers.
<<elseif ($slaves[$i].whoreSkill >= 100)>>
	As a masterful prostitute, $he makes more money.
<</if>>
<</if>>
<<if ($slaves[$i].amp != 1)>>
<<if ($slaves[$i].whoreSkill < 100)>>
	<<set $slaves[$i].whoreSkill += 10+Math.floor(($slaves[$i].intelligence+$slaves[$i].intelligenceImplant)/32)>>
	$He @@.green;gains experience as a public slut,@@ and gets better at
	<<if ($slaves[$i].whoreSkill <= 30)>>
		basic street smarts.
	<<elseif ($slaves[$i].whoreSkill <= 60)>>
		steering clients to more lucrative sex acts.
	<<else>>
		squeezing johns for every penny.
	<</if>>
<</if>>
<</if>>

<<if $slaves[$i].aphrodisiacs > 1 || ($slaves[$i].inflationType == "aphrodisiac")>>
	The aphrodisiac cocktail has $him so desperately horny that regardless of $his personal feelings, $he @@.hotpink;gets off with customers all week.@@ In $his drug-addled state $he doesn't remember enough to learn sexual skills.
	<<set $slaves[$i].devotion += 4>>
<<elseif ($slaves[$i].devotion <= 20) && ($slaves[$i].energy <= 95)>>
	<<if $slaves[$i].trust >= -20>>
		$He tries to refuse being sold as a whore, so $he is restrained for sale. $He loses a bit of $himself to a week of rape, but remembers enough to know @@.mediumorchid;you're responsible,@@ and @@.gold;can force $him if necessary.@@
		<<set $slaves[$i].devotion -= 5>>
		<<set $slaves[$i].trust -= 5>>
	<<else>>
		$He doesn't show much enthusiasm, but the habit of slave prostitution @@.hotpink;wears away at $his will.@@
		<<set $slaves[$i].devotion += 4>>
	<</if>>
<<else>>
	<<if ($slaves[$i].oralSkill + $slaves[$i].analSkill >= 200) && (($slaves[$i].vaginalSkill >= 100) || !canDoVaginal($slaves[$i]))>>
		$He's a @@.aquamarine;sexual master@@
		<<if canDoVaginal($slaves[$i])>>
			whose
		<<else>>
			and despite <<if $slaves[$i].vagina < 0>>$his lack of a<<else>>the inaccessibility of $his<</if>> front hole, $his
		<</if>>
		body commands @@.yellowgreen;a high price.@@ When $he's not
		<<if canDoVaginal($slaves[$i]) && (random(1,4) == 1)>>
			pleasing the rich with $his <<if $slaves[$i].prestige > 1 || $slaves[$i].pornPrestige > 2>>prestigious<<else>>popular<</if>> pussy,
		<<elseif ($beauty > 70) && (random(1,3) == 1)>>
			getting gangbanged,
		<<elseif (random(1,2) == 1)>>
			performing one of $his <<if $slaves[$i].prestige > 1 || $slaves[$i].pornPrestige > 2>>famous<<else>>top-tier<</if>> blowjobs,
		<<elseif canDoAnal($slaves[$i])>>
			selling access to $his <<if $slaves[$i].prestige > 1 || $slaves[$i].pornPrestige > 2>>legendary<<else>>notorious<</if>> anus,
		<<else>>
			pleasing the masses with $his chest,
		<</if>>
		$he works social gatherings and high society.
	<<else>>
		$He shows diligence, and $his sexual skills improve, according to what the customers demand<<if !canDoVaginal($slaves[$i])>> and what's possible for $him<</if>>.
		<<set $skillIncrease = 5+Math.floor(($slaves[$i].intelligence+$slaves[$i].intelligenceImplant)/32)+$oralUseWeight>>
		<<OralSkillIncrease $slaves[$i]>>
		<<if canDoAnal($slaves[$i])>>
			<<set $skillIncrease = 5+Math.floor(($slaves[$i].intelligence+$slaves[$i].intelligenceImplant)/32)+$analUseWeight>>
			<<AnalSkillIncrease $slaves[$i]>>
		<</if>>
		<<if canDoVaginal($slaves[$i])>>
			<<set $skillIncrease = 5+Math.floor(($slaves[$i].intelligence+$slaves[$i].intelligenceImplant)/32)+$vaginalUseWeight>>
			<<VaginalSkillIncrease $slaves[$i]>>
		<</if>>
	<</if>>
	<<if ($slaves[$i].amp != 1)>>
	<<if ($slaves[$i].whoreSkill < 100)>>
		$He gains experience as a prostitute.
		<<set $skillIncrease = 10+Math.floor(($slaves[$i].intelligence+$slaves[$i].intelligenceImplant)/32)>>
		<<WhoreSkillIncrease $slaves[$i]>>
	<</if>>
	<</if>>
<</if>>

<<if $slaves[$i].minorInjury != 0>>
	$He attracts fewer people due to $his minor injury.
	<<set $beauty -= 1>>
<</if>>

<<if (($slaves[$i].hears == -1 && $slaves[$i].earwear != "hearing aids") || ($slaves[$i].hears == 0 && $slaves[$i].earwear == "muffling ear plugs") ||($slaves[$i].hears == -2)) && $slaves[$i].assignment == "whore">>
	$His trouble hearing causes $him to often not recognize $he's being picked up, missing out on partners.
	<<if !canHear($slaves[$i])>>
		<<set $beauty *= .75>>
	<<else>>
		<<set $beauty *= .90>>
	<</if>>
<</if>>

<<if $slaves[$i].assignment == "work in the brothel" && $slaves[$i].devotion > 50>>
	Being so far from your presence @@.mediumorchid;weakens $his intense devotion to you.@@
<</if>>

<<if $showEWM == 1>>

<<if ($slaves[$i].releaseRules == "restrictive") && ($slaves[$i].standardReward !== "orgasm")>>
	$He's a better whore because prostitution is $his main sexual outlet.
<</if>>

<<if $familyTesting == 1>>
	<<if totalRelatives($slaves[$i]) > 0>>
		<<set _children = $slaves.filter(function(s) { return ($slaves[$i].ID == s.father || $slaves[$i].ID == s.mother || s.ID == $slaves[$i].father || s.ID == $slaves[$i].mother || areSisters($slaves[$i], s) > 0) && s.assignment == "whore"; })>>
		<<if _children.length > 2>>
			Since $his relatives,
			<<for _sw = 0; _sw < _children.length; _sw++>>
				<<if _sw < _children.length-1>>
					_children[_sw].slaveName,
				<<else>>
					and _children[_sw].slaveName,
				<</if>>
			<</for>>
			are selling themselves too, $he earns extra ¤ by working with them.
			<<if $arcologies[0].FSEgyptianRevivalist > 20>>
				Customers are very enthusiastic about being able to participate in incestuous sex like the ancient Egyptians.
			<<elseif $arcologies[0].FSEgyptianRevivalistIncestPolicy == 1>>
				Customers are very enthusiastic about being able to participate in incestuous sex.
			<</if>>
		<<elseif _children.length > 1>>
			Since $his relatives, _children[0].slaveName and _children[1].slaveName, are selling themselves too, $he earns extra ¤ by working with them.
			<<if $arcologies[0].FSEgyptianRevivalist > 20>>
				Customers are very enthusiastic about being able to participate in incestuous sex like the ancient Egyptians.
			<<elseif $arcologies[0].FSEgyptianRevivalistIncestPolicy == 1>>
				Customers are very enthusiastic about being able to participate in incestuous sex.
			<</if>>
		<<elseif _children.length > 0>>
			<<setLocalPronouns _children[0] 2>>
			Since $his relative, _children[0].slaveName, is selling _himself2 too, $he earns extra ¤ by working with _him2.
			<<if $arcologies[0].FSEgyptianRevivalist > 20>>
				Customers are very enthusiastic about being able to participate in incestuous sex like the ancient Egyptians.
			<<elseif $arcologies[0].FSEgyptianRevivalistIncestPolicy == 1>>
				Customers are very enthusiastic about being able to participate in incestuous sex.
			<</if>>
		<</if>>
	<</if>>
<<else>>
	<<if $slaves[$i].relation != 0>>
		<<set $j = $slaveIndices[$slaves[$i].relationTarget]>>
		<<if def $j && $slaves[$j].assignment == $slaves[$i].assignment>>
			<<setLocalPronouns $slaves[$j] 2>>
			Since $his $slaves[$j].relation $slaves[$j].slaveName is selling _himself2 too, $he earns extra ¤ by working with _him2.
			<<if $arcologies[0].FSEgyptianRevivalist > 20>>
				Customers are very enthusiastic about being able to participate in incestuous sex like the ancient Egyptians.
			<<elseif $arcologies[0].FSEgyptianRevivalistIncestPolicy == 1>>
				Customers are very enthusiastic about being able to participate in incestuous sex.
			<</if>>
		<</if>>
	<</if>>
<</if>> /*closes extended family mode */
<<if $slaves[$i].relationship > 0>>
	<<set $j = $slaveIndices[$slaves[$i].relationshipTarget]>>
	<<if def $j && $slaves[$j].assignment == $slaves[$i].assignment>>
		$His <<print relationshipTerm($slaves[$i])>> $slaves[$j].slaveName is also whoring, so $he earns a bit more.
	<</if>>
<<elseif $slaves[$i].relationship == -1>>
	$He relies on customers' desire to fuck $him for emotional support, making $him an excellent, if occasionally disturbing, whore.
<</if>>
<<if $slaves[$i].rivalry != 0>>
	<<set $j = $slaveIndices[$slaves[$i].rivalryTarget]>>
	<<if def $j && $slaves[$j].assignment == $slaves[$i].assignment>>
		$He earns a little less ¤ due to bickering with $slaves[$j].slaveName.
	<</if>>
<</if>>

<<if canTalk($slaves[$i])>>
	<<if $slaves[$i].voice > 2>>
		<<if $slaves[$i].voiceImplant > 0>>
			$His high-pitched bimbo voice makes it easier for $him to entice potential customers.
		<<else>>
			$His high, girly voice makes it easier for $him to entice potential customers.
		<</if>>
	<<elseif $slaves[$i].voice == 1>>
		Most potential customers find $his deep voice unattractive, making it harder for $him to entice them.
	<</if>>
<</if>>

<<if ($arcologies[0].FSTransformationFetishist > 20) || ($arcologies[0].FSDegradationist > 20)>>
	<<if $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>>
		Many customers fetishize body mods and consider $hers fascinating.
	<<elseif $modScore > 7>>
		Many customers fetishize body mods and consider $hers interesting.
	<</if>>
<<elseif ($arcologies[0].FSBodyPurist > 20) || ($arcologies[0].FSPaternalist > 20)>>
	<<if $modScore <= 7>>
		Most customers disapprove of excessive body ornamentation and are pleased that $he's unspoiled in that regard.
	<<else>>
		Most customers disapprove of body mods and consider $hers unappealing.
	<</if>>
<<else>>
	<<if $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>>
		$He has so much body art that most customers don't think $he needs any more.
	<<elseif !($slaves[$i].corsetPiercing == 0 && $piercingScore < 3 && $tatScore < 2)>>
		$His body art helps attract customers.
	<</if>>
<</if>>

<<if $slaves[$i].aphrodisiacs > 1 || ($slaves[$i].inflationType == "aphrodisiac" && $slaves[$i].inflation > 1)>>
	On such a heavy aphrodisiac dose, $he can't wait for each customer to fuck $him.<<if $slaves[$i].inflationType == "aphrodisiac" && canDoAnal($slaves[$i])>> Which is practically nonstop, as anyone that fucks $his ass gets a hit of the aphrodisiacs within $his belly.<</if>>
<<elseif $slaves[$i].aphrodisiacs > 0 || ($slaves[$i].inflationType == "aphrodisiac")>>
	On aphrodisiacs, $he climaxes with every customer.<<if $slaves[$i].inflationType == "aphrodisiac" && canDoAnal($slaves[$i])>> Which happens often, as anyone that fucks $his ass gets a tiny hit of the aphrodisiacs within $his belly.<</if>>
<<elseif $slaves[$i].devotion > 95>>
	$He's so devoted that $he does $his best and pleases every customer.
<<elseif $slaves[$i].devotion > 50>>
	$He's so devoted that $he works hard to please customers.
<<elseif $slaves[$i].trust < -20>>
	$He's afraid of you, so $he works hard to please customers.
<<else>>
	$He neither loves nor fears you enough to work hard, and makes a poor whore.
<</if>>

<<if ($slaves[$i].butt > 4) && ($slaves[$i].boobs > 800)>>
	<<if $arcologies[0].FSAssetExpansionist != "unset">>
		$He makes a river of ¤ with $his huge, fashionable assets.
		<<if canTalk($slaves[$i])>>
			<<if $slaves[$i].voice > 2>>
				$His high voice contributes to $his bimbo image, so $he does even better.
			<</if>>
		<</if>>
	<<elseif $arcologies[0].FSSlimnessEnthusiast >= 20>>
		$He makes no extra ¤ with $his large assets since many citizens consider them disgusting.
	<<else>>
		$He receives extra ¤ for having huge assets.
	<</if>>
	<<if $slaves[$i].dick > 0>>
		<<if $arcologies[0].FSGenderRadicalist != "unset">>
			Society's appetite for stacked whores with dicks makes $him especially profitable.
		<</if>>
	<</if>>
<</if>>

<<if ($slaves[$i].visualAge >= 30)>>
	<<if $arcologies[0].FSMaturityPreferentialist != "unset">>
		$His mature body is very fashionable.
	<<elseif $arcologies[0].FSYouthPreferentialist != "unset">>
		$His old body is badly out of fashion.
	<</if>>
<<else>>
	<<if $arcologies[0].FSYouthPreferentialist != "unset">>
		$His youthful body is very fashionable.
	<<elseif $arcologies[0].FSMaturityPreferentialist != "unset">>
		$His young body is out of fashion.
	<</if>>
<</if>>

<<if $arcologies[0].FSGenderFundamentalistLawBeauty + $arcologies[0].FSGenderRadicalistLawBeauty > 0>>
	<<if $genderLawPass == 1>>
		<<if $arcologies[0].FSAssetExpansionist != "unset">>
			$He makes extra ¤ due to $his fashionably feminine body.
		<<else>>
			$He receives extra ¤ for having a sleek, girlish figure.
		<</if>>
		<<if canTalk($slaves[$i]) && $slaves[$i].voice > 2>>
			$His high voice contributes to $his girlish image, so $he does even better.
		<</if>>
	<</if>>
<<elseif $arcologies[0].FSSlimnessEnthusiastLaw == 1>>
	<<if slimPass($slaves[$i]) == 1>>
		$He makes extra ¤ due to $his fashionably sleek little body.
		<<if canTalk($slaves[$i]) && $slaves[$i].voice > 2>>
			$His high voice contributes to $his girlish image, so $he does even better.
		<</if>>
	<</if>>
<<elseif $arcologies[0].FSHedonisticDecadenceLaw2 == 1>>
	<<if ($slaves[$i].boobs >= 2000) && ($slaves[$i].butt >= 5) && ($slaves[$i].weight > 95)>>
		$He makes extra ¤ due to $his fashionably plump body.
		<<if canTalk($slaves[$i])&& $slaves[$i].voice > 2>>
			$His high voice contributes to $his feminine image, so $he does even better.
		<</if>>
	<</if>>
<<else>>
	<<if ($slaves[$i].boobs < 500) && ($slaves[$i].butt < 3)>>
		<<if ($slaves[$i].muscles <= 30) && $arcologies[0].FSPhysicalIdealist == "unset" && ($slaves[$i].weight <= 10) && $arcologies[0].FSHedonisticDecadence == "unset">>
			<<if $arcologies[0].FSSlimnessEnthusiast > 20>>
				$He makes extra ¤ due to $his fashionably sleek little body.
			<<else>>
				$He receives extra ¤ for having a sleek, girlish figure.
			<</if>>
			<<if canTalk($slaves[$i]) && $slaves[$i].voice > 2>>
				$His high voice contributes to $his girlish image, so $he does even better.
			<</if>>
		<<elseif $arcologies[0].FSPhysicalIdealist != "unset">> /* no muscle malus for muscle loving societies */
			<<if $arcologies[0].FSPhysicalIdealistStrongFat == 1 && ($slaves[$i].weight <= 30)>> /* reduced weight malus for fat loving societies */
				<<if $arcologies[0].FSSlimnessEnthusiast > 20>>
					$He makes extra ¤ due to $his fashionably sleek little body.
				<<else>>
					$He receives extra ¤ for having a sleek, girlish figure.
				<</if>>
				<<if canTalk($slaves[$i]) && $slaves[$i].voice > 2>>
					$His high voice contributes to $his girlish image, so $he does even better.
				<</if>>
			<<elseif ($slaves[$i].weight <= 10)>>
				<<if $arcologies[0].FSSlimnessEnthusiast > 20>>
					$He makes extra ¤ due to $his fashionably sleek little body.
				<<else>>
					$He receives extra ¤ for having a sleek, girlish figure.
				<</if>>
				<<if canTalk($slaves[$i]) && $slaves[$i].voice > 2>>
					$His high voice contributes to $his girlish image, so $he does even better.
				<</if>>
			<</if>>
		<<elseif $arcologies[0].FSHedonisticDecadence != "unset" && ($slaves[$i].weight <= 30)>> /* reduced weight malus for fat loving societies */
			<<if $arcologies[0].FSHedonisticDecadenceStrongFat == 1>> /* no muscle malus for muscle loving societies */
				<<if $arcologies[0].FSSlimnessEnthusiast > 20>>
					$He makes extra ¤ due to $his fashionably sleek little body.
				<<else>>
					$He receives extra ¤ for having a sleek, girlish figure.
				<</if>>
				<<if canTalk($slaves[$i]) && $slaves[$i].voice > 2>>
					$His high voice contributes to $his girlish image, so $he does even better.
				<</if>>
			<<elseif ($slaves[$i].muscles <= 30)>>
				<<if $arcologies[0].FSSlimnessEnthusiast > 20>>
					$He makes extra ¤ due to $his fashionably sleek little body.
				<<else>>
					$He receives extra ¤ for having a sleek, girlish figure.
				<</if>>
				<<if canTalk($slaves[$i]) && $slaves[$i].voice > 2>>
					$His high voice contributes to $his girlish image, so $he does even better.
				<</if>>
			<</if>>
		<</if>>
	<</if>>
<</if>>

<<if ($slaves[$i].boobsImplant == 0) && ($slaves[$i].buttImplant == 0) && ($slaves[$i].waist >= -95) && ($slaves[$i].lipsImplant == 0) && ($slaves[$i].bellyImplant == -1) && ($slaves[$i].faceImplant < 30)>>
	<<if $arcologies[0].FSBodyPurist != "unset">>
		With $his all-natural, implant free appearance, $he's very profitable.
	<<elseif $arcologies[0].FSTransformationFetishist >= 20>>
		Customers are disappointed by $his all-natural, implant free appearance.
	<<else>>
		Some discerning customers appreciate $his all-natural, implant free appearance.
	<</if>>
<<else>>
	<<if $arcologies[0].FSTransformationFetishist != "unset">>
		The public is willing to pay more for $his augmented body.
	<</if>>
<</if>>

<<if $slaves[$i].nipples == "fuckable">>
	<<if $arcologies[0].FSTransformationFetishist != "unset">>
		$His fuckable nipples give $him a profitable edge over those without such body modifications.
	<<else>>
		$His fuckable nipples entice some of the more adventurous customers.
	<</if>>
<</if>>

<<if ($slaves[$i].clitPiercing > 2) && ($slaves[$i].devotion >= -20)>>
	Almost everyone loves $his enthusiasm for sex encouraged by $his smart piercing.
<<elseif ($slaves[$i].clitPiercing > 2)>>
	Almost everyone appreciates $his reduced reluctance towards sex encouraged by $his smart piercing.
<</if>>

<<if $slaves[$i].teeth == "removable">>
	The extra attention $he receives from $his ability to give toothless sucks is balanced out by the customers who are disgusted by it.
<<elseif $slaves[$i].teeth == "pointy">>
	The extra attention $he receives from $his terrifying mouth of sharp teeth is balanced out by the customers who are scared off by them.
<</if>>

<<if $slaves[$i].dick != 0>>
	<<if $arcologies[0].FSGenderRadicalist == "unset">>
		$He sees fewer customers because many prefer whores without cocks.
	<<elseif $arcologies[0].FSGenderRadicalist < 50>>
		$His cock entices some customers and disappoints others; it has little effect on $his popularity.
	<<else>>
		The overwhelming majority of potential customers consider $his cock an attraction.
	<</if>>
<</if>>

<<if $slaves[$i].muscles > 95>>
	<<if $arcologies[0].FSPhysicalIdealist != "unset">>
		In the new culture of $arcologies[0].name $his muscles make $him a very profitable whore.
	<<else>>
		$His muscles scare off some customers, but some pay well to enjoy a muscular whore.
	<</if>>
<</if>>

<<if $slaves[$i].amp == 1>>
	Many prefer to fuck a whore with limbs, but some greatly enjoy buying the use of a helpless amputee.
<</if>>

<<if $slaves[$i].lactation > 0>>
	$He appeals to customers who like lactation play, or just want a whore they can drink milk from.
	<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
<</if>>

<<if $slaves[$i].bellyPreg >= 1500 || setup.fakeBellies.includes($bellyAccessory) || $slaves[$i].bellyImplant >= 1500>>
	<<if $arcologies[0].FSRepopulationFocus != "unset">>
		In the new culture of $arcologies[0].name, $his pregnancy makes $him a profitable whore<<if setup.fakeBellies.includes($bellyAccessory) || $slaves[$i].bellyImplant >= 1500>>, even if it's not real<</if>>.
	<<elseif $arcologies[0].FSRepopulationFocusPregPolicy == 1 && $slaves[$i].bellyPreg >= 1500>>
		It's currently trendy to plow a whore laden with child, a role $he fits perfectly.
	<<elseif $arcologies[0].FSRestart != "unset">>
		In the new culture of $arcologies[0].name, $his<<if setup.fakeBellies.includes($bellyAccessory) || $slaves[$i].bellyImplant >= 1500>> apparent<</if>> pregnancy is a massive turn off to potential customers.
	<<elseif $arcologies[0].FSGenderFundamentalist != "unset">>
		The new respect for traditional gender roles has given many citizens a taste for pregnant whores<<if setup.fakeBellies.includes($bellyAccessory) || $slaves[$i].bellyImplant >= 1500>>, even if they only look pregnant<</if>>.
	<<else>>
		Many customers avoid visibly pregnant whores.
	<</if>>
<</if>>

<<if $arcologies[0].FSRepopulationFocusMilfPolicy == 1 && $slaves[$i].birthsTotal > 0>>
	Slaves that have had children are hot right now making $him quite the appealing MILF.
<</if>>

<<if ($seeRace == 1)>>
	<<if ($slaves[$i].race == "white")>>
		Many customers prefer white girls like $slaves[$i].slaveName.
	<</if>>
<</if>>

<<if $arcologies[0].FSSupremacist != "unset">>
	<<if $slaves[$i].race != $arcologies[0].FSSupremacistRace>>
		Some citizens fetishize whores of the servile races.
	<</if>>
<</if>>
<<if $arcologies[0].FSSubjugationist != "unset">>
	<<if $slaves[$i].race == $arcologies[0].FSSubjugationistRace>>
		Many prefer to use and abuse whores of the proper slave race.
	<</if>>
<</if>>
<<if $arcologies[0].FSEdoRevivalist != "unset">>
	<<if ($slaves[$i].nationality == "Japanese") || ($slaves[$i].nationality == "Edo Revivalist")>>
		As a proper Japanese girl, $he is considered extremely desirable.
	<</if>>
<<elseif $arcologies[0].FSChineseRevivalist != "unset">>
	<<if ($slaves[$i].nationality == "Chinese") || ($slaves[$i].nationality == "Chinese Revivalist")>>
		As a proper Chinese girl, $he is considered extremely desirable.
	<</if>>
<</if>>

<<if $slaves[$i].intelligence+$slaves[$i].intelligenceImplant > 15>>
	$His intelligence gives $him an advantage at the business of selling $his body.
<<elseif $slaves[$i].intelligence+$slaves[$i].intelligenceImplant < -15>>
	$His stupidity gives $him a handicap at the business of selling $his body.
<</if>>

<<if $slaves[$i].prestige > 0>>
	$He attracts more attention because it's prestigious to fuck $him.
<</if>>

<<if $slaves[$i].pornPrestige > 2>>
	Customers line up for the chance to buy time with the face of $slaves[$i].pornFameType porn.
<<elseif $slaves[$i].pornPrestige > 1>>
	$He has a sizable fanbase, one that is eager to buy time with $him.
<<elseif $slaves[$i].pornPrestige > 0>>
	A few of $his fans recognize $him and eagerly patronize $him.
<</if>>

<<if ($slaves[$i].fetishKnown == 1)>>
<<if ($slaves[$i].fetishStrength > 60)>>
<<switch $slaves[$i].fetish>>
<<case "submissive">>
	$He gets more ¤ for $his eagerness to submit.
<<case "cumslut">>
	$He gets more ¤ for $his enjoyment of cum.
<<case "humiliation">>
	$He gets more ¤ for $his eagerness to be humiliated by citizens.
<<case "buttslut">>
	<<if canDoAnal($slaves[$i])>>
		$He gets more ¤ for $his obvious enjoyment of buttsex.
	<</if>>
<<case "dom">>
	$He gets some more ¤ for $his enthusiasm dominating other slaves in group sex.
<<case "boobs">>
	$He receives more ¤ for $his eagerness to get some hands on $his chest.
<<case "masochist">>
	$He gets more ¤ for $his obvious enjoyment of pain.
<<case "sadist">>
	$He gets some more ¤ for $his willingness to abuse other slaves.
<<case "pregnancy">>
	<<if $slaves[$i].mpreg == 0>>
	<<if canDoVaginal($slaves[$i])>>
		As an impregnation fetishist $he's very enthusiastic about vaginal sex.
	<</if>>
	<<else>>
		<<if canDoAnal($slaves[$i])>>
			As an impregnation fetishist $he's very enthusiastic about anal sex.
		<</if>>
	<</if>>
<<case "mindbroken">>
	$He gets less ¤ because $he just lies there, totally unresponsive.
<</switch>>
<</if>>
<</if>>

<<if ($slaves[$i].attrKnown == 1)>>
<<if ($slaves[$i].energy > 95)>>
	As a nymphomaniac $he gets sexual release from every transaction and is wildly successful.
	<<set $slaves[$i].need -= $beauty>>
<<elseif ($slaves[$i].energy > 80)>>
	With $his powerful sex drive $he rarely has to fake an orgasm.
	<<set $slaves[$i].need -= $beauty*.9>>
<<elseif $slaves[$i].aphrodisiacs > 0 || ($slaves[$i].inflationType == "aphrodisiac")>>
	With $his aphrodisiac boosted libido, it's barely possible to discern $him from a natural nymphomaniac.
	<<set $slaves[$i].need -= $beauty*.9>>
<<elseif ($slaves[$i].energy > 60)>>
	With $his good sex drive $he often orgasms with customers.
	<<set $slaves[$i].need -= $beauty*.8>>
<<elseif ($slaves[$i].energy > 40)>>
	With $his average sex drive $he occasionally orgasms with customers.
	<<set $slaves[$i].need -= $beauty*.5>>
<<elseif ($slaves[$i].energy > 20)>>
	With $his poor sex drive $he almost never orgasms with customers.
	<<set $slaves[$i].need -= $beauty*.1>>
<<else>>
	Since $he's frigid, $he rarely experiences authentic arousal at work.
<</if>>
<<if ($slaves[$i].attrXY <= 15)>>
	<<if ($slaves[$i].attrXX <= 15)>>
		$His general disgust with sex makes $him a very poor whore.
	<<elseif ($slaves[$i].attrXX <= 85)>>
		$His sexual disgust with men makes $him a poor whore.
	<<elseif ($slaves[$i].attrXX <= 95)>>
		$His sexual disgust with men hinders $him, though $he is more enthusiastic with female customers.
	<<else>>
		$His sexual disgust with men hinders $him, though $he makes up for it with female customers.
	<</if>>
<<elseif ($slaves[$i].attrXY <= 85)>>
	<<if ($slaves[$i].attrXX <= 15)>>
		$His sexual disgust with men makes $him a poor whore.
	<<elseif ($slaves[$i].attrXX <= 85)>>
		$His indifference to men and women makes $him a poor whore.
	<<elseif ($slaves[$i].attrXX <= 95)>>
		$His sexual indifference to men hinders $him, though $he is more enthusiastic with female customers.
	<<else>>
		$His sexual indifference to men hinders $him, though $he makes up for it with female customers.
	<</if>>
<<elseif ($slaves[$i].attrXY <= 95)>>
	<<if ($slaves[$i].attrXX <= 15)>>
		$His sexual disgust with women hinders $him, though $he makes up for it with male customers.
	<<elseif ($slaves[$i].attrXX <= 85)>>
		$His sexual indifference to women hinders $him, though $he makes up for it with male customers.
	<<elseif ($slaves[$i].attrXX <= 95)>>
		$He has the advantage of sexual sincerity with both men and women.
	<<else>>
		$He's a good whore with male customers, and truly enthusiastic with women.
	<</if>>
<<else>>
	<<if ($slaves[$i].attrXX <= 15)>>
		$His sexual disgust with women hinders $him, though $he is enthusiastic with male customers.
	<<elseif ($slaves[$i].attrXX <= 85)>>
		$His sexual indifference to women hinders $him, though $he is enthusiastic with male customers.
	<<elseif ($slaves[$i].attrXX <= 95)>>
		$He's a good whore with female customers, and truly enthusiastic with men.
	<<else>>
		$He's openly lustful towards all customers, men and women.
	<</if>>
<</if>>
<</if>>

<<if ($slaves[$i].behavioralQuirk == "confident")>>
	$He's better at $his job because $he's such a confident whore.
<<elseif ($slaves[$i].behavioralQuirk == "cutting")>>
	$He gets a lot of attention for $his ability to joke at a customer's expense.
<<elseif ($slaves[$i].behavioralQuirk == "funny")>>
	$He brings unintentional comic relief to the hard work of prostitution.
<<elseif ($slaves[$i].behavioralQuirk == "adores women")>>
	$He's a favorite among female customers, whom $he greets with real enthusiasm.
<<elseif ($slaves[$i].behavioralQuirk == "adores men")>>
	$He's a favorite among male customers, whom $he greets with frank and open lust.
<<elseif ($slaves[$i].behavioralQuirk == "fitness")>>
	$He's eager to please customers because $he finds validation in their willingness to pay for sex with $him.
<<elseif ($slaves[$i].behavioralQuirk == "insecure")>>
	$He thinks of $himself as really beautiful, despite the occasional harshness of sex work.
<<elseif ($slaves[$i].behavioralQuirk == "sinful")>>
	$He identifies with prostitutes from the holy books, and scandalizes customers with $his explicit scriptural references.
<<elseif ($slaves[$i].behavioralQuirk == "advocate")>>
	$He reassures uncomfortable customers that prostitution isn't bad for $him at all.
<</if>>
<<if ($slaves[$i].sexualQuirk == "gagfuck queen")>>
	$He's a favorite among customers who like to throatfuck a retching whore.
<<elseif ($slaves[$i].sexualQuirk == "painal queen")>>
	$He's a favorite among customers who like to assrape a struggling whore.
<<elseif ($slaves[$i].sexualQuirk == "strugglefuck queen")>>
	$He's a favorite among customers who like to wrestle with a struggling whore.
<<elseif ($slaves[$i].sexualQuirk == "tease")>>
	Despite being a whore, $he somehow retains the ability to blush enticingly at nudity.
<<elseif ($slaves[$i].sexualQuirk == "romantic")>>
	Despite being a whore, $he somehow retains the ability to make $his customers feel special.
<<elseif ($slaves[$i].sexualQuirk == "perverted")>>
	$He enjoys unexpected, perverted requests from customers.
<<elseif ($slaves[$i].sexualQuirk == "unflinching")>>
	$He's impossible to disgust or surprise, pleasing customers with odd tastes.
<<elseif ($slaves[$i].sexualQuirk == "size queen")>>
	$He's very eager to spend quality time with big cocks, making $him a favorite among the well-endowed.
<<elseif ($slaves[$i].sexualQuirk == "caring")>>
	$He's a relaxing whore to patronize, doing everything $he can to make $his customers comfortable.
<</if>>

<<switch $slaves[$i].behavioralFlaw>>
<<case "arrogant">>
	$He receives less ¤ because $he treats clients like they are beneath $his dignity.
<<case "bitchy">>
	$He receives less ¤ because $he makes cutting remarks to clients.
<<case "odd">>
	$He receives less ¤ because clients are annoyed by $his odd behavior.
<<case "hates men">>
	$He receives less ¤ because $he can't conceal $his distaste for the company of men.
<<case "hates women">>
	$He receives less ¤ because $he can't conceal $his distaste for the company of women.
<<case "devout">>
	$He receives less ¤ because people are annoyed by $his habit of praying for forgiveness during sex.
<<case "liberated">>
	$He receives less ¤ because people are annoyed by $his obvious belief that being forced to serve them is wrong.
<</switch>>
<<switch $slaves[$i].sexualFlaw>>
<<case "hates oral">>
	$He receives less ¤ because $he tries to avoid sucking cock.
<<case "hates anal">>
	$He receives less ¤ because $he tries to avoid taking it up the ass.
<<case "hates penetration">>
	$He receives less ¤ because $he tries to avoid getting fucked.
<<case "repressed">>
	$He receives less ¤ because customers who don't feel like forcing $him sometimes have to cajole $him past $his repressed sexuality.
<<case "idealistic">>
	$He receives less ¤ because customers who don't feel like forcing $him sometimes have to convince $him to have sex with them.
<<case "apathetic">>
	$He receives less ¤ because $he often just lies there taking dick.
<<case "crude">>
	$He receives less ¤ because $he isn't exactly the most elegant sexual partner.
<<case "judgemental">>
	$He receives less ¤ because $he openly disdains unattractive customers.
<<case "shamefast">>
	$He receives less ¤ because $he sometimes hesitates to take $his clothes off and get to work.
<<case "cum addict">>
	$His abject begging for cum annoys customers who aren't looking for oral, but this is more than outweighed by how much it delights those who are.
<<case "anal addict">>
	$His abject begging for buttsex annoys customers who aren't interested in fucking $his ass, but this is more than outweighed by how much it delights those who are.
<<case "attention whore">>
	$He loses customers by $his constant attention seeking.
<<case "breast growth">>
	$His excessive obsession with $his own breasts, to the detriment of most sexual intercourse, loses customers.
<<case "abusive">>
	$He loses customers whenever $his sexual abusiveness becomes apparent.
<<case "malicious">>
	$He loses customers whenever $his sexual maliciousness becomes apparent.
<<case "self hating">>
	$He loses customers during the crying jags brought on by $his self hatred.
<<case "neglectful">>
	The occasional customer who likes a whore to climax authentically and can tell the difference is disappointed by $his neglect of $his own pleasure, but they're rare. Most are thrilled by $him.
<<case "breeder">>
	$His obsession with pregnancy loses customers who aren't interested in that.
<</switch>>

<</if>> /* CLOSES EWM */

<<if ($slaves[$i].sexualFlaw == "none")>>
<<if $slaves[$i].devotion < 10>>
<<if random(1,100) > 70>>
<<if ($slaves[$i].vaginalSkill <= 30) && canDoVaginal($slaves[$i])>>
	After being fucked too hard too often, $he now @@.red;dislikes being penetrated.@@
	<<set $slaves[$i].sexualFlaw = "hates penetration">>
<<elseif ($slaves[$i].analSkill <= 30) && canDoAnal($slaves[$i])>>
	After so much anal pain, $he now @@.red;dislikes being buttfucked.@@
	<<set $slaves[$i].sexualFlaw = "hates anal">>
<<elseif ($slaves[$i].oralSkill <= 30)>>
	After one too many facials, $he now @@.red;dislikes sucking cock.@@
	<<set $slaves[$i].sexualFlaw = "hates oral">>
<</if>>
<</if>>
<</if>>
<</if>>

In total, you were paid @@.yellowgreen;<<print cashFormat(Math.trunc($beauty*$FResult))>>@@ for the use of $slaves[$i].slaveName's body this week.
<<set _cashX = Math.trunc(($beauty*$FResult)*(1+(0.002*$slaves[$i].whoreSkill)))>>
<<set _incomeStats.income += Math.trunc(($beauty*$FResult)*(1+(0.002*$slaves[$i].whoreSkill)))>>

<<if $slaves[$i].assignment == "work in the brothel">>
	<<run cashX(_cashX, "whoreBrothel", $slaves[$i])>>
<<elseif $slaves[$i].assignment == "whore">>
	<<run cashX(_cashX, "whore", $slaves[$i])>>
<<else>>
	<<run cashX(_cashX, "whoring in an unregistered building", $slaves[$i])>>
<</if>>

/* FACILITY DECORATION IMPACTS */

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

/* SEX ACT COUNTS AND SEXUAL SATISFACTION */

<<set _oralUse = $oralUseWeight+($slaves[$i].oralSkill/30)+($slaves[$i].lips/20)>>
<<set _analUse = 0>>
<<if canDoAnal($slaves[$i])>><<set _analUse = $analUseWeight+($slaves[$i].analSkill/30)-$slaves[$i].anus>><</if>>
<<set _vaginalUse = 0>>
<<if canDoVaginal($slaves[$i])>><<set _vaginalUse = $vaginalUseWeight+($slaves[$i].vaginalSkill/30)-$slaves[$i].vagina>><</if>>
<<set _mammaryUse = 0>>
<<if $slaves[$i].boobs > 10000>><<set _mammaryUse += 5+$mammaryUseWeight>><<elseif $slaves[$i].boobs > 2000>><<set _mammaryUse += $mammaryUseWeight+($slaves[$i].boobs/2000)>><</if>>
<<if $slaves[$i].nipples == "fuckable">><<set _mammaryUse = _mammaryUse*2>><</if>>
<<set _penetrativeUse = 0>>
<<if canDoVaginal($slaves[$i]) && $slaves[$i].clit > 1>><<set _penetrativeUse += $penetrativeUseWeight+($slaves[$i].vaginalSkill/30)+$slaves[$i].clit>><</if>>
<<if $slaves[$i].dick>>
	<<if canPenetrate($slaves[$i])>>
		<<set _penetrativeUse += $penetrativeUseWeight+$slaves[$i].dick+Math.min($slaves[$i].balls,10)/4>>
		<<if ($slaves[$i].drugs == "hyper testicle enhancement")>>
			<<set _penetrativeUse += Math.min($slaves[$i].balls,5)>>
		<</if>>
	<<elseif !["chastity", "combined chastity"].includes($slaves[$i].dickAccessory)>>
		<<set _penetrativeUse += $penetrativeUseWeight+$slaves[$i].dick+Math.min($slaves[$i].balls,10)/8>>
		<<if ($slaves[$i].drugs == "hyper testicle enhancement")>>
			<<set _penetrativeUse += Math.min($slaves[$i].balls,5)>>
		<</if>>
	<</if>>
<</if>>

<<set _demand = _oralUse+_analUse+_vaginalUse+_mammaryUse+_penetrativeUse>>
<<set _oralUse = Math.trunc((_oralUse/_demand)*$beauty)>>
<<set _analUse = Math.trunc((_analUse/_demand)*$beauty)>>
<<set _vaginalUse = Math.trunc((_vaginalUse/_demand)*$beauty)>>
<<set _mammaryUse = Math.trunc((_mammaryUse/_demand)*$beauty)>>
<<set _penetrativeUse = Math.trunc((_penetrativeUse/_demand)*$beauty)>>

<<set _cervixPump = 0>>
<<if $slaves[$i].cervixImplant == 1 || $slaves[$i].cervixImplant == 3>>
	<<set _cervixPump += 20*_vaginalUse>>
<</if>>
<<if $slaves[$i].cervixImplant == 2 || $slaves[$i].cervixImplant == 3>>
	<<set _cervixPump += 20*_analUse>>
<</if>>

<<set $slaves[$i].oralCount += _oralUse, $slaves[$i].publicCount += _oralUse, $oralTotal += _oralUse>>
<<set $slaves[$i].analCount += _analUse, $slaves[$i].publicCount += _analUse, $analTotal += _analUse>>
<<set $slaves[$i].vaginalCount += _vaginalUse, $slaves[$i].publicCount += _vaginalUse, $vaginalTotal += _vaginalUse>>
<<set $slaves[$i].mammaryCount += _mammaryUse, $slaves[$i].publicCount += _mammaryUse, $mammaryTotal += _mammaryUse>>
<<set $slaves[$i].penetrativeCount += _penetrativeUse, $slaves[$i].publicCount += _penetrativeUse, $penetrativeTotal += _penetrativeUse>>

<<if $slaves[$i].need>>
<<if $slaves[$i].fetishKnown>>
<<switch $slaves[$i].fetish>>
<<case "submissive" "masochist">>
	<<if _analUse+_vaginalUse > 0>>
		$He enjoys being fucked, and got sexual satisfaction from the <<print _analUse+_vaginalUse>> dicks stuck inside $him this week.
		<<set $slaves[$i].need -= _analUse+_vaginalUse>>
	<</if>>
<<case "dom" "sadist">>
	<<if _penetrativeUse > 0>>
		$He enjoys being on top, and got special sexual satisfaction from the _penetrativeUse times $he got to fuck someone this week.
		<<set $slaves[$i].need -= 2*_penetrativeUse>>
	<</if>>
<<case "cumslut">>
	<<if _oralUse > 0>>
		$He enjoys sucking, and got sexual satisfaction from the _oralUse blowjobs $he gave this week.
		<<set $slaves[$i].need -= _oralUse>>
	<</if>>
<<case "buttslut">>
	<<if _analUse > 0>>
		$He enjoys getting buttfucked, and got sexual satisfaction from the _analUse times $he was sodomized this week.
		<<set $slaves[$i].need -= _analUse>>
	<</if>>
<<case "boobs">>
	<<if _mammaryUse > 0>>
		$He enjoys <<if $slaves[$i].nipples == "fuckable">>having $his tits fucked<<else>>giving a good titfuck<</if>>, and got sexual satisfaction from the _mammaryUse times they were used this week.
		<<set $slaves[$i].need -= _mammaryUse>>
	<</if>>
<<case "pregnancy">>
	<<if $slaves[$i].mpreg == 0>>
	<<if _vaginalUse > 0>>
		$He enjoys having $his pussy fucked, and got sexual satisfaction from the _vaginalUse times $he got dick this week.
		<<set $slaves[$i].need -= _vaginalUse>>
	<</if>>
	<<else>>
		<<if _analUse > 0>>
			$He enjoys having $his ass fucked, and got sexual satisfaction from the _analUse times $he got dick this week.
			<<set $slaves[$i].need -= _analUse>>
		<</if>>
	<</if>>
<<case "humiliation">>
	$He enjoys the humiliation of being a public slut, and got a bit of sexual satisfaction from every sex act $he performed this week.
	<<set $slaves[$i].need -= $beauty>>
<</switch>>
<</if>>
<</if>>

<<if ($showVignettes == 1)>>
	<<set _vignette = GetVignette($slaves[$i])>>
	__This week__ _vignette.text
	<<if (_vignette.type == "cash")>>
		<<if (_vignette.effect > 0)>>
			@@.yellowgreen;making you an extra <<print cashFormat(Math.trunc($FResult*_vignette.effect))>>.@@
		<<elseif (_vignette.effect < 0)>>
			@@.red;losing you <<print cashFormat(Math.abs(Math.trunc($FResult*_vignette.effect)))>>.@@
		<<else>>
			an incident without lasting effect.
		<</if>>
		<<set _cashX = Math.trunc($FResult*_vignette.effect)>>
		<<if $slaves[$i].assignment == "work in the brothel">>
			<<run cashX(_cashX, "whoreBrothel", $slaves[$i])>>
		<<elseif $slaves[$i].assignment == "whore">>
			<<run cashX(_cashX, "whore", $slaves[$i])>>
		<<else>>
			<<run cashX(_cashX, "whoring in an unregistered building", $slaves[$i])>>
		<</if>>
	<<set _incomeStats.income += Math.trunc($FResult*_vignette.effect)>>
	<<elseif (_vignette.type == "devotion")>>
		<<if (_vignette.effect > 0)>>
			<<if $slaves[$i].devotion > 50>>
		@@.hotpink;increasing $his devotion to you.@@
			<<elseif $slaves[$i].devotion >= -20>>
		@@.hotpink;increasing $his acceptance of you.@@
		<<elseif $slaves[$i].devotion > -10>>
		@@.hotpink;reducing $his dislike of you.@@
			<<else>>
		@@.hotpink;reducing $his hatred of you.@@
			<</if>>
		<<elseif (_vignette.effect < 0)>>
			<<if $slaves[$i].devotion > 50>>
		@@.mediumorchid;reducing $his devotion to you.@@
			<<elseif $slaves[$i].devotion >= -20>>
		@@.mediumorchid;reducing $his acceptance of you.@@
		<<elseif $slaves[$i].devotion > -10>>
		@@.mediumorchid;increasing $his dislike of you.@@
			<<else>>
		@@.mediumorchid;increasing $his hatred of you.@@
			<</if>>
		<<else>>
			an incident without lasting effect.
		<</if>>
		<<set $slaves[$i].devotion += 1*_vignette.effect>>
	<<elseif (_vignette.type == "trust")>>
		<<if (_vignette.effect > 0)>>
			<<if $slaves[$i].trust > 20>>
		@@.mediumaquamarine;increasing $his trust in you.@@
		<<elseif $slaves[$i].trust > -10>>
		@@.mediumaquamarine;reducing $his fear of you.@@
			<<else>>
		@@.mediumaquamarine;reducing $his terror of you.@@
			<</if>>
		<<elseif (_vignette.effect < 0)>>
			<<if $slaves[$i].trust > 20>>
		@@.gold;reducing $his trust in you.@@
			<<elseif $slaves[$i].trust >= -20>>
		@@.gold;increasing $his fear of you.@@
			<<else>>
		@@.gold;increasing $his terror of you.@@
			<</if>>
		<<else>>
			an incident without lasting effect.
		<</if>>
		<<set $slaves[$i].trust += 1*_vignette.effect>>
	<<elseif (_vignette.type == "health")>>
		<<if (_vignette.effect > 0)>>
		@@.green;improving $his health.@@
		<<elseif (_vignette.effect < 0)>>
		@@.red;affecting $his health.@@
		<<else>>
			an incident without lasting effect.
		<</if>>
		<<set $slaves[$i].health += 2*_vignette.effect>>
	<<else>>
		<<if (_vignette.effect > 0)>>
			@@.green;gaining you a bit of reputation.@@
		<<elseif (_vignette.effect < 0)>>
			@@.red;losing you a bit of reputation.@@
		<<else>>
			an incident without lasting effect.
		<</if>>
		<<run repX( Math.trunc($FResult*_vignette.effect*0.1), "vignette", $slaves[$i])>>
	<<set _incomeStats.rep += Math.trunc($FResult*_vignette.effect*0.1)>>
	<</if>>

<</if>>

<<if $slaves[$i].energy > 40 && $slaves[$i].energy < 95>>
	Being used sexually all week @@.lime;increases $his sex drive.@@
	<<set $slaves[$i].energy++>>
<</if>>

<<if _cervixPump > 0>>
	$He notices $his @@.lime;belly has grown@@ from
	<<if $slaves[$i].cervixImplant == 1>>
		vaginal
	<<elseif $slaves[$i].cervixImplant == 2>>
		anal
	<</if>>
	sex throughout week.
	<<set $slaves[$i].bellyImplant += _cervixPump>>
<</if>>


code:
:: SA work a glory hole [nobr]

<!-- Statistics gathering -->
<<set _incomeStats = getSlaveStatisticData($slaves[$i], $slaves[$i].assignment === Job.ARCADE ? $facility.arcade : undefined)>>

<<if $arcologies[0].FSDegradationist != "unset">>
	<<set $beauty = random(80,100)+(20*(4-$slaves[$i].anus))+(10*(4-$slaves[$i].vagina))+Math.trunc($arcologies[0].FSDegradationist/2)>>
<<else>>
	<<set $beauty = random(80,100)+(20*(4-$slaves[$i].anus))+(10*(4-$slaves[$i].vagina))>>
<</if>>
<<if $arcologies[0].FSDegradationistLaw == 1>>
	<<set $beauty = Math.trunc($beauty*1.5)>>
<<elseif $ACitizens > $ASlaves*4>>
	<<set $beauty = Math.trunc($beauty*1.1)>>
<<elseif $ACitizens > $ASlaves*2>>
	<<set $beauty = Math.trunc($beauty*1)>>
<<elseif $ACitizens > $ASlaves>>
	<<set $beauty = Math.trunc($beauty*0.95)>>
<<elseif $ACitizens > $ASlaves*0.5>>
	<<set $beauty = Math.trunc($beauty*0.9)>>
<<else>>
	<<set $beauty = Math.trunc($beauty*0.85)>>
<</if>>
<<if $beauty < 10>>
	<<set $beauty = 10>>
<</if>>
<<if $ACitizens > $ASlaves>>
	<<set $FResult = 3>>
<<elseif $ACitizens > $ASlaves*0.5>>
	<<set $FResult = 2>>
<<else>>
	<<set $FResult = 1>>
<</if>>

<<if ($slaves[$i].assignment == "be confined in the arcade") && ($arcadeUpgradeInjectors == 1)>>
	<<set $FResult += 1>>
<</if>>

is <<if $slaves[$i].fuckdoll == 0>>restrained in a glory hole<<else>>set out for use<</if>>. $beauty customers (<<print Math.trunc($beauty/7)>> a day) paid <<print cashFormat($FResult)>> to use $his holes.
<<set _incomeStats.customers = $beauty>>

<<if ($arcologies[0].FSDegradationist > 0)>>
	Demand for $his holes is strong due to the appetite for degradation rampant in $arcologies[0].name.
<</if>>

<<if ($slaves[$i].curatives > 0) || $slaves[$i].inflationType == "curative">>
	The drugs $he's<<if $slaves[$i].inflationType == "curative">> harboring inside $his guts<<else>> on<</if>> protect $his health from the stress of being used as a sexual appliance.
<<elseif ($slaves[$i].health < -50)>>
	The stress of being used while very ill @@.red;damaged $his health.@@
	<<set $slaves[$i].health -= 10>>
<<elseif ($slaves[$i].health < -10)>>
	<<if (random(1,100) > 10)>>
		The stress of being used while weak has @@.red;damaged $his health.@@
		<<set $slaves[$i].health -= 10>>
	<</if>>
<<elseif ($slaves[$i].vagina == -1)>>
	<<if (random(1,100) > 70)>>
		The stress of being used in only two holes has @@.red;damaged $his health.@@
		<<set $slaves[$i].health -= 10>>
	<</if>>
<<elseif (random(1,100) > 25)>>
	The stress of being used has @@.red;damaged $his health.@@
	<<set $slaves[$i].health -= 10>>
<</if>>

<<if ($slaves[$i].vagina == 0) && canDoVaginal($slaves[$i])>>
	A <<if $slaves[$i].fuckdoll == 0>>glory hole <<else>>Fuckdoll <</if>>user takes $his virginity. He does not notice or care. @@.lime;$His pussy has been broken in@@ in a @@.gold;painful@@ and @@.mediumorchid;degrading@@ way.
	<<set $slaves[$i].devotion -= 10, $slaves[$i].trust -= 10, $slaves[$i].vagina = 1>>
<<elseif ($slaves[$i].vagina < 3) && (canDoVaginal($slaves[$i])) && (random(1,100) > ((170-$beauty)+($slaves[$i].vagina*10)))>>
	@@.lime;$His pussy gets stretched out by the use.@@
	<<set $slaves[$i].vagina += 1>>
<</if>>

<<if ($slaves[$i].anus == 0) && canDoAnal($slaves[$i])>>
	$His anal virginity goes to a <<if $slaves[$i].fuckdoll == 0>>glory hole <<else>>Fuckdoll <</if>>user, who doesn't understand why this particular run at <<if $slaves[$i].fuckdoll == 0>>the glory hole<<else>>a Fuckdoll<</if>> is so great. @@.lime;$His ass has been broken in@@ in a @@.gold;painful@@ and @@.mediumorchid;degrading@@ way.
	<<set $slaves[$i].devotion -= 5, $slaves[$i].trust -= 5, $slaves[$i].anus = 1>>
<<elseif ($slaves[$i].anus < 3) && canDoAnal($slaves[$i]) && (random(1,100) > ((150-$beauty)+($slaves[$i].anus*10)))>>
	@@.lime;$His asshole sees constant use and loosens.@@
	<<set $slaves[$i].anus += 1>>
<</if>>

<<if ($slaves[$i].fetish == "mindbroken")>>
	$He serves $his role as a mindless set of holes to perfection.
<<else>>
	<<set $skillIncrease = 5>>
	<<if ($slaves[$i].oralSkill <= 10)>>
		With $his throat being brutally used, $his gag reflex is suppressed and $his oral skills improve.
		<<OralSkillIncrease $slaves[$i]>>
	<<elseif ($slaves[$i].vaginalSkill <= 10) && (canDoVaginal($slaves[$i]))>>
		With $his pussy being harshly used, $his vaginal skills improve.
		<<VaginalSkillIncrease $slaves[$i]>>
	<<elseif ($slaves[$i].analSkill <= 10) && (canDoAnal($slaves[$i]))>>
		With $his butt being mercilessly fucked, $his anal skills improve.
		<<AnalSkillIncrease $slaves[$i]>>
	<</if>>
	<<if $slaves[$i].sexualFlaw == "self hating">>
		$His self hatred is so deep that $he believes $he deserves to serve in a glory hole, and even gets off on the degradation.
	<<elseif ($slaves[$i].sentence > 0)>>
		<<if ($slaves[$i].behavioralFlaw != "odd") && (random(1,100) > (100+($slaves[$i].devotion/5)))>>
			Constant confinement coupled with brutal use has left $him with involuntary nervous tics.
			<<set $slaves[$i].behavioralFlaw = "odd">>
		<</if>>
		<<set $slaves[$i].devotion -= 5, $slaves[$i].trust -= 5>>
		<<if ($slaves[$i].devotion > 50)>>
			$He does $his best to tolerate $his sentence to the glory hole, but @@.mediumorchid;$his devotion is hurt@@ and $he is @@.gold;filled with fear@@ $he won't be let out.
		<<elseif ($slaves[$i].devotion > 20)>>
			$He does not understand why $his obedience has earned $him a sentence to this torture. @@.mediumorchid;$His obedience is hurt@@ and $he is @@.gold;filled with fear@@ $he won't be let out.
		<<elseif ($slaves[$i].devotion >= -20)>>
			$His fear of you turns to desperation during $his sentence. @@.mediumorchid;$His obedience is reduced@@ and $he is @@.gold;filled with fear@@ $he won't be let out.
		<<elseif ($slaves[$i].devotion >= -50)>>
			Though $he is only temporarily sentenced to suffer, @@.mediumorchid;$his resistance is increased@@ and $he is @@.gold;filled with fear@@ $he won't be let out.
		<<else>>
			$He has hope $he'll be released after $his sentence, but @@.mediumorchid;$his hatred of you is increased@@ and $he is @@.gold;filled with fear@@ $he won't be let out.
		<</if>>
	<<else>>
		<<if ($slaves[$i].behavioralFlaw != "odd") && (random(1,100) > (70+($slaves[$i].devotion/5)))>>
			Constant confinement coupled with brutal use has left $him with involuntary nervous tics.
			<<set $slaves[$i].behavioralFlaw = "odd">>
		<</if>>
		<<set $slaves[$i].devotion -= 10, $slaves[$i].trust -= 10>>
		<<if ($slaves[$i].devotion > 50)>>
			$He feels starved of personal contact. @@.mediumorchid;$His devotion is hurt@@ and $he is @@.gold;filled with fear@@ $he won't be let out.
		<<elseif ($slaves[$i].devotion > 20)>>
			$He does not understand why $his obedience has earned $him this immurement. @@.mediumorchid;$His obedience is hurt@@ and $he is @@.gold;filled with fear@@ $he won't be let out.
		<<elseif ($slaves[$i].devotion >= -20)>>
			$His fear of you has increased into something like a pathology. @@.mediumorchid;$His obedience is reduced@@ and $he is @@.gold;filled with fear@@ $he won't be let out.
		<<elseif ($slaves[$i].devotion >= -50)>>
			$His resistance is deepening into hatred. @@.mediumorchid;$His resistance is increased@@ and $he is @@.gold;filled with fear@@ $he won't be let out.
		<<else>>
			@@.mediumorchid;$His helpless hatred of you is increased@@ and $he is @@.gold;filled with fear@@ $he won't be let out.
		<</if>>
	<</if>>
<</if>>

$His feelings, skills, and appearance do not matter. $He is condemned to a world that consists of a tiny cell, featureless except for the never-ending dicks $he is required to service. You were paid @@.yellowgreen;<<print cashFormat(($beauty*$FResult))>>@@ for the use of $slaves[$i].slaveName's holes this week.

/* FACILITY DECORATION IMPACTS */

<<if ($slaves[$i].assignment == "be confined in the arcade") && ($arcadeDecoration != "standard")>>
<<set _seed = 0.0001*$FSSingleSlaveRep*$beauty>>
<<switch $arcadeDecoration>>
<<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 "Repopulation Focus">>
	<<set $arcologies[0].FSRepopulationFocus += _seed>>
<<case "Eugenics">>
	<<set $arcologies[0].FSRestart += _seed>>
<<case "Chattel Religionist">>
	<<set $arcologies[0].FSChattelReligionist += _seed>>
<<case "Degradationist">>
	<<set $arcologies[0].FSDegradationist += _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>>

/* SEX ACT COUNTS AND SEXUAL SATISFACTION */

<<set _oralUse = $oralUseWeight+($slaves[$i].lips/20)>>
<<set _analUse = 0>>
<<if canDoAnal($slaves[$i])>><<set _analUse = $analUseWeight-$slaves[$i].anus>><<if _analUse < 0>><<set _analUse = 0>><</if>><</if>>
<<set _vaginalUse = 0>>
<<if canDoVaginal($slaves[$i])>><<set _vaginalUse = $vaginalUseWeight-$slaves[$i].vagina>><<if _vaginalUse < 0>><<set _vaginalUse = 0>><</if>><</if>>

<<set _demand = _oralUse+_analUse+_vaginalUse>>
<<set _oralUse = Math.trunc((_oralUse/_demand)*$beauty)>>
<<set _analUse = Math.trunc((_analUse/_demand)*$beauty)>>
<<set _vaginalUse = Math.trunc((_vaginalUse/_demand)*$beauty)>>
<<set $slaves[$i].need -= (_analUse+_vaginalUse)/4>>

<<set $slaves[$i].oralCount += _oralUse, $slaves[$i].publicCount += _oralUse, $oralTotal += _oralUse>>
<<set $slaves[$i].analCount += _analUse, $slaves[$i].publicCount += _analUse, $analTotal += _analUse>>
<<set $slaves[$i].vaginalCount += _vaginalUse, $slaves[$i].publicCount += _vaginalUse, $vaginalTotal += _vaginalUse>>

<<set _cervixPump = 0>>
<<if $slaves[$i].cervixImplant == 1 || $slaves[$i].cervixImplant == 3>>
	<<set _cervixPump += 20*_vaginalUse>>
<</if>>
<<if $slaves[$i].cervixImplant == 2 || $slaves[$i].cervixImplant == 3>>
	<<set _cervixPump += 20*_analUse>>
<</if>>

<<if $slaves[$i].need>>
<<if $slaves[$i].fetishKnown>>
<<switch $slaves[$i].fetish>>
<<case "submissive" "masochist">>
	<<if _analUse+_vaginalUse > 0>>
		$He enjoys being used, and got sexual satisfaction from the <<print _analUse+_vaginalUse>> dicks stuck inside $him this week.
		<<set $slaves[$i].need -= _analUse+_vaginalUse>>
	<</if>>
<<case "dom" "sadist">>
<<case "cumslut">>
	<<if _oralUse > 0>>
		$He enjoys being facefucked, and got sexual satisfaction from the _oralUse dicks shoved inside $his throat this week.
		<<set $slaves[$i].need -= _oralUse>>
	<</if>>
<<case "buttslut">>
	<<if _analUse > 0>>
		$He enjoys getting buttfucked, and got sexual satisfaction from the _analUse times $he was sodomized this week.
		<<set $slaves[$i].need -= _analUse>>
	<</if>>
<<case "pregnancy">>
	<<if $slaves[$i].mpreg == 0>>
	<<if _vaginalUse > 0>>
		$He enjoys having $his pussy fucked, and got sexual satisfaction from the _vaginalUse times $he got pounded this week.
		<<set $slaves[$i].need -= _vaginalUse>>
	<</if>>
	<<else>>
		<<if _analUse > 0>>
			$He enjoys having $his ass fucked, and got sexual satisfaction from the _analUse times $he got pounded this week.
			<<set $slaves[$i].need -= _analUse>>
		<</if>>
	<</if>>
<<case "humiliation">>
	$He enjoys the humiliation of having $his most intimate parts presented for public use, and got a bit of sexual satisfaction from every sex act $he performed this week.
	<<set $slaves[$i].need -= $beauty>>
<</switch>>
<</if>>
<</if>>

<<if _cervixPump > 0>>
	$He notices $his @@.lime;belly has swollen@@ from all the
	<<if $slaves[$i].cervixImplant == 1>>
		vaginal
	<<elseif $slaves[$i].cervixImplant == 2>>
		anal
	<</if>>
	sex $he had throughout the week.
	<<set $slaves[$i].bellyImplant += _cervixPump>>
<</if>>

<<if $slaves[$i].assignment == "work a glory hole">>
	<<run cashX(($beauty*$FResult), "gloryhole", $slaves[$i])>>
<<elseif $slaves[$i].assignment == "be confined in the arcade">>
	<<run cashX(($beauty*$FResult), "gloryholeArcade", $slaves[$i])>>
<<else>>
	<<run cashX(($beauty*$FResult), "working a gloryhole in an unregistered building", $slaves[$i])>>
<</if>>
<<set _profits += ($beauty*$FResult)>>
<<set _incomeStats.income += ($beauty*$FResult)>>

repo_name: AnonDev/fc