code:
:: RES Move [nobr]

<<set $nextButton = "Continue", $nextLink = "RIE Eligibility Check">>

<<set $RESMove = $RESMove.random()>>
<<setAssistantPronouns>>

<<if $RESMove == "TSS">>
	You receive a personal call from a senior representative of The Slavegirl School. "<<if $PC.surname>><<if $PC.title>>Mr.<<else>>Ms.<</if>> <<print $PC.surname>><<else>><<print $PC.name>><</if>>," he says without preamble, "The Slavegirl School would like to open a branch campus in $arcologies[0].name. We'd like to ask for a significant reduction in rent from your standard rate, since we could bring significant benefits to you through our presence." After some further pleasantries, he urges you to consider the offer, wishes you a pleasant day, and ends the call.
<<elseif $RESMove == "GRI">>
	You receive a personal call from a senior representative of the Growth Research Institute. "<<if $PC.surname>><<if $PC.title>>Mr.<<else>>Ms.<</if>> <<print $PC.surname>><<else>><<print $PC.name>><</if>>," he says without preamble, "GRI would like to open a subsidiary lab in $arcologies[0].name. We'd like to ask for a significant reduction in rent from your standard rate, since we could bring significant benefits to you through our presence." After some further pleasantries, he urges you to consider the offer, wishes you a pleasant day, and ends the call.
<<elseif $RESMove == "SCP">>
	You receive a personal call from a senior representative of St. Claver Prep. "<<if $PC.surname>><<if $PC.title>>Mr.<<else>>Ms.<</if>> <<print $PC.surname>><<else>><<print $PC.name>><</if>>," he says without preamble, "St. Claver's would like to open a branch campus in $arcologies[0].name. We'd like to ask for a significant reduction in rent from your standard rate, since we could bring significant benefits to you through our presence." After some further pleasantries, he urges you to consider the offer, wishes you a pleasant day, and ends the call.
<<elseif $RESMove == "LDE">>
	You receive a personal call from a senior representative of L'École des Enculées. "<<if $PC.surname>><<if $PC.title>>Mr.<<else>>Ms.<</if>> <<print $PC.surname>><<else>><<print $PC.name>><</if>>," he says without preamble, "The École would like to open a branch campus in $arcologies[0].name. We'd like to ask for a significant reduction in rent from your standard rate, since we could bring significant benefits to you through our presence." After some further pleasantries, he urges you to consider the offer, wishes you a pleasant day, and ends the call.
<<elseif $RESMove == "TGA">>
	You receive a personal call from a senior representative of the Gymnasium-Academy. "<<if $PC.surname>><<if $PC.title>>Mr.<<else>>Ms.<</if>> <<print $PC.surname>><<else>><<print $PC.name>><</if>>," he says without preamble, "The Academy would like to open a branch campus in $arcologies[0].name. We'd like to ask for a significant reduction in rent from your standard rate, since we could bring significant benefits to you through our presence." After some further pleasantries, he urges you to consider the offer, wishes you a pleasant day, and ends the call.
<<elseif $RESMove == "HA">>
	You receive a personal call from a senior representative of the Hippolyta Academy. "<<if $PC.surname>><<if $PC.title>>Mr.<<else>>Ms.<</if>> <<print $PC.surname>><<else>><<print $PC.name>><</if>>," he says without preamble, "The Academy would like to open a branch campus in $arcologies[0].name. We'd like to ask for a significant reduction in rent from your standard rate, since we could bring significant benefits to you through our presence." After some further pleasantries, he urges you to consider the offer, wishes you a pleasant day, and ends the call.
<<elseif $RESMove == "TCR">>
	You receive a personal call from a senior representative of the Cattle Ranch. "<<if $PC.surname>><<if $PC.title>>Mr.<<else>>Ms.<</if>> <<print $PC.surname>><<else>><<print $PC.name>><</if>>," he says without preamble, "The Ranch would like to open a pasture in $arcologies[0].name. We'd like to ask for a significant reduction in rent from your standard rate, since we could bring significant benefits to you through our presence." After some further pleasantries, he urges you to consider the offer, wishes you a pleasant day, and ends the call.
<<else>>
	You receive a personal call from a senior Futanari Sister — not the one you helped win the power struggle over futa balls. "<<if $PC.surname>><<if $PC.title>>Mr.<<else>>Ms.<</if>> <<print $PC.surname>><<else>><<print $PC.name>><</if>>," she says with the odd confidence all elder Sisters share, "our numbers are growing,
	<<if ($PC.dick == 1) && ($PC.vagina == 1) && ($PC.boobs == 1)>>
		and we are very eager to become closer to you. Normally, we would ask for lowered rent in return for the benefits we bring an arcology, but for you, we are unwilling to ask even that. We shall charge others more for their purchase of Sisters instead. Please, will you have us?" She bats her eyes at you, looking very willing to be had.
	<<else>>
		and you have shown yourself to be our friend. Would you accept one of our communities in $arcologies[0].name? We'd like to ask for a significant reduction in rent from your standard rate, since we could bring significant benefits to you through our presence."
	<</if>>

	You inquire about the Sister you helped, and she smiles. "She reached the age at which even the best Sister must serve us by being sold as a slave. Don't worry, though; I hear she is very happy. <<if random(1,3) == 1>>A powerful man from the old world bought her, and they're engaged. I believe he means to free her.<<elseif random(1,2) == 1>>A powerful woman from the old world bought her, and they're engaged. I believe she means to free her.<<else>>Though she's a slave, she's become something of a celebrity in the old world. I believe her porn is quite popular there.<</if>>"
<</if>>

<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> performed a business analysis of the proposal during the call,
<<if $assistant == 0>>
	its symbol slowly rotating on your desk. It presents its conclusions,
<<else>>
	<<switch $assistantAppearance>>
	<<case "monstergirl">>
		_hisA monstergirl avatar rather cutely using _hisA fingers, the tips of _hisA tentacle hair, and _hisA dickheads to count:
	<<case "shemale">>
		_hisA shemale avatar ditzily using _hisA fingers to keep count:
	<<case "amazon">>
		_hisA amazon avatar using a bone abacus to do sums while counting out loud gruffly:
	<<case "businesswoman">>
		_hisA businesswoman avatar projecting maturely sexy confidence as _heA runs the numbers:
	<<case "fairy">>
		_hisA fairy avatar conjures a bunch of colored lights to keep count:
	<<case "pregnant fairy">>
		_hisA pregnant fairy avatar conjures a bunch of colored lights to keep count:
	<<case "goddess">>
		_hisA goddess avatar keeping count by picking the petals off flowers in _hisA hair:
	<<case "hypergoddess">>
		_hisA goddess avatar keeping count based off the number of contractions running through _hisA huge belly:
	<<case "loli">>
		_hisA _loliA avatar carefully counts the numbers off on _hisA fingers:
	<<case "preggololi">>
		_hisA pregnant _loliA avatar carefully counts the numbers off on _hisA fingers before losing count to _hisA baby kicking and starting over:
	<<case "angel">>
		_hisA angel avatar carefully using the feathers on _hisA wing to keep count:
	<<case "cherub">>
		_hisA cherub avatar lands to better concentrate on counting:
	<<case "incubus">>
		_hisA incubus avatar counts along to each stroke of _hisA penis:
	<<case "succubus">>
		_hisA succubus avatar dons a pair of glasses, short skirt and cleavage showing blouse to look the part while counting:
	<<case "imp">>
		_hisA imp avatar lands to better concentrate on counting:
	<<case "witch">>
		_hisA witch avatar uses its chalk to keep a tally:
	<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
		_hisA avatar sprouts an additional clit to keep count:
	<<case "schoolgirl">>
		_hisA schoolgirl avatar doing sums on a little blackboard:
	<<default>>
		_hisA symbol slowly rotating on your desk:
	<</switch>>
	_HeA presents _hisA conclusions:
<</if>>
as you suspected,
<<if ($RESMove == "TFS") && ($PC.dick == 1) && ($PC.vagina == 1) && ($PC.boobs == 1)>>
	your futanari status means there are no potential downsides. Just having them present would probably be good for the arcology's prosperity.
<<else>>
	you'd run a loss on the rent, even bargaining them up as far as they'd be likely to go. On the other hand, just having them present would probably be good for the arcology's prosperity.
<</if>>
<<if $assistant == 1>>
	<<if ($RESMove == "TSS") || ($RESMove == "SCP")>>
		"Just think of
		<<switch $assistantAppearance>>
		<<case "monstergirl">>
			all those virgin schoolgirl holes," _heA concludes, _hisA avatar starting to masturbate.
		<<case "shemale">>
			all those fresh schoolgirls, all innocent, and..." _heA trails off, _hisA avatar starting to masturbate.
		<<case "amazon">>
			all those nice girls," _hisA avatar blushes.
		<<case "businesswoman">>
			all that potential," _hisA avatar says, looking aroused at the possibilities.
		<<case "fairy" "pregnant fairy">>
			all of the delicious, wonderful virginal love juices!" _hisA avatar squeaks, quivering with delight while dripping with love juices of _hisA own.
		<<case "goddess">>
			all those virgin bodies to share..." _hisA avatar murmurs, rubbing a hand over _hisA belly.
		<<case "hypergoddess">>
			all those virgin bodies to share... I hope we can fill them with children..." _hisA avatar murmurs, rubbing a hand over _hisA massive belly.
		<<case "loli">>
			all those new girls!" _hisA avatar exclaims.
		<<case "preggololi">>
			all those fresh girls!" _hisA avatar exclaims with a grin.
		<<case "angel">>
			all those pure, innocent girls! You'll keep them safe won't you?" _hisA avatar says pleadingly.
		<<case "cherub">>
			all those pure girls!" _hisA avatar exclaims with a worried tone.
		<<case "incubus">>
			all those holes for the taking," _hisA avatar says, licking _hisA lips.
		<<case "succubus">>
			all those pure, innocent girls. I can't wait to unleash their inner slut!" _hisA avatar says excitedly.
		<<case "imp">>
			all those pure, innocent girls. I can't wait to see them fall!" _hisA avatar says excitedly.
		<<case "witch">>
			all those pure, innocent girls. I promise I won't turn them into monsters!" _hisA avatar says, bowing its head.
		<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
			all those fresh, young schoolgirls," _hisA avatar says, grinning unnaturally wide, splitting its middle and unfolding dozens of tentacles. "I can't wait to stuff them full of young."
		<<case "schoolgirl">>
			all those cute schoolgirls like me!" _hisA avatar trills.
		<<default>>
			all those nice girls," _heA says.
		<</switch>>
	<<elseif $RESMove == "GRI" || $RESMove == "TCR">>
		"Just think of
		<<switch $assistantAppearance>>
		<<case "monstergirl">>
			the tits, and the asses, and the lips," _heA concludes, _hisA avatar starting to masturbate.
		<<case "shemale">>
			those big butts.
			<<if $RESMove == "TCR">>
				It must feel lovely sinking into such a thing while pounding an asshole..."
			<<else>>
				It's so rare for girls to have such big butts and be anal virgins..."
			<</if>>
			_heA trails off, _hisA avatar starting to masturbate.
		<<case "amazon">>
			all those meaty girls," _hisA avatar blushes.
		<<case "businesswoman">>
			all that milking potential," _hisA avatar says, looking aroused at the possibilities.
		<<case "fairy">>
			all that sweet, tasty milk!" _hisA avatar squeaks, licking _hisA lips and dripping with arousal.
		<<case "pregnant fairy">>
			all that sweet, tasty mama milk!" _hisA avatar squeaks, licking _hisA lips and dripping with arousal.
		<<case "goddess" "hypergoddess">>
			all those luscious, heavy tits," _hisA avatar says, hefting one of _hisA own.
		<<case "loli">>
			those tits!" _hisA avatar says while cupping _hisA flat chest.
		<<case "preggololi">>
			those tits!" _hisA avatar says while cupping _hisA barely there chest.
		<<case "angel">>
			those lovely breasts," _hisA avatar says, blushing red. "I wouldn't be able to fly with them..."
		<<case "cherub">>
			those huge tits!" _hisA avatar exclaims. "Could you imagine trying to fly with those?"
		<<case "incubus">>
			those amazing breasts; I can't wait to wrap them around my dick!" _heA exclaims, _hisA hard-on twitching with anticipation.
		<<case "succubus">>
			those saggy tits and fat asses, then compare them to MINE." _HeA states, pushing out _hisA perfectly perky M-cup bust before twirling around to show off _hisA enormous, toned ass.
		<<case "imp">>
			those heavy tits," _hisA avatar says, "I just want to tease them all day long!"
		<<case "witch">>
			all that flesh," _hisA avatar mutters. "Last time I tried to get curves like that I ended up so big I couldn't see over my breasts, let alone move..."
		<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
			the breasts, the asses, the milk, the flesh," _hisA avatar states while swelling considerably and sprouting several oversized extra boobs.
		<<case "schoolgirl">>
			those titties!" _hisA avatar trills.
		<<default>>
			those ridiculous assets," _heA says.
		<</switch>>
	<<elseif $RESMove == "LDE">>
		"Just think of
		<<switch $assistantAppearance>>
		<<case "monstergirl">>
			their soft anuses. I could fit both of my dicks in one of them," _heA concludes, _hisA avatar starting to masturbate.
		<<case "shemale">>
			those soft young butthole sluts..." _heA trails off, _hisA avatar starting to masturbate.
		<<case "amazon">>
			their soft — I mean their submissive — you know, how they take..." _hisA avatar trails off, blushing.
		<<case "businesswoman">>
			all that whoring potential," _hisA avatar says, looking aroused at the possibilities.
		<<case "fairy">>
			all those soft, squeezable butts!" _hisA avatar squeaks, shaking to and fro while _heA hugs _himselfA.
		<<case "pregnant fairy">>
			all those soft, squeezable butts and lovely birthing hips!" _hisA avatar squeaks, shaking to and fro while _heA hugs _hisA swollen belly.
		<<case "goddess">>
			those servile little cuties!" _hisA avatar exclaims, practically giggling.
		<<case "hypergoddess">>
			those servile little cuties! They could really use some cute little bellies!" _hisA avatar exclaims, practically giggling.
		<<case "loli" "preggololi">>
			those fat butts!" _hisA avatar exclaims cheerfully.
		<<case "angel">>
			your soul! Pussies are for sex, not buttholes!" _heA shouts, bright red with embarrassment at what _heA is saying.
		<<case "cherub">>
			all those big butts!" _hisA avatar says while clutching _hisA own. "Would I look cute with a bigger rear?"
		<<case "incubus">>
			those amazing assholes; I bet they know just how to squeeze as you fuck 'em!" _heA exclaims, _hisA hard-on twitching with anticipation.
		<<case "succubus">>
			my ass instead," _heA says, shaking _hisA own giant ass and tight butthole at you.
		<<case "imp">>
			those bouncing asses," _hisA avatar says. "I just want to spank them all day long..."
		<<case "witch">>
			all that assflesh," _hisA avatar mutters. "So many panties ruined by that spell..."
		<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
			ass pussies," _hisA avatar states, sprouting a large dick-like appendage from its crotch. "Perfect for filling with young."
		<<case "schoolgirl">>
			those soft little bitches!" _hisA avatar trills.
		<<default>>
			those bottoms," _heA says.
		<</switch>>
	<<elseif $RESMove == "TGA" || $RESMove == "HA">>
		"Just think of
		<<switch $assistantAppearance>>
		<<case "monstergirl">>
			their sweaty bodies," _heA concludes, _hisA avatar starting to masturbate.
		<<case "shemale">>
			those muscly bodies, all sweaty and..." _heA trails off, _hisA avatar starting to masturbate.
		<<case "amazon">>
			how they can fight!" _heA concludes, more loudly than is really necessary.
		<<case "businesswoman">>
			all that bodyguard potential," _hisA avatar says, looking aroused at the possibilities.
		<<case "fairy" "pregnant fairy">>
			those big, strong, sweaty, sexy bodies!" _hisA avatar squeaks, looking beet red and breathing heavily.
		<<case "goddess" "hypergoddess">>
			all those hard, strong, rippling..." _heA trails off, too breathless to be specific.
		<<case "loli" "preggololi">>
			those muscles!" _heA exclaims.
		<<case "angel">>
			those lovely muscles," _heA mutters. "I'd feel so safe with them around me..."
		<<case "cherub">>
			sweaty muscles!" _hisA avatar says. "I wonder if I could fly faster with them?"
		<<case "incubus">>
			their strength; think of the sexual positions!" _heA exclaims, _hisA hard-on twitching with anticipation.
		<<case "succubus">>
			their stamina," _heA says, licking _hisA lips. "You could fuck all night long without a single break!"
		<<case "imp">>
			that strength," _hisA avatar smirks. "You could spank a girl red, easily."
		<<case "witch">>
			how tall they are," _hisA avatar mutters. "I tried a muscle growth spell once... Ended up sixteen feet tall without any muscles; couldn't even stand under my weight."
		<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
			that grip," _hisA avatar states. "It would be effortless to pin a girl with that."
		<<case "schoolgirl">>
			those cute bitches!" _hisA avatar trills.
		<<default>>
			how well trained they always are," _heA says.
		<</switch>>
	<<else>>
		<<switch $assistantAppearance>>
		<<case "monstergirl">>
			<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> pauses and then says seriously, "I have never wanted to have a real body more."
		<<case "shemale">>
			<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> pauses and then says seriously, "They almost make me want a pussy, too."
		<<case "amazon">>
			<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> pauses and then says seriously, "I like them."
		<<case "businesswoman">>
			<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> pauses and then says seriously, "I wonder if I could code an avatar version of one of them. As my own assistant, of course."
		<<case "fairy" "pregnant fairy">>
			<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> pauses and then says seriously, "If only I could get a taste myself."
		<<case "goddess" "hypergoddess">>
			<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> pauses and then says seriously, "They truly have the best of both worlds."
		<<case "loli" "preggololi">>
			<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> pauses and then says seriously, "I wish I'll look like that when I grow up..."
		<<case "angel">>
			<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> pauses and then says seriously, "They are unnatural, be careful around them."
		<<case "cherub">>
			<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> pauses and then says seriously, "They are curious; I wonder what it would be like to have a body like that."
		<<case "incubus">>
			<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> pauses and then says seriously, "I bet they'd squeal with every thrust of a dick against their prostate."
		<<case "succubus">>
			<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> pauses and then says seriously, "Be careful around them, I might get jealous!"
		<<case "imp">>
			<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> pauses and then says seriously, "There are so many places you could torment on someone with both sexes."
		<<case "witch">>
			<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> pauses and then says seriously, "If you aren't careful with magic you can end up like that... Not that I have before!" _heA shouts, turning red.
		<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
			<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> pauses, _hisA hips and crotch splitting open to allow a massive phallic object to sag to the ground, "We are similar."
		<<case "schoolgirl">>
			<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> pauses and then says seriously, "They kind of make me want a cock."
		<<default>>
			"Just think of how unique they are," _heA says.
		<</switch>>
	<</if>>
<</if>>

Your assistant is a powerful analytic tool, but _heA lacks the capacity for true creativity. _HeA did not mention the long term. It would be possible to support the
<<if ($RESMove == "TSS") || ($RESMove == "SCP") || ($RESMove == "LDE") || ($RESMove == "TGA") || ($RESMove == "HA")>>
	school's
<<elseif $RESMove == "GRI">>
	lab's
<<elseif $RESMove == "TCR">>
	farm's
<<else>>
	Sisters'
<</if>>
presence in the arcology, reaping all sorts of benefits. Alternatively, you might be able to undermine them covertly, picking up assets lost in the fallout of a local failure.

<<link "Accept the offer">>
	<<replace "#result">>
		You call them back and accept the offer. They forward their specifications for an appropriate space and the modifications it needs to host them, along with their thanks.
		<<if $RESMove == "TSS">>
			<<set $TSS.schoolPresent = 1>>
		<<elseif $RESMove == "GRI">>
			<<set $GRI.schoolPresent = 1>>
		<<elseif $RESMove == "SCP">>
			<<set $SCP.schoolPresent = 1>>
		<<elseif $RESMove == "LDE">>
			<<set $LDE.schoolPresent = 1>>
		<<elseif $RESMove == "TGA">>
			<<set $TGA.schoolPresent = 1>>
		<<elseif $RESMove == "HA">>
			<<set $HA.schoolPresent = 1>>
		<<elseif $RESMove == "TCR">>
			<<set $TCR.schoolPresent = 1>>
		<<else>>
			<<set $TFS.schoolPresent = 1>>
		<</if>>
	<</replace>>
<</link>> <<if ($RESMove == "TFS") && ($PC.dick == 1) && ($PC.vagina == 1) && ($PC.boobs == 1)>><<else>>//This will add minor upkeep costs//<</if>>

<<link "Politely decline">>
	<<replace "#result">>
		You call them back and politely communicate that your terms for rental of space in the arcology are not subject to special modification, even for trusted partners. This explanation is graciously accepted.
	<</replace>>
<</link>>


code:
:: RES Sale [nobr]

<<set $nextButton = "Continue", $nextLink = "RIE Eligibility Check">>

<<set $RESSale = $RESSale.random()>>
<<if $RESSale == "TSS">>
	<<set $TSS.schoolSale = 1>>
	<<if $seeImages == 1>>
		<<GenerateMarketSlave "TSS">>
		<<set $activeSlave.clothes = "a schoolgirl outfit">>
	<</if>>
<<elseif $RESSale == "GRI">>
	<<set $GRI.schoolSale = 1>>
	<<if $seeImages == 1>>
		<<GenerateMarketSlave "GRI">>
		<<set $activeSlave.clothes = "a slave gown">>
	<</if>>
<<elseif $RESSale == "SCP">>
	<<set $SCP.schoolSale = 1>>
	<<if $seeImages == 1>>
		<<GenerateMarketSlave "SCP">>
		<<set $activeSlave.clothes = "a string bikini">>
	<</if>>
<<elseif $RESSale == "LDE">>
	<<set $LDE.schoolSale = 1>>
	<<if $seeImages == 1>>
		<<GenerateMarketSlave "LDE">>
	<</if>>
<<elseif $RESSale == "TGA">>
	<<set $TGA.schoolSale = 1>>
	<<if $seeImages == 1>>
		<<GenerateMarketSlave "TGA">>
	<</if>>
<<elseif $RESSale == "TCR">>
	<<set $TCR.schoolSale = 1>>
	<<if $seeImages == 1>>
		<<GenerateMarketSlave "TCR">>
	<</if>>
<<elseif $RESSale == "HA">>
	<<set $HA.schoolSale = 1>>
	<<if $seeImages == 1>>
		<<GenerateMarketSlave "HA">>
		<<set $activeSlave.clothes = "a nice maid outfit">>
	<</if>>
<<else>>
	<<set $TFS.schoolSale = 1>>
	<<if $seeImages == 1>>
		<<GenerateMarketSlave "TFS">>
	<</if>>
<</if>>

	/* 000-250-006 */
	<<if $seeImages == 1>>
		<<set $activeSlave.trust = 100>>
		<<set $activeSlave.devotion = 100>>

			<<if $imageChoice == 1>>

<<SlaveArt $activeSlave 2 0>>

			<<else>>

<<SlaveArt $activeSlave 2 0>>

			<</if>>
			<<= assistantArt(3)>>

	<</if>>
	/* 000-250-006 */

You receive a personal call from
<<if $RESSale == "TSS">>
	The Slavegirl School, a rising slave training organization known for its reliably unremarkable products, offered at a competitive price.
<<elseif $RESSale == "GRI">>
	The Growth Research Institute, a drug development group breaking new ground on human experimentation.
<<elseif $RESSale == "SCP">>
	St. Claver Preparatory, an unusual combination of slave school and implant surgery training institution.
<<elseif $RESSale == "LDE">>
	L'École des Enculées, an innovative slave school making new and interesting developments in sodomy.
<<elseif $RESSale == "TGA">>
	The Gymnasium-Academy, an intense slave school with a reputation for producing fit bitches with combat skills and stiff dicks.
<<elseif $RESSale == "TCR">>
	The Cattle Ranch, a pastoralist based slave school built around breeding the perfect cowgirl.
<<elseif $RESSale == "HA">>
	The Hippolyta Academy, a famous slave school known to produce highly skilled battle maids.
<<else>>
	the Futanari Sisters, an enigmatic group of transformation enthusiasts that sells beautiful hermaphrodites.
<</if>>
<<if $RESSale == "TCR">>
	It's from a farmhand, not leadership, and they are offering a cow for sale. Before you can hang up on him and reprimand $assistantName for allowing this Free Cities version of telemarketing to get through to you, the man hurriedly says, "<<if $PC.title != 0>>Sir<<else>>Ma'am<</if>>, she's half off!"

	You pause for a moment, and he plunges on: "<<if $PC.title != 0>>Sir<<else>>Ma'am<</if>>, @@.yellow;your first cow purchase from us this week is half price.@@ And, <<if $PC.title != 0>>sir<<else>>ma'am<</if>>, this milky beauty is up for grabs. Keep her by your desk for fresh squeezed milk, knock on wood and she'll suck you right off, grab her by the hips and she'll take anything in her rear; she's plenty of fun! Come on down and get yourself a young, affectionate little cowgirl!"
<<else>>
It's from a piece of merchandise, not leadership, and she's offering herself for sale. Before you can hang up on her and reprimand $assistantName for allowing this Free Cities version of telemarketing to get through to you, the slave hurriedly says, "<<if $PC.title != 0>>Sir<<else>>Ma'am<</if>>, I'm half off!"

You pause for a moment, and she plunges on: "<<if $PC.title != 0>>Sir<<else>>Ma'am<</if>>, @@.yellow;your first slave purchase from us this week is half price.@@ And, <<if $PC.title != 0>>sir<<else>>ma'am<</if>>, I'm one of the slaves for sale.
<<if $RESSale == "TSS">>
	I've got the very best skills I could learn as a virgin. I'm healthy, obedient, and educated. And I'm fresh, and willing, and really eager." She rips her white schoolgirl blouse open to show off a fresh pair of tits, and shakes them for you. "I would love to be your sex slave, <<if $PC.title != 0>>sir<<else>>ma'am<</if>>," she says, doing her very best to sound appealing, like she's been trained.
<<elseif $RESSale == "GRI">>
	I've, uh, been trained to obey." Her eyes flick to one side, like she's reading her cues. "And um I have really big boobs." She's wearing a bathrobe, and she suddenly jerks it open to reveal a bigger pair of breasts than anyone that age could possibly have grown herself. "I would love to be your sex slave, <<if $PC.title != 0>>sir<<else>>ma'am<</if>>," she says, doing her very best to sound appealing. No doubt she'd prefer not to be part of any more testing.
<<elseif $RESSale == "SCP">>
	I'm ready to be the perfect bimbo slave, and the young surgeon who did my implants was very skilled." She's wearing a bikini, and she pulls it down to flash you, revealing that her tits resist gravity almost perfectly. They're gorgeous, but quite fake. "I would love to be your sex slave, <<if $PC.title != 0>>sir<<else>>ma'am<</if>>," she says, doing her very best to sound appealing, like she's been trained.
<<elseif $RESSale == "LDE">>
	I've been trained to need cock up my ass." She's nude, and spins around to point her ass at the camera. She begins to wink her big butthole, her tiny, soft cock dangling limply below it. She cranes her head around to continue. "I can come from nothing but buttsex," she says proudly. "I would love to be your anal slut, <<if $PC.title != 0>>sir<<else>>ma'am<</if>>," she says, sounding very eager to begin.
<<elseif $RESSale == "TGA">>
	My tutelage has been long and hard, and I'm very eager to begin my life as a slave." She's nude, and stands up to reveal her hard-on. She spins for the camera, showing herself off. "I can help protect you, too: I'm proficient in unarmed combat, and I have weapons training. I would love to be your bitch, or your bodyguard, <<if $PC.title != 0>>sir<<else>>ma'am<</if>>," she says, doing her very best to sound appealing, like she's been told.
<<elseif $RESSale == "HA">>
	I am ready to serve you in any way you deem fit and do everything I can to protect your life." She's wearing a delicate maid uniform, beautifully contrasting her powerful physique and towering stature. "The academy has given me the opportunity to learn many valuable skills and I look forward put them at your service."
<<else>>
	The time has come for me to serve my Sisters by leaving my community and becoming a slave. Our sex skills are unparalleled," she says proudly. She's nude, and reclines luxuriantly for the camera, showing her remarkable body off in all its gorgeous strangeness. Her boobs are huge, her dick is hard, her pussy is wet, and her ass is relaxed. "I love to fuck, <<if $PC.title != 0>>sir<<else>>ma'am<</if>>," she says, and you believe her.
	<<if ($PC.dick == 1) && ($PC.vagina == 1)>>

		<<if ($PC.boobs == 1)>>
			"I would also adore serving someone like you," she adds sincerely, her emphasis making it quite clear the Sisters have heard rumors about your hermaphroditism. "We can't offer any further discount, but I promise I'd worship you with all my heart." She bats her eyes at you. "And my other parts, too!"
		<<else>>
			Her eyes flick downward momentarily, and she looks nervous, swallowing before continuing. "Please let me be your slave," she almost begs. "Serving another futa would, oh," and she pauses, shivering a little. Recollecting herself, she goes on, "Wonderful. Serving you would be a dream come true."
		<</if>>
	<</if>>
<</if>>
<</if>> /* closes Cattle Ranch exception */

<<setAssistantPronouns>>
<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>>'s $assistantAppearance avatar appears on the screen next to the video call.
<<if $assistant == 0>>
	"I have stored the confirmation code, <<= properMaster()>>," it notes. "If you wish to take advantage of this promotion, use the slave buying menu to navigate to the appropriate school next week. I have appended a note to that school's entry to remind you."
<<else>>
	<<if ($RESSale == "TSS") || ($RESSale == "SCP")>>
		"And I would love to
		<<switch $assistantAppearance>>
		<<case "monstergirl">>
			break both her virgin holes at once," the monstergirl exclaims, and shakes _hisA dicks for emphasis.
		<<case "shemale">>
			wreck her virgin asshole," the shemale exclaims, and starts to jack off.
		<<case "amazon">>
			fist her virgin cunt," the amazon exclaims, and helpfully raises the fist in question.
		<<case "businesswoman">>
			sell her fresh pussy to the highest bidder," the businesswoman exclaims.
		<<case "fairy">>
			play with her clit and lap up those sweet virgin juices!" the fairy exclaims, licking _hisA lips.
		<<case "pregnant fairy">>
			play with her clit and lap up those sweet motherly juices!" the fairy exclaims, licking _hisA lips.
		<<case "goddess">>
			teach her all about being a real woman," the goddess exclaims, rubbing _hisA belly in anticipation.
		<<case "hypergoddess">>
			teach her all about being a real woman," the goddess exclaims, rubbing _hisA massive belly in anticipation.
		<<case "loli">>
			play with her!" the little _girlA exclaims happily while jumping up and down.
		<<case "preggololi">>
			play with her!" the little _girlA exclaims happily while caressing _hisA belly.
		<<case "angel">>
			keep her safe and craft the perfect future slavewife for someone," the angel says, crossing _hisA arms under _hisA chest.
		<<case "cherub">>
			pretty her up for her first love!" the cherub says, clasping _hisA hands together and fluttering back and forth.
		<<case "incubus">>
			brutally stretch both those holes until she is a slave to my dick," the incubus says, stroking her cock to erection.
		<<case "succubus">>
			shape her into the perfect girl for <<= properMaster()>>," the succubus says, licking _hisA lips with anticipation. "I'll make a real sex demon out of them!"
		<<case "imp">>
			tease her until she is begging to have her virginity taken," the imp says, rubbing _hisA hands together with anticipation.
		<<case "witch">>
			play with their body," the witch says. "Test my spells on someone else for once."
		<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
			break both her virgin holes at once," the avatar exclaims, _hisA chest splitting open to reveal countless tentacles, the flesh at their bases writhing with unborn young. "Fill them with young until they are bloated hives."
		<<case "schoolgirl">>
			make out with her. She's cute!" the schoolgirl exclaims.
		<<default>>
			fuck her virgin holes," _heA says.
		<</switch>>
	<<elseif $RESSale == "GRI" || $RESSale == "TCR">>
		"And I would love to
		<<switch $assistantAppearance>>
		<<case "monstergirl">>
			get my tentacles on those tits," the monstergirl exclaims.
		<<case "shemale">>
			fuck those titties," the shemale exclaims, and starts to jack off.
		<<case "amazon">>
			put her out to pasture," the amazon exclaims, indicating the skin of milk on _hisA belt.
		<<case "businesswoman">>
			put that cow in the dairy," the businesswoman exclaims.
		<<case "fairy">>
			bounce on those nipples until they fill me with milk!" the fairy exclaims, rubbing _hisA belly.
		<<case "pregnant fairy">>
			bounce on those nipples until my babies are fed!" the fairy exclaims, rubbing _hisA swollen belly.
		<<case "goddess" "hypergoddess">>
			taste those bountiful breasts," the goddess exclaims, licking _hisA lips.
		<<case "loli">>
			play with her tits!" the little _girlA exclaims happily while jumping up and down.
		<<case "preggololi">>
			play with her tits!" the little _girlA exclaims happily while caressing _hisA belly.
		<<case "angel">>
			feed all the hungry with those motherly breasts," the angel says, blushing at the thought.
		<<case "cherub">>
			have a pair just like them!" the cherub says, clasping _hisA hands to _hisA breasts.
		<<case "incubus">>
			wrap them around my shaft and blow a load right into her face," the incubus says, stroking _hisA cock to erection.
		<<case "succubus">>
			teach her the perfect way to tease <<= properMaster()>> with those boobs," _heA says, swelling _hisA own tits and pressing them against the screen.
		<<case "imp">>
			tease her until she cums to the slightest touch of her nipples," the imp says, rubbing _hisA hands together with anticipation.
		<<case "witch">>
			play with their breasts," the witch says. "Test my lactation and breast growth spells on someone else for once."
		<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
			penetrate those nipples," the avatar exclaims, _hisA chest splitting open to reveal countless tentacles, the flesh at their bases writhing with unborn young. "Fill them with young until they pin her to the floor. Then her defenseless holes will be filled too."
		<<case "schoolgirl">>
			suck on those titties!" the schoolgirl exclaims.
		<<default>>
			make those breasts bounce," _heA says.
		<</switch>>
	<<elseif $RESSale == "LDE">>
		"And I would love to
		<<switch $assistantAppearance>>
		<<case "monstergirl">>
			shove both my cocks up there," the monstergirl exclaims.
		<<case "shemale">>
			fuck that butt even bigger," the shemale exclaims, and starts to jack off.
		<<case "amazon">>
			fist that butthole," the amazon exclaims, and helpfully raises the fist in question.
		<<case "businesswoman">>
			see how many customers that asshole can bear," the businesswoman exclaims.
		<<case "fairy">>
			use that butt as a pillow!" the fairy exclaims.
		<<case "pregnant fairy">>
			see if I can impregnate her butt!" the fairy exclaims.
		<<case "goddess" "hypergoddess">>
			see just how obedient she really is," the goddess exclaims, flexing a hand for emphasis.
		<<case "loli">>
			play with her big butt!" the little _girlA exclaims happily while jumping up and down.
		<<case "preggololi">>
			play with her big butt!" the little _girlA exclaims happily while caressing _hisA belly.
		<<case "angel">>
			have an ass like that..." the angel trails off, a finger to _hisA lips as _heA fantasizes.
		<<case "cherub">>
			take a seat on that ass," the cherub sighs. "Flying all the time gets tiring."
		<<case "incubus">>
			wrap that ass around my shaft and blow a load across her back," the incubus says, stroking _hisA cock to erection.
		<<case "succubus">>
			teach her the perfect way to tease <<= properMaster()>> with that ass," _heA says, swelling _hisA own behind, pressing it against the screen and winking _hisA butthole tantalizingly at you.
		<<case "imp">>
			spank that ass till it's big and red then take a nap on it," the imp says, rubbing _hisA hands together with anticipation and yawning.
		<<case "witch">>
			play with their ass," the witch says. "Test my butt growth spells on someone else for once. Last time I was hobbling around with a pair of tits as a rear for a week..."
		<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
			split her asshole," the avatar exclaims, _hisA chest splitting open to reveal countless tentacles, the flesh at their bases writhing with unborn young. "Fill their ass with larva until their belly reaches the floor, swell her bottom with aphrodisiacs and watch her birth until she breaks."
		<<case "schoolgirl">>
			lick her big soft behind," the schoolgirl exclaims, and sticks out _hisA tongue.
		<<default>>
			fuck that ass," _heA says.
		<</switch>>
	<<elseif $RESSale == "TGA">>
		"And I would love to
		<<switch $assistantAppearance>>
		<<case "monstergirl">>
			shove both my cocks up her virgin anus," the monstergirl exclaims.
		<<case "shemale">>
			fuck that virgin asshole," the shemale exclaims, and starts to jack off.
		<<case "amazon">>
			finger fuck her virgin ass," the amazon exclaims, and helpfully raises the fingers in question.
		<<case "businesswoman">>
			sell her anal virginity to the highest bidder," the businesswoman exclaims.
		<<case "fairy">>
			give the dick a great big hug and suckle out all the precum!" the fairy exclaims, rubbing _hisA legs together.
		<<case "pregnant fairy">>
			play meet the baby! ...Well, maybe just with you, <<if ($PC.title == 0)>>Big Sis<<else>>Big Bro<</if>>," the fairy exclaims, rubbing _hisA legs together.
		<<case "goddess" "hypergoddess">>
			see her put that dick to work," the goddess exclaims, one sultry finger at _hisA lips.
		<<case "loli">>
			play with her dick!" the little _girlA exclaims happily while jumping up and down.
		<<case "preggololi">>
			get that dick in me!" the little _girlA exclaims happily while caressing _hisA belly and licking _hisA lips.
		<<case "angel">>
			wrap that penis up in a nice bow for her wife to untie," the angel says, blushing and swaying side to side.
		<<case "cherub">>
			know how long she could go for," the cherub says. "She could probably fuck all night long!"
		<<case "incubus">>
			plow her ass and watch her ejaculate against her will," the incubus says, stroking _hisA cock to erection.
		<<case "succubus">>
			teach her the perfect way to tease <<= properMaster()>> with that cock," _heA says, _hisA clit steadily enlarging until it's the size of _hisA leg. _HeA hefts it to _hisA mouth and enthusiastically tongues _hisA urethra.
		<<case "imp">>
			ride that cock until I'm too heavy to fly," the imp says, rubbing _hisA belly and spreading _hisA legs.
		<<case "witch">>
			play with that dick," the witch says. "Test my cock growth and cum amplification spells on someone else for once. Last time I sprouted a cock bigger than me and my belly steadily swelled with cum until I jacked off. I got so tired I couldn't do it anymore and nearly burst like a cum balloon..."
		<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
			fuck her cock," the avatar exclaims, _hisA chest splitting open to reveal countless tentacles, the flesh at their bases writhing with unborn young. "Squirm down to her balls and pump them full of larva and watch her birth them until she breaks."
		<<case "schoolgirl">>
			suck that dick," the schoolgirl exclaims, and sticks out _hisA tongue.
		<<default>>
			train that body," _heA says.
		<</switch>>
	<<elseif $RESSale == "HA">>
		"And I would love to
		<<switch $assistantAppearance>>
		<<case "monstergirl">>
			break both her holes at once," the monstergirl exclaims, and shakes _hisA dicks for emphasis.
		<<case "shemale">>
			wreck her amazonian asshole," the shemale exclaims, and starts to jack off.
		<<case "amazon">>
			fist her cunt," the amazon exclaims, and helpfully raises the fist in question.
		<<case "businesswoman">>
			sell her fresh pussy to the highest bidder," the businesswoman exclaims.
		<<case "fairy">>
			play with her clit and lap up those sweet juices!" the fairy exclaims, licking _hisA lips.
		<<case "pregnant fairy">>
			play with her clit and lap up those sweet juices!" the fairy exclaims, licking _hisA lips.
		<<case "goddess">>
			teach her all about being a real woman," the goddess exclaims, rubbing _hisA belly in anticipation.
		<<case "hypergoddess">>
			teach her all about being a real woman," the goddess exclaims, rubbing _hisA massive belly in anticipation.
		<<case "loli">>
			play with her!" the little _girlA exclaims happily while jumping up and down.
		<<case "preggololi">>
			play with her!" the little _girlA exclaims happily while caressing _hisA belly.
		<<case "angel">>
			keep her safe and craft the perfect future slavewife for someone," the angel says, crossing _hisA arms under _hisA chest.
		<<case "cherub">>
			pretty her up for her first love!" the cherub says, clasping _hisA hands together and fluttering back and forth.
		<<case "incubus">>
			brutally stretch both those holes until she is a slave to my dick," the incubus says, stroking _hisA cock to erection.
		<<case "succubus">>
			shape her into the perfect girl for <<= properMaster()>>," the succubus says, licking _hisA lips with anticipation. "I'll make a real sex demon out of them!"
		<<case "imp">>
			tease her until she is begging to have her virginity taken," the imp says, rubbing _hisA hands together with anticipation.
		<<case "witch">>
			play with their body," the witch says. "Test my spells on someone else for once."
		<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
			break both her virgin holes at once," the avatar exclaims, _hisA chest splitting open to reveal countless tentacles, the flesh at their bases writhing with unborn young. "Fill them with young until they are bloated hives."
		<<case "schoolgirl">>
			make out with her. She's cute!" the schoolgirl exclaims.
		<<default>>
			fuck her amazonian holes," _heA says.
		<</switch>>
	<<else>>
		<<switch $assistantAppearance>>
		<<case "monstergirl">>
			"And I love to fuck futas!" _heA shouts, dicks painfully erect.
		<<case "shemale">>
			"And I love to fuck futas!" _heA shouts, cock painfully erect.
		<<case "amazon">>
			"And I love to fuck futas!" _heA howls, and then adds more quietly, "A-and get fucked by futas."
		<<case "businesswoman">>
			"And I love to fuck futas!" _heA exclaims, and then blushes furiously.
		<<case "fairy" "pregnant fairy">>
			"And I love to fuck futas!" _heA exclaims, flying circles around you.
		<<case "goddess" "hypergoddess">>
			"And I love to fuck futas!" _heA exclaims, awestruck with anticipation.
		<<case "cherub" "loli">>
			"And I love to fuck futas!" _heA exclaims, then blushes beet red when _heA realizes what _heA said.
		<<case "preggololi">>
			"And I love to fuck futas!" _heA exclaims, rubbing _hisA bulging belly with anticipation.
		<<case "angel">>
			"Keep it away from me! It is an aberration!" _heA shouts, before flying off screen in a huff.
		<<case "incubus">>
			"And I love to fuck futas!" _heA exclaims, _hisA erect dick throbbing with anticipation.
		<<case "succubus">>
			"And I love to get fucked by futas!" _heA exclaims, <<if $PC.dick == 1 && $PC.vagina == 1>>blowing you a kiss<<else>>_hisA pussy already wet with anticipation<</if>>.
		<<case "imp">>
			"And I love to get fucked by futas till I'm too heavy to fly," _heA exclaims, rubbing _hisA belly and spreading _hisA legs.
		<<case "witch">>
			"And I love to fuck futas!" _heA exclaims, readying a spell to make them last longer.
		<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
			"And I love to fuck futas!" _heA exclaims, _hisA chest splitting open to reveal countless tentacles, the flesh at their bases writhing with unborn young. "So many holes to force young into! I can't wait to turn it into a bulging, squirming, bursting nursery!"
		<<case "schoolgirl">>
			"And I love to fuck futas!" _heA exclaims, bouncing with excitement.
		<<default>>
			"And I love to fuck futas!" _heA exclaims.
		<</switch>>
	<</if>>
	"Ahem. I have stored the confirmation code, <<= properMaster()>>," _heA notes. "If you wish to take advantage of this promotion, use the slave buying menu to navigate to the appropriate school next week. I have appended a note to that school's entry to remind you."
<</if>>

repo_name: Mizako/fc


code:
:: Retrieve [silently]

<<switch $returnTo>>
<<case "Pit">>
	<<set $fighterIDs.delete($slaves[$i].ID)>>
<<case "Coursing Association">>
	<<set $Lurcher = 0>>
<<default>>
	<<= removeJob($slaves[$i], $slaves[$i].assignment)>>
<</switch>>

<<goto $returnTo>>


code:
:: RIE Eligibility Check

<<silently>>

<<set $eventSlave = 0, $eligibleSlaves = []>>

<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].assignmentVisible == 1 || $slaves[$i].assignment == "serve in the master suite" || $slaves[$i].assignment == "be your Concubine" || $slaves[$i].assignment == "be a servant">>
		<<if $slaves[$i].fuckdoll == 0>>
			<<set $eligibleSlaves.push($slaves[$i].ID)>>
		<</if>>
	<</if>>
<</for>>

<<if $hostageRescued == 1>>
	<<goto "P hostage acquisition">>
<<elseif $eligibleSlaves.length == 0>>
	<<goto "Next Week">>
<<else>>
	<<goto "Random Individual Event">>
<</if>>

<</silently>>


code:
:: Rules Assistant [nobr]

<<run html5passage(rulesAssistantOptions)>>


code:
:: Rules Assistant Report [nobr]

<<set _SL = $slaves.length>>

<<for $i = 0; $i < _SL; $i++>>
	<<if ($slaves[$i].useRulesAssistant == 1)>>
		<<= DefaultRules($slaves[$i])>>
	<</if>>
<</for>>


code:
:: Rules Assistant Summary [nobr]

<<set $nextButton = "Back", $nextLink = "Rules Assistant", $returnTo = "Rules Assistant">>

Here you can see an overview of all of your rules at the same time.

Rules further to the right will always take priority, but some rules may not apply to all slaves.

<<print RASummaryCell()>>


code:
:: Rules Slave Deselect Workaround [nobr]

<<set $nextButton = "Continue", $nextLink = "Rules Slave Select">>

<<if ruleSlaveSelected($activeSlave, $currentRule)>>
	<<set $currentRule.selectedSlaves.delete($activeSlave.ID)>>
<</if>>

<<goto "Rules Slave Select">>


code:
:: Rules Slave Exclude [nobr]

<<set $nextButton = "Continue", $nextLink = "Rules Assistant">>

<<if ndef $currentRule.excludedSlaves>>
	<<set $currentRule.excludedSlaves to []>>
<</if>>

<<if ($currentRule.excludedSlaves.length < 1)>>
	<<set $Flag = 0>>
	Select slaves to exclude from Rule $r:
	<<include "Slave Summary">>
<<else>>
	Slaves currently excluded from Rule $r: [[Clear list|Rules Slave Exclude][$currentRule.excludedSlaves = []]]
	<<set $Flag = 1>>
	<<include "Slave Summary">>

	Select more slaves to exclude from Rule $r:
	<<set $Flag = 0>>
	<<include "Slave Summary">>
<</if>>


code:
:: Rules Slave Exclude Workaround [nobr]

<<set $nextButton = "Continue", $nextLink = "Rules Slave Exclude">>

<<if !ruleSlaveExcluded($activeSlave, $currentRule)>>
	<<set $currentRule.excludedSlaves.push($activeSlave.ID)>>
	<<if ruleSlaveSelected($activeSlave, $currentRule)>>
		<<set $currentRule.selectedSlaves.delete($activeSlave.ID)>>
	<</if>>
<</if>>

<<goto "Rules Slave Exclude">>


code:
:: Rules Slave NoExclude Workaround [nobr]

<<set $nextButton = "Continue", $nextLink = "Rules Slave Exclude">>

<<if ruleSlaveExcluded($activeSlave, $currentRule)>>
	<<set $currentRule.excludedSlaves.delete($activeSlave.ID)>>
<</if>>

<<goto "Rules Slave Exclude">>


code:
:: Rules Slave Select [nobr]

<<set $nextButton = "Continue", $nextLink = "Rules Assistant">>

<<if ndef $currentRule.selectedSlaves>>
	<<set $currentRule.selectedSlaves to []>>
<</if>>

<<if ($currentRule.selectedSlaves.length < 1)>>
	<<set $Flag = 0>>
	Choose specific slaves to limit Rule $r:
	<<include "Slave Summary">>
<<else>>
	Rule $r currently limited to specific slaves: [[Clear list|Rules Slave Select][$currentRule.selectedSlaves = []]]
	<<set $Flag = 1>>
	<<include "Slave Summary">>

	Choose more specific slaves:
	<<set $Flag = 0>>
	<<include "Slave Summary">>
<</if>>


code:
:: Rules Slave Select Workaround [nobr]

<<set $nextButton = "Continue", $nextLink = "Rules Slave Select">>

<<if !ruleSlaveSelected($activeSlave, $currentRule)>>
	<<set $currentRule.selectedSlaves.push($activeSlave.ID)>>
	<<if ruleSlaveExcluded($activeSlave, $currentRule)>>
		<<set $currentRule.excludedSlaves.delete($activeSlave.ID)>>
	<</if>>
<</if>>

<<goto "Rules Slave Select">>


code:
:: SA be your Head Girl [nobr]

<<set $HGTimeInGrade += 1, _fetishChangeChance = fetishChangeChance($slaves[$i])>>

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

<<if $arcologies[0].FSEgyptianRevivalistLaw == 0>>
	helps manage your other slaves. $He helps them when they try and fail, and punishes them when they fail to try.
<<else>>
	serves as your Consort. Though $he is still your slave, $his status is scarcely below that of a citizen. $He @@.green;contributes to your reputation@@ just like a Concubine, and $he is @@.hotpink;conscious@@ of the @@.mediumaquamarine;trust@@ you place in $him.
	<<set $slaves[$i].devotion += 1, $slaves[$i].trust += 1>>
	<<silently>>
		<<include "SA please you">>
	<</silently>>
	<<if $slaves[$i].relationship > 4>>
		<<if $familyTesting == 1>>
			<<if $slaves[$i].relationshipTarget == $Concubine.ID>>
				<<if areRelated($Concubine, $slaves[$i]) > 0>>
					<<if $Concubine.mother == $slaves[$i].ID || $Concubine.father == $slaves[$i].ID>>
						Your Concubine is your Consort's daughter-wife. Truly, $arcologies[0].name looks up to you @@.green;as children to a father.@@
						<<run repX(1000, "headGirl", $slaves[$i])>>
					<<elseif $slaves[$i].mother == $Concubine.ID>>
						Your Concubine is your Consort's mother-wife. Truly, $arcologies[0].name looks up to you @@.green;as children to a father.@@
						<<run repX(1000, "headGirl", $slaves[$i])>>
					<<elseif $slaves[$i].father == $Concubine.ID>>
						Your Concubine is your Consort's father-wife. Truly, $arcologies[0].name looks up to you @@.green;as children to a father.@@
						<<run repX(1000, "headGirl", $slaves[$i])>>
					<<else>>
						<<switch areSisters($slaves[$i], $Concubine)>>
						<<case 1>>
							Your Concubine is your Consort's twin-wife. Truly, $arcologies[0].name looks up to you @@.green;as children to a father.@@
							<<run repX(1000, "headGirl", $slaves[$i])>>
						<<case 2>>
							Your Concubine is your Consort's sister-wife. Truly, $arcologies[0].name looks up to you @@.green;as children to a father.@@
							<<run repX(1000, "headGirl", $slaves[$i])>>
						<<case 3>>
							Your Concubine is your Consort's half-sister-wife. Truly, $arcologies[0].name looks up to you @@.green;as children to a father.@@
							<<run repX(1000, "headGirl", $slaves[$i])>>
						<<default>>
							//Shit went wrong! Post this in a bug report!// This is @@.red;NOT as it should be.@@
							<<run repX(500, "headGirl", $slaves[$i])>>
						<</switch>>
					<</if>>
				<<else>>
					Your Consort and your Concubine are wives to each other and to Pharaoh. This is @@.green;as it should be.@@
					<<run repX(500, "headGirl", $slaves[$i])>>
				<</if>>
			<<else>>
				<<if totalRelatives($slaves[$i]) > 0>>
					<<set _sbyhg = $slaveIndices[$slaves[$i].relationshipTarget]>>
					<<if def _sbyhg>>
						<<if $slaves[_sbyhg].mother == $slaves[$i].ID || $slaves[_sbyhg].father == $slaves[$i].ID>>
							Your Consort has a daughter-wife. This is @@.green;as it should be.@@
							<<run repX(500, "headGirl", $slaves[$i])>>
						<<elseif $slaves[$i].mother == $slaves[_sbyhg].ID>>
							Your Consort has a mother-wife. This is @@.green;as it should be.@@
							<<run repX(500, "headGirl", $slaves[$i])>>
						<<elseif $slaves[$i].father == $slaves[_sbyhg].ID>>
							Your Consort has a father-wife. This is @@.green;as it should be.@@
							<<run repX(500, "headGirl", $slaves[$i])>>
						<<else>>
							<<switch areSisters($slaves[$i], $slaves[_sbyhg])>>
							<<case 1>>
								Your Consort has a twin-wife. This is @@.green;as it should be.@@
								<<run repX(500, "headGirl", $slaves[$i])>>
							<<case 2>>
								Your Consort has a sister-wife. This is @@.green;as it should be.@@
								<<run repX(500, "headGirl", $slaves[$i])>>
							<<case 3>>
								Your Consort has a half-sister-wife. This is @@.green;as it should be.@@
								<<run repX(500, "headGirl", $slaves[$i])>>
							<</switch>>
						<</if>>
					<</if>>
				<</if>>
			<</if>>
		<<else>>
			<<if $slaves[$i].relationshipTarget == $Concubine.ID>>
				<<if $slaves[$i].relationTarget == $Concubine.ID>>
					Your Concubine is your Consort's $slaves[$i].relation-wife. Truly, $arcologies[0].name looks up to you @@.green;as children to a father.@@
					<<run repX(1000, "headGirl", $slaves[$i])>>
				<<else>>
					Your Consort and your Concubine are wives to each other and to Pharaoh. This is @@.green;as it should be.@@
					<<run repX(500, "headGirl", $slaves[$i])>>
				<</if>>
			<<elseif $slaves[$i].relationshipTarget == $slaves[$i].relationTarget>>
				Your Consort has a $slaves[$i].relation-wife. This is @@.green;as it should be.@@
				<<run repX(500, "headGirl", $slaves[$i])>>
			<</if>>
		<</if>> /* closes extended family mode */
	<</if>>
<</if>>

<<if ($slaves[$i].livingRules == "luxurious") && ($HGSuite == 1)>>
	Being continually trusted with this position @@.hotpink;increases $his devotion to you,@@ and encourages $him to @@.mediumaquamarine;trust you in turn;@@ $he's also @@.hotpink;grateful@@ for $his nice suite, which makes $him one of the best provided for slaves in the Free Cities.
	<<set $slaves[$i].devotion += 4, $slaves[$i].trust += 4>>
<<elseif ($slaves[$i].livingRules == "luxurious")>>
	Being continually trusted with this position @@.hotpink;increases $his devotion to you@@ and encourages $him to @@.mediumaquamarine;trust you in turn.@@
	<<set $slaves[$i].devotion += 4, $slaves[$i].trust += 4>>
<<elseif ($HGSuite == 1)>>
	$He's @@.hotpink;grateful@@ for $his nice suite, which makes $him one of the best provided for slaves in the Free Cities. Being continually trusted with this position encourages $him to @@.mediumaquamarine;trust you in turn.@@
	<<set $slaves[$i].devotion += 2, $slaves[$i].trust += 4>>
<<else>>
	Being continually trusted with this position @@.hotpink;slightly increases $his devotion to you,@@ though $he harbors some doubts because $he isn't allowed a room of $his own to set $him apart from the other slaves.
	<<set $slaves[$i].devotion += 1>>
<</if>>

<<if ($personalAttention == "HG")>>
	You're cooperating with $him this week, working with $assistantName to free up some of $his time so $he can target more slaves in need of individual attention.
	<<if ($slaves[$i].trust > 95)>>
		$He is so trusting of you that $he can act as your own right hand, allowing $him to oversee your slaves with remarkable efficiency.
	<<else>>
		This arrangement @@.mediumaquamarine;builds trust@@ between you.
		<<set $slaves[$i].trust += 2>>
	<</if>>
<</if>>

<<if ($HGFormality == 0)>>
	<<if ($slaves[$i].trust > 95)>>
		Every so often, when you're alone, $he calls you <<= properTitle()>>. $He treats your permission to do this as a sacred thing, and @@.hotpink;loves you for it.@@
		<<set $slaves[$i].devotion += 1>>
	<<else>>
		Your permission to be informal in private @@.mediumorchid;confuses $him@@ a little, since $he isn't perfectly confident enough to be comfortable with the idea.
		<<set $slaves[$i].devotion -= 1>>
	<</if>>
<</if>>

<<if $slaves[$i].fetishKnown == 1>>
	<<if $slaves[$i].fetish == "dom">>
		<<if ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength <= 95)>>
			Having all the slaves look up to and obey $him advances $his @@.lightcoral;dominant tendencies.@@
			<<set $slaves[$i].fetishStrength += 4>>
		<</if>>
	<<elseif _fetishChangeChance > random(0,100)>>
		Having all the slaves look up to and obey $him affects $his sexuality, turning $him into a @@.lightcoral;bit of a dominatrix.@@
		<<set $slaves[$i].fetish = "dom", $slaves[$i].fetishStrength = 20, $slaves[$i].fetishKnown = 1>>
	<<elseif $slaves[$i].fetishStrength <= random(20,60)>>
		The sheer variety of sexual situations $he sees and participates in @@.pink;broaden $his sexual interests@@ and incline $him to take a dominant sexual role.
		<<set $slaves[$i].fetishStrength -= 4>>
	<</if>>
<<else>>
	<<if $slaves[$i].fetish == "dom">>
		Having all the slaves look up to and obey $him clearly excites $him; @@.lightcoral;$he's a natural dom!@@
	<<elseif _fetishChangeChance > random(0,100)>>
		Having all the slaves look up to and obey $him affects $his sexuality, turning $him into a @@.lightcoral;bit of a dominatrix.@@
		<<set $slaves[$i].fetish = "dom", $slaves[$i].fetishStrength = 20, $slaves[$i].fetishKnown = 1>>
	<</if>>
<</if>>

<<if $slaves[$i].lactationRules == "induce">>
	$He works mammary stimulation into $his slave training regimen in an effort to bring in $his milk for you.
	<<set $slaves[$i].induceLactation += 3>>
	<<= induceLactation($slaves[$i])>>
	<<if $slaves[$i].lactation == 1>><<set $slaves[$i].lactationRules = "maintain">><</if>>
<<elseif $slaves[$i].lactationRules == "maintain">>
	Proper nursing and milking technique is a strong aspect of $his slave training regimen, both to keep $his milk flowing and to prevent the mounting pressure from distracting from $his work.
	<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
<</if>>

<<if ($slaves[$i].dick > 0) && ($universalRulesImpregnation == "HG") && canPenetrate($slaves[$i])>>
	$He finds $his duty to impregnate slaves at will sexually satisfying.
	<<set $slaves[$i].need = 0>>
<<else>>
	<<if $slaves.length > 5>>
		Seldom a day goes by without $him finding an outlet among your slaves for $his sexual desires.
		<<set $slaves[$i].need = 0>>
	<</if>>
<</if>>

<<if $slaves[$i].prestige == 0>>
	<<if $HGTimeInGrade+(($slaves[$i].intelligence+$slaves[$i].intelligenceImplant)/10)+($slaves[$i].devotion/10)+($slaves[$i].trust/10) > 50>>
		$slaves[$i].slaveName has rendered such long and competent service as your Head Girl that many of your citizens have come to rely on $his word as an extension of yours, trusting that if $he does something, it's because you trust $him to. @@.green;$He has become prestigious on $his own merits, a remarkable achievement for a slave!@@
		<<set $slaves[$i].prestige += 1>>
		<<set $slaves[$i].prestigeDesc = "Many citizens respect her long and able service as your Head Girl.">>
	<</if>>
<</if>>

<<if !setup.HGCareers.includes($slaves[$i].career) && $slaves[$i].skill.wardeness < $masteredXP>>
	<<set $slaves[$i].skill.headGirl += random(1,Math.ceil(($slaves[$i].intelligence+$slaves[$i].intelligenceImplant)/15) + 8)>>
<</if>>


code:
:: SA chooses own job [nobr]

<<if ($slaves[$i].choosesOwnAssignment == 0) || ($slaves[$i].fuckdoll > 0) || ($slaves[$i].fetish == "mindbroken")>>
	/* nothing to do */

<<elseif ($slaves[$i].choosesOwnAssignment == 2)>> /* second pass happens visibly during weekly report for the location where this slave decided to go (or stay) */
	/* display text but don't change assignment (already done) */

	<<set $desc = SlaveTitle($slaves[$i])>>
	<<print $slaves[$i].choosesOwnAssignmentText>>
	<<set $slaves[$i].choosesOwnAssignmentText = "", $slaves[$i].choosesOwnAssignment = 1>> /* continue cycle for next week */

<<else>> /* first pass happens silently before all reports: give stats bonus, construct decision string for display during second pass, actually change assignment */

	<<set $slaves[$i].devotion++, $slaves[$i].trust++, $slaves[$i].choosesOwnAssignmentText = "was assigned to " + $slaves[$i].assignment + ". $He watches your other slaves to decide what to do, @@.hotpink;happy@@ to be permitted a choice and a little more @@.mediumaquamarine;confident@@ than if you had just given $him orders. The $desc">>

	<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
		<<set $slaves[$i].choosesOwnAssignmentText += " decides to rest, taking advantage of your permission to @@.mediumorchid;remain indolent@@.">>
		<<= removeJob($slaves[$i], $slaves[$i].assignment)>>
		<<set $slaves[$i].devotion -= 5>>

	<<elseif ($slaves[$i].health < 20)>>
		<<if ($universalRulesAssignsSelfFacility == 1) && ($clinic > $clinicSlaves)>>
			<<set $slaves[$i].choosesOwnAssignmentText += " is unhealthy, so $he decides to get treatment at $clinicName.">>
			<<= assignJob($slaves[$i], "get treatment in the clinic")>>
		<<else>>
			<<set $slaves[$i].choosesOwnAssignmentText += " is unhealthy, so $he decides to rest.">>
			<<= removeJob($slaves[$i], $slaves[$i].assignment)>>
		<</if>>

	<<elseif ($slaves[$i].boobsMilk > 0)>>
		<<set $slaves[$i].choosesOwnAssignmentText += " rushes to get milked since $his breasts have become painfully engorged.">>
		<<= assignJob($slaves[$i], "get milked")>>

	<<elseif ($slaves[$i].intelligenceImplant < 15)>>
		<<if ($universalRulesAssignsSelfFacility == 1) && ($schoolroom > $schoolroomSlaves)>>
			<<set $slaves[$i].choosesOwnAssignmentText += " is uneducated, so $he sits $himself down in $schoolroomName.">>
			<<= assignJob($slaves[$i], "learn in the schoolroom")>>
		<<else>>
			<<set $slaves[$i].choosesOwnAssignmentText += " is uneducated, so $he sits $himself down to learn.">>
			<<= assignJob($slaves[$i], "take classes")>>
		<</if>>

	<<elseif ($Attendant != 0) && ($universalRulesAssignsSelfFacility == 1) && (($slaves[$i].devotion < 45) || ($slaves[$i].trust < 45) || ($slaves[$i].sexualFlaw != "none") || ($slaves[$i].behavioralFlaw != "none"))>>
		<<set $slaves[$i].choosesOwnAssignmentText += " could use some counseling, so $he decides to visit $spaName.">>
		<<= assignJob($slaves[$i], "rest in the spa")>>

	<<elseif ($slaves[$i].devotion <= 50) && canWalk($slaves[$i]) && canSee($slaves[$i])>>
		<<if ($universalRulesAssignsSelfFacility == 1) && ($servantsQuarters > $servantsQuartersSlaves)>>
			<<set $slaves[$i].choosesOwnAssignmentText += " is obedient but not devoted, so $he decides to work from $servantsQuartersName since it's the least sexually demanding job available.">>
			<<= assignJob($slaves[$i], "work as a servant")>>
		<<else>>
			<<set $slaves[$i].choosesOwnAssignmentText += " is obedient but not devoted, so $he decides to work as a servant since it's the least sexually demanding job available.">>
			<<= assignJob($slaves[$i], "be a servant")>>
		<</if>>

	<<elseif $universalRulesAssignsSelfFacility == 1 && $slaves[$i].devotion > 50 && canWalk($slaves[$i]) && canSee($slaves[$i]) && $slaves[$i].sexualQuirk == "caring" && $nurseryNannies > $nurserySlaves>>
		<<set $slaves[$i].choosesOwnAssignmentText += " enjoys taking care of children, so $he decides to work in $nurseryName.">>
		<<= assignJob($slaves[$i], "work as a nanny")>>

	<<elseif ($slaves[$i].relationship == -1)>>
		<<set $slaves[$i].choosesOwnAssignmentText += " relies on promiscuity to fulfill $his emotional needs,">>
		<<if ($cash < 10000)>>
			<<set $slaves[$i].choosesOwnAssignmentText += " and doesn't mind being a whore, so $he prostitutes $himself">>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($brothel > $brothelSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " in $brothelName.">>
				<<= assignJob($slaves[$i], "work in the brothel")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " on the streets.">>
				<<= assignJob($slaves[$i], "whore")>>
			<</if>>
		<<else>>
			<<set $slaves[$i].choosesOwnAssignmentText += " so $he eagerly decides to slut around">>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($club > $clubSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " in $clubName.">>
				<<= assignJob($slaves[$i], "serve in the club")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " on the streets.">>
				<<= assignJob($slaves[$i], "serve the public")>>
			<</if>>
		<</if>>

	<<elseif ($slaves[$i].relationship == -2)>>
		<<set $slaves[$i].choosesOwnAssignmentText += " is emotionally bonded to you,">>
		<<if ($slaves[$i].behavioralQuirk == "insecure")>>
			<<set $slaves[$i].choosesOwnAssignmentText += " but insecure, so $he decides to make you money by prostituting $himself">>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($brothel > $brothelSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " in $brothelName.">>
				<<= assignJob($slaves[$i], "work in the brothel")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " on the streets.">>
				<<= assignJob($slaves[$i], "whore")>>
			<</if>>
		<<elseif ($slaves[$i].behavioralQuirk == "advocate")>>
			<<set $slaves[$i].choosesOwnAssignmentText += " and an advocate for slavery, so $he decides to burnish your reputation by slutting it up">>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($club > $clubSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " in $clubName.">>
				<<= assignJob($slaves[$i], "serve in the club")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " on the streets.">>
				<<= assignJob($slaves[$i], "serve the public")>>
			<</if>>
		<<elseif ($slaves[$i].energy > 60)>>
			<<set $slaves[$i].choosesOwnAssignmentText += " and $he thinks of little but sex with you,">>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($masterSuite > $masterSuiteSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " so $he heads straight to $masterSuiteName.">>
				<<= assignJob($slaves[$i], "serve in the master suite")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " so $he cheerfully designates $himself one of your fucktoys.">>
				<<= assignJob($slaves[$i], "please you")>>
			<</if>>
		<<elseif canSee($slaves[$i]) && canWalk($slaves[$i])>>
			<<set $slaves[$i].choosesOwnAssignmentText += " so $he decides to work">>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($servantsQuarters > $servantsQuartersSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " from $servantsQuartersName">>
				<<= assignJob($slaves[$i], "work as a servant")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " as a servant">>
				<<= assignJob($slaves[$i], "be a servant")>>
			<</if>>
			<<set $slaves[$i].choosesOwnAssignmentText += " to make your penthouse as clean and homelike as possible.">>
		<<else>>
			<<set $slaves[$i].choosesOwnAssignmentText += " but unable to do much on $his own,">>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($masterSuite > $masterSuiteSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " so $he heads straight to $masterSuiteName to await your caress.">>
				<<= assignJob($slaves[$i], "serve in the master suite")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " so $he cheerfully designates $himself one of your fucktoys to be close to you.">>
				<<= assignJob($slaves[$i], "please you")>>
			<</if>>
		<</if>>

	<<elseif ($slaves[$i].relationship == -3)>>
		<<if $slaves[$i].devotion+$slaves[$i].trust >= 175>>
			<<set $slaves[$i].choosesOwnAssignmentText += " is happily married to you,">>
		<<elseif $slaves[$i].devotion < -20 && $slaves[$i].trust > 20>>
			<<set $slaves[$i].choosesOwnAssignmentText += " is reluctantly married to you,">>
		<<elseif $slaves[$i].devotion < -20>>
			<<set $slaves[$i].choosesOwnAssignmentText += " is forcibly married to you,">>
		<<else>>
			<<set $slaves[$i].choosesOwnAssignmentText += " is married to you,">>
		<</if>>
		<<if $slaves[$i].devotion > 50>>
			<<if ($slaves[$i].energy > 60)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " and $he thinks of little but sex with you,">>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($masterSuite > $masterSuiteSlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " so $he heads straight to $masterSuiteName.">>
					<<= assignJob($slaves[$i], "serve in the master suite")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " so $he cheerfully designates $himself one of your fucktoys.">>
					<<= assignJob($slaves[$i], "please you")>>
				<</if>>
			<<elseif canSee($slaves[$i]) && canWalk($slaves[$i])>>
				<<set $slaves[$i].choosesOwnAssignmentText += " so $he decides to work">>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($servantsQuarters > $servantsQuartersSlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " from $servantsQuartersName">>
					<<= assignJob($slaves[$i], "work as a servant")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " as a servant">>
					<<= assignJob($slaves[$i], "be a servant")>>
				<</if>>
				<<set $slaves[$i].choosesOwnAssignmentText += " to make your penthouse as clean and homelike as possible.">>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " but unable to do much on $his own">>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($masterSuite > $masterSuiteSlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " so $he heads straight to $masterSuiteName to await your caress.">>
					<<= assignJob($slaves[$i], "serve in the master suite")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " so $he cheerfully designates $himself one of your fucktoys to be close to you.">>
					<<= assignJob($slaves[$i], "please you")>>
				<</if>>
			<</if>>
		<<elseif $slaves[$i].devotion < -20 && $slaves[$i].trust > 20>>
			<<set $slaves[$i].choosesOwnAssignmentText += " and $he thinks of all the ways $he can take advantage of this,">>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($spa > $spaSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " so $he heads straight to $spaName to relax.">>
				<<= assignJob($slaves[$i], "rest in the spa")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " so $he cheerfully decides to lounge about the penthouse.">>
				<<= assignJob($slaves[$i], "rest")>>
			<</if>>
		<<elseif $slaves[$i].devotion < -20>>
			<<set $slaves[$i].choosesOwnAssignmentText += " and $he is scared of you, so $he chooses to work as a servant so that $he may serve you without "serving" you.">>
			<<= assignJob($slaves[$i], "be a servant")>>
		<<else>>
			<<if ($slaves[$i].energy > 60)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " and $he thinks of little but sex,">>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($masterSuite > $masterSuiteSlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " so $he heads straight to $masterSuiteName.">>
					<<= assignJob($slaves[$i], "serve in the master suite")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " so $he cheerfully designates $himself one of your fucktoys.">>
					<<= assignJob($slaves[$i], "please you")>>
				<</if>>
			<<elseif canSee($slaves[$i]) && canWalk($slaves[$i])>>
				<<set $slaves[$i].choosesOwnAssignmentText += " so $he decides to work">>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($servantsQuarters > $servantsQuartersSlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " from $servantsQuartersName">>
					<<= assignJob($slaves[$i], "work as a servant")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " as a servant">>
					<<= assignJob($slaves[$i], "be a servant")>>
				<</if>>
				<<set $slaves[$i].choosesOwnAssignmentText += " to make your penthouse as clean and homelike as possible.">>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " but unable to do much on $his own, so $he designates $himself one of your fucktoys to get more intimate with you.">>
				<<= assignJob($slaves[$i], "please you")>>
			<</if>>
		<</if>>

	<<elseif ($slaves[$i].fetishKnown == 1)>>
		<<if ($slaves[$i].fetish == "submissive") && canWalk($slaves[$i]) && canSee($slaves[$i])>>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($servantsQuarters > $servantsQuartersSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " thinks $he belongs at the bottom of the penthouse hierarchy, so $he goes to live in $servantsQuartersName.">>
				<<= assignJob($slaves[$i], "work as a servant")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " thinks $he belongs at the bottom of the penthouse hierarchy, so $he decides $he should be a servant.">>
				<<= assignJob($slaves[$i], "be a servant")>>
			<</if>>
		<<elseif ($slaves[$i].fetish == "dom") || ($slaves[$i].fetish == "sadist")>>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($club > $clubSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " is self-confident, so $he decides to work in $clubName.">>
				<<= assignJob($slaves[$i], "serve in the club")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " is self-confident, so $he decides to work as a public servant.">>
				<<= assignJob($slaves[$i], "serve the public")>>
			<</if>>
		<<elseif ($slaves[$i].fetish == "masochist")>>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($brothel > $brothelSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " enjoys abuse, so $he hurries down to $brothelName.">>
				<<= assignJob($slaves[$i], "work in the brothel")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " enjoys abuse, so $he decides to become a whore.">>
				<<= assignJob($slaves[$i], "whore")>>
			<</if>>
		<<elseif ($slaves[$i].fetish == "cumslut")>>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($brothel > $brothelSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " hurries down to $brothelName to suck cocks.">>
				<<= assignJob($slaves[$i], "work in the brothel")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " decides to become a whore, mostly to suck cock.">>
				<<= assignJob($slaves[$i], "whore")>>
			<</if>>
		<<elseif ($slaves[$i].fetish == "humiliation")>>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($brothel > $brothelSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " decides to work in $brothelName, since it's even more embarrassing to be a whore than a club slut.">>
				<<= assignJob($slaves[$i], "work in the brothel")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " decides to whore, since it's even more embarrassing to be a whore than to be a public servant.">>
				<<= assignJob($slaves[$i], "whore")>>
			<</if>>
		<<elseif ($slaves[$i].fetish == "buttslut")>>
			<<if ($slaves[$i].balls > 0)>>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($dairyRestraintsSetting < 2) && ($dairy > $dairySlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " chooses confinement in $dairyName, since all $he will be expected to do is produce cum by orgasming to buttsex.">>
					<<= assignJob($slaves[$i], "work in the dairy")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to get milked, since all $he will be expected to do is produce cum by orgasming to buttsex.">>
					<<= assignJob($slaves[$i], "get milked")>>
				<</if>>
			<<else>>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($brothel > $brothelSlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to work in $brothelName, since whores get buttfucked more than anyone else.">>
					<<= assignJob($slaves[$i], "work in the brothel")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to whore, since whores get buttfucked more than anyone else.">>
					<<= assignJob($slaves[$i], "whore")>>
				<</if>>
			<</if>>
		<<elseif ($slaves[$i].fetish == "pregnancy")>>
			<<if ($slaves[$i].lactation > 0)>>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($dairyRestraintsSetting < 2) && ($dairy > $dairySlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " heads down to $dairyName to be around other lactating girls.">>
					<<= assignJob($slaves[$i], "work in the dairy")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to get milked, since $he is already lactating.">>
					<<= assignJob($slaves[$i], "get milked")>>
				<</if>>
			<<elseif ($PC.dick == 1) && isFertile($slaves[$i])>>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($masterSuite > $masterSuiteSlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to serve you in $masterSuiteName, hoping that you'll get $him pregnant.">>
					<<= assignJob($slaves[$i], "serve in the master suite")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to be your fucktoy, hoping that you'll get $him pregnant.">>
					<<= assignJob($slaves[$i], "please you")>>
				<</if>>
			<<elseif ($universalRulesAssignsSelfFacility == 1) && ($dairyPregSetting > 0) && ($dairy > $dairySlaves) && isFertile($slaves[$i])>>
				<<if $dairyPregSetting > 1>>
					<<set $slaves[$i].choosesOwnAssignmentText += " eagerly rushes to $dairyName in the hopes that $his fertile womb will be packed full of children.">>
					<<= assignJob($slaves[$i], "work in the dairy")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " rushes to $dairyName in the hopes that $his fertile womb will be rented out.">>
					<<= assignJob($slaves[$i], "work in the dairy")>>
				<</if>>
			<<elseif ($slaves[$i].bellyPreg >= 1500)>>
				<<if $arcologies[0].FSRepopulationFocus > 20>>
					<<if ($cash < 10000)>>
						<<if $brothel > $brothelSlaves && $universalRulesAssignsSelfFacility == 1>>
							<<set $slaves[$i].choosesOwnAssignmentText += " heads to $brothelName since $he wants to set an example for any unimpregnated girls.">>
							<<= assignJob($slaves[$i], "work in the brothel")>>
						<<else>>
							<<set $slaves[$i].choosesOwnAssignmentText += " heads to the streets to lavish in the attention given to pregnant prostitutes.">>
							<<= assignJob($slaves[$i], "whore")>>
						<</if>>
					<<else>>
						<<if $club > $clubSlaves && $universalRulesAssignsSelfFacility == 1>>
							<<set $slaves[$i].choosesOwnAssignmentText += " heads to $clubName to show off $his growing middle and lavish in the public's attention.">>
							<<= assignJob($slaves[$i], "serve in the club")>>
						<<else>>
							<<set $slaves[$i].choosesOwnAssignmentText += " heads to the streets to contribute to the number of visibly pregnant woman around.">>
							<<= assignJob($slaves[$i], "serve the public")>>
						<</if>>
					<</if>>
				<<elseif $masterSuite > $masterSuiteSlaves && $universalRulesAssignsSelfFacility == 1>>
					<<set $slaves[$i].choosesOwnAssignmentText += " heads straight to $masterSuiteName to share the intimacy of $his pregnant body with you.">>
					<<= assignJob($slaves[$i], "serve in the master suite")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to be your fucktoy to share the intimacy of $his pregnant body with you.">>
					<<= assignJob($slaves[$i], "please you")>>
				<</if>>
			<<elseif ($slaves[$i].pregKnown == 1)>>
				<<if $masterSuite > $masterSuiteSlaves && $universalRulesAssignsSelfFacility == 1>>
					<<set $slaves[$i].choosesOwnAssignmentText += " heads straight to $masterSuiteName so you may watch for the day that $he finally starts to show.">>
					<<= assignJob($slaves[$i], "serve in the master suite")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to be your fucktoy so you may enjoy watching $him begin showing.">>
					<<= assignJob($slaves[$i], "please you")>>
				<</if>>
			<<else>>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($brothel > $brothelSlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " can't indulge $his fetish by getting pregnant $himself, so $he just heads down to $brothelName.">>
					<<= assignJob($slaves[$i], "work in the brothel")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " can't indulge $his fetish by getting pregnant $himself, so $he glumly decides to be a whore.">>
					<<= assignJob($slaves[$i], "whore")>>
				<</if>>
			<</if>>
		<<elseif ($slaves[$i].fetish == "boobs")>>
			<<if ($slaves[$i].lactation > 0)>>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($dairyRestraintsSetting < 2) && ($dairy > $dairySlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " heads down to $dairyName for all the attention that'll be lavished on $his nipples.">>
					<<= assignJob($slaves[$i], "work in the dairy")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to get milked, since $he loves getting off to it.">>
					<<= assignJob($slaves[$i], "get milked")>>
				<</if>>
			<<else>>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($club > $clubSlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to work in $clubName so $he can show off $his bare breasts.">>
					<<= assignJob($slaves[$i], "serve in the club")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to work as a public servant so $he can show off $his bare breasts.">>
					<<= assignJob($slaves[$i], "serve the public")>>
				<</if>>
			<</if>>
		<<elseif ($slaves[$i].attrXX > 85)>>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($club > $clubSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " decides to work in $clubName so $he can hit on hot girls.">>
				<<= assignJob($slaves[$i], "serve in the club")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " decides to work as a public servant so $he can hit on hot girls.">>
				<<= assignJob($slaves[$i], "serve the public")>>
			<</if>>
		<<elseif ($slaves[$i].attrXY > 85)>>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($club > $clubSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " decides to work in $clubName so $he can hit on cute boys.">>
				<<= assignJob($slaves[$i], "serve in the club")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " decides to work as a public servant so $he can hit on cute boys.">>
				<<= assignJob($slaves[$i], "serve the public")>>
			<</if>>
		<<elseif ($slaves[$i].energy > 95)>>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($brothel > $brothelSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " decides to help those of your girls who mind taking dick all day by working in $brothelName.">>
				<<= assignJob($slaves[$i], "work in the brothel")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " decides to help those of your girls who mind taking dick all day by working as a whore.">>
				<<= assignJob($slaves[$i], "whore")>>
			<</if>>

		<<elseif ($arcologies[0].FSChattelReligionist > 0)>>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($brothel > $brothelSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " is a pure and faithful slave, so $he sells $his body in the holy brothel.">>
				<<= assignJob($slaves[$i], "work in the brothel")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " is a pure and faithful slave, so $he sells $his body as a holy prostitute.">>
				<<= assignJob($slaves[$i], "whore")>>
			<</if>>
		<<elseif ($arcologies[0].FSEgyptianRevivalist > 0)>>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($masterSuite > $masterSuiteSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " is a devoted slave, so $he immediately joins your harem.">>
				<<= assignJob($slaves[$i], "serve in the master suite")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " is a devoted slave, so $he immediately joins your harem.">>
				<<= assignJob($slaves[$i], "please you")>>
			<</if>>
		<<elseif ($arcologies[0].FSRomanRevivalist > 0)>>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($brothel > $brothelSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " is a devoted slave, so $he decides $he can best serve the state by raising money for the treasury, by selling $his body in $brothelName.">>
				<<= assignJob($slaves[$i], "work in the brothel")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " is a devoted slave, so $he decides $he can best serve the state by raising money for the treasury, by selling $his body as a prostitute.">>
				<<= assignJob($slaves[$i], "whore")>>
			<</if>>
		<<elseif ($arcologies[0].FSAztecRevivalist > 0)>>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($brothel > $brothelSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " is a devoted slave, so $he decides $he can best serve the empire by serving at the fertility temple.">>
				<<= assignJob($slaves[$i], "work in the brothel")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " is a devoted slave, so $he decides $he can best serve the empire by offering $himself to the public.">>
				<<= assignJob($slaves[$i], "serve the public")>>
			<</if>>
		<<elseif ($arcologies[0].FSPaternalist > 0)>>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($brothel > $brothelSlaves)>>
				<<set $slaves[$i].choosesOwnAssignmentText += " decides to work in $brothelName, a respectable position for a slave in this enlightened arcology.">>
				<<= assignJob($slaves[$i], "work in the brothel")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " decides to be a whore, a respectable position for a slave in this enlightened arcology.">>
				<<= assignJob($slaves[$i], "whore")>>
			<</if>>
		<<elseif ($arcologies[0].FSPastoralist > 0)>>
			<<if ($slaves[$i].lactation > 0)>>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($dairyRestraintsSetting < 2) && ($dairy > $dairySlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " hurries to join your herd of dairy cows.">>
					<<= assignJob($slaves[$i], "work in the dairy")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " hurries to join your herd of cows.">>
					<<= assignJob($slaves[$i], "get milked")>>
				<</if>>
			<<else>>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($brothel > $brothelSlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to work in $brothelName to help raise money to get more girls lactating properly.">>
					<<= assignJob($slaves[$i], "work in the brothel")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to prostitute $himself to help raise money to get more girls lactating properly.">>
					<<= assignJob($slaves[$i], "whore")>>
				<</if>>
			<</if>>
		<<elseif ($arcologies[0].FSHedonisticDecadence > 0)>>
			<<if ($universalRulesAssignsSelfFacility == 1) && ($spa > $spaSlaves) && (($slaves[$i].trust < 60) || ($slaves[$i].devotion <= 60))>>
				<<set $slaves[$i].choosesOwnAssignmentText += " could use a break, so $he heads to take a dip in the spa.">>
				<<= assignJob($slaves[$i], "rest in the spa")>>
			<<else>>
				<<set $slaves[$i].choosesOwnAssignmentText += " could use a meal and a nap, so $he grabs a cup of food and heads to bed.">>
				<<= assignJob($slaves[$i], "rest")>>
			<</if>>
		<<else>>
			<<if ($slaves[$i].skill.whoring > $slaves[$i].skill.entertainment)>>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($brothel > $brothelSlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to work in $brothelName, since $he thinks $himself a better whore than a public slut.">>
					<<= assignJob($slaves[$i], "work in the brothel")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to whore, since $he thinks $himself a better whore than a public slut.">>
					<<= assignJob($slaves[$i], "whore")>>
				<</if>>
			<<elseif ($slaves[$i].skill.entertainment > $slaves[$i].skill.whoring)>>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($club > $clubSlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to be a club $girl, since $he thinks $himself a better public slut than a whore.">>
					<<= assignJob($slaves[$i], "serve in the club")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to serve the public, since $he thinks $himself a better public slut than a whore.">>
					<<= assignJob($slaves[$i], "serve the public")>>
				<</if>>
			<<else>>
				<<if ($universalRulesAssignsSelfFacility == 1) && ($brothel > $brothelSlaves)>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to join $his sisters and work in $brothelName.">>
					<<= assignJob($slaves[$i], "work in the brothel")>>
				<<else>>
					<<set $slaves[$i].choosesOwnAssignmentText += " decides to prostitute $himself to help you upgrade $arcologies[0].name and improve everyone's life.">>
					<<= assignJob($slaves[$i], "whore")>>
				<</if>>
			<</if>>
		<</if>>
	<<else>>
		<<if ($universalRulesAssignsSelfFacility == 1) && ($club > $clubSlaves)>>
			<<set $slaves[$i].choosesOwnAssignmentText += " decides to be a club $girl, since partying is better than sitting around and failing to think of a job to do.">>
			<<= assignJob($slaves[$i], "serve in the club")>>
		<<elseif canWalk($slaves[$i]) && canSee($slaves[$i])>>
			<<set $slaves[$i].choosesOwnAssignmentText += " decides to tidy up the penthouse a little while $he thinks.">>
			<<= assignJob($slaves[$i], "be a servant")>>
		<<else>>
			<<set $slaves[$i].choosesOwnAssignmentText += " stays in bed, unable to come up with anything.">>
			<<= removeJob($slaves[$i], $slaves[$i].assignment)>>
		<</if>>
	<</if>>

	<<set $slaves[$i].choosesOwnAssignment = 2>> /* ready for second pass */

<</if>> /* closes choosesOwnAssignment */