code:
:: PE concubine interview

<<nobr>>

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

<<set $activeSlave to $Concubine>>
<<set $oldRep to $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 to passage(), $eventDescription to 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.
\

<<click "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>>
<</click>>
<<click "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 is "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 > 2>>
		"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 < 1>>
		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 is "submissive")>>
			submitting to you in bed.
		<<elseif ($activeSlave.fetish is "cumslut")>>
			<<if $PC.dick == 0>>
			eating you out.
			<<else>>
			sucking you off.
			<</if>>
		<<elseif ($activeSlave.fetish is "humiliation")>>
			it when you show her off in public.
		<<elseif ($activeSlave.fetish is "buttslut")>>
			anal sex.
		<<elseif ($activeSlave.fetish is "boobs")>>
			anything that involves her breasts.
		<<elseif ($activeSlave.fetish is "sadist")>>
			it whenever you share a reluctant girl with her.
		<<elseif ($activeSlave.fetish is "masochist")>>
			a good spanking.
		<<elseif ($activeSlave.fetish is "dom")>>
			sharing a submissive girl with you.
		<<elseif ($activeSlave.fetish is "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 is "submissive")>>
			how good it feels when you hold her down and fuck her
		<<elseif ($activeSlave.fetish is "cumslut")>>
			<<if $PC.dick == 0>>
			how much fun sucking your cock is
			<<else>>
			how much fun polishing your pearl is
			<</if>>
		<<elseif ($activeSlave.fetish is "humiliation")>>
			how hot it is to get fucked in public
		<<elseif ($activeSlave.fetish is "buttslut")>>
			how much she loves the feeling of you stretching her anal ring
		<<elseif ($activeSlave.fetish is "boobs")>>
			how much she loves having her nipples tugged
		<<elseif ($activeSlave.fetish is "sadist")>>
			how much she loves molesting other slaves with you
		<<elseif ($activeSlave.fetish is "masochist")>>
			how good it feels to be forced
		<<elseif ($activeSlave.fetish is "dom")>>
			how much she loves holding other slaves down for you
		<<elseif ($activeSlave.fetish is "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 percieve 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 is "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 is "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 is "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 is "unset">>
			huge breathth and plush atheth,
			<</if>>
			<<if $arcologies[0].FSAssetExpansionist is "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 is "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 is "unset">>
			huge breasts and plush asses,
			<</if>>
			<<if $arcologies[0].FSAssetExpansionist is "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>>
<</click>>


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

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

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

<<Deadliness $activeSlave>>

<<set $PPit to 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 to passage(), $eventDescription to 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.
<</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 to random(1,100)>>
<<if $seed > 80>>
	She is a huge, muscular Amazon filled with confidence.
	<<set $opponent to 5>>
<<elseif $seed > 60>>
	She is a short but muscular shemale, trying to look confident.
	<<set $opponent to 4>>
<<elseif $seed > 40>>
	She is a tall, thin woman covered in ropy muscle, trying to hide her terror.
	<<set $opponent to 3>>
<<elseif $seed > 20>>
	She is an decent-looking slave, physically fit but obviously scared.
	<<set $opponent to 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 to 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 to 0; $i < $slaves.length; $i++>>
<<if $activeSlave.ID == $slaves[$i].ID>>
<<set $slaves[$i] to $activeSlave>><<break>><<break>>
<<set $activeSlave to {}>>
<</if>>
<</for>>

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

<</nobr>>\

repo_name: pregspammer/fc


code:
:: PE pit fight invite

<<nobr>>

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

<<set $PPit to 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">
<<click "Enter your bodyguard as a gladiatrix">>
	<<replace "#result">>
	You receive a brief confirmation. It looks like she's got a fight.
	<<set $PPit to 1>>
	<</replace>>
<</click>>
<<click "Politely decline">>
	<<replace "#result">>
	You decline the invitation.
	<</replace>>
<</click>>
</span>


code:
:: Personal assistant options [nobr]

<<set $nextButton to "Back", $nextLink to "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 to 0>>
<<for $i to 0; $i < $slaves.length; $i++>>
	<<if $activeSlave.releaseRules is "permissive">>
	<<set $masturbationAllowed to 1>>
	<<break>>
	<</if>>
<</for>>

<<display "Personal Assistant Appearance">>

<<if $assistant > 0>>
<<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>>she<</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>>
<</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 to 1]]
<<else>>
	Your assistant is simulating preferences and a sex drive. [[Revert her to normal settings|Personal assistant options][$assistant to 0, $assistantAppearance to "normal"]]
<</if>>

<<if $assistant != 0>>

__Appearance settings:__

She is currently using the ''$assistantAppearance'' appearance.

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

<</if>>
<<if $assistantAppearance isnot "fairy">>
  [[Fairy|Personal assistant options][$assistantAppearance to "fairy"]]

<</if>>
<<if $assistantAppearance isnot "pregnant fairy">>
  [[Pregnant Fairy|Personal assistant options][$assistantAppearance to "pregnant fairy"]]

<</if>>
<<if $assistantAppearance != "businesswoman">>
	[[Businesswoman|Personal assistant options][$assistantAppearance to "businesswoman"]]

<</if>>
<<if $assistantAppearance != "goddess">>
	[[Goddess|Personal assistant options][$assistantAppearance to "goddess"]]

<</if>>
<<if $assistantAppearance != "hypergoddess" && $seeHyperPreg == 1>>
  [[Hyper Goddess|Personal assistant options][$assistantAppearance to "hypergoddess"]]

<</if>>
<<if $assistantAppearance != "loli" && $minimumSlaveAge < 13>>
  [[Loli|Personal assistant options][$assistantAppearance to "loli"]]

<</if>>
<<if $assistantAppearance != "preggololi" && $fertilityAge < 13 && $minimumSlaveAge < 13>>
  [[Preggololi|Personal assistant options][$assistantAppearance to "preggololi"]]

<</if>>
<<if $assistantAppearance != "amazon">>
	[[Amazon|Personal assistant options][$assistantAppearance to "amazon"]]

<</if>>
<<if $assistantAppearance != "schoolgirl">>
	[[Schoolgirl|Personal assistant options][$assistantAppearance to "schoolgirl"]]

<</if>>
<<if $seeDicks != 0>>
<<if $assistantAppearance != "monstergirl">>
	[[Monstergirl|Personal assistant options][$assistantAppearance to "monstergirl"]]

<</if>>
<<if $assistantAppearance != "shemale">>
	[[Shemale|Personal assistant options][$assistantAppearance to "shemale"]]

<</if>>
<</if>>
<<if $assistantExtra1 == 1>>
<<if $assistantAppearance != "slimegirl">>
	[[Slime Girl|Personal assistant options][$assistantAppearance to "slimegirl"]]

<</if>>
<<if $assistantAppearance != "cowgirl">>
	[[Cow Girl|Personal assistant options][$assistantAppearance to "cowgirl"]]

<</if>>
<<if $assistantAppearance != "harpygirl">>
	[[Harpy Girl|Personal assistant options][$assistantAppearance to "harpygirl"]]

<</if>>
<<if $assistantAppearance != "kitsunegirl">>
	[[Kitsune|Personal assistant options][$assistantAppearance to "kitsunegirl"]]

<</if>>
<<if $assistantAppearance != "lamiagirl">>
	[[Lamia|Personal assistant options][$assistantAppearance to "lamiagirl"]]

<</if>>
<<if $assistantAppearance != "spidergirl">>
	[[Spider Girl|Personal assistant options][$assistantAppearance to "spidergirl"]]

<</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 to 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 and $assistant != 0)>>

__Society-specific appearance settings:__

She is currently using the ''$assistantFSAppearance'' appearance.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

		[[Stop using a custom name|Personal assistant options][$assistantName to "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 $assistant>>
	These capabilities are represented by an avatar styled after $assistantName's, with which simulates a ''$marketAssistantRelationship'' relationship.

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

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

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

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

	<</if>>
<</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 to 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 to 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 to "Back to Main">>
<<set $nextLink to "Main">>

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

<<set _assignment to 0>>
<<for _i to 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 to $slaves[_i]>>
	<<set _assignment to 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)>>
	<<click "Break her will">><<set $nextLink to "break her will">><<set $trainingRegimen to "break her will">><<replace "#training">><<print $trainingRegimen>><</replace>><</click>>
	| <<click "Use enhanced breaking techniques">><<set $nextLink to "break her will">><<set $trainingRegimen to "harshly break her will">><<replace "#training">><<print $trainingRegimen>><</replace>><</click>>
<<else>>
	<<click "Build her devotion">><<set $nextLink to "build her devotion">><<set $trainingRegimen to "build her devotion">><<replace "#training">><<print $trainingRegimen>><</replace>><</click>>
<</if>>

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

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

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

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

	<<click "Remove her sexual flaw">><<set $nextLink to "fix her sexual flaw">><<set $trainingRegimen to "fix her sexual flaw">><<replace "#training">><<print $trainingRegimen>><</replace>><</click>>
	<<if ($activeSlave.devotion < -20)>>
		<<if ($activeSlave.behavioralFlaw is "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"].contains($activeSlave.sexualFlaw)>>
		 | //Paraphilias cannot be softened//
	<<else>>
		 | <<click "Soften her sexual flaw">><<set $nextLink to "soften her sexual flaw">><<set $trainingRegimen to "soften her sexual flaw">><<replace "#training">><<print $trainingRegimen>><</replace>><</click>>
	<</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 is -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 is -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 is "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>>
	<<click "Teach her">><<set $nextLink to "learn skills">><<set $trainingRegimen to "learn skills">><<replace "#training">><<print $trainingRegimen>><</replace>><</click>>
<</if>>

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

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

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

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

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


code:
:: Pit

<<nobr>>
<<set $nextButton to "Back to Main">>
<<set $nextLink to "Main">>
<<set $returnTo to "Pit">>

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

<<set $pitSlaves to 0>>
<<set $notPitSlaves to 0>>
<<for _i to 0; _i < $slaves.length; _i++>>
	<<if $fighterIDs.contains($slaves[_i].ID)>>
		<<set $pitSlaves += 1>>
	<<else>>
		<<set $notPitSlaves += 1>>
	<</if>>
<</for>>

<<if $pitSlaves > 2>>
	$pitNameCaps is clean and ready, with a pool of slaves assigned to fight in the week's bout.
<<elseif $pitSlaves > 0>>
	$pitNameCaps is clean and ready, with slaves assigned to the week's bout.
<<elseif $pitSlaves > 0>>
	$pitNameCaps is clean and ready, but only one slave is assigned to the week's bout.
<<else>>
	$pitNameCaps is clean and ready, 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 is "none">>
	Fights here are strictly private. [[Open them for free|Pit][$pitAudience to "free"]] | [[Open them and charge admission|Pit][$pitAudience to "paid"]]
<<elseif $pitAudience is "free">>
	Fights here are free and open to the public. [[Close them|Pit][$pitAudience to "none"]] | [[Charge admission|Pit][$pitAudience to "paid"]]
<<else>>
	Admission is charged to the fights here. [[Close them|Pit][$pitAudience to "none"]] | [[Stop charging|Pit][$pitAudience to "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 to 1]]
<<else>>
	Your Bodyguard will fight a slave selected from the pool at random. [[Make both slots random|Pit][$pitBG to 0]]
<</if>>
<</if>>

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

<<if $pitSlaves > 0>>

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

<<if ($notPitSlaves > 1)>>

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

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


code:
:: Place In Line

<<silently>>

<<set $slavesInLine to []>>

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

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

<</silently>>


code:
:: Prestigious Slave

<<set $nextButton to "Back">>\
<<set $nextLink to "Buy Slaves">>\
<<set $returnTo to "Buy Slaves">>\
<<set $showEncyclopedia to 1>><<set $encyclopedia to "Slave Schools">>\
\
You check to see if any especially prestigious slaves are on auction. <<if $prestigeAuctioned == 1>>There are none available right now, but there probably will be next week.<<else>>

<<nobr>>
<<set $prestigeAuctioned to 1>>
<<if (random(0,99) < $seeDicks)>><<set $seed to random(100,170)>><<elseif $seeDicks > 0>><<set $seed to random(1,170)>><<else>><<set $seed to random(1,100)>><</if>>

<<if $seed <= 10>>
	<<set $activeSlaveOneTimeMinAge to Math.min(24, $minimumSlaveAge + 6)>>
	<<set $activeSlaveOneTimeMaxAge to 40>>
	<<display "Generate XX Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 1>>
	<<set $activeSlave.prestigeDesc to "She was once a noted adult film star, and was sold into slavery by her unscrupulous managers.">>
	<<set $activeSlave.career to "a porn star">>
	<<set $activeSlave.boobsImplant += random(4,6)*200>>
	<<set $activeSlave.boobs += $activeSlave.boobsImplant>>
	<<set $activeSlave.nipples to either("cute", "puffy", "huge")>>
	<<set $activeSlave.areolae to 1>>
	<<set $activeSlave.butt += 1>>
	<<set $activeSlave.buttImplant += 1>>
	<<set $activeSlave.lips += 10>>
	<<set $activeSlave.lipsImplant += 10>>
	<<set $activeSlave.face += 1>>
	<<set $activeSlave.faceImplant += 1>>
	<<set $activeSlave.faceShape to "sensual">>
	<<set $activeSlave.devotion = random(-90,-80)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = random(-40,40)>>
	<<set $activeSlave.anus to 2>>
	<<set $activeSlave.vagina to 2>>
	<<set $activeSlave.weight to 0>>
	<<set $activeSlave.clitPiercing to 1>>
	<<set $activeSlave.tonguePiercing to 1>>
	<<set $activeSlave.nipplesPiercing to 1>>
	<<set $activeSlave.nosePiercing to 1>>
	<<set $activeSlave.earPiercing to 1>>
	<<set $activeSlave.vaginalSkill = 100>>
	<<set $activeSlave.oralSkill = 100>>
	<<set $activeSlave.analSkill = 100>>
	<<set $activeSlave.whoreSkill = 15>>
	<<set $activeSlave.entertainSkill = 100>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.behavioralFlaw to either("arrogant", "bitchy", "anorexic")>>
	<<set $activeSlave.fetish to "none">>
	<<set $activeSlave.fetishKnown to 1>>
	<<set $activeSlave.customDesc to "She has seen and done almost everything sexually possible, on camera.">>

<<elseif $seed <= 20>>
	<<set $activeSlaveOneTimeMinAge to Math.min(19, Math.max($fertilityAge, $minimumSlaveAge) + 1)>>
	<<set $activeSlaveOneTimeMaxAge to 22>>
	<<display "Generate XX Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 1>>
	<<set $activeSlave.prestigeDesc to "She was once the young trophy wife of a powerful man in the old world, but he sold her into slavery in revenge for her infidelity.">>
	<<set $activeSlave.career to "a trophy wife">>
	<<set $activeSlave.boobsImplant += random(1,3)*200>>
	<<set $activeSlave.boobs += $activeSlave.boobsImplant>>
	<<set $activeSlave.butt += 1>>
	<<set $activeSlave.buttImplant += 1>>
	<<set $activeSlave.lips += 10>>
	<<set $activeSlave.lipsImplant += 10>>
	<<set $activeSlave.face += 1>>
	<<set $activeSlave.faceImplant += 1>>
	<<set $activeSlave.faceShape to "sensual">>
	<<set $activeSlave.devotion = random(-90,-80)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = random(60,80)>>
	<<set $activeSlave.anus to 1>>
	<<set $activeSlave.vagina to 1>>
	<<set $activeSlave.weight to 0>>
	<<set $activeSlave.clitPiercing to 1>>
	<<set $activeSlave.nipplesPiercing to 1>>
	<<set $activeSlave.earPiercing to 1>>
	<<set $activeSlave.vaginalSkill = 35>>
	<<set $activeSlave.oralSkill = 35>>
	<<set $activeSlave.analSkill = 15>>
	<<set $activeSlave.whoreSkill = 35>>
	<<set $activeSlave.entertainSkill = 15>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.behavioralFlaw to either("arrogant", "bitchy", "anorexic")>>
	<<set $activeSlave.fetish to "none">>
	<<set $activeSlave.fetishKnown to 1>>
	<<set $activeSlave.customTat to "Her ex-husband's name is prettily tattooed on her left arm, but a black line has been subsequently tattooed across it.">>

<<elseif $seed <= 30>>
	<<set $activeSlaveOneTimeMinAge to 21>>
	<<set $activeSlaveOneTimeMaxAge to 25>>
	<<display "Generate XX Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 1>>
	<<set $activeSlave.prestigeDesc to "She was once expected to become a major sports star, but flamed out due to injury and was recently enslaved due to debt.">>
	<<set $activeSlave.career to "an athlete">>
	<<set $activeSlave.intelligence to random(-2,-1)>>
	<<set $activeSlave.intelligenceImplant to 0>>
	<<set $activeSlave.muscles = 50>>
	<<set $activeSlave.heels to 1>>
	<<set $activeSlave.devotion = random(-90,-80)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = random(80,90)>>
	<<set $activeSlave.anus to 1>>
	<<set $activeSlave.vagina to 1>>
	<<set $activeSlave.weight to 0>>
	<<set $activeSlave.earPiercing to 1>>
	<<set $activeSlave.eyebrowPiercing to random(0,1)>>
	<<set $activeSlave.nosePiercing to random(0,1)>>
	<<set $activeSlave.navelPiercing to random(0,1)>>
	<<set $activeSlave.vaginalSkill = 15>>
	<<set $activeSlave.oralSkill = 15>>
	<<set $activeSlave.analSkill = 0>>
	<<set $activeSlave.whoreSkill = 0>>
	<<set $activeSlave.entertainSkill = 0>>
	<<set $activeSlave.combatSkill = 1>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.sexualFlaw to either("hates oral", "hates anal", "hates penetration")>>
	<<set $activeSlave.behavioralFlaw to "arrogant">>
	<<set $activeSlave.customDesc to "She's not particularly bright, and enjoys solving problems with physical force.">>

<<elseif $seed <= 40>>
	<<set $activeSlaveOneTimeMaxAge to 21>>
	<<display "Generate XX Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 1>>
	<<set $activeSlave.prestigeDesc to "She was once a rising young model, but apparently someone decided to take a shortcut in cashing in on her great beauty.">>
	<<set $activeSlave.career to "a model">>
	<<set $activeSlave.boobs to random(2,4)*100>>
	<<set $activeSlave.butt to random(1,3)>>
	<<set $activeSlave.lips to random(15,25)>>
	<<set $activeSlave.face to 2>>
	<<set $activeSlave.devotion = random(-90,-80)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = random(-20,20)>>
	<<set $activeSlave.anus to 1>>
	<<set $activeSlave.vagina to 1>>
	<<set $activeSlave.weight to 0>>
	<<set $activeSlave.earPiercing to 1>>
	<<set $activeSlave.vaginalSkill = 15>>
	<<set $activeSlave.oralSkill = 15>>
	<<set $activeSlave.analSkill = 0>>
	<<set $activeSlave.whoreSkill = 15>>
	<<set $activeSlave.entertainSkill = 35>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.behavioralFlaw to either("arrogant", "anorexic")>>
	<<set $activeSlave.customDesc to "She moves with the practiced grace of someone who unconsciously still pictures herself on the runway.">>

<<elseif $seed <= 50>>
	<<set $activeSlaveOneTimeMaxAge to 18>>
	<<display "Generate XX Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 1>>
	<<set $activeSlave.prestigeDesc to "She is a natural albino, and was quickly enslaved due to the great demand for physically unusual specimens.">>
	<<set $activeSlave.career to "a slave">>
	<<set $activeSlave.devotion = random(-90,-80)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = random(40,60)>>
	<<set $activeSlave.hColor to "white">>
	<<set $activeSlave.pubicHColor to "white">>
	<<set $activeSlave.eyeColor to "pale grey">>
	<<set $activeSlave.skin to "extremely pale">>
	<<set $activeSlave.customDesc to "Her eyes are unsettling; though her irises are a pale grey color, in some lights the whole eye takes on a red cast.">>

<<elseif $seed <= 60>>
	<<set $activeSlaveOneTimeMinAge to ($minimumSlaveAge + 15)>>
	<<set $activeSlaveOneTimeMaxAge to 35>>
	<<set $one_time_age_overrides_pedo_mode to 1>> /% 15 years a slave. %/
	<<display "Generate XX Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 2>>
	<<set $activeSlave.prestigeDesc to "She is one of the longest legally-enslaved persons in the world, having been a slave for 15 years. She has spent almost all that time working as a slave prostitute, and has been heavily modified to keep her productive.">>
	<<set $activeSlave.career to "a slave">>
	<<set $activeSlave.boobsImplant += random(10,15)*200>>
	<<set $activeSlave.boobs += $activeSlave.boobsImplant>>
	<<set $activeSlave.nipples to either("cute", "puffy", "huge")>>
	<<set $activeSlave.areolae to 2>>
	<<set $activeSlave.butt += 4>>
	<<set $activeSlave.buttImplant += 4>>
	<<set $activeSlave.lips to random(75,85)>>
	<<set $activeSlave.lipsImplant to 3>>
	<<set $activeSlave.face to 2>>
	<<set $activeSlave.faceImplant to 2>>
	<<set $activeSlave.faceShape to "exotic">>
	<<set $activeSlave.devotion = random(25,45)>>
	<<set $activeSlave.trust = random(0,15)>>
	<<set $activeSlave.health = random(20,40)>>
	<<set $activeSlave.anus to 3>>
	<<set $activeSlave.vagina to 3>>
	<<set $activeSlave.weight to 0>>
	<<set $activeSlave.clitPiercing to 2>>
	<<set $activeSlave.tonguePiercing to 2>>
	<<set $activeSlave.nipplesPiercing to 2>>
	<<set $activeSlave.nosePiercing to 2>>
	<<set $activeSlave.lipsPiercing to 2>>
	<<set $activeSlave.vaginaPiercing to 2>>
	<<set $activeSlave.anusPiercing to 2>>
	<<set $activeSlave.navelPiercing to 2>>
	<<set $activeSlave.eyebrowPiercing to 2>>
	<<set $activeSlave.earPiercing to 2>>
	<<set $activeSlave.vaginalSkill = 100>>
	<<set $activeSlave.oralSkill = 100>>
	<<set $activeSlave.analSkill = 100>>
	<<set $activeSlave.whoreSkill = 100>>
	<<set $activeSlave.entertainSkill = 0>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.sexualFlaw to "none">>
	<<set $activeSlave.behavioralFlaw to "none">>
	<<set $activeSlave.energy = 100>>
	<<set $activeSlave.fetish to "none">>
	<<set $activeSlave.fetishKnown to 1>>
	<<set $activeSlave.customDesc to "She has almost no inhibitions left at all.">>
	<<set $activeSlave.customTat to "'50,000 Served!' is tattooed across her back.">>
	<<if ndef $activeSlave.publicCount>><<set $activeSlave.publicCount = 1000>><<else>><<set $activeSlave.publicCount += 1000>><</if>>

<<elseif $seed <= 70>>
	<<set $activeSlaveOneTimeMinAge to 24>>
	<<set $activeSlaveOneTimeMaxAge to 28>>
	<<display "Generate XX Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 2>>
	<<set $activeSlave.prestigeDesc to "She was once a B-list actress, but fell on hard times and drug addiction and was recently enslaved due to debt.">>
	<<set $activeSlave.career to "an actress">>
	<<set $activeSlave.boobs += 200>>
	<<set $activeSlave.boobsImplant += 200>>
	<<set $activeSlave.butt += 1>>
	<<set $activeSlave.buttImplant += 1>>
	<<set $activeSlave.lips += 10>>
	<<set $activeSlave.lipsImplant += 10>>
	<<set $activeSlave.face to 2>>
	<<set $activeSlave.faceImplant += 1>>
	<<set $activeSlave.faceShape to "cute">>
	<<set $activeSlave.devotion = random(-90,-80)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = random(-80,-40)>>
	<<set $activeSlave.anus to 1>>
	<<set $activeSlave.vagina to 1>>
	<<set $activeSlave.weight to 0>>
	<<set $activeSlave.earPiercing to 1>>
	<<set $activeSlave.vaginalSkill = 15>>
	<<set $activeSlave.oralSkill = 15>>
	<<set $activeSlave.analSkill = 15>>
	<<set $activeSlave.whoreSkill = 0>>
	<<set $activeSlave.entertainSkill = 100>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.addict to 20>>
	<<set $activeSlave.sexualFlaw to either("hates oral", "hates anal", "hates penetration")>>
	<<set $activeSlave.behavioralFlaw to either("arrogant", "bitchy", "odd", "anorexic")>>
	<<set $activeSlave.customDesc to "She sometimes forgets herself and acts as though she were still a coming celebrity.">>

<<elseif $seed <= 80>>
	<<set $activeSlaveOneTimeMinAge to 38>>
	<<set $activeSlaveOneTimeMaxAge to 42>>
	<<display "Generate XX Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 2>>
	<<set $activeSlave.prestigeDesc to "She was once a rising old world politician, but was forced to flee from the increasingly dangerous politics common in a stressed world, and was subsequently enslaved.">>
	<<set $activeSlave.career to "a politician">>
	<<set $activeSlave.boobs += 100>>
	<<set $activeSlave.butt += 1>>
	<<set $activeSlave.face += 1>>
	<<set $activeSlave.faceImplant += 1>>
	<<set $activeSlave.faceShape to "normal">>
	<<set $activeSlave.height += 10>>
	<<set $activeSlave.devotion = random(-90,-80)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = random(60,80)>>
	<<set $activeSlave.anus to 0>>
	<<set $activeSlave.vagina to 1>>
	<<set $activeSlave.weight to 0>>
	<<set $activeSlave.vaginalSkill = 15>>
	<<set $activeSlave.oralSkill = 0>>
	<<set $activeSlave.analSkill = 0>>
	<<set $activeSlave.whoreSkill = 0>>
	<<set $activeSlave.entertainSkill = 35>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.behavioralFlaw to either("arrogant", "bitchy")>>
	<<set $activeSlave.customTat to "A small tattoo of the crest of an old world sorority is visible on her left shoulder blade.">>
	<<set $activeSlave.customDesc to "Her face is still recognizable as that which once graced a million campaign posters.">>

<<elseif $seed <= 90>>
	<<set $activeSlaveOneTimeMaxAge to 18>>
	<<display "Generate XX Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 3>>
	<<set $activeSlave.prestigeDesc to "She was born a daughter of royalty, but her family was overthrown when she was still young. She is a graduate cum laude of the world's most renowned slave school.">>
	<<set $activeSlave.career to "a slave">>
	<<set $activeSlave.boobs += 100>>
	<<set $activeSlave.butt += 1>>
	<<set $activeSlave.lips += 10>>
	<<set $activeSlave.face += 1>>
	<<set $activeSlave.height += 10>>
	<<set $activeSlave.devotion = random(75,90)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = 100>>
	<<set $activeSlave.anus to 0>>
	<<set $activeSlave.vagina to 0>>
	<<set $activeSlave.weight to 0>>
	<<set $activeSlave.vaginalSkill = 0>>
	<<set $activeSlave.oralSkill = 100>>
	<<set $activeSlave.analSkill = 0>>
	<<set $activeSlave.whoreSkill = 15>>
	<<set $activeSlave.entertainSkill = 35>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.sexualFlaw to "none">>
	<<set $activeSlave.behavioralFlaw to "none">>
	<<set $activeSlave.customTat to "Her family crest is tattooed on her cheek.">>
	<<set $activeSlave.customDesc to "Her recognizable face marks her as a descendant of an overthrown royal family.">>

<<elseif $seed <= 100>>
	<<set $activeSlaveOneTimeMinAge to 28>>
	<<set $activeSlaveOneTimeMaxAge to 42>>
	<<display "Generate XX Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 3>>
	<<set $activeSlave.prestigeDesc to "She was once an arcology owner like you, but lost a Free Cities power struggle and was enslaved. An object lesson in the need to stay vigilant.">>
	<<set $activeSlave.career to "an arcology owner">>
	<<set $activeSlave.boobsImplant += random(20,40)*200>>
	<<set $activeSlave.boobs += $activeSlave.boobsImplant>>
	<<set $activeSlave.boobs += 1000>>
	<<set $activeSlave.nipples to either("cute", "puffy", "huge")>>
	<<set $activeSlave.areolae to 2>>
	<<set $activeSlave.buttImplant +=  random(6,8)>>
	<<set $activeSlave.butt += $activeSlave.buttImplant>>
	<<set $activeSlave.heels to 1>>
	<<set $activeSlave.voice to 0>>
	<<set $activeSlave.lips to random(75,85)>>
	<<set $activeSlave.lipsImplant to 3>>
	<<set $activeSlave.devotion = random(-90,-80)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = random(-80,-60)>>
	<<set $activeSlave.anus to 3>>
	<<set $activeSlave.vagina to 3>>
	<<set $activeSlave.weight = -20>>
	<<set $activeSlave.nipplesPiercing to 2>>
	<<set $activeSlave.clitPiercing to 2>>
	<<set $activeSlave.vaginaPiercing to 2>>
	<<set $activeSlave.dickPiercing to 2>>
	<<set $activeSlave.anusPiercing to 2>>
	<<set $activeSlave.lipsPiercing to 2>>
	<<set $activeSlave.tonguePiercing to 2>>
	<<set $activeSlave.earPiercing to 2>>
	<<set $activeSlave.nosePiercing to 2>>
	<<set $activeSlave.eyebrowPiercing to 2>>
	<<set $activeSlave.navelPiercing to 2>>
	<<set $activeSlave.boobsTat to "rude words">>
	<<set $activeSlave.buttTat to "rude words">>
	<<set $activeSlave.vaginaTat to "rude words">>
	<<set $activeSlave.dickTat to "rude words">>
	<<set $activeSlave.lipsTat to "rude words">>
	<<set $activeSlave.anusTat to "rude words">>
	<<set $activeSlave.shouldersTat to "rude words">>
	<<set $activeSlave.armsTat to "rude words">>
	<<set $activeSlave.legsTat to "rude words">>
	<<set $activeSlave.stampTat to "rude words">>
	<<set $activeSlave.vaginalSkill = 15>>
	<<set $activeSlave.oralSkill = 15>>
	<<set $activeSlave.analSkill = 15>>
	<<set $activeSlave.whoreSkill = 0>>
	<<set $activeSlave.entertainSkill = 0>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.hStyle to "shaved">>
	<<set $activeSlave.hLength to 0>>
	<<set $activeSlave.behavioralFlaw to either("odd")>>
	<<set $activeSlave.customDesc to "Her back is covered in a fine network of hairline scars, as though she's been repeatedly flogged bloody, healed with curatives, and then flogged again.">>
	<<set $activeSlave.customTat to "'ARCOLOGY OWNER' is tattooed across her forehead.">>

<<elseif $seed <= 110>>
	<<set $activeSlaveOneTimeMinAge to 24>>
	<<set $activeSlaveOneTimeMaxAge to 40>>
	<<set $one_time_age_overrides_pedo_mode to 1>> /% Enslaved as an adult. %/
	<<display "Generate XY Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 1>>
	<<set $activeSlave.prestigeDesc to "She is a natural-born hermaphrodite. She was enslaved as an adult and subjected to treatment to upgrade both her halves to full functionality.">>
	<<set $activeSlave.devotion = random(-45,-25)>>
	<<set $activeSlave.trust = random(-90,-75)>>
	<<set $activeSlave.health = random(-40,-30)>>
	<<set $activeSlave.chem = 100>>
	<<set $activeSlave.anus to random(1,2)>>
	<<set $activeSlave.dick to random(1,2)>>
	<<if $activeSlave.dick > 0>><<set $activeSlave.foreskin to $activeSlave.dick>><</if>>
	<<set $activeSlave.vagina to 1>>
	<<set $activeSlave.ovaries to 1>>
	<<set $activeSlave.preg to 0>>
	<<set $activeSlave.balls to random(1,2)>>
	<<if $activeSlave.balls > 0>><<set $activeSlave.scrotum to $activeSlave.balls>><</if>>
	<<set $activeSlave.weight to random(-80,-20)>>
	<<set $activeSlave.attrXX to random(30,50)>>
	<<set $activeSlave.attrXY to random(30,50)>>
	<<set $activeSlave.energy to random(5,20)>>
	<<set $activeSlave.vaginalSkill = 0>>
	<<set $activeSlave.oralSkill = 15>>
	<<set $activeSlave.analSkill = 15>>
	<<set $activeSlave.whoreSkill = 0>>
	<<set $activeSlave.entertainSkill = 0>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.customDesc to "She has had a very difficult time adjusting to her unusual biology.">>

<<elseif $seed <= 115>>
	<<set $activeSlaveOneTimeMaxAge to 19>>
	<<display "Generate XX Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 1>>
	<<set $activeSlave.prestigeDesc to "She is a natural-born hermaphrodite. She received treatment to ensure both her halves would be fully functional from an early age.">>
	<<set $activeSlave.career to "a slave">>
	<<set $activeSlave.devotion = random(25,45)>>
	<<set $activeSlave.trust = random(25,45)>>
	<<set $activeSlave.health = random(0,20)>>
	<<set $activeSlave.chem to 200>>
	<<set $activeSlave.boobs += 100*random(2,4)>>
	<<set $activeSlave.butt += random(1,2)>>
	<<set $activeSlave.anus to 1>>
	<<set $activeSlave.dick to random(4,6)>>
	<<if $activeSlave.dick > 0>><<set $activeSlave.foreskin to $activeSlave.dick>><</if>>
	<<set $activeSlave.balls to random(4,6)>>
	<<if $activeSlave.balls > 0>><<set $activeSlave.scrotum to $activeSlave.balls>><</if>>
	<<set $activeSlave.weight to random(20,80)>>
	<<set $activeSlave.attrXX to random(80,100)>>
	<<set $activeSlave.attrXY to random(80,100)>>
	<<set $activeSlave.energy to random(60,90)>>
	<<set $activeSlave.vaginalSkill = 0>>
	<<set $activeSlave.oralSkill = 0>>
	<<set $activeSlave.analSkill = 0>>
	<<set $activeSlave.whoreSkill = 0>>
	<<set $activeSlave.entertainSkill = 15>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.sexualFlaw to "none">>
	<<set $activeSlave.behavioralFlaw to "none">>
	<<set $activeSlave.sexualQuirk to either("tease", "romantic", "perverted", "caring")>>
	<<set $activeSlave.behavioralQuirk to either("confident", "cutting", "funny", "adores women", "adores men", "advocate")>>
	<<set $activeSlave.customDesc to "She is very comfortable with her unusual biology.">>

<<elseif $seed <= 125>>
	<<set $activeSlaveOneTimeMinAge to 24>>
	<<set $activeSlaveOneTimeMaxAge to 40>>
	<<display "Generate XY Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 1>>
	<<set $activeSlave.prestigeDesc to "She was once a noted adult film star, and was sold into slavery by her unscrupulous managers.">>
	<<set $activeSlave.career to "a porn star">>
	<<set $activeSlave.boobsImplant += random(4,6)*200>>
	<<set $activeSlave.boobs += $activeSlave.boobsImplant>>
	<<set $activeSlave.nipples to either("cute", "puffy", "huge")>>
	<<set $activeSlave.areolae to 1>>
	<<set $activeSlave.butt += 1>>
	<<set $activeSlave.buttImplant += 1>>
	<<set $activeSlave.lips += 10>>
	<<set $activeSlave.lipsImplant += 10>>
	<<set $activeSlave.face += 1>>
	<<set $activeSlave.faceImplant += 1>>
	<<set $activeSlave.faceShape to "androgynous">>
	<<set $activeSlave.devotion = random(-90,-80)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = random(-40,40)>>
	<<set $activeSlave.anus to 3>>
	<<set $activeSlave.dick to 5>>
	<<if $activeSlave.foreskin > 0>><<set $activeSlave.foreskin to $activeSlave.dick>><</if>>
	<<set $activeSlave.balls to 5>>
	<<if $activeSlave.balls > 0>><<set $activeSlave.scrotum to $activeSlave.balls>><</if>>
	<<set $activeSlave.weight to 0>>
	<<set $activeSlave.clitPiercing to 1>>
	<<set $activeSlave.tonguePiercing to 1>>
	<<set $activeSlave.nipplesPiercing to 1>>
	<<set $activeSlave.nosePiercing to 1>>
	<<set $activeSlave.earPiercing to 1>>
	<<set $activeSlave.oralSkill = 100>>
	<<set $activeSlave.analSkill = 100>>
	<<set $activeSlave.whoreSkill = 15>>
	<<set $activeSlave.entertainSkill = 100>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.behavioralFlaw to either("arrogant", "bitchy", "anorexic")>>
	<<set $activeSlave.fetish to "none">>
	<<set $activeSlave.fetishKnown to 1>>
	<<set $activeSlave.customDesc to "She has seen and done almost everything sexually possible, on camera.">>

<<elseif $seed <= 130>>
	<<set $activeSlaveOneTimeMinAge to 19>>
	<<set $activeSlaveOneTimeMaxAge to 22>>
	<<display "Generate XY Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 1>>
	<<set $activeSlave.prestigeDesc to "She was once the young trophy husband of a powerful woman in the old world, but she sold her into slavery in revenge for her infidelities.">>
	<<set $activeSlave.career to "a trophy spouse">>
	<<set $activeSlave.face += 1>>
	<<set $activeSlave.faceImplant += 1>>
	<<set $activeSlave.faceShape to "cute">>
	<<set $activeSlave.muscles = random(20,100)>>
	<<set $activeSlave.devotion = random(-90,-80)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = random(60,80)>>
	<<set $activeSlave.weight to 0>>
	<<set $activeSlave.clitPiercing to 1>>
	<<set $activeSlave.oralSkill = 15>>
	<<set $activeSlave.analSkill = 0>>
	<<set $activeSlave.whoreSkill = 15>>
	<<set $activeSlave.entertainSkill = 15>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.behavioralFlaw to either("arrogant", "bitchy")>>
	<<set $activeSlave.fetish to "none">>
	<<set $activeSlave.fetishKnown to 1>>
	<<set $activeSlave.customTat to "Her ex-wife's name is prettily tattooed on her left arm, but a black line has been subsequently tattooed across it.">>

<<elseif $seed <= 135>>
	<<set $activeSlaveOneTimeMinAge to 21>>
	<<set $activeSlaveOneTimeMaxAge to 25>>
	<<display "Generate XY Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 1>>
	<<set $activeSlave.prestigeDesc to "She was once expected to become a major sports star, but flamed out due to injury and was recently enslaved due to debt.">>
	<<set $activeSlave.career to "an athlete">>
	<<set $activeSlave.intelligence to random(-2,-1)>>
	<<set $activeSlave.intelligenceImplant to 0>>
	<<set $activeSlave.muscles = 50>>
	<<set $activeSlave.heels to 1>>
	<<set $activeSlave.devotion = random(-90,-80)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = random(80,90)>>
	<<set $activeSlave.anus to 1>>
	<<set $activeSlave.dick to random(3,5)>>
	<<if $activeSlave.dick > 0>><<set $activeSlave.foreskin to $activeSlave.dick>><</if>>
	<<set $activeSlave.balls to random(3,5)>>
	<<if $activeSlave.balls > 0>><<set $activeSlave.scrotum to $activeSlave.balls>><</if>>
	<<set $activeSlave.weight to 0>>
	<<set $activeSlave.oralSkill = 15>>
	<<set $activeSlave.analSkill = 0>>
	<<set $activeSlave.whoreSkill = 0>>
	<<set $activeSlave.entertainSkill = 0>>
	<<set $activeSlave.combatSkill = 1>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.sexualFlaw to either("hates oral", "hates anal", "hates penetration")>>
	<<set $activeSlave.behavioralFlaw to "arrogant">>
	<<set $activeSlave.customDesc to "She's not particularly bright, and enjoys solving problems with physical force.">>

<<elseif $seed <= 140>>
	<<set $activeSlaveOneTimeMaxAge to 21>>
	<<display "Generate XY Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 1>>
	<<set $activeSlave.prestigeDesc to "She was once a rising young model, but apparently someone decided to take a shortcut in cashing in on her great beauty.">>
	<<set $activeSlave.career to "a model">>
	<<set $activeSlave.boobs to random(1,3)*100>>
	<<set $activeSlave.butt to random(1,2)>>
	<<set $activeSlave.muscles = 20>>
	<<set $activeSlave.lips to random(15,25)>>
	<<set $activeSlave.face to 2>>
	<<set $activeSlave.faceImplant to random(1,2)>>
	<<set $activeSlave.faceShape to "androgynous">>
	<<set $activeSlave.devotion = random(-90,-80)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = random(-20,20)>>
	<<set $activeSlave.anus to 2>>
	<<set $activeSlave.weight to 0>>
	<<set $activeSlave.earPiercing to 1>>
	<<set $activeSlave.oralSkill = 100>>
	<<set $activeSlave.analSkill = 0>>
	<<set $activeSlave.whoreSkill = 15>>
	<<set $activeSlave.entertainSkill = 35>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.sexualFlaw to either("hates women")>>
	<<set $activeSlave.behavioralFlaw to either("arrogant", "anorexic")>>
	<<set $activeSlave.customDesc to "She moves with the practiced grace of someone who unconsciously still pictures herself on the runway.">>

<<elseif $seed <= 145>>
	<<set $activeSlaveOneTimeMaxAge to 18>>
	<<display "Generate XY Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 1>>
	<<set $activeSlave.prestigeDesc to "She is a natural albino, and was quickly enslaved due to the great demand for physically unusual specimens.">>
	<<set $activeSlave.devotion = random(-90,-80)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = random(40,60)>>
	<<set $activeSlave.hColor to "white">>
	<<set $activeSlave.pubicHColor to "white">>
	<<set $activeSlave.eyeColor to "pale grey">>
	<<set $activeSlave.skin to "extremely pale">>
	<<set $activeSlave.customDesc to "Her eyes are unsettling; though her irises are a pale grey color, in some lights the whole eye takes on a red cast.">>

<<elseif $seed <= 150>>
	<<set $activeSlaveOneTimeMinAge to ($minimumSlaveAge + 15)>>
	<<set $activeSlaveOneTimeMaxAge to 35>>
	<<set $one_time_age_overrides_pedo_mode to 1>> /% 15 years a slave. %/
	<<display "Generate XY Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 2>>
	<<set $activeSlave.prestigeDesc to "She is one of the longest legally-enslaved persons in the world, having been a slave for 15 years. She has spent almost all that time working as a slave prostitute, and has been heavily modified to keep her productive.">>
	<<set $activeSlave.career to "a prostitute">>
	<<set $activeSlave.boobsImplant += random(10,15)*200>>
	<<set $activeSlave.boobs += $activeSlave.boobsImplant>>
	<<set $activeSlave.nipples to either("cute", "puffy", "huge")>>
	<<set $activeSlave.areolae to 2>>
	<<set $activeSlave.butt += 4>>
	<<set $activeSlave.buttImplant += 4>>
	<<set $activeSlave.lips to random(25,55)>>
	<<set $activeSlave.lipsImplant to 2>>
	<<set $activeSlave.face to 2>>
	<<set $activeSlave.faceImplant to 2>>
	<<set $activeSlave.faceShape to "exotic">>
	<<set $activeSlave.devotion = random(25,45)>>
	<<set $activeSlave.trust = random(0,15)>>
	<<set $activeSlave.health = random(20,40)>>
	<<set $activeSlave.anus to 3>>
	<<set $activeSlave.dick to 1>>
	<<if $activeSlave.foreskin > 0>><<set $activeSlave.foreskin to $activeSlave.dick>><</if>>
<<if $activeSlave.balls > 0>><<set $activeSlave.scrotum to $activeSlave.balls>><</if>>
	<<set $activeSlave.balls to 0>>
	<<set $activeSlave.weight to 0>>
	<<set $activeSlave.clitPiercing to 2>>
	<<set $activeSlave.tonguePiercing to 2>>
	<<set $activeSlave.nipplesPiercing to 2>>
	<<set $activeSlave.nosePiercing to 2>>
	<<set $activeSlave.lipsPiercing to 2>>
	<<set $activeSlave.vaginaPiercing to 2>>
	<<set $activeSlave.anusPiercing to 2>>
	<<set $activeSlave.navelPiercing to 2>>
	<<set $activeSlave.eyebrowPiercing to 2>>
	<<set $activeSlave.earPiercing to 2>>
	<<set $activeSlave.oralSkill = 100>>
	<<set $activeSlave.analSkill = 100>>
	<<set $activeSlave.whoreSkill = 100>>
	<<set $activeSlave.entertainSkill = 0>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.sexualFlaw to "none">>
	<<set $activeSlave.behavioralFlaw to "none">>
	<<set $activeSlave.energy = 100>>
	<<set $activeSlave.fetish to "none">>
	<<set $activeSlave.fetishKnown to 1>>
	<<set $activeSlave.customDesc to "She has almost no inhibitions left at all.">>
	<<set $activeSlave.customTat to "'50,000 Served!' is tattooed across her back.">>
	<<if ndef $activeSlave.publicCount>><<set $activeSlave.publicCount = 1000>><<else>><<set $activeSlave.publicCount += 1000>><</if>>

<<elseif $seed <= 155>>
	<<set $activeSlaveOneTimeMinAge to 24>>
	<<set $activeSlaveOneTimeMaxAge to 28>>
	<<display "Generate XY Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 2>>
	<<set $activeSlave.prestigeDesc to "She was once a B-list actress, but fell on hard times and drug addiction and was recently enslaved due to debt.">>
	<<set $activeSlave.career to "an actress">>
	<<set $activeSlave.boobs += 200>>
	<<set $activeSlave.boobsImplant += 200>>
	<<set $activeSlave.butt += 1>>
	<<set $activeSlave.buttImplant += 1>>
	<<set $activeSlave.lips += 10>>
	<<set $activeSlave.lipsImplant += 10>>
	<<set $activeSlave.face to 2>>
	<<set $activeSlave.faceImplant += 1>>
	<<set $activeSlave.faceShape to "cute">>
	<<set $activeSlave.devotion = random(-90,-80)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = random(-80,-40)>>
	<<set $activeSlave.anus to 1>>
	<<set $activeSlave.weight to 0>>
	<<set $activeSlave.earPiercing to 1>>
	<<set $activeSlave.oralSkill = 15>>
	<<set $activeSlave.analSkill = 15>>
	<<set $activeSlave.whoreSkill = 0>>
	<<set $activeSlave.entertainSkill = 100>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.addict to 20>>
	<<set $activeSlave.sexualFlaw to either("hates oral", "hates anal", "hates penetration")>>
	<<set $activeSlave.behavioralFlaw to either("arrogant", "bitchy", "odd", "anorexic")>>
	<<set $activeSlave.customDesc to "She sometimes forgets herself and acts as though she were still a coming celebrity.">>

<<elseif $seed <= 160>>
	<<set $activeSlaveOneTimeMinAge to 38>>
	<<set $activeSlaveOneTimeMaxAge to 42>>
	<<display "Generate XY Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 2>>
	<<set $activeSlave.prestigeDesc to "She was once a rising old world politician, but was forced to flee from the increasingly dangerous politics common in a stressed world, and was subsequently enslaved.">>
	<<set $activeSlave.career to "a politician">>
	<<set $activeSlave.muscles = random(10,50)>>
	<<set $activeSlave.height to random(160,200)>>
	<<set $activeSlave.face += 1>>
	<<set $activeSlave.faceImplant += 1>>
	<<set $activeSlave.faceShape to "masculine">>
	<<set $activeSlave.devotion = random(-90,-80)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = random(60,80)>>
	<<set $activeSlave.anus to 0>>
	<<set $activeSlave.weight to 0>>
	<<set $activeSlave.oralSkill = 0>>
	<<set $activeSlave.analSkill = 0>>
	<<set $activeSlave.whoreSkill = 0>>
	<<set $activeSlave.entertainSkill = 35>>
	<<set $activeSlave.behavioralFlaw to either("arrogant", "bitchy")>>
	<<set $activeSlave.customTat to "A small tattoo of the crest of an old world fraternity is visible on her left shoulder blade.">>
	<<set $activeSlave.customDesc to "Her face is still recognizable as that which once graced a million campaign posters.">>

<<elseif $seed <= 165>>
	<<set $activeSlaveOneTimeMaxAge to 18>>
	<<display "Generate XY Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 3>>
	<<set $activeSlave.prestigeDesc to "She was born a child of royalty, but her family was overthrown when she was still young. She is a graduate cum laude of the world's most renowned slave school.">>
	<<set $activeSlave.career to "a slave">>
	<<set $activeSlave.boobs += 100>>
	<<set $activeSlave.butt += 1>>
	<<set $activeSlave.lips += 10>>
	<<set $activeSlave.face += 1>>
	<<set $activeSlave.height += 10>>
	<<set $activeSlave.devotion = random(75,85)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = 100>>
	<<set $activeSlave.anus to 0>>
	<<set $activeSlave.dick to 2>>
	<<if $activeSlave.foreskin > 0>><<set $activeSlave.foreskin to $activeSlave.dick>><</if>>
	<<set $activeSlave.balls to 1>>
	<<if $activeSlave.balls > 0>><<set $activeSlave.scrotum to $activeSlave.balls>><</if>>
	<<set $activeSlave.weight to 0>>
	<<set $activeSlave.vaginalSkill = 0>>
	<<set $activeSlave.oralSkill = 100>>
	<<set $activeSlave.analSkill = 0>>
	<<set $activeSlave.whoreSkill = 15>>
	<<set $activeSlave.entertainSkill = 35>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.sexualFlaw to "none">>
	<<set $activeSlave.behavioralFlaw to "none">>
	<<set $activeSlave.customTat to "Her family crest is tattooed on her cheek.">>
	<<set $activeSlave.customDesc to "Her recognizable face marks her as a descendant of an overthrown royal family.">>

<<elseif $seed <= 170>>
	<<set $activeSlaveOneTimeMinAge to 28>>
	<<set $activeSlaveOneTimeMaxAge to 42>>
	<<display "Generate XY Slave">>
	<<set $activeSlave.origin to "You bought her at auction.">>
	<<set $activeSlave.prestige to 3>>
	<<set $activeSlave.prestigeDesc to "She was once an arcology owner like you, but lost a Free Cities power struggle and was enslaved. An object lesson in the need to stay vigilant.">>
	<<set $activeSlave.career to "an arcology owner">>
	<<set $activeSlave.muscles = random(10,50)>>
	<<set $activeSlave.heels to 1>>
	<<set $activeSlave.voice to 0>>
	<<set $activeSlave.devotion = random(-90,-80)>>
	<<set $activeSlave.trust = random(-45,-25)>>
	<<set $activeSlave.health = random(-80,-60)>>
	<<set $activeSlave.anus to 3>>
	<<set $activeSlave.weight = -20>>
	<<set $activeSlave.nipplesPiercing to 2>>
	<<set $activeSlave.clitPiercing to 2>>
	<<set $activeSlave.vaginaPiercing to 2>>
	<<set $activeSlave.dickPiercing to 2>>
	<<set $activeSlave.anusPiercing to 2>>
	<<set $activeSlave.lipsPiercing to 2>>
	<<set $activeSlave.tonguePiercing to 2>>
	<<set $activeSlave.earPiercing to 2>>
	<<set $activeSlave.nosePiercing to 2>>
	<<set $activeSlave.eyebrowPiercing to 2>>
	<<set $activeSlave.navelPiercing to 2>>
	<<set $activeSlave.boobsTat to "rude words">>
	<<set $activeSlave.buttTat to "rude words">>
	<<set $activeSlave.vaginaTat to "rude words">>
	<<set $activeSlave.dickTat to "rude words">>
	<<set $activeSlave.lipsTat to "rude words">>
	<<set $activeSlave.anusTat to "rude words">>
	<<set $activeSlave.shouldersTat to "rude words">>
	<<set $activeSlave.armsTat to "rude words">>
	<<set $activeSlave.legsTat to "rude words">>
	<<set $activeSlave.stampTat to "rude words">>
	<<set $activeSlave.oralSkill = 15>>
	<<set $activeSlave.analSkill = 15>>
	<<set $activeSlave.whoreSkill = 0>>
	<<set $activeSlave.entertainSkill = 0>>
	<<set $activeSlave.pubicHStyle to "waxed">>
	<<set $activeSlave.hStyle to "shaved">>
	<<set $activeSlave.hLength to 0>>
	<<set $activeSlave.behavioralFlaw to either("odd")>>
	<<set $activeSlave.customDesc to "Her back is covered in a fine network of hairline scars, as though she's been repeatedly flogged bloody, healed with curatives, and then flogged again.">>
	<<set $activeSlave.customTat to "'ARCOLOGY OWNER' is tattooed across her forehead.">>
<</if>>

<<slaveCost $activeSlave>>
<</nobr>>\
\
It will take ¤<<print $slaveCost>> to win the auction.
\
<<nobr>>
<<if $cash >= $slaveCost>>
	[[Place that bid|New Slave Intro][$cash -= $slaveCost,$nextButton to "Continue",$nextLink to "AS Dump",$returnTo to "Main"]]
<<else>>
	//You lack the necessary funds to place a winning bid.//
<</if>>
<</nobr>>

<<set $saleDescription to 1>>\
<<display "Long Slave Description">>\
<<set $saleDescription to 0>>\

<</if>>


code:
:: Previous Slave In Line

<<silently>>

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

<<if $place == 0>>
	<<set $activeSlave to $slavesInLine[$slavesInLine.length-1]>>
<<else>>
	<<set $activeSlave to $slavesInLine[$place-1]>>
<</if>>

<<goto "Slave Interact">>

<</silently>>