code:
:: PE concubine interview

<<nobr>>

<<set $nextButton = "Continue">>
<<set $nextLink = "AS Dump">>
<<set $returnTo = "RIE Eligibility Check">>

<<set $activeSlave = $Concubine>>
<<set $oldRep = $rep>>

<</nobr>>\
\
You receive an official communication from a popular talk show hosted in one of the old world's still-thriving first world countries. Your fame has become known even in the old world, and they'd like to interview <<print "[[$activeSlave.slaveName|Long Slave Description][$nextLink = passage(), $eventDescription = 1]]">> about you. They frankly warn you that you'll have no right to review the interview and no ability to control what she says, and that they'll be asking about anything the interviewer thinks is juicy. This could be great for your reputation, but it could be hazardous, too.
\

<<link "Decline">>
	<<replace "#name">>\
	$activeSlave.slaveName\
	<</replace>>\
	<<replace "#result">>
	You decline. The media representative of the show is understanding. "I'll be sure to contact you if we ever have another opening," she says. "You're pretty interesting, you know."
	<</replace>>
<</link>>
<<link "Accept">>
	<<replace "#name">>\
	$activeSlave.slaveName\
	<</replace>>\
	<<replace "#result">>
	<<nobr>>

	The show is broadcast live; you head out onto a balcony to watch it on a big screen. It's been impossible to hide, and many of your citizens have taken a proprietary attitude towards your fame: they see your success as their success, too, and want to see $activeSlave.slaveName do well. The show introduction plays, introducing the host, a swishy, rail-thin gentleman with impeccable sartorial style and a close-cropped salt-and-pepper beard. He reviews who you are, giving equal time to your accomplishments and the inevitable criticisms from old world antislavery activists, and then calls $activeSlave.slaveName out.

	She strides out
	<<if $activeSlave.clothes == "none">>
		in magnificent nudity. It's a shock to old world values, no doubt, but the titillation should counterbalance that.
	<<else>>
		resplendent in $activeSlave.clothes.
	<</if>>
	<<if $activeSlave.entertainSkill >= 60>>
		She's @@color:green;graceful and sensual,@@ and entirely at home.
		<<set $rep += 100>>
	<<elseif $activeSlave.entertainSkill <= 30>>
		She's @@color:red;clumsy and nervous,@@ but does her best to rally.
		<<set $rep -= 100>>
	<<else>>
		She manages her entrance reasonably well, and conceals any nervousness.
	<</if>>
	<<if $activeSlave.face > 95>>
		"Oh my God," exclaims the host reverently. "Honey, @@color:green;you are gorgeous.@@" He turns to the camera. "Isn't she just gorgeous?"
		<<set $rep += 100>>
	<<elseif $activeSlave.face <= 10>>
		There is a distinct lack of response from the host; perhaps he was @@color:red;expecting her to be prettier.@@
		<<set $rep -= 100>>
	<<else>>
		The host gives her a perfunctory compliment on her beauty.
	<</if>>
	They seat themselves in comfortable leather chairs and the interview begins in earnest.

	The host asks her some soft, nonjudgemental questions about her life and how she became your slave. Then he hits her: "So, $activeSlave.slaveName. Tell us about $PCName."
	<<if $activeSlave.devotion > 95>>
		<<if SlaveStatsChecker.checkForLisp($activeSlave)>>
		@@color:green;Without a moment's hesitation,@@ she lisps, "I love <<if $PC.title != 0>>him. He'th tho handthome, and," she manages to blush prettily, "he'th tho good to me."<<else>>her. The'th tho pretty, and," she manages to blush cutely, "the'th tho good to me."<</if>>
		<<else>>
		@@color:green;Without a moment's hesitation,@@ she proclaims, "I love <<if $PC.title != 0>>him. He's so handsome, and," she manages to blush prettily, "he's so good to me."<<else>>her. She's so pretty, and," she manages to blush cutely, "she's so good to me."<</if>>
		<</if>>
		<<set $rep += 100>>
	<<elseif $activeSlave.devotion <= 60>>
		She struggles for an instant and then says @@color:red;unconvincingly@@ that she loves you.
		<<set $rep -= 100>>
	<<else>>
		She recovers quickly and responds that she loves you.
	<</if>>

	The host glances at the camera. "Wow." He presses on. "But you're <<if $PC.title != 0>>his<<else>>her<</if>> slave, $activeSlave.slaveName. <<if $PC.title != 0>>He<<else>>She<</if>> owns you. Isn't that hard for you?"

	She shakes her head.
	<<if $activeSlave.trust > 95>>
		<<if SlaveStatsChecker.checkForLisp($activeSlave)>>
		@@color:green;She responds confidently,@@ "My life with <<if $PC.title != 0>>him<<else>>her<</if>> ith very different from anything you might find here in the old world. But I'm happy with <<if $PC.title != 0>>him<<else>>her<</if>>, and there'th no one I'd rather be with, ath a thlave or not."
		<<else>>
		@@color:green;She responds confidently,@@ "My life with <<if $PC.title != 0>>him<<else>>her<</if>> is very different from anything you might find here in the old world. But I'm happy with <<if $PC.title != 0>>him<<else>>her<</if>>, and there's no one I'd rather be with, as a slave or not."
		<</if>>
		<<set $rep += 100>>
	<<elseif $activeSlave.trust < 60>>
		She explains that it isn't hard to trust someone like you, but this @@color:red;falls a little flat.@@
		<<set $rep -= 100>>
	<<else>>
		She explains earnestly that it isn't hard to trust someone like you, and explains some of the blander details about life as your slave.
	<</if>>

	The interview winds on, gradually descending into prurient territory. $activeSlave.slaveName answers readily, giving everyone watching quite a window into an oversexed slave society.
	<<if $activeSlave.intelligence > 0>>
		<<if $PC.title == 0>>
		She's clever enough to @@color:green;shock and titillate@@ at the same time; in response to a probing question about whether she has any plans for the rest of the night, she
		<<if SlaveStatsChecker.checkForLisp($activeSlave)>>
			lisps, "Of courthe my <<if def $PC.customTitleLisp>>$PC.customTitleLisp<<elseif $PC.title != 0>>Mathter<<else>>Mithtreth<</if>> maketh the planth. But I hope I can get back to the arcology early." She shifts suggestively in her chair. "I'm looking forward to getting fucked tonight."
		<<else>>
			says, "Of course my <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Master<<else>>Mistress<</if>> makes the plans. But I hope I can get back to the arcology early." She shifts suggestively in her chair. "I'm looking forward to getting fucked tonight."
		<</if>>
		<<set $rep += 100>>
		<</if>>
		The host, taken off guard, laughs in surprise and says he envies you that. He asks a follow up question that hints at her sexual preferences without coming straight out and asking how she likes it.
		<<if $activeSlave.intelligenceImplant + $activeSlave.entertainSkill >= 100>>
		She has enough knowledge of the old world to be able to answer without going too far, and @@color:green;subtly alludes@@ to how much she enjoys
		<<if ($activeSlave.fetish == "submissive")>>
			submitting to you in bed.
		<<elseif ($activeSlave.fetish == "cumslut")>>
			<<if $PC.dick == 0>>
			eating you out.
			<<else>>
			sucking you off.
			<</if>>
		<<elseif ($activeSlave.fetish == "humiliation")>>
			it when you show her off in public.
		<<elseif ($activeSlave.fetish == "buttslut")>>
			anal sex.
		<<elseif ($activeSlave.fetish == "boobs")>>
			anything that involves her breasts.
		<<elseif ($activeSlave.fetish == "sadist")>>
			it whenever you share a reluctant girl with her.
		<<elseif ($activeSlave.fetish == "masochist")>>
			a good spanking.
		<<elseif ($activeSlave.fetish == "dom")>>
			sharing a submissive girl with you.
		<<elseif ($activeSlave.fetish == "pregnancy")>>
			<<if $activeSlave.preg > 0>>
			sex while pregnant.
			<<elseif $activeSlave.vagina > 0>>
			bareback.
			<<else>>
			sharing a pregnant girl with you.
			<</if>>
		<<elseif ($activeSlave.energy > 95)>>
			sex, regardless of what kind it is.
		<<else>>
			sex in the missionary position.
		<</if>>
		<<set $rep += 100>>
		<<else>>
		Her answer betrays how much she's forgotten about the old world: she mildly shocks the studio audience by describing
		<<if ($activeSlave.fetish == "submissive")>>
			how good it feels when you hold her down and fuck her
		<<elseif ($activeSlave.fetish == "cumslut")>>
			<<if $PC.dick == 0>>
			how much fun sucking your cock is
			<<else>>
			how much fun polishing your pearl is
			<</if>>
		<<elseif ($activeSlave.fetish == "humiliation")>>
			how hot it is to get fucked in public
		<<elseif ($activeSlave.fetish == "buttslut")>>
			how much she loves the feeling of you stretching her anal ring
		<<elseif ($activeSlave.fetish == "boobs")>>
			how much she loves having her nipples tugged
		<<elseif ($activeSlave.fetish == "sadist")>>
			how much she loves molesting other slaves with you
		<<elseif ($activeSlave.fetish == "masochist")>>
			how good it feels to be forced
		<<elseif ($activeSlave.fetish == "dom")>>
			how much she loves holding other slaves down for you
		<<elseif ($activeSlave.fetish == "pregnancy")>>
			<<if $activeSlave.preg > 0>>
			how good anal feels while pregnant
			<<elseif $activeSlave.vagina > 0>>
			how good cum feels inside her
			<<else>>
			how much fun it is to fuck pregnant slaves
			<</if>>
		<<elseif ($activeSlave.energy > 95)>>
			the average number of sexual encounters she has in a week
		<<else>>
			her sex life with you
		<</if>>
		in a matter-of-fact tone of voice.
		<</if>>
		<<if $activeSlave.intelligence > 1>>

		Only because you know her so well are you able to perceive the instant of cold calculation before she makes a @@color:green;perfect tactical decision@@ and turns directly to the camera.
		<<if SlaveStatsChecker.checkForLisp($activeSlave)>>
			"Whatever you want," she says confidently, "You can find it in a Free Citieth arcology like my <<if def $PC.customTitleLisp>>$PC.customTitleLisp<<elseif $PC.title != 0>>Mathter<<else>>Mithtreth<</if>>'th. Where I live, there'th
			<<if $arcologies[0].FSRestart > 0>>
			the motht interethting people,
			<</if>>
			<<if $arcologies[0].FSPaternalist > 0>>
			wonderful opportunitieth for everyone,
			<</if>>
			<<if $arcologies[0].FSAssetExpansionist > 0>>
			boobth the thize of beach ballth,
			<</if>>
			<<if $arcologies[0].FSRepopulationFocus > 0>>
			lotth of bellieth of all thiezeth,
			<</if>>
			<<if $arcologies[0].FSBodyPurist == "unset">>
			gorgeouth tattooth and piercingth,
			<</if>>
			<<if $arcologies[0].FSTransformationFetishist > 0>>
			new atheth every day,
			<</if>>
			<<if $arcologies[0].FSPastoralist > 0>>
			milk thtraight from the nipple,
			<</if>>
			<<if $arcologies[0].FSPhysicalIdealist > 0>>
			the motht incredible oiled-up muthcleth,
			<</if>>
			<<if $arcologies[0].FSRomanRevivalist > 0>>
			Rome come again,
			<</if>>
			<<if $arcologies[0].FSEgyptianRevivalist > 0>>
			the land of the Pharaohth reborn,
			<</if>>
			<<if $arcologies[0].FSGenderRadicalist > 0>>
			more ath than you can pothibly fuck,
			<</if>>
			<<if $arcologies[0].FSGenderFundamentalist > 0>>
			tho much puthy it's unbelievable,
			<</if>>
			<<if $arcologies[0].FSChattelReligionist > 0>>
			a fulfilling thexual and thpiritual life,
			<</if>>
			<<if $arcologies[0].FSDegradationist > 0>>
			bitcheth you can jutht hold down and uthe,
			<</if>>
			<<if $arcologies[0].FSSupremacist > 0>>
			$arcologies[0].FSSupremacistRace power,
			<</if>>
			<<if $arcologies[0].FSSubjugationist > 0>>
			$arcologies[0].FSSubjugationist girlth to cater to your whim,
			<</if>>
			girlth in pretty drethes and girlth in thtring bikinith and girlth who haven't worn clotheth in yearth,
			<<if ($seeDicks != 0) && ($arcologies[0].FSGenderFundamentalist == "unset")>>
			girlth with huge dickth you can athfuck until they cum bucketth,
			girlth with thoft dickth and no ballth,
			<</if>>
			<<if ($seeDicks != 0) && ($arcologies[0].FSGenderFundamentalist == "unset")>>
			girlth with dickth the thize of clith and girlth with clith the thize of dickth,
			<</if>>
			<<if $seeDicks != 100>>
			young girlth on their firtht pregnancy,
			MILFth on their tenth,
			<</if>>
			lipth, tongueth,
			<<if $arcologies[0].FSSlimnessEnthusiast == "unset">>
			huge breathth and plush atheth,
			<</if>>
			<<if $arcologies[0].FSAssetExpansionist == "unset">>
			pert titth and cute butth,
			<</if>>
			and more. I wouldn't trade it for anything."
		<<else>>
			"Whatever you want," she says confidently, "You can find it in a Free Cities arcology like my <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Master<<else>>Mistress<</if>>'s. Where I live, there's
			<<if $arcologies[0].FSRestart > 0>>
			the most interesting people,
			<</if>>
			<<if $arcologies[0].FSPaternalist > 0>>
			wonderful opportunities for everyone,
			<</if>>
			<<if $arcologies[0].FSAssetExpansionist > 0>>
			boobs the size of beach balls,
			<</if>>
			<<if $arcologies[0].FSRepopulationFocus > 0>>
			lots of bellies of all sizes,
			<</if>>
			<<if $arcologies[0].FSBodyPurist == "unset">>
			gorgeous tattoos and piercings,
			<</if>>
			<<if $arcologies[0].FSTransformationFetishist > 0>>
			new assets every day,
			<</if>>
			<<if $arcologies[0].FSPastoralist > 0>>
			milk straight from the nipple,
			<</if>>
			<<if $arcologies[0].FSPhysicalIdealist > 0>>
			the most incredible oiled-up muscles,
			<</if>>
			<<if $arcologies[0].FSRomanRevivalist > 0>>
			Rome come again,
			<</if>>
			<<if $arcologies[0].FSEgyptianRevivalist > 0>>
			the land of the Pharaohs reborn,
			<</if>>
			<<if $arcologies[0].FSGenderRadicalist > 0>>
			more ass than you can possibly fuck,
			<</if>>
			<<if $arcologies[0].FSGenderFundamentalist > 0>>
			so much pussy it's unbelievable,
			<</if>>
			<<if $arcologies[0].FSChattelReligionist > 0>>
			a fulfilling sexual and spiritual life,
			<</if>>
			<<if $arcologies[0].FSDegradationist > 0>>
			bitches you can just hold down and use,
			<</if>>
			<<if $arcologies[0].FSSupremacist > 0>>
			$arcologies[0].FSSupremacistRace power,
			<</if>>
			<<if $arcologies[0].FSSubjugationist > 0>>
			$arcologies[0].FSSubjugationistRace girls to cater to your whim,
			<</if>>
			girls in pretty dresses and girls in string bikinis and girls who haven't worn clothes in years,
			<<if $seeDicks != 0>>
			girls with huge dicks you can assfuck until they cum buckets,
			girls with soft dicks and no balls,
			<</if>>
			<<if $seeDicks != 0>>
			girls with dicks the size of clits and girls with clits the size of dicks,
			<</if>>
			<<if $seeDicks != 100>>
			young girls on their first pregnancy,
			MILFs on their tenth,
			<</if>>
			lips, tongues,
			<<if $arcologies[0].FSSlimnessEnthusiast == "unset">>
			huge breasts and plush asses,
			<</if>>
			<<if $arcologies[0].FSAssetExpansionist == "unset">>
			pert tits and cute butts,
			<</if>>
			and more. I wouldn't trade it for anything."
		<</if>>
		<<set $rep += 300>>
		The host politely regains control of his show, but there's a cautious respect in the rest of his questions.
		<</if>>
	<</if>>
	<<if $activeSlave.intelligenceImplant == 1>>

		<<if $PC.title == 0>>
		$activeSlave.slaveName even manages to @@color:green;respond well@@ to a probing question about your gender.
		<<if $PC.dick == 0>>
			<<if SlaveStatsChecker.checkForLisp($activeSlave)>>
			She lisps, "You have to underthtand that all that nonthenthe about men and women meanth leth to uth in the Free Citieth. My Mithtreth ith a thuthethful and powerful woman. We jutht pay the right amount of attention to the thucceth and the power." She quirks a corner of her mouth. "I know //I// do."
			<<else>>
			She explains, "You have to understand that all that nonsense about men and women means less to us in the Free Cities. My Mistress is a successful and powerful woman. We just pay the right amount of attention to the success and the power." She quirks a corner of her mouth. "I know //I// do."
			<</if>>
		<<else>>
			<<if SlaveStatsChecker.checkForLisp($activeSlave)>>
			She lisps, "You have to underthtand that all that nonthenthe about men and women meanth leth to uth in the Free Citieth. My Mithtreth ith a thuthethful and powerful woman." She quirks a corner of her mouth. "And the hath a //wonderful// cock."
			<<else>>
			She explains, "You have to understand that all that nonsense about men and women means less to us in the Free Cities. My Mistress is a successful and powerful woman." She quirks a corner of her mouth. "And she has a //wonderful// cock."
			<</if>>
		<</if>>
		<<set $rep += 100>>
		<</if>>
	<</if>>

	At the conclusion, the host
	<<if $rep - $oldRep > 200>>
		seems @@color:green;impressed@@ and says sincerely,
		<<set $rep += 100>>
	<<elseif $rep - $oldRep < 0>>
		seems @@color:red;unimpressed@@ and says mockingly,
		<<set $rep -= 100>>
	<<else>>
		says jokingly,
	<</if>>
	"My dear it's been a pleasure. If all Free Cities girls are like you I might have to look into immigrating. Ladies and gentlemen, good night!"
	<</nobr>>
	<</replace>>
<</link>>


code:
:: PE pit fight
<<nobr>>

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

<<if $activeSlave.ID != $Bodyguard.ID>>
<<for $i = 0; $i < $slaves.length; $i++>>
<<if $Bodyguard.ID == $slaves[$i].ID>>
<<set $activeSlave = $slaves[$i]>>
<</if>>
<</for>>
<</if>>

<<Deadliness $activeSlave>>

<<set $PPit = 0>>

<</nobr>>\
\
<<nobr>>

It's time for the fight. It will take place in a back room of a well respected club. There is a ring set into the floor, and space for a handful of spectators, but the setup is quite Spartan. The sport is just getting off the ground. <<print "[[$activeSlave.slaveName|Long Slave Description][$nextLink = passage(), $eventDescription = 1]]">> is first to walk into the ring. She's stark naked and is carrying a simple single-edged straight sword, identical to the one her opponent will be using. The fight will be fair.

<</nobr>>

<<nobr>>

Across the ring, her opponent's owner nods civilly to you and examines $activeSlave.slaveName.

<<if $activeSlave.combatSkill > 0>>
	Her combat skills greatly increase her deadliness.
<</if>>

<<if $activeSlave.muscles > 95 && $activeSlave.height >= 185>>
	Her huge muscles are an intimidating sight and, despite their massive size, she is tall enough to not be hindered by them.
<<elseif $activeSlave.muscles > 95>>
	Her huge muscles are an intimidating sight, but may hinder her flexibility.
<<elseif $activeSlave.muscles > 30>>
	Her muscles are a trim and powerful sight.
<<elseif $activeSlave.muscles < -95>>
	She can barely stand, let alone ready her weapon. Her feeble attempts elicit a roar of laughter from the spectators.
<<elseif $activeSlave.muscles < -30>>
	She struggles to raise her weapon. Her feeble attempts elicit a roar of laughter from the spectators.
<<elseif $activeSlave.muscles < -5>>
	She is rather unfit, she will likely be outmatched by near any real opponent.
<</if>>

<<if $activeSlave.height >= 170>>
	Her height gives her a reach advantage with her sword.
<</if>>

<<if $activeSlave.health > 50>>
	Her shining health makes her a better combatant.
<</if>>

<<if $activeSlave.weight > 30>>
	Her heavy weight is an impediment as a pit fighter.
<</if>>

<<if $activeSlave.weight < -10>>
	Her light weight is an impediment as a pit fighter.
<</if>>

<<if $activeSlave.health < -50>>
	Her poor health makes her a weaker combatant.
<</if>>

<<if $activeSlave.inflation == 3>>
	Her hugely bloated, <<print $activeSlave.inflationType>>-filled belly is taut and painful, hindering her ability to fight.
<<elseif $activeSlave.inflation == 2>>
	Her bloated, <<print $activeSlave.inflationType>>-stuffed belly is constantly jiggling and moving, distracting her and throwing off her weight.
<<elseif $activeSlave.inflation == 1>>
	Her distended, <<print $activeSlave.inflationType>>-belly is uncomfortable and heavy, distracting her.
<</if>>

<<if $activeSlave.bellyImplant >= 32000>>
	Her immense, <<print $activeSlave.bellyImplant>>cc implant filled belly is extremely heavy, unwieldy and an easy target, practically damning her in combat.
<<elseif $activeSlave.bellyImplant >= 16000>>
	Her massive, <<print $activeSlave.bellyImplant>>cc implant filled belly is extremely heavy, unwieldy and an easy target, practically damning her in combat.
<<elseif $activeSlave.bellyImplant >= 8000>>
	Her huge, <<print $activeSlave.bellyImplant>>cc implant filled belly is very heavy and unwieldy, throwing off her weight and making her far less effective.
<<elseif $activeSlave.bellyImplant >= 4000>>
	Her large, <<print $activeSlave.bellyImplant>>cc implant filled belly is heavy and unwieldy, rendering her less effective.
<<elseif $activeSlave.bellyImplant >= 2000>>
	Her swollen, <<print $activeSlave.bellyImplant>>cc implant filled belly is heavy and makes her less effective.
<</if>>

<<if $activeSlave.preg > 10>>
	<<if $activeSlave.pregType >= 20>>
		Her massive belly is nearly a guaranteed loss, she can barely stand let alone fight.
	<<elseif $activeSlave.pregType >= 10>>
		Her huge belly is unwieldy and hinders her efforts.
	<<else>>
		Her advanced pregnancy makes her much less effective.
	<</if>>
<</if>>

<<if $deadliness > 5>>
	$activeSlave.slaveName seems supremely confident, even eager to please you.
<<elseif $deadliness > 3>>
	$activeSlave.slaveName seems nervous, but steels herself to fight for you.
<<elseif $deadliness > 1>>
	$activeSlave.slaveName seems terrified, and barely controls herself.
<<else>>
	$activeSlave.slaveName is obviously terrified, and might flee if there were a way out of the pit.
<</if>>

Finally, her opponent enters as well.

<<set $seed = random(1,100)>>
<<if $seed > 80>>
	She is a huge, muscular Amazon filled with confidence.
	<<set $opponent = 5>>
<<elseif $seed > 60>>
	She is a short but muscular shemale, trying to look confident.
	<<set $opponent = 4>>
<<elseif $seed > 40>>
	She is a tall, thin woman covered in ropy muscle, trying to hide her terror.
	<<set $opponent = 3>>
<<elseif $seed > 20>>
	She is an decent-looking slave, physically fit but obviously scared.
	<<set $opponent = 2>>
<<else>>
	She is an average looking slave, so frightened there's urine running down her leg. She must have annoyed her master to earn this.
	<<set $opponent = 1>>
<</if>>

The umpire announces gravely that the fight is to the death and rings a bell.

<</nobr>>

<<nobr>>

<<if $deadliness > ($opponent + 1)>>
	$activeSlave.slaveName senses that she is greatly superior, and decides to make a quick end before her opponent can try something foolish. She feints high and stabs low; her enemy just manages to parry the low stab, but is so much weaker that $activeSlave.slaveName simply overpowers her, so that she falls onto her back with the force of the clash. $activeSlave.slaveName takes one step forward and runs her sword through the prostrate slave's heart. This victory has @@color:green;won you some renown@@ and @@color:yellowgreen;a sum of money@@ from each of the spectators.
	<<set $rep += 500>>
	<<set $cash += 5000>>
	<<set $activeSlave.pitKills += 1>>
	<<set $pitKillsTotal += 1>>
<<elseif $deadliness > ($opponent)>>
	The combat is long and exhausting. $activeSlave.slaveName and her opponent are closely matched in terms of skill, so neither takes foolish risks and a protracted, bloody fight results as both slaves take horrible but non-lifethreatening cuts. Finally, $activeSlave.slaveName's superior physical condition wins out and her opponent falls from exhaustion and blood loss. $activeSlave.slaveName stumbles over to open her throat. This victory has @@color:green;won you some renown@@ and @@color:yellowgreen;a sum of money@@ from each of the spectators, though $activeSlave.slaveName is @@color:red;badly hurt.@@
	<<set $rep += 500>>
	<<set $cash += 5000>>
	<<set $activeSlave.health = -50>>
	<<set $activeSlave.pitKills += 1>>
	<<set $pitKillsTotal += 1>>
<<elseif $deadliness > ($opponent-1)>>
	The combat is long and exhausting. $activeSlave.slaveName and her opponent are closely matched in terms of skill, so neither takes foolish risks and a protracted, bloody fight results as both slaves take horrible but non-lifethreatening cuts. Finally, $activeSlave.slaveName's inferior physical condition fails her and she falls from exhaustion and blood loss. As she slumps she catches your eye with a look of apology. Her opponent stumbles over to open her throat. $activeSlave.slaveName @@color:red;has been killed.@@
	<<set $activeSlave.health -= 1000>>
<<else>>
	$activeSlave.slaveName is outmatched from the start. In the first pass, her opponent moves beyond her, opening a long gash in her thigh as she goes. Thus injured, $activeSlave.slaveName fails to block a slash that severs her Achilles tendon on the other side. On her knees, she barely manages to ward off one more blow before the second one opens her belly. $activeSlave.slaveName @@color:red;has been killed.@@
	<<set $activeSlave.health -= 1000>>
<</if>>

<<for $i = 0; $i < $slaves.length; $i++>>
<<if $activeSlave.ID == $slaves[$i].ID>>
<<set $slaves[$i] = $activeSlave>><<break>><<break>>
<<set $activeSlave = {}>>
<</if>>
<</for>>

<<for $i = 0; $i < $slaves.length; $i++>>
<<if $slaves[$i].health < -90>>
	<<set $activeSlave = $slaves[$i]>>
	<<include "Remove activeSlave">>
	<<set $i -= 1>>
<</if>>
<</for>>

<</nobr>>\


code:
:: PE pit fight invite

<<nobr>>

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

<<set $PPit = 0>>

<</nobr>>\
\
Gladiatorial combat between slaves has not yet reached the level of social acceptability it once enjoyed in Rome, but it's growing in popularity. For now, most fights are discreet affairs limited to select guests. Displaying a slave bodyguard is an excellent way to get yourself invited to participate, and $assistantName has just passed on an invitation to a private fight next week, should you be willing to hazard a bodyguard.
\
<span id="result">
<<link "Enter your bodyguard as a gladiatrix">>
	<<replace "#result">>
	You receive a brief confirmation. It looks like she's got a fight.
	<<set $PPit = 1>>
	<</replace>>
<</link>>
<<link "Politely decline">>
	<<replace "#result">>
	You decline the invitation.
	<</replace>>
<</link>>
</span>


code:
:: Personal assistant options [nobr]

<<set $nextButton = "Back", $nextLink = "Manage Arcology">>

<<if $marketAssistantLimit>><<set $marketAssistantLimit to Math.clamp($marketAssistantLimit, 10000, 10000000)>><</if>>

<<if $seeImages == 1>><<AssistantArt 3>><</if>>

Seated at your desk, you glance at the visual representation of $assistantName, down in one corner of your desk's glass top.

<<set $masturbationAllowed = 0>>
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $activeSlave.releaseRules == "permissive">>
	<<set $masturbationAllowed = 1>>
	<<break>>
	<</if>>
<</for>>

<<include "Personal Assistant Appearance">>

<<if $assistantPower > 0>>

	Though <<if $assistant == 0>>it<<else>>she<</if>> remains short of a true AI, the arcology's upgraded computer core allows <<if $assistant == 0>>it<<else>>her<</if>> to use brute force to simulate sentient behavior quite well. <<if $assistant == 0>>It<<else>>She<</if>> is not truly self aware, but <<if $assistant == 0>>it<<else>>she<</if>> is able to predict what a sentient being with a certain character might say or do in common situations. The increased power has other applications; for example, it has improved the accuracy of your estimates of economic activity in the Free City.
<<else>>
	<<if $assistant == 0>>It<<else>>She<</if>> is well short of a true AI, but with extensive access to information on past human behavior and the processing power to query that information quickly, <<if $assistant == 0>>it<<else>>she<</if>> can often seem self aware by modeling herself after others' past behavior.
<</if>>

__Computer Core Upgrades__

<<if $assistantPower == 0>>
	//The first upgrade needed is a switch to a holographic memory core to store the immense quantity of data $assistantName gathers. This upgrade will cost ¤<<print Math.trunc(20000*$upgradeMultiplierArcology)>>.// [[Install holographic memory core|Personal assistant options][$cash -= Math.trunc(20000*$upgradeMultiplierArcology), $assistantPower += 1]]
<<elseif $assistantPower == 1>>
	//The final upgrade needed is a transition to optical RAM. This huge project will cost ¤<<print Math.trunc(50000*$upgradeMultiplierArcology)>>.// [[Install optical RAM|Personal assistant options][$cash -= Math.trunc(50000*$upgradeMultiplierArcology), $assistantPower += 1]]
<<else>>
	//The arcology's computer core is fully upgraded.//
<</if>>

<<if $assistantOptions>>

__Behavior settings:__

<<if $assistant == 0>>
	Your assistant is using its default settings, and is not behaving as though it has a libido. [[Instruct it to simulate a sex drive|Personal assistant options][$assistant = 1]]
<<else>>
	Your assistant is simulating preferences and a sex drive. [[Revert her to normal settings|Personal assistant options][$assistant = 0, $assistantAppearance = "normal"]]
<</if>>

<<if $assistant != 0>>

__Appearance settings:__

She is currently using the ''$assistantAppearance'' avatar.
<<if $PAPublic == 1>>
<<set _seed = []>>
<<switch $assistantAppearance>>
	<<case "businesswoman">>
		<<if $arcologies[0].FSSubjugationist != "unset">> <<set _seed.push($arcologies[0].FSSubjugationistRace + " subjugation")>> <</if>>
		<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
		<<if $arcologies[0].FSTransformationFetishist != "unset">> <<set _seed.push("transformation fetishism")>> <</if>>
		<<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set _seed.push("maturity preferentialism")>> <</if>>
		<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
		<<if $arcologies[0].FSRomanRevivalist != "unset">> <<set _seed.push("Roman revivalism")>> <</if>>
		<<if $arcologies[0].FSArabianRevivalist != "unset">> <<set _seed.push("Arabian revivalism")>> <</if>>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("Eugenics")>> <</if>>
	<<case "goddess">>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set _seed.push("maturity preferentialism")>> <</if>>
		<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
		<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
		<<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<set _seed.push("Egyptian revivalism")>> <</if>>
		<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("Repopulationism")>> <</if>>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("Eugenics")>> <</if>>
	<<case "amazon">>
		<<if $arcologies[0].FSSupremacist != "unset">> <<set _seed.push($arcologies[0].FSSupremacistRace + " supremacy")>> <</if>>
		<<if $arcologies[0].FSSubjugationist != "unset">> <<set _seed.push($arcologies[0].FSSubjugationistRace + " subjugation")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSPhysicalIdealist != "unset">> <<set _seed.push("physical idealism")>> <</if>>
		<<if $arcologies[0].FSRomanRevivalist != "unset">> <<set _seed.push("Roman revivalism")>> <</if>>
		<<if $arcologies[0].FSEdoRevivalist != "unset">> <<set _seed.push("Edo revivalism")>> <</if>>
	<<case "schoolgirl">>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
		<<if $arcologies[0].FSArabianRevivalist != "unset">> <<set _seed.push("Arabian revivalism")>> <</if>>
		<<if $arcologies[0].FSChineseRevivalist != "unset">> <<set _seed.push("Chinese revivalism")>> <</if>>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("Eugenics")>> <</if>>
	<<case "monstergirl">>
		<<if $arcologies[0].FSSupremacist != "unset">> <<set _seed.push($arcologies[0].FSSupremacistRace + " supremacy")>> <</if>>
		<<if $arcologies[0].FSGenderRadicalist != "unset">> <<set _seed.push("gender radicalism")>> <</if>>
		<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
		<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
		<<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<set _seed.push("Egyptian revivalism")>> <</if>>
		<<if $arcologies[0].FSEdoRevivalist != "unset">> <<set _seed.push("Edo revivalism")>> <</if>>
		<<if $arcologies[0].FSChineseRevivalist != "unset">> <<set _seed.push("Chinese revivalism")>> <</if>>
	<<case "shemale">>
		<<if $arcologies[0].FSGenderRadicalist != "unset">> <<set _seed.push("gender radicalism")>> <</if>>
		<<if $arcologies[0].FSTransformationFetishist != "unset">> <<set _seed.push("transformation fetishism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
		<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
		<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
		<<if $arcologies[0].FSPhysicalIdealist != "unset">> <<set _seed.push("physical idealism")>> <</if>>
	<<case "hypergoddess">>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
		<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
		<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("Repopulationism")>> <</if>>
	<<case "loli">>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
		<<if $arcologies[0].FSEdoRevivalist != "unset">> <<set _seed.push("Edo revivalism")>> <</if>>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("Eugenics")>> <</if>>
	<<case "preggololi">>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("Repopulationism")>> <</if>>
	<<case "fairy">>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
	<<case "pregnant fairy">>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("Repopulationism")>> <</if>>
<</switch>>
<<if _seed.length > 0>>
	<<set _desc = "">>
	<<for _i = 0; _i < _seed.length; _i++>>
		<<set _desc = (_desc + _seed[_i])>>
		<<if (_i < _seed.length-2)>>
			<<set _desc = (_desc + ", ")>>
		<<elseif (_seed.length > 2) && (_i == _seed.length-2)>>
			<<set _desc = (_desc + ", and ")>>
		<<elseif (_seed.length == 2) && (_i == 0)>>
			<<set _desc = (_desc + " and ")>>
		<</if>>
	<</for>>
This appearance bolsters _desc.
<<else>>
It has no impact on public opinion.
<</if>>
<</if>>

<<if $assistantAppearance != "normal">> [[Normal|Personal assistant options][$assistantAppearance = "normal"]]

<</if>>
<<if $assistantAppearance != "businesswoman">> [[Businesswoman|Personal assistant options][$assistantAppearance = "businesswoman"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if $arcologies[0].FSSubjugationist != "unset">> <<set _seed.push($arcologies[0].FSSubjugationistRace + " subjugation")>> <</if>>
	<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
	<<if $arcologies[0].FSTransformationFetishist != "unset">> <<set _seed.push("transformation fetishism")>> <</if>>
	<<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set _seed.push("maturity preferentialism")>> <</if>>
	<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
	<<if $arcologies[0].FSRomanRevivalist != "unset">> <<set _seed.push("Roman revivalism")>> <</if>>
	<<if $arcologies[0].FSArabianRevivalist != "unset">> <<set _seed.push("Arabian revivalism")>> <</if>>
	<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("Eugenics")>> <</if>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "goddess">> [[Goddess|Personal assistant options][$assistantAppearance = "goddess"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
	<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
	<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
	<<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set _seed.push("maturity preferentialism")>> <</if>>
	<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
	<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
	<<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<set _seed.push("Egyptian revivalism")>> <</if>>
	<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("Repopulationism")>> <</if>>
	<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("Eugenics")>> <</if>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "amazon">> [[Amazon|Personal assistant options][$assistantAppearance = "amazon"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if $arcologies[0].FSSupremacist != "unset">> <<set _seed.push($arcologies[0].FSSupremacistRace + " supremacy")>> <</if>>
	<<if $arcologies[0].FSSubjugationist != "unset">> <<set _seed.push($arcologies[0].FSSubjugationistRace + " subjugation")>> <</if>>
	<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
	<<if $arcologies[0].FSPhysicalIdealist != "unset">> <<set _seed.push("physical idealism")>> <</if>>
	<<if $arcologies[0].FSRomanRevivalist != "unset">> <<set _seed.push("Roman revivalism")>> <</if>>
	<<if $arcologies[0].FSEdoRevivalist != "unset">> <<set _seed.push("Edo revivalism")>> <</if>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "schoolgirl">> [[Schoolgirl|Personal assistant options][$assistantAppearance = "schoolgirl"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
	<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
	<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
	<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
	<<if $arcologies[0].FSArabianRevivalist != "unset">> <<set _seed.push("Arabian revivalism")>> <</if>>
	<<if $arcologies[0].FSChineseRevivalist != "unset">> <<set _seed.push("Chinese revivalism")>> <</if>>
	<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("Eugenics")>> <</if>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<<if $seeDicks != 0>>
<<if $assistantAppearance != "monstergirl">> [[Monstergirl|Personal assistant options][$assistantAppearance = "monstergirl"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if $arcologies[0].FSSupremacist != "unset">> <<set _seed.push($arcologies[0].FSSupremacistRace + " supremacy")>> <</if>>
	<<if $arcologies[0].FSGenderRadicalist != "unset">> <<set _seed.push("gender radicalism")>> <</if>>
	<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
	<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
	<<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<set _seed.push("Egyptian revivalism")>> <</if>>
	<<if $arcologies[0].FSEdoRevivalist != "unset">> <<set _seed.push("Edo revivalism")>> <</if>>
	<<if $arcologies[0].FSChineseRevivalist != "unset">> <<set _seed.push("Chinese revivalism")>> <</if>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "shemale">> [[Shemale|Personal assistant options][$assistantAppearance = "shemale"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if $arcologies[0].FSGenderRadicalist != "unset">> <<set _seed.push("gender radicalism")>> <</if>>
	<<if $arcologies[0].FSTransformationFetishist != "unset">> <<set _seed.push("transformation fetishism")>> <</if>>
	<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
	<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
	<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
	<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
	<<if $arcologies[0].FSPhysicalIdealist != "unset">> <<set _seed.push("physical idealism")>> <</if>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "hypergoddess" && $seeHyperPreg == 1>> [[Hyper Goddess|Personal assistant options][$assistantAppearance = "hypergoddess"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
	<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
	<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
	<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
	<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("Repopulationism")>> <</if>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "loli" && $minimumSlaveAge < 13>> [[Loli|Personal assistant options][$assistantAppearance = "loli"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
	<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
	<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
	<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
	<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
	<<if $arcologies[0].FSEdoRevivalist != "unset">> <<set _seed.push("Edo revivalism")>> <</if>>
	<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("Eugenics")>> <</if>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "preggololi" && $fertilityAge < 13 && $minimumSlaveAge < 13>> [[Preggololi|Personal assistant options][$assistantAppearance = "preggololi"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
	<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
	<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
	<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
	<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("Repopulationism")>> <</if>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance isnot "fairy">> [[Fairy|Personal assistant options][$assistantAppearance = "fairy"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
	<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
	<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance isnot "pregnant fairy">> [[Pregnant Fairy|Personal assistant options][$assistantAppearance = "pregnant fairy"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
	<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
	<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
	<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("Repopulationism")>> <</if>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<<if $assistantExtra1 == 1>>
<<if $assistantAppearance != "slimegirl">> [[Slime Girl|Personal assistant options][$assistantAppearance = "slimegirl"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "cowgirl">> [[Cow Girl|Personal assistant options][$assistantAppearance = "cowgirl"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "harpygirl">> [[Harpy Girl|Personal assistant options][$assistantAppearance = "harpygirl"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "kitsunegirl">> [[Kitsune|Personal assistant options][$assistantAppearance = "kitsunegirl"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "lamiagirl">> [[Lamia|Personal assistant options][$assistantAppearance = "lamiagirl"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "spidergirl">> [[Spider Girl|Personal assistant options][$assistantAppearance = "spidergirl"]]
	<<if $PAPublic == 1>>
	<<set _seed = []>>
	<<if _seed.length > 0>>
		<<set _desc = "">>
		<<for _i = 0; _i < _seed.length; _i++>>
			<<set _desc = (_desc + _seed[_i])>>
			<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
			<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
			<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
			<</if>>
		<</for>>
		A good emblem for _desc
	<</if>>
	<</if>>

<</if>>
<</if>>
<</if>>

/*
<<if $assistant != 0>>

__Downloadable Appearances:__

<<if $assistantExtra1 == 0>>
	[[Purchase a set of monstergirl appearances|Personal assistant options][$cash -= Math.trunc(6000*$upgradeMultiplier), $assistantExtra1 = 1]]
	//Costs ¤<<print Math.trunc(6000*$upgradeMultiplier)>>//
<<else>>You have downloaded a set of monstergirl appearances for your avatar.
<</if>>
<</if>>
*/

/* Choose her FS appearance */
<<if $assistantFSOptions != 0 && $assistantAppearance != "normal">>

__Society-specific appearance settings:__

She can further refine her avatar to match the arcology's social profile<<if $assistantFSAppearance != "default">>; her current variation shows ''$assistantFSAppearance'' touches.<<else>>, though no details stand out right now.<</if>>

<<if $assistantFSAppearance != "default">>
	[[Default|Personal assistant options][$assistantFSAppearance = "default"]]

<</if>>
<<if $assistantFSAppearance != "gender radicalist" && $arcologies[0].FSGenderRadicalistDecoration > 20>>
	[[Gender Radicalist|Personal assistant options][$assistantFSAppearance = "gender radicalist"]]

<</if>>
<<if $assistantFSAppearance != "gender fundamentalist" && $arcologies[0].FSGenderFundamentalistDecoration > 20>>
	[[Gender Fundamentalist|Personal assistant options][$assistantFSAppearance = "gender fundamentalist"]]

<</if>>
<<if $assistantFSAppearance != "paternalist" && $arcologies[0].FSPaternalistDecoration > 20>>
	[[Paternalist|Personal assistant options][$assistantFSAppearance = "paternalist"]]

<</if>>
<<if $assistantFSAppearance != "degradationist" && $arcologies[0].FSDegradationistDecoration > 20>>
	[[Degradationist|Personal assistant options][$assistantFSAppearance = "degradationist"]]

<</if>>
<<if $assistantFSAppearance != "repopulation focus" && $arcologies[0].FSRepopulationFocusDecoration > 20>>
  [[Repopulation Focus|Personal assistant options][$assistantFSAppearance = "repopulation focus"]]

<</if>>
<<if $assistantFSAppearance != "eugenics" && $arcologies[0].FSRestartDecoration > 20>>
  [[Restarting Society|Personal assistant options][$assistantFSAppearance = "eugencis"]]

<</if>>
<<if $assistantFSAppearance != "body purist" && $arcologies[0].FSBodyPuristDecoration > 20>>
	[[Body Purist|Personal assistant options][$assistantFSAppearance = "body purist"]]

<</if>>
<<if $assistantFSAppearance != "transformation fetishist" && $arcologies[0].FSTransformationFetishistDecoration > 20>>
	[[Transformation Fetishist|Personal assistant options][$assistantFSAppearance = "transformation fetishist"]]

<</if>>
<<if $assistantFSAppearance != "youth preferentialist" && $arcologies[0].FSYouthPreferentialistDecoration > 20>>
	[[Youth Preferentialist|Personal assistant options][$assistantFSAppearance = "youth preferentialist"]]

<</if>>
<<if $assistantFSAppearance != "maturity preferentialist" && $arcologies[0].FSMaturityPreferentialistDecoration > 20>>
	[[Maturity Preferentialist|Personal assistant options][$assistantFSAppearance = "maturity preferentialist"]]

<</if>>
<<if $assistantFSAppearance != "slimness enthusiast" && $arcologies[0].FSSlimnessEnthusiastDecoration > 20>>
	[[Slimness Enthusiast|Personal assistant options][$assistantFSAppearance = "slimness enthusiast"]]

<</if>>
<<if $assistantFSAppearance != "asset expansionist" && $arcologies[0].FSAssetExpansionistDecoration > 20>>
	[[Asset Expansionist|Personal assistant options][$assistantFSAppearance = "asset expansionist"]]

<</if>>
<<if $assistantFSAppearance != "pastoralist" && $arcologies[0].FSPastoralistDecoration > 20>>
	[[Pastoralist|Personal assistant options][$assistantFSAppearance = "pastoralist"]]

<</if>>
<<if $assistantFSAppearance != "physical idealist" && $arcologies[0].FSPhysicalIdealistDecoration > 20>>
	[[Physical Idealist|Personal assistant options][$assistantFSAppearance = "physical idealist"]]

<</if>>
<<if $assistantFSAppearance != "chattel religionist" && $arcologies[0].FSChattelReligionistDecoration > 20>>
	[[Chattel Religionist|Personal assistant options][$assistantFSAppearance = "chattel religionist"]]

<</if>>
<<if $assistantFSAppearance != "roman revivalist" && $arcologies[0].FSRomanRevivalistDecoration > 20>>
	[[Roman Revivalist|Personal assistant options][$assistantFSAppearance = "roman revivalist"]]

<</if>>
<<if $assistantFSAppearance != "egyptian revivalist" && $arcologies[0].FSEgyptianRevivalistDecoration > 20>>
	[[Egyptian Revivalist|Personal assistant options][$assistantFSAppearance = "egyptian revivalist"]]

<</if>>
<<if $assistantFSAppearance != "edo revivalist" && $arcologies[0].FSEdoRevivalistDecoration > 20>>
	[[Edo Revivalist|Personal assistant options][$assistantFSAppearance = "edo revivalist"]]

<</if>>
<<if $assistantFSAppearance != "arabian revivalist" && $arcologies[0].FSArabianRevivalistDecoration > 20>>
	[[Arabian Revivalist|Personal assistant options][$assistantFSAppearance = "arabian revivalist"]]

<</if>>
<<if $assistantFSAppearance != "chinese revivalist" && $arcologies[0].FSChineseRevivalistDecoration > 20>>
	[[Chinese Revivalist|Personal assistant options][$assistantFSAppearance = "chinese revivalist"]]

<</if>>
<</if>>

<</if>> /* CLOSES PERSONALITY ACTIVE REQUIREMENT */

<<if ($assistantNameAnnounced != 0)>>

	__Name:__
	<<textbox "$assistantName" $assistantName "Personal assistant options">>
	<<if $assistantName != "your personal assistant">>

		[[Stop using a custom name|Personal assistant options][$assistantName = "your personal assistant"]]
	<</if>>
<</if>>

<</if>>/* CLOSES ASSISTANT OPTIONS AVAILABILITY */

<<if $marketAssistantAnnounced>>

__Business Assistant settings:__

The arcology's upgraded computers support advanced business analysis.
<<if $assistantAppearance != "normal">>
	These capabilities are represented by an avatar styled after $assistantName's, with which she simulates a ''$marketAssistantRelationship'' relationship.

	<<if $marketAssistantRelationship != "cute">>
		[[Cute|Personal assistant options][$marketAssistantRelationship = "cute"]]

	<</if>>
	<<if $marketAssistantRelationship != "romantic">>
		[[Romantic|Personal assistant options][$marketAssistantRelationship = "romantic"]]

	<</if>>
	<<if $marketAssistantRelationship != "nonconsensual">>
		[[Nonconsensual|Personal assistant options][$marketAssistantRelationship = "nonconsensual"]]

	<</if>>
	<<if $marketAssistantRelationship != "incestuous">>
		[[Incestuous|Personal assistant options][$marketAssistantRelationship = "incestuous"]]

	<</if>>
<<else>>
	Although technically an expanded subroutine within the same app, $assistantName uses a distinct icon to identify these alerts and improve your workflow.

<</if>>

<<if $assistant>>She<<else>>It<</if>> is
<<if $marketAssistantLimit>>
	''allowed'' to use excess liquid assets over ¤$marketAssistantLimit to play the menial slave market. [[Disallow|Personal assistant options][$marketAssistantLimit = 0]]

	//Define custom cash limit://<<textbox "$marketAssistantLimit" $marketAssistantLimit "Personal assistant options">>

	<<if $assistant>>She<<else>>It<</if>> will be
	<<if $marketAssistantAggressiveness>>
		''aggressive'' about buying and selling. [[Be conservative|Personal assistant options][$marketAssistantAggressiveness = 0]]
	<<else>>
		''conservative'' about buying and selling. [[Be aggressive|Personal assistant options][$marketAssistantAggressiveness = 100]]
	<</if>>
<<else>>
	''not allowed'' to use excess liquid assets to play the menial slave market. [[Allow|Personal assistant options][$marketAssistantLimit = 10000]]
<</if>>

<</if>>


code:
:: Personal Attention Select [nobr]

<<set $nextButton = "Back to Main">>
<<set $nextLink = "Main">>

<<if $PC.career == "escort">>
[[Focus on "connecting"|Main][$personalAttention = "whoring", $personalAttentionChanged = 1]]
<<elseif $PC.career == "servant">>
[[Maintain your home|Main][$personalAttention = "upkeep", $personalAttentionChanged = 1]]
<<else>>
[[Focus on business|Main][$personalAttention = "business", $personalAttentionChanged = 1]]
<</if>>
<<if $HeadGirl != 0>>

[[Support your Head Girl|Main][$personalAttention = "HG", $personalAttentionChanged = 1]]
<</if>>

[[Have as much sex with your slaves as possible|Main][$personalAttention = "sex", $personalAttentionChanged = 1]]

<<if $PC.trading >= 100>>
	//You are a master trader.//
<<else>>
	[[Hire a merchant to train you in commerce|Main][$personalAttention = "trading", $personalAttentionChanged = 1]]
<</if>>

<<if $PC.warfare >= 100>>
	//You are a master tactician.//
<<else>>
	[[Hire a mercenary to train you in warfare|Main][$personalAttention = "warfare", $personalAttentionChanged = 1]]
<</if>>

<<if $PC.slaving >= 100>>
	//You are a master slaver.//
<<else>>
	[[Hire a slaver to train you in slaving|Main][$personalAttention = "slaving", $personalAttentionChanged = 1]]
<</if>>

<<if $PC.engineering >= 100>>
	//You are a master engineer.//
<<else>>
	[[Hire an engineer to train you in engineering|Main][$personalAttention = "engineering", $personalAttentionChanged = 1]]
<</if>>

<<if $PC.medicine >= 100>>
	//You are a master surgeon.//
<<else>>
	[[Hire a doctor to train you in medicine|Main][$personalAttention = "medicine", $personalAttentionChanged = 1]]
<</if>>

<<if $PC.engineering < 100 && $PC.trading < 100 && $PC.warfare < 100 && $PC.engineering < 100 && $PC.slaving < 100 && $PC.medicine < 100>>
//Training will cost ¤10000 per week.//

<</if>>

<<if ($personalAttentionChanged == 1)>>
<<if ($activeSlave.health < -20)>>
	<<set $trainingRegimen = "look after her">>
	<<set $personalAttentionChanged = 0>>
<<elseif ($activeSlave.behavioralFlaw != "none")>>
	<<if ($activeSlave.devotion >= -20)>>
	<<set $trainingRegimen = "soften her behavioral flaw">>
	<<set $personalAttentionChanged = 0>>
	<<else>>
	<<set $trainingRegimen = "fix her behavioral flaw">>
	<<set $personalAttentionChanged = 0>>
	<</if>>
<<elseif ($activeSlave.sexualFlaw != "none")>>
	<<if ($activeSlave.devotion >= -20)>>
	<<set $trainingRegimen = "soften her sexual flaw">>
	<<set $personalAttentionChanged = 0>>
	<<else>>
	<<set $trainingRegimen = "fix her sexual flaw">>
	<<set $personalAttentionChanged = 0>>
	<</if>>
<<elseif ($activeSlave.fetishKnown != 1)>>
	<<set $trainingRegimen = "explore her sexuality">>
	<<set $personalAttentionChanged = 0>>
<<elseif ($activeSlave.devotion <= 20) && ($activeSlave.trust > -20)>>
	<<set $trainingRegimen = "break her will">>
	<<set $personalAttentionChanged = 0>>
<<else>>
	<<set $trainingRegimen = "build her devotion">>
	<<set $personalAttentionChanged = 0>>
<</if>>
<</if>>

<<set _assignment = 0>>
<<for _i = 0;_i < $slaves.length;_i++>>
<<if $personalAttention == $slaves[_i].ID>>
	You will give ''__@@color:pink;$slaves[_i].slaveName@@__'' your personal attention this week.
	<<set $activeSlave = $slaves[_i]>>
	<<set _assignment = 1>>
	<<break>>
<</if>>
<</for>>
<<if _assignment == 0>>
	You have not selected a slave for your personal attention.
<<else>>

Your training will seek to <<print $trainingRegimen>>.

Change training objective:

<<if ($activeSlave.devotion <= 20) && ($activeSlave.trust > -20)>>
	<<link "Break her will">><<set $nextLink = "break her will">><<set $trainingRegimen = "break her will">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
	| <<link "Use enhanced breaking techniques">><<set $nextLink = "break her will">><<set $trainingRegimen = "harshly break her will">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<<else>>
	<<link "Build her devotion">><<set $nextLink = "build her devotion">><<set $trainingRegimen = "build her devotion">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>

<<if $activeSlave.fetishKnown == 0>>
	<<link "Explore her sexuality">><<set $nextLink = "explore her sexuality">><<set $trainingRegimen = "explore her sexuality">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<<else>>
	//You already understand her sexuality//
<</if>>

<<if ($activeSlave.behavioralFlaw != "none")>>

	<<link "Remove her behavioral flaw">><<set $nextLink = "fix her behavioral flaw">><<set $trainingRegimen = "fix her behavioral flaw">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
	<<if ($activeSlave.devotion < -20)>>
		 | //She must be broken before her flaws can be softened//
	<<else>>
		 | <<link "Soften her behavioral flaw">><<set $nextLink = "soften her behavioral flaw">><<set $trainingRegimen = "soften her behavioral flaw">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
	<</if>>
<</if>>

<<if ($activeSlave.sexualFlaw != "none")>>

	<<link "Remove her sexual flaw">><<set $nextLink = "fix her sexual flaw">><<set $trainingRegimen = "fix her sexual flaw">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
	<<if ($activeSlave.devotion < -20)>>
		<<if ($activeSlave.behavioralFlaw == "none")>>
		 | //She must be broken before her flaws can be softened//
		<</if>>
	<<elseif ["cum addict", "anal addict", "attention whore", "breast growth", "abusive", "malicious", "self hating", "neglectful", "breeder"].includes($activeSlave.sexualFlaw)>>
		 | //Paraphilias cannot be softened//
	<<else>>
		 | <<link "Soften her sexual flaw">><<set $nextLink = "soften her sexual flaw">><<set $trainingRegimen = "soften her sexual flaw">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
	<</if>>
<</if>>

<<if ($activeSlave.analSkill >= 100) && ($activeSlave.oralSkill >= 100) && ($activeSlave.vaginalSkill >= 100) && ($activeSlave.whoreSkill > 0) && ($activeSlave.entertainSkill > 0)>>
	//She knows all the skills you can teach//
<<elseif ($activeSlave.analSkill >= 100) && ($activeSlave.oralSkill >= 100) && ($activeSlave.whoreSkill > 0) && ($activeSlave.entertainSkill > 0) && ($activeSlave.vagina == -1) && ($activeSlave.balls == 0)>>
	//She knows all the skills you can teach a gelded slave//
<<elseif ($activeSlave.analSkill >= 100) && ($activeSlave.oralSkill >= 100) && ($activeSlave.whoreSkill > 0) && ($activeSlave.entertainSkill > 0) && ($activeSlave.vagina == -1)>>
	//She knows all the skills you can teach a shemale slave//
<<elseif ($activeSlave.analSkill >= 100) && ($activeSlave.oralSkill >= 100) && ($activeSlave.whoreSkill > 0) && ($activeSlave.entertainSkill > 0) && ($activeSlave.vaginalAccessory == "chastity belt")>>
	//She knows all the skills you can teach while she's wearing a chastity belt//
<<elseif ($activeSlave.devotion <= 20) && ($activeSlave.trust > -20)>>
	//She's too disobedient to learn sex skills//
<<else>>
	<<link "Teach her">><<set $nextLink = "learn skills">><<set $trainingRegimen = "learn skills">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>

<<link "Care for her">><<set $nextLink = "look after her">><<set $trainingRegimen = "look after her">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>

Induce a flaw:
<<if $activeSlave.behavioralQuirk != "confident">>
<<if $activeSlave.behavioralFlaw != "arrogant">>
	<<link "Arrogance">><<set $trainingRegimen = "induce arrogance">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.behavioralQuirk != "cutting">>
<<if $activeSlave.behavioralFlaw != "bitchy">>
	| <<link "Bitchiness">><<set $trainingRegimen = "induce bitchiness">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.behavioralQuirk != "funny">>
<<if $activeSlave.behavioralFlaw != "odd">>
	| <<link "Odd behavior">><<set $trainingRegimen = "induce odd behavior">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.behavioralQuirk != "adores women">>
<<if $activeSlave.behavioralFlaw != "hates men">>
	| <<link "Hatred of men">><<set $trainingRegimen = "induce hatred of men">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.behavioralQuirk != "adores men">>
<<if $activeSlave.behavioralFlaw != "hates women">>
	| <<link "Hatred of women">><<set $trainingRegimen = "induce hatred of women">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.behavioralQuirk != "fitness">>
<<if $activeSlave.behavioralFlaw != "gluttonous">>
	| <<link "Gluttony">><<set $trainingRegimen = "induce gluttony">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.behavioralQuirk != "insecure">>
<<if $activeSlave.behavioralFlaw != "anorexic">>
	| <<link "Anorexia">><<set $trainingRegimen = "induce anorexia">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.behavioralQuirk != "sinful">>
<<if $activeSlave.behavioralFlaw != "devout">>
	| <<link "Religious devotion">><<set $trainingRegimen = "induce religious devotion">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.behavioralQuirk != "advocate">>
<<if $activeSlave.behavioralFlaw != "liberated">>
	| <<link "Liberation">><<set $trainingRegimen = "induce liberation">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.sexualQuirk != "gagfuck queen">>
<<if $activeSlave.sexualFlaw != "hates oral">>
	| <<link "Hatred of oral">><<set $trainingRegimen = "induce hatred of oral">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.sexualQuirk != "confipainal queendent">>
<<if $activeSlave.sexualFlaw != "hates anal">>
	| <<link "Hatred of anal">><<set $trainingRegimen = "induce hatred of anal">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.sexualQuirk != "strugglefuck queen">>
<<if $activeSlave.sexualFlaw != "hates penetration">>
	| <<link "Hatred of penetration">><<set $trainingRegimen = "induce hatred of penetration">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.sexualQuirk != "tease">>
<<if $activeSlave.sexualFlaw != "shamefast">>
	| <<link "Shame">><<set $trainingRegimen = "induce shame">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.sexualQuirk != "romantic">>
<<if $activeSlave.sexualFlaw != "idealistic">>
	| <<link "Sexual idealism">><<set $trainingRegimen = "induce sexual idealism">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.sexualQuirk != "perverted">>
<<if $activeSlave.sexualFlaw != "repressed">>
	| <<link "Sexual repression">><<set $trainingRegimen = "induce sexual repression">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.sexualQuirk != "caring">>
<<if $activeSlave.sexualFlaw != "apathetic">>
	| <<link "Sexual apathy">><<set $trainingRegimen = "induce sexual apathy">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.sexualQuirk != "unflinching">>
<<if $activeSlave.sexualFlaw != "crude">>
	| <<link "Crudity">><<set $trainingRegimen = "induce crudity">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.sexualQuirk != "size queen">>
<<if $activeSlave.sexualFlaw != "judgemental">>
	| <<link "Judgment">><<set $trainingRegimen = "induce judgement">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.fetishStrength > 95>>
<<if $activeSlave.fetish == "cumslut">>
<<if $activeSlave.sexualFlaw != "cum addict">>
	| <<link "Cum addiction">><<set $trainingRegimen = "induce cum addiction">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.fetish == "buttslut">>
<<if $activeSlave.sexualFlaw != "anal addict">>
	| <<link "Anal addiction">><<set $trainingRegimen = "induce anal addiction">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.fetish == "humiliation">>
<<if $activeSlave.sexualFlaw != "attention whore">>
	| <<link "Attention whoring">><<set $trainingRegimen = "induce attention whoring">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.fetish == "boobs">>
<<if $activeSlave.sexualFlaw != "breast growth">>
	| <<link "Breast growth obsession">><<set $trainingRegimen = "induce breast growth obsession">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.fetish == "dom">>
<<if $activeSlave.sexualFlaw != "abusive">>
	| <<link "Abusiveness">><<set $trainingRegimen = "induce abusiveness">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.fetish == "sadist">>
<<if $activeSlave.sexualFlaw != "malicious">>
	| <<link "Maliciousness">><<set $trainingRegimen = "induce maliciousness">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.fetish == "masochist">>
<<if $activeSlave.sexualFlaw != "self hatred">>
	| <<link "Self hatred">><<set $trainingRegimen = "induce self hatred">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.fetish == "submissive">>
<<if $activeSlave.sexualFlaw != "neglectful">>
	| <<link "Sexual self neglect">><<set $trainingRegimen = "induce sexual self neglect">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<if $activeSlave.fetish == "pregnancy">>
<<if $activeSlave.sexualFlaw != "breeder">>
	| <<link "Breeding obsession">><<set $trainingRegimen = "induce breeding obsession">><<replace "#training">><<print $trainingRegimen>><</replace>><</link>>
<</if>>
<</if>>
<<else>>
	| //Paraphilias can only be induced from a strong fetish//
<</if>>

//Inducing flaws is difficult and bad for slaves' obedience.//

<</if>> /* CLOSES NO SLAVE SELECTED */

__Select a slave to train:__
<<include "Slave Summary">>


code:
:: Pit [nobr]

<<set $nextButton = "Back to Main", $nextLink = "Main", $returnTo = "Pit", $showEncyclopedia = 1, $encyclopedia = "Pit", _DL = $fighterIDs.length, _SL = $slaves.length>>

<<if $pitName != "the Pit">>
	<<set $pitNameCaps = $pitName.replace("the ", "The ")>>
<</if>>

$pitNameCaps is clean and ready,
<<if _DL > 2>>
	with a pool of slaves assigned to fight in the week's bout.
<<elseif _DL == 1>>
	but only one slave is assigned to the week's bout.
<<elseif _DL > 0>>
	with slaves assigned to the week's bout.
<<else>>
	but no slaves are assigned fight.
<</if>>

//<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>, slaves assigned here can continue their usual duties.//

<<if $pitAudience == "none">>
	Fights here are strictly private. [[Open them for free|Pit][$pitAudience = "free"]] | [[Open them and charge admission|Pit][$pitAudience = "paid"]]
<<elseif $pitAudience == "free">>
	Fights here are free and open to the public. [[Close them|Pit][$pitAudience = "none"]] | [[Charge admission|Pit][$pitAudience = "paid"]]
<<else>>
	Admission is charged to the fights here. [[Close them|Pit][$pitAudience = "none"]] | [[Stop charging|Pit][$pitAudience = "free"]]
<</if>>

<<if $dojo != 0>>
<<if $pitBG == 0>>
	Two fighters will be selected from the pool at random. [[Guarantee your Bodyguard a slot|Pit][$pitBG = 1]]
<<else>>
	Your Bodyguard will fight a slave selected from the pool at random. [[Make both slots random|Pit][$pitBG = 0]]
<</if>>
<</if>>

<<if $pitLethal == 1>>
	Fighters will be armed with swords, and fights will be to the death. [[Nonlethal|Pit][$pitLethal = 0]]
<<else>>
	Fighters will use their fists and feet, and fights will be to submission. [[Lethal|Pit][$pitLethal = 1]]
<</if>>

<<if _DL > 0>>

''Cancel a slave's fight:''
	<<set $Flag = 1>>
	<<include "Slave Summary">>
<</if>>

<<if (_SL > _DL)>>

''Select a slave to fight:''
	<<set $Flag = 0>>
	<<include "Slave Summary">>
<</if>>
<<unset $Flag>>

Rename $pitName: <<textbox "$pitName" $pitName "Pit">> //Use a noun or similar short phrase//


code:
:: Place In Line

<<silently>>

<<set $slavesInLine = []>>

<<if ($activeSlave.assignmentVisible == 1)>>
	<<for $i = 0; $i < $slaves.length; $i++>>
	<<if ($slaves[$i].assignmentVisible == 1)>>
		<<set $slavesInLine.push($slaves[$i])>>
	<</if>>
	<</for>>
<<else>>
	<<for $i = 0; $i < $slaves.length; $i++>>
	<<if ($slaves[$i].assignment == $activeSlave.assignment)>>
		<<set $slavesInLine.push($slaves[$i])>>
	<</if>>
	<</for>>
<</if>>

<<for $i = 0; $i < $slavesInLine.length; $i++>>
	<<if ($slavesInLine[$i].ID == $activeSlave.ID)>>
	<<set $place = $i>>
	<<break>>
	<</if>>
<</for>>

<</silently>>