code:
:: SE coursing race [nobr]

You place your hand on the leash's quick release and whisper your direction into her ear without letting the other competitors or their lurchers hear. Then, you gently push her down into her starting crouch. The umpire trips the hares' releases, a few yards in front of you and $Lurcher.slaveName, and you instantly let your lurcher off her leash.

<<set _LurcherSpeed = 10>>
<<if $Lurcher.devotion > 50>>
	She's eager to do well for you, and immediately takes off.
	<<set _LurcherSpeed += 2>>
<<elseif $Lurcher.trust < -20>>
	She's frightened of failing you, and immediately takes off.
	<<set _LurcherSpeed += 1>>
<<elseif $Lurcher.devotion < -20>>
	She's disgusted by this, and is slow to start.
	<<set _LurcherSpeed -= 1>>
<<else>>
	She's a bit hesitant about this, but gets off reasonably well.
<</if>>
<<if $Lurcher.health > 60>>
	Her shining health allows her to pour it on.
	<<set _LurcherSpeed += 1>>
<<elseif $Lurcher.health < 0>>
	Her poor health slows her down.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if !canSee($Lurcher)>>
    Her inability to see causes her to be cautious of her footing, making her first several strides slow and uncertain.
    <<set _LurcherSpeed -= 1>>
<</if>>
<<if $Lurcher.weight > 190>>
	She's so fat that her run is nothing more than an out of breath waddle.
	<<set _LurcherSpeed -= 5>>
<<elseif $Lurcher.weight > 160>>
	It takes her a while to get her fat ass up to her, rather pathetic, top speed, such as it is.
	<<set _LurcherSpeed -= 3>>
<<elseif $Lurcher.weight > 95>>
	It takes her a while to get her fat ass up to her top speed, such as it is.
	<<set _LurcherSpeed -= 2>>
<<elseif $Lurcher.weight > 30>>
	It takes her a while to get her chubby body up to speed.
	<<set _LurcherSpeed -= 1>>
<<elseif $Lurcher.weight < -95>>
	She's so thin that she lacks the vigor to run really well.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if $Lurcher.muscles > 30>>
	She's muscle-bound, without the range of motion to move freely.
	<<set _LurcherSpeed -= 1>>
<<elseif $Lurcher.muscles <= 5>>
	She's soft, and is panting desperately within a few short strides.
	<<set _LurcherSpeed -= 1>>
<<elseif $Lurcher.muscles <= -30>>
	She's very weak, and is panting desperately from just walking to the starting line.
	<<set _LurcherSpeed -= 4>>
<<elseif $Lurcher.muscles <= -95>>
	She's physically frail, barely capable of walking let alone running.
	<<set _LurcherSpeed -= 20>>
<</if>>
<<if $Lurcher.height >= 185>>
	Her steps are long - too long, in fact, her long legs slowing her gait.
	<<set _LurcherSpeed -= 1>>
<<elseif $Lurcher.height < 150>>
	Her stride is too short, but it's the best her little legs can manage.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if $Lurcher.boobs >= 2000>>
	Her naked breasts slosh around wildly, ruining her attempt at running.
	<<set _LurcherSpeed -= 2>>
<<elseif $Lurcher.boobs >= 800>>
	Her big tits bounce energetically, looking quite nice but hurting her speed.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if $Lurcher.butt >= 6>>
	She does her best to stay light on her feet despite her inconveniently huge buttocks.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if $Lurcher.dick >= 5>>
	Her cock bounces up and down wildly; she does her best to ignore it, but it does get in the way.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if $Lurcher.balls >= 5>>
	As you watch her go, her testicles smack into her thigh, and she gasps with pain.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if $Lurcher.preg >= 40>>
	She seems terrified that her water might break if she tried to move too fast.
	<<set _LurcherSpeed -= 10>>
<<elseif $Lurcher.belly >= 120000>>
	She can barely move herself, let alone consider chasing something with her titanic <<if $Lurcher.bellyImplant > 100>>belly implant<<else>>pregnant belly<</if>> in the way.
	<<set _LurcherSpeed -= 20>>
<<elseif $Lurcher.belly >= 60000>>
	She can barely waddle with her <<if $Lurcher.bellyImplant > 100>>enormous belly implant<<else>>enormously pregnant belly<</if>>.
	<<set _LurcherSpeed -= 10>>
<<elseif $Lurcher.belly >= 10000 && $Lurcher.bellyFluid < 2000>>
	She can barely waddle along with her huge <<if $Lurcher.bellyImplant > 100>>belly implant<<else>>pregnant belly<</if>>.
	<<set _LurcherSpeed -= 5>>
<<elseif $Lurcher.bellyPreg >= 5000>>
	She seems unwilling to really run while pregnant.
	<<set _LurcherSpeed -= 3>>
<<elseif $Lurcher.bellyImplant >= 5000>>
	Her big belly implant hinders her ability to run
	<<set _LurcherSpeed -= 2>>
<<elseif $Lurcher.belly >= 1500>>
	She keeps one hand on her slightly swollen middle as she runs.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if $Lurcher.bellyFluid >= 10000>>
	Her hugely bloated, <<print $Lurcher.inflationType>>-filled belly is taut and painful, forcing her to a slow waddle.
	<<set _LurcherSpeed -= 5>>
<<elseif $Lurcher.bellyFluid >= 5000>>
	Her bloated, <<print $Lurcher.inflationType>>-stuffed belly is constantly jiggling and moving, making it extremely difficult to run.
	<<set _LurcherSpeed -= 4>>
<<elseif $Lurcher.bellyFluid >= 2000>>
	Her distended, <<print $Lurcher.inflationType>>-belly is uncomfortable and heavy, slowing her down.
	<<set _LurcherSpeed -= 2>>
<</if>>

<<if _LurcherSpeed > 10>>
	Her turn of speed is impressive.
<<elseif _LurcherSpeed > 8>>
	She runs reasonably fast.
<<elseif _LurcherSpeed > 6>>
	In all, she runs slowly.
<<elseif _LurcherSpeed > 4>>
	In all, she barely manages a quick jog.
<<else>>
	In all, she can barely do more than stumble after the hares.
<</if>>

<<if $hareSpeed >= _LurcherSpeed>>
	<<if $origin == "virgin">>
		The virgin, however,
	<<elseif $origin == "heavily pregnant">>
		Despite her pregnancy, the hare
	<<elseif $origin == "housewife">>
		Despite her fake boobs, the hare
	<<elseif $origin == "disobedient young">>
		The fit young slave, however,
	<<elseif $origin == "disobedient young dickgirl">>
		The strong young slave, however,
	<<elseif $origin == "huge balled">>
		Despite her ridiculous ballsack, the hare
	<<else>>
		Despite her fake boobs and exaggeratedly feminine gait, the hare
	<</if>>
	<<if $hareSpeed > _LurcherSpeed>>immediately pulls away<<else>>manages to maintain her narrow head start<</if>>. Realizing that she stands no chance of catching her assigned target, $Lurcher.slaveName <<if canSee($Lurcher)>>looks around for a slower hare<<else>>listens for a nearby bell<</if>>.
	<<if $hareSpeed2 < $hareSpeed3>>
		<<set $activeSlave = $hare2>>
		<<set $origin = $origin2>>
		<<set $hareSpeed = $hareSpeed2>>
	<<else>>
		<<set $activeSlave = $hare3>>
		<<set $origin = $origin3>>
		<<set $hareSpeed = $hareSpeed3>>
	<</if>>
	<<if canSee($Lurcher)>>Seeing that the $origin hare is slower<<else>>hearing the $origin hare's bell nearby<</if>>, she angles after her instead.
	<<if $hareSpeed >= _LurcherSpeed>>
		She does no better with her new target; her course is over.
	<<elseif random(1,2) == 1>>
		One of her rival lurchers has the same idea, however, and tries to trip her up.
		<<if !canSee($Lurcher)>>
			Unable to see it coming, she goes down with a crash; her course is over.
		<<elseif $Lurcher.combatSkill == 1>>
			She parries the attempt with contemptuous ease and catches up to her new target.
			<<set _seed = 1>>
		<<elseif $Lurcher.muscles > 30>>
			She muscles through the attempt and catches up to her new target.
			<<set _seed = 1>>
		<<else>>
			She goes down with a crash; her course is over.
		<</if>>
	<<else>>
		She manages to overtake her new target.
		<<set _seed = 1>>
	<</if>>
<<else>>
	She rapidly overtakes the $origin hare.
	<<set _seed = 1>>
<</if>>

<<if _seed == 1>>
	<<if $origin == "heavily pregnant">>
		Her quarry is unwilling to be tackled, probably out of fear for her baby, and flings herself down as soon as $Lurcher.slaveName gets near.<<if !canSee($Lurcher)>> She screams as she sees $Lurcher.slaveName preparing to dive on her, alerting the blind lurcher that her prey has already surrendered.<</if>>
	<<elseif !canSee($Lurcher) && random(1,3) == 1>>
		Her prey takes advantage of her lack of eyesight, baiting $Lurcher.slaveName to dive in the wrong direction. As she rises to her feet, the slave is too far gone to make another lunge. $Lurcher.slaveName's course is over.
	<<elseif $Lurcher.combatSkill == 1>>
		Her tackle is expert: she wraps her quarry up and pulls her down, falling on top of the struggling body.
	<<elseif $Lurcher.muscles > 30>>
		She's burly enough that she tackles her quarry by simple force, an approach no less effective for its inelegance.
	<<elseif $origin == "virgin">>
		<<if random(1,3) == 1>>
			The young slave manages to evade her inexpert tackle, however, and there is no space for another before she crosses the plaza. $Lurcher.slaveName's course is over.
			<<set _seed = 0>>
		<<else>>
			Her tackle is inexpert, but the young slave stumbles and falls anyway.
		<</if>>
	<<elseif $origin == "housewife">>
		<<if random(1,4) == 1>>
			The spoiled slave shows surprising agility, however, and evades $Lurcher.slaveName's inexpert attempts to tackle all the way across the plaza. Her course is over.
			<<set _seed = 0>>
		<<else>>
			Her tackle is inexpert, but the top-heavy bimbo goes down anyway.
		<</if>>
	<<elseif $origin == "feminized">>
		<<if random(1,4) == 1>>
			The sissy bitch shows surprising agility, however, and evades $Lurcher.slaveName's inexpert attempts to tackle all the way across the plaza. Her course is over.
			<<set _seed = 0>>
		<<else>>
			Her tackle is inexpert, but the sissy bitch goes down with a wail.
		<</if>>
	<<elseif $origin == "huge balled">>
		<<if random(1,4) == 1>>
			The slave shows surprising agility despite her flopping ballsack, and evades $Lurcher.slaveName's inexpert attempts to tackle all the way across the plaza. Her course is over.
			<<set _seed = 0>>
		<<else>>
			Her tackle is inexpert, but the slave goes down, screaming with pain when her balls get trapped under their combined weight.
		<</if>>
	<<else>>
		<<if random(1,2) == 1>>
			The determined young slave evades her inexpert attempts to tackle all the way across the plaza, however. $Lurcher.slaveName's course is over.
			<<set _seed = 0>>
		<<else>>
			Her tackle is inexpert, but the determined slave is unlucky, stumbling and going down anyway.
		<</if>>
	<</if>>
<</if>>

<<if _seed == 1>>
	The hare knows that once her knees touched the field, her chance at freedom was gone. She begins to cry
	<<if $phallus == "huge dick">>
		and then scream as $Lurcher.slaveName
		<<if $origin == "virgin">>
			rapes her virgin ass. The lurcher has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. She has to be very careful, since her cock is big enough to seriously hurt an anal virgin, but despite her care the racket is appallingly loud.
		<<elseif $origin == "heavily pregnant">>
			fucks her cunt. As her belly attests, she's no virgin, but the lurcher's dick is big enough to reach her cervix. Her screams crescendo into shrieks as she experiences this internal torment.
		<<elseif $origin == "housewife">>
			fucks her in the ass. A kept woman like her is probably no stranger to giving up her butthole to please a cock, but she apparently isn't used to dick quite this formidable. The lurcher leaves her sobbing disconsolately with a fresh load of cum leaking out of her backdoor.
		<<elseif $origin == "feminized">>
			fucks her in the ass. The high-pitched shrieking produces some discussion in the crowd. If the slave didn't want huge cock up her girly anus, why did she feminize herself so thoroughly? A mystery.
		<<elseif $origin == "huge balled">>
			fucks her in the ass. The lurcher pounds her doggy style, taking nice long strokes that slide her formidable shaft almost all the way out of her victim's poor butthole before shoving it back in again. The slave's balls brush the field with each thrust.
		<<else>>
			fucks her in the ass. She never stops struggling, though this isn't much proof of undiminished resistance. After all, the lurcher's dick is so big that she'd probably fight to get it out of her butthole even if she weren't in need of breaking.
		<</if>>
	<<elseif $phallus == "dick">>
		as $Lurcher.slaveName
		<<if $origin == "virgin">>
			penetrates her virgin ass. The lurcher has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. You see her back stiffen with overstimulation as she experiences the rare delight of raping an anal virgin.
		<<elseif $origin == "heavily pregnant">>
			uses her cunt. The lurcher pulls the slave upright so she can cradle her pregnant belly while she fucks her. When she climaxes, she thrusts as deeply as she can manage, though more cum won't make the slave any more pregnant.
		<<elseif $origin == "housewife">>
			fucks her in the ass. Her tears seem to come more from disappointment than anal pain; a kept woman like her has probably put up with more than one buttfuck she didn't want.
		<<elseif $origin == "feminized">>
			fucks her in the ass. The whining produces some discussion in the crowd. If the slave didn't want cock up her girly anus, why did she feminize herself so thoroughly? A mystery.
		<<elseif $origin == "huge balled">>
			uses her anus. With them facing away from you, the coupling takes the usual stacked symmetry of a dickgirl fucking a dickgirl, though the bottom's generous balls sway eye-catchingly back and forth with the rhythm of the assrape.
		<<else>>
			fucks her in the ass. She never stops struggling, which is eloquent proof of the slave's undiminished resolve to resist her lot in life. She's probably been assraped more than once before today, but she fights this like it's the first time.
		<</if>>
	<<elseif $phallus == "clit">>
		as $Lurcher.slaveName
		<<if $origin == "virgin">>
			grinds herself against the hare to get her pseudophallic clit into her victim's virgin ass. The lurcher has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. You see her back stiffen with overstimulation as her enormous bitch button slips up the slave's asshole.
		<<elseif $origin == "heavily pregnant">>
			grinds herself against the hare to get her pseudophallic clit inside her victim's cunt. The lurcher has to force the hare down, legs spread, in order to work her enormous clit inside the slave, but she manages it and you see her back stiffen as her pseudophallus, small by the standards of penises but much more sensitive, slides inside.
		<<elseif $origin == "housewife">>
			grinds herself against the hare to get her pseudophallic clit inside her victim's cunt. The slave doesn't seem to know what to make of this. Being raped by a huge clit is very probably a novel experience for her, but it isn't really painful. She closes her eyes and visibly tries to pretend it's a small penis.
		<<elseif $origin == "feminized">>
			grinds herself against the hare to get her pseudophallic clit inside her victim's experienced anus. The slave stiffens with shock. She's obviously had quite a variety of things pushed up her girly butthole, but apparently this is her first time being fucked by a clit.
		<<elseif $origin == "huge balled">>
			grinds herself against the hare to get her pseudophallic clit inside her victim's asshole. The slave stiffens with shock. Though it's huge by the standards of clitorises, the pseudophallus isn't big enough to make assrape painful, but the extreme inversion of gender roles makes up for it, to go by the slave's horror.
		<<else>>
			grinds herself against the hare to get her pseudophallic clit inside her victim's asshole. The slave never stops struggling, which is eloquent proof of the slave's undiminished resolve to resist her lot in life. She's probably been assraped by much larger phalli, but she fights it anyway.
		<</if>>
	<<elseif $phallus == "dildo">>
		as $Lurcher.slaveName
		<<if $origin == "virgin">>
			inserts her dildo into the slave's virgin ass. The lurcher has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. The dildo is reasonably sized and well lubricated, but the poor slave shrieks with anal pain anyway.
		<<elseif $origin == "heavily pregnant">>
			pushes her dildo inside the slave's fertile cunt. Desperate to preserve her baby, the slave complies as best she can. Taking the cue, your lurcher caresses her, producing a grotesque parody of loving pregnant sex that holds the crowd's attention.
		<<elseif $origin == "housewife">>
			pushes her dildo up the slave's ass. A kept woman like her is not likely to be any stranger to sex toys, but to go by her reaction, she probably prefers to put them in her cunt.
		<<elseif $origin == "feminized">>
			pushes her dildo up the slave's sissy ass. The whining produces some discussion in the crowd. Why would a girl who feminized herself so thoroughly have any problem with something being shoved inside her rear pussy? A mystery.
		<<elseif $origin == "huge balled">>
			pushes her dildo up the slave's ass. Knowing that she should do her best to create a spectacle, she takes the slave's dangling balls in one hand, squeezing them to force her bottom to be a good little butthole bitch, and then stimulating them until the slave achieves a shameful anal orgasm.
		<<else>>
			pushes her dildo up the slave's ass. The slave never stops struggling, which is eloquent proof of the slave's undiminished resolve to resist her lot in life. She's probably had several dildos pushed up her disobedient asshole, but it seems she's determined to learn nothing.
		<</if>>
	<<else>>
		as $Lurcher.slaveName hesitates over her. The lurcher realizes that she won't be able to get hard. Desperate to avoid failure, she
		<<if $origin == "virgin">>
			shoves a couple of fingers into the slave's virgin ass. She has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud.
		<<elseif $origin == "heavily pregnant">>
			gives up and fingerfucks the pregnant girl. Desperate to preserve her baby, the slave complies as best she can, producing a contest between her attempts to go along and the lurcher's attempts to make it unpleasant. This degenerates into a sobbing cunt fisting session.
		<<elseif $origin == "housewife">>
			shoves a couple of fingers up the slave's ass. A kept woman like her is not likely to be any stranger to a little anal play, but she doesn't seem to be much of a fan. She does her best to relax, but it's obvious that she doesn't appreciate having her asshole fingered.
		<<elseif $origin == "feminized">>
			shoves her fingers up the slave's sissy ass. It's so loose that this fails to have the desired effect. Afraid that she has to produce some sort of reaction, the lurcher shoves her entire fist up there, producing a wail of anal anguish.
		<<elseif $origin == "huge balled">>
			shoves a couple of fingers up the slave's ass. Casting about for something to do to distract from her inadequacy, the lurcher seizes the slave's dangling balls and shoves one of them up her loosened butt. This produces a shriek of pain and surprise, followed by a long fight to get the other one up there.
		<<else>>
			shoves a couple of fingers up the slave's ass. The slave never stops struggling, producing nothing more interesting than an extended wrestling match in which one of the parties has some fingers inside the other's butthole.
		<</if>>
		The crowd is unimpressed by this disappointing display.
	<</if>>
	<<if $Lurcher.fetishKnown == 1 && $Lurcher.fetishStrength > 60>>
		<<if ($Lurcher.fetish == "sadist")>>
			@@.hotpink;What is finest in life,@@ in the mind of your sadistic lurcher?
			<<if $origin == "virgin">>
				To sodomize a virgin asshole, and to hear screams of anal pain.
			<<elseif $origin == "heavily pregnant">>
				To molest a pregnant slut, and hear her sob with fear.
			<<elseif $origin == "housewife">>
				To rape a stuck-up bitch, and hear her cry with anal pain.
			<<elseif $origin == "feminized">>
				To rape a sissy's asspussy, and hear her squeal.
			<<elseif $origin == "huge balled">>
				To abuse defenseless testicles, and make their owner scream.
			<<else>>
				To rape a struggling victim, and taste her tears of defeat.
			<</if>>
			<<set $Lurcher.devotion += 5>>
		<<elseif $Lurcher.fetish == "pregnancy" && $origin == "heavily pregnant">>
			You lurcher is @@.hotpink;thrilled@@ to have had the privilege of chasing down and raping a pregnant woman.
			<<set $Lurcher.devotion += 5>>
		<</if>>
	<</if>>
	<<set $Lurcher.penetrativeCount += 1, $penetrativeTotal += 1>>
	<<AddSlave $activeSlave>> /* skip New Slave Intro */
<<else>>
	<<if $Lurcher.devotion > 50>>
		She makes her way back to you dejectedly, hanging her head.
	<<else>>
		She makes her way back to you slowly, doing her best to look contrite.
	<</if>>
	On the other side of the plaza, there is a scream of triumph followed by tears of joy as one of the hares successfully wins her freedom. This cheerful noise mixes strangely with screams of a very different sort and the slap of flesh on flesh as a more successful lurcher rapes her capture.
<</if>>
<<set $slaves[$slaveIndices[$Lurcher.ID]] = $Lurcher>>
<<unset $origin, $origin1, $origin2, $origin3, $hareSpeed, $hareSpeed1, $hareSpeed2, $hareSpeed3, $hare1, $hare2, $hare3>>


code:
:: SE custom slave delivery [nobr]

<<set $nextButton = "Continue", $nextLink = "Scheduled Event", $returnTo = "Scheduled Event", $showEncyclopedia = 1, $encyclopedia = "Enslaving People", $customSlaveOrdered = 0>>

<<if $customSlave.age == 4>>
	<<set $activeSlaveOneTimeMinAge = 3>>
	<<set $activeSlaveOneTimeMaxAge = 4>>
<<elseif $customSlave.age == 6>>
	<<set $activeSlaveOneTimeMinAge = 5>>
	<<set $activeSlaveOneTimeMaxAge = 6>>
<<elseif $customSlave.age == 9>>
	<<set $activeSlaveOneTimeMinAge = 7>>
	<<set $activeSlaveOneTimeMaxAge = 9>>
<<elseif $customSlave.age == 12>>
	<<set $activeSlaveOneTimeMinAge = 10>>
	<<set $activeSlaveOneTimeMaxAge = 12>>
<<elseif $customSlave.age == 14>>
	<<set $activeSlaveOneTimeMinAge = 13>>
	<<set $activeSlaveOneTimeMaxAge = 14>>
<<elseif $customSlave.age == 17>>
	<<set $activeSlaveOneTimeMinAge = 15>>
	<<set $activeSlaveOneTimeMaxAge = 17>>
<<elseif $customSlave.age == 19>>
	<<set $activeSlaveOneTimeMinAge = 18>>
	<<set $activeSlaveOneTimeMaxAge = 19>>
<<elseif $customSlave.age == 29>>
	<<set $activeSlaveOneTimeMinAge = 20>>
	<<set $activeSlaveOneTimeMaxAge = 29>>
<<elseif $customSlave.age == 39>>
	<<set $activeSlaveOneTimeMinAge = 30>>
	<<set $activeSlaveOneTimeMaxAge = 39>>
<<else>>
	<<set $activeSlaveOneTimeMinAge = 40>>
	<<set $activeSlaveOneTimeMaxAge = $retirementAge-1>>
<</if>>
<<set $ageAdjustOverride = 1>>
<<set $one_time_age_overrides_pedo_mode = 1>>
<<set $fixedNationality = $customSlave.nationality>>
<<if $customSlave.sex == 2>>
	<<include "Generate XY Slave">>
	<<set $activeSlave.dick = $customSlave.dick>>
	<<set $activeSlave.balls = $customSlave.balls>>
	<<set $activeSlave.scrotum = $activeSlave.balls>>
	<<set $activeSlave.foreskin = $activeSlave.dick>>
<<else>>
	<<include "Generate XX Slave">>
	<<if $customSlave.virgin == 0>>
		<<set $activeSlave.vagina = $customSlave.virgin>>
	<</if>>
	<<set $activeSlave.labia = $customSlave.labia>>
	<<set $activeSlave.vaginaLube = $customSlave.vaginaLube>>
	<<set $activeSlave.vaginalSkill = $customSlave.skills>>
	<<if $customSlave.sex == 3>>
		<<set $activeSlave.dick = $customSlave.dick>>
		<<set $activeSlave.balls = $customSlave.balls>>
		<<set $activeSlave.scrotum = $activeSlave.balls>>
		<<set $activeSlave.foreskin = $activeSlave.dick>>
		<<if $activeSlave.dick == 0>>
			<<set $activeSlave.clit = $customSlave.clit>>
			<<set $activeSlave.foreskin = $activeSlave.clit>>
		<</if>>
	<<else>>
		<<set $activeSlave.clit = $customSlave.clit>>
	<</if>>
<</if>>
<<set $fixedNationality = 0>>

/* I have no clue what I'm doing here */
<<if $customSlave.heightMod == "greatly below average">>
	<<set $activeSlave.height = Math.round(Height.random($activeSlave, {skew: -5, spread: .2, limitMult: [-5, -2]}))>>
<<elseif $customSlave.heightMod == "below average">>
	<<set $activeSlave.height = Math.round(Height.random($activeSlave, {skew: -1, limitMult: [-2, 0]}))>>
<<elseif $customSlave.heightMod == "normal">>
	<<set $activeSlave.height = Math.round(Height.random($activeSlave, {limitMult: [-1, 1]}))>>
<<elseif $customSlave.heightMod == "above average">>
	<<set $activeSlave.height = Math.round(Height.random($activeSlave, {skew: 1, limitMult: [0, 2]}))>>
<<else>>
	<<set $activeSlave.height = Math.round(Height.random($activeSlave, {skew: 5, spread: .2, limitMult: [2, 5]}))>>
<</if>>

<<if $customSlave.analVirgin == 0>>
	<<set $activeSlave.anus = $customSlave.analVirgin>>
<</if>>
<<if def $customSlave.voice && $customSlave.voice != -1>>
	<<set $activeSlave.voice = $customSlave.voice>>
<<else>>
	<<set $activeSlave.voice = random(0,3)>>
<</if>>
<<set $activeSlave.health = $customSlave.health>>
<<set $activeSlave.muscles = $customSlave.muscles>>
<<set $activeSlave.weight = $customSlave.weight>>
<<set $activeSlave.face = $customSlave.face>>
<<set $activeSlave.lips = $customSlave.lips>>
<<set $activeSlave.race = $customSlave.race>>
<<set $activeSlave.skin = $customSlave.skin>>
<<set $activeSlave.boobs = $customSlave.boobs>>
<<set $activeSlave.butt = $customSlave.butt>>
<<set $activeSlave.analSkill = $customSlave.skills>>
<<set $activeSlave.oralSkill = $customSlave.skills>>
<<set $activeSlave.entertainSkill = $customSlave.whoreSkills>>
<<set $activeSlave.whoreSkill = $customSlave.whoreSkills>>
<<set $activeSlave.combatSkill = $customSlave.combatSkills>>
<<set $activeSlave.intelligence = $customSlave.intelligence>>
<<set $activeSlave.intelligenceImplant = $customSlave.intelligenceImplant>>
<<set $activeSlave.eyes = $customSlave.eyes>>
<<set $activeSlave.amp = $customSlave.amp>>
<<set $activeSlave.weekAcquired = $week>>
<<set $activeSlave.origin = "You purchased her by special order.">>
<<set $activeSlave.career = "a slave">>
<<set $activeSlave.sexualFlaw = either("none")>>
<<set $activeSlave.behavioralFlaw = either("none")>>
<<set $activeSlave.devotion = random(-10,10)>>
<<set $activeSlave.trust = random(-10,10)>>

<<if $activeSlave.race == "black">>
	<<if $customSlave.skin == 0>><<set $activeSlave.skin = either("black", "brown", "dark brown")>><</if>>
	<<set $activeSlave.hColor = either("black", "black", "black", "brown")>>
	<<set $activeSlave.hStyle = either("shoulder-length", "short", "very short", "shaved bald", "crinkled")>>
<<elseif $activeSlave.race == "white">>
	<<if $customSlave.skin == 0>><<set $activeSlave.skin = either("pale", "light", "fair")>><</if>>
	<<set $activeSlave.eyeColor = either("blue", "brown", "green")>>
	<<set $activeSlave.hColor = either("black", "blonde", "red", "brown")>>
	<<set $activeSlave.hStyle = either("ass-length", "long", "shoulder-length", "short", "very short", "shaved bald")>>
<<elseif $activeSlave.race == "latina">>
	<<if $customSlave.skin == 0>><<set $activeSlave.skin = either("light olive", "brown", "dark brown", "tanned", "dark olive")>><</if>>
	<<set $activeSlave.hColor = either("black", "black", "brown", "brown")>>
	<<set $activeSlave.hStyle = either("ass-length", "long", "shoulder-length", "short", "very short", "shaved bald")>>
<<elseif $activeSlave.race == "asian">>
	<<if $customSlave.skin == 0>><<set $activeSlave.skin = either("light olive", "dark olive", "light")>><</if>>
	<<set $activeSlave.hColor = either("black")>>
	<<set $activeSlave.hStyle = either("ass-length", "long", "shoulder-length", "short", "very short", "shaved bald")>>
<<elseif ($activeSlave.race == "indo-aryan") || ($activeSlave.race == "malay") || ($activeSlave.race == "pacific islander") || ($activeSlave.race == "amerindian")>>
	<<if $customSlave.skin == 0>><<set $activeSlave.skin = either("pale", "dark", "light")>><</if>>
	<<set $activeSlave.hColor = either("black")>>
	<<set $activeSlave.hStyle = either("ass-length", "long", "shoulder-length", "short", "very short", "shaved bald")>>
<<elseif ($activeSlave.race == "middle eastern") || ($activeSlave.race == "semitic") || ($activeSlave.race == "southern european")>>
	<<if $customSlave.skin == 0>><<set $activeSlave.skin = either("tanned", "dark olive", "light olive")>><</if>>
	<<set $activeSlave.hColor = either("black")>>
	<<set $activeSlave.hStyle = either("ass-length", "long", "shoulder-length", "short", "very short", "shaved bald")>>
<</if>>

<<slaveCost $activeSlave>>
<<set $slaveCost = $slaveCost*2>>

A slave dealer has submitted a slave to satisfy the order you posted.

//As usual, the asking price is quite high, to cover the costs of finding a slave to order. In compensation, you can freely decline the slave and keep the order open, or even modify it later.//

<<set $saleDescription = 1, $applyLaw = 0>><<include "Long Slave Description">>

Her price is <<print cashFormat($slaveCost)>>.

<<if $cash >= $slaveCost>>
	<<link "Accept the offered slave">>
		<<set $cash -= $slaveCost>>
		<<replace "#result">>
			She has been reasonably broken by the dealer that offered her to you. She has also picked up on the fact that she was specially selected, and is a little hopeful that this means she may be treated well. She is now awaiting your instructions.
			<<include "New Slave Intro">>
		<</replace>>
	<</link>>
<<else>>
	//You lack the necessary funds to accept the offered slave.//
<</if>>

repo_name: evrgentesee/fc


code:
:: SE expiration [nobr]

<<set $nextButton = "Continue", $nextLink = "Scheduled Event">>

<<set $expired = 1>>

<<set $activeSlave = getSlave($expiree)>>

<<Enunciate $activeSlave>>

$activeSlave.slaveName's indentured servitude is ending this week, meaning that your arcology is gaining a citizen.
<<set $ACitizens += 1>>

<<set _seed = 0>>
<<for _seexp = 0; _seexp < $slaves.length; _seexp++>>
	<<if $slaves[_seexp].devotion <= 20>>
	<<set _seed = 1>>
	<<set $slaves[_seexp].devotion -= 1>>
	<</if>>
<</for>>
<<if _seed == 1>>
	Those of your slaves who are unhappy with their lives under you are @@.mediumorchid;envious or angry@@ to see her become free, according to their individual natures.
<</if>>

<<set $activeSlave.indenture = 52>>
<<slaveCost $activeSlave>>

<<if $activeSlave.fetish == "mindbroken">>

	Since she is mindbroken, there is precisely no chance that she will be able to look after herself. She <<if $activeSlave.amp != 1>>stands<<else>>sits<</if>> before you dumbly, betraying no reaction to the prospect of becoming free from sexual slavery. In situations like this, it is perfectly acceptable to subject her to another indenture for her own good.

	<<if $cash > 1000>>
		<<link "Plead necessity and reactivate her indenture">>
			<<replace "#result">>
				You plead necessity and place her under another indenture, paying the trivial fees left over once she has been charged for her own forecasted upkeep. Naturally, she offers no response at all to any of this.
				<<set $cash -= 1000>>
				<<set $ACitizens -= 1>>
				<<set $expired = 0 $expiree = 0>>
				<<for $i = 0; $i < $slaves.length; $i++>>
					<<if $slaves[$i].indenture == 0>>
						<<set $expiree = $slaves[$i].ID>>
						<<break>>
					<</if>>
				<</for>>
			<</replace>>
		<</link>> //This cost <<print cashFormat(1000)>>//
	<<else>>//You cannot afford to do this//
	<</if>>

<<elseif ($activeSlave.relationship < -1) && ($activeSlave.devotion > 95) && ($activeSlave.trust > 95)>>

	She has been trying desperately hard not to think about this trying situation, but when she comes before you on the day of her indenture's expiration, she can ignore it no longer. She
	<<if $activeSlave.amp == 1>>
		wriggles disconsolately, probably wishing she could throw herself at your feet or cling to your knees.
	<<else>>
		throws herself at your feet and clings to your knees, bursting into tears.
	<</if>>
	<<if !canTalk($activeSlave)>>
		She does her best to communicate an earnest desire to stay, and repeats over and over that she loves you. She begins to indicate a willingness to accept true, unlimited slavery, if that's what it takes to stay.
	<<else>>
		"Plea<<s>>e <<Master>>, don't <<s>>end me away," she sobs. "I love you! I'll d-do anything - I'll be your <<s>>lave! Plea<<s>>e, en<<s>>lave me. I l-love you...," she moans, trailing off into convulsive blubbering.
	<</if>>

	<<if $cash > 1000>>
		<<link "Enslave her">>
			<<replace "#result">>
				She's beside herself with joy when you accept her plea and enslave her. She's given you the finest proof of loyalty a slave possibly can, having tasted a moment of freedom under the law, and thrown it away with utter contempt. Her $activeSlave.eyeColor eyes <<if canSee($activeSlave)>>watch you<<else>>are wide<</if>> with eager anticipation, radiating gladness that the prospect of separation from you has gone.
				<<set $activeSlave.indenture = -1, $activeSlave.indentureRestrictions = 0>>
				<<set $cash -= 1000>>
				<<set $ACitizens -= 1>>
				<<set $expired = 0, $expiree = 0>>
				<<for $i = 0; $i < $slaves.length; $i++>>
					<<if $slaves[$i].indenture == 0>>
						<<set $expiree = $slaves[$i].ID>>
						<<break>>
					<</if>>
				<</for>>
			<</replace>>
		<</link>> //This will cost <<print cashFormat(1000)>>//
	<<else>>//You cannot afford to do this//
	<</if>>

<<elseif ($activeSlave.devotion > 50) && ($activeSlave.trust > 50)>>

	<<set $slaveCost = Math.trunc(($slaveCost*0.5)/500)*500>>
	<<set $slaveCost = Math.clamp($slaveCost, $minimumSlaveCost, 100000)>>

	Her feelings on this are quite mixed, since she has come to feel that she has a place under you.
	<<if $activeSlave.amp == 1>>
		Propped up
	<<else>>
		Standing before you
	<</if>>
	at the moment of her scheduled emancipation, she seems to be struggling to express herself.
	<<if !canTalk($activeSlave)>>
		She does her best to communicate a willingness to remain your slave, indicating that she wouldn't press too hard about the price if you offered her another indenture.
	<<else>>
		"<<Master>>, um," she <<say>>s hesitantly. "I don't mind being your <<s>>lave. Could I - would you plea<<s>>e give me another indenture? I'm, um, not too worried about the pri<<c>>e."
	<</if>>

	<<if $cash > $slaveCost>>
		<<link "Offer her a one year supplementary indenture">>
			<<replace "#result">>
				She smiles almost shyly when you offer her a one year supplementary indenture. The price is reasonable, but definitely favorable to you. She accepts it anyway, and you transfer the money into an escrow account to be held for her until her new indenture is done. Your sex slave once again, she awaits your pleasure without a hint of fear.
				<<set $cash -= $slaveCost>>
				<<set $ACitizens -= 1>>
				<<set $expired = 0>><<set $expiree = 0>>
				<<for $i = 0; $i < $slaves.length; $i++>>
				<<if $slaves[$i].indenture == 0>>
					<<set $expiree = $slaves[$i].ID>>
					<<break>>
				<</if>>
				<</for>>
			<</replace>>
		<</link>> //This will cost <<print cashFormat($slaveCost)>>//
	<<else>>//You cannot afford to do this//
	<</if>>

<<elseif ($activeSlave.devotion >= -20) && ($activeSlave.trust > 20)>>

She approaches the moment with calculation, since she has found more of a place in slavery than she probably expected when she became an indentured servant.
<<if $activeSlave.amp == 1>>
	Propped up
<<else>>
	Standing before you
<</if>>
at the moment of her scheduled emancipation, she seems willing to consider a short term continuation of service.

<<if $cash > $slaveCost>>
	<<link "Offer her a one year supplementary indenture">>
		<<replace "#result">>
			She looks pensive when you offer her a one year supplementary indenture. The price reflects the market, and is a reasonable compensation for a year of sexual slavery. She accepts it after some consideration, and you transfer the money into an escrow account to be held for her until her new indenture is done. Your sex slave once again, she awaits orders with complacency.
			<<set $cash -= $slaveCost>>
			<<set $ACitizens -= 1>>
			<<set $expired = 0>><<set $expiree = 0>>
			<<for $i = 0; $i < $slaves.length; $i++>>
			<<if $slaves[$i].indenture == 0>>
				<<set $expiree = $slaves[$i].ID>>
				<<break>>
			<</if>>
			<</for>>
		<</replace>>
	<</link>> //This will cost <<print cashFormat($slaveCost)>>//
<<else>>//You cannot afford to do this//
<</if>>

<<else>>

She makes no effort at all to conceal her joy at being a free woman again. It seems very unlikely that she'll stay in the arcology; she'll probably take what remains of her indenture payment, held in escrow for this day, and be off to wherever it is that she came from in the first place.

<</if>>


code:
:: SE independence day [nobr]

<<set $nextLink = "Scheduled Event", $nextButton = "Continue", $independenceDay = 0>>

Independence Day is this week.

In the Free Cities, Independence Day falls on the day when the Free City achieved its de facto freedom from the laws of the old world. In most of the Free Cities, including yours, this was an unspectacular event that involved a lot of signing of contracts and not much storming of bastions. Nevertheless, this is the anniversary of the day that this tiny patch of earth became truly free, and its inhabitants became free to exercise their dominion over the freedom of others. It will pass unnoticed and uncelebrated unless you take action to make it special.

<<link "Give a speech">>
	<<replace "#result">>
	You broadcast a speech to mark the occasion, using the arcology's media systems to reach a wide audience. It is unnecessary to make an effort to ensure attention;
	<<if $arcologies[0].FSChattelReligionistLaw == 1>>
		the Prophet's word always receives complete attention on the rare occasions that it is publicly given.
	<<elseif $arcologies[0].FSRestart >= $FSLockinLevel*0.9>>
		such an esteemed member of the Societal Elite can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes.
	<<elseif $arcologies[0].FSChattelReligionist >= $FSLockinLevel*0.9>>
		the Keeper of the Blade and Chalice can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes.
	<<elseif $arcologies[0].FSRomanRevivalist >= $FSLockinLevel*0.9>>
		the First Consul can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes.
	<<elseif $arcologies[0].FSAztecRevivalist >= $FSLockinLevel*0.9>>
		the Head <<if $PC.title == 1>>Priest<<else>>Priestess<</if>> may demand unwavering faith and sacrifice for the honor of the gods.
	<<elseif $arcologies[0].FSEgyptianRevivalist >= $FSLockinLevel*0.9>>
		<<if $PC.title == 1>>
		the Living God can command complete attention from his arcology the moment he wishes.
		<<else>>
		the Living Goddess can command complete attention from her arcology the moment she wishes.
		<</if>>
	<<elseif $arcologies[0].FSEdoRevivalist >= $FSLockinLevel*0.9>>
		<<if $PC.title == 1>>
		the Emperor and Descendant of Amaterasu can command complete attention from his arcology the moment he wishes.
		<<else>>
		the Amaterasu Reborn can command complete attention from her arcology the moment she wishes.
		<</if>>
	<<elseif $arcologies[0].FSArabianRevivalist >= $FSLockinLevel*0.9>>
		<<if $PC.title == 1>>
		the Caliph can command complete attention from his arcology the moment he wishes.
		<<else>>
		the Handmaiden of Allah can command complete attention from her arcology the moment she wishes.
		<</if>>x
	<<elseif $arcologies[0].FSChineseRevivalist >= $FSLockinLevel*0.9>>
		<<if $PC.title == 1>>
		the Emperor and Holder of the Mandate of Heaven can command complete attention from his arcology the moment he wishes.
		<<else>>
		the Empress and Holder of the Mandate of Heaven can command complete attention from her arcology the moment she wishes.
		<</if>>
	<<elseif $arcologies[0].FSSupremacist >= $FSLockinLevel*0.9>>
		the Grand Champion of the Blood can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes.
	<<elseif $arcologies[0].FSSubjugationist >= $FSLockinLevel*0.9>>
		the Grand Overseer of the Inferior Race can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes.
	<<elseif $arcologies[0].FSRepopulationFocus >= $FSLockinLevel*0.9>>
		<<if $PC.title == 1>>
		the Progenitor of the Future can command complete attention from her arcology the moment he wishes.
		<<else>>
		the Midwife of the Future can command complete attention from her arcology the moment she wishes.
		<</if>>
	<<elseif $arcologies[0].FSGenderRadicalist >= $FSLockinLevel*0.9>>
		the Buttfucker of All Slaves can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes.
	<<elseif $arcologies[0].FSGenderFundamentalist >= $FSLockinLevel*0.9>>
		<<if $PC.title == 1>>
		the Father to the City can command complete attention from his arcology the moment he wishes.
		<<else>>
		the Mother to the City can command complete attention from her arcology the moment she wishes.
		<</if>>
	<<elseif $arcologies[0].FSPaternalist >= $FSLockinLevel*0.9>>
		<<if $PC.title == 1>>
		the Protector to All Slaves can command complete attention from his arcology the moment he wishes.
		<<else>>
		the Protectrix to All Slaves can command complete attention from her arcology the moment she wishes.
		<</if>>
	<<elseif $arcologies[0].FSDegradationist >= $FSLockinLevel*0.9>>
		the Holder of the Rod and the Lash can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes.
	<<elseif $arcologies[0].FSBodyPurist >= $FSLockinLevel*0.9>>
		the Purifier of the Breasts can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes.
	<<elseif $arcologies[0].FSAssetExpansionist >= $FSLockinLevel*0.9>>
		the Expander of the Breasts can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes.
	<<elseif $arcologies[0].FSPastoralist >= $FSLockinLevel*0.9>>
		<<if $PC.title == 1>>
		the Master of Stock can command complete attention from his arcology the moment he wishes.
		<<else>>
		the Mistress of Stock can command complete attention from her arcology the moment she wishes.
		<</if>>
	<<elseif $arcologies[0].FSPhysicalIdealist >= $FSLockinLevel*0.9>>
		the beloved of Brodin can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes.
	<<elseif $arcologies[0].FSMaturityPreferentialist >= $FSLockinLevel*0.9>>
		the Grand Preserver of MILFS can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes.
	<<elseif $arcologies[0].FSYouthPreferentialist >= $FSLockinLevel*0.9>>
		the Keeper of the Magnificent Young Harem can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes.
	<<elseif $arcologies[0].FSChattelReligionist >= $FSLockinLevel*0.6>>
		as the Champion of the Faith can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes.
	<<elseif $arcologies[0].FSRomanRevivalist >= $FSLockinLevel*0.6>>
		as the Aedile, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
	<<elseif $arcologies[0].FSAztecRevivalist >= $FSLockinLevel*0.6>>
		as the Tlatcani, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
	<<elseif $arcologies[0].FSEgyptianRevivalist >= $FSLockinLevel*0.6>>
		as the Pharaoh, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
	<<elseif $arcologies[0].FSEdoRevivalist >= $FSLockinLevel*0.6>>
		as the Shogun, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
	<<elseif $arcologies[0].FSArabianRevivalist >= $FSLockinLevel*0.6>>
		<<if $PC.title == 1>>
		as the Sultan, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
		<<else>>
		as the Sultana, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
		<</if>>
	<<elseif $arcologies[0].FSChineseRevivalist >= $FSLockinLevel*0.6>>
		<<if $PC.title == 1>>
		as the Emperor, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
		<<else>>
		as the Empress, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
		<</if>>
	<<elseif $arcologies[0].FSSupremacist >= $FSLockinLevel*0.6>>
		as the Champion of the Blood, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
	<<elseif $arcologies[0].FSSubjugationist >= $FSLockinLevel*0.6>>
		as the Overseer of the Inferior Race, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
	<<elseif $arcologies[0].FSGenderRadicalist >= $FSLockinLevel*0.6>>
		as the Sodomizer of the Traps, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
	<<elseif $arcologies[0].FSGenderFundamentalist >= $FSLockinLevel*0.6>>
		as the Defender of Women, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
	<<elseif $arcologies[0].FSPaternalist >= $FSLockinLevel*0.6>>
		<<if $PC.title == 1>>
		as the Benefactor of Slaves, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
		<<else>>
		as the Benefactrix of Slaves, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
		<</if>>
	<<elseif $arcologies[0].FSDegradationist >= $FSLockinLevel*0.6>>
		as the Subduer of Slaves, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
	<<elseif $arcologies[0].FSBodyPurist >= $FSLockinLevel*0.6>>
		as the Discerning, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
	<<elseif $arcologies[0].FSAssetExpansionist >= $FSLockinLevel*0.6>>
		as the Expander, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
	<<elseif $arcologies[0].FSPastoralist >= $FSLockinLevel*0.6>>
		as the Rancher, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
	<<elseif $arcologies[0].FSPhysicalIdealist >= $FSLockinLevel*0.6>>
		<<if $PC.title == 1>>
		as he of the godlike Body, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
		<<else>>
		as she of the godlike Body, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
		<</if>>
	<<elseif $arcologies[0].FSPhysicalIdealist >= $FSLockinLevel*0.6>>
		<<if $PC.title == 1>>
		as the Master of Softness, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
		<<else>>
		as the Lady of Softness, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
		<</if>>
	<<elseif $arcologies[0].FSMaturityPreferentialist >= $FSLockinLevel*0.6>>
		as the Fucker of MILFS, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
	<<elseif $arcologies[0].FSYouthPreferentialist >= $FSLockinLevel*0.6>>
		as the Keeper of Virgins, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
	<<else>>
		as the owner of the arcology, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege.
	<</if>>
	After you are announced, you greet the citizens of your arcology and begin by reviewing the state of things. You commend those most responsible for the arcology's current prosperity, and express confidence that it will continue to improve.
	<<if $daughtersVictory >= 1>>
		You offer brief remembrance of those lost during the Daughters' attack on the arcology, and pledge that all enemies, foreign and domestic, will be similarly defeated.
	<<elseif $invasionVictory >= 1>>
		You remind your citizens of the ongoing threat from the degenerating old world, and pledge to defeat all attacks as you helped defeat the recent invasion.
	<<elseif $nationHate > 1>>
		You express resolution in the face of threats to the arcology, and pledge that they will be dealt with efficiently.
	<</if>>
	<<if ($mercenaries >= 5)>>
		You mention the mercenaries that have become an integral part of arcology society, and compliment their efficiency.
	<<elseif ($mercenaries >= 3)>>
		You mention the mercenaries that have a major place in the security of the arcology, and add that you hope they will become an even more integral part of its society.
	<</if>>

	Of course, you do not neglect the opportunity to improve your own position.
	<<if $PC.career == "wealth">>
		You recall your own wealthy background, cleverly drawing parallels between yourself and your richest citizens.
	<<elseif $PC.career == "capitalist">>
		You briefly remind your listeners of your background as a successful capitalist.
	<<elseif $PC.career == "mercenary">>
		You share an impressive anecdote from your background as a mercenary; the moral of the story is that you know how to keep your head.
	<<elseif $PC.career == "slaver">>
		You share a cruelly amusing anecdote from your background as a slaver; the moral of the story is that you're not one to spare the lash when it's necessary.
	<<elseif $PC.career == "engineer">>
		You reference your background as an arcology engineer, cleverly making it obvious that you know this huge building down to its very bones.
	<<elseif $PC.career == "medicine">>
		You share an impressive anecdote from your background as a surgeon; the moral of the story is that you can be trusted with a delicate operation.
	<<elseif $PC.career == "gang">>
		You share a bloody anecdote about the fate of one of your former gang members. The moral of the story is that you have to know your limits.
	<<elseif $PC.career == "escort">>
		You share a rather sordid anecdote from your background as an escort; the moral of the story is that you can go very far when you know the right people, or things about said people.
	<<elseif $PC.career == "servant">>
		You share a rather some of the highlights of your late master's life; the moral of the story is that you've seen how to lead from someone who was a leader... It didn't help your standing much.
	<<elseif $PC.career == "celebrity">>
		You share a hilarious anecdote from your background as a celebrity, one which the old world tabloids never did learn about, until now.
	<<elseif $PC.career == "BlackHat">>
		You share a series of juicy details of some old world politicians, driving home just how much you know.
	<<else>>
		You cast yourself as one of the leading citizens of the Free Cities, from the beginning.
	<</if>>
	Transitioning to the future, you supply fresh fuel for rumors about how you managed to acquire the arcology by expressing confidence that
	<<if $PC.rumor == "wealth">>
		sufficient wealth
	<<elseif $PC.rumor == "diligence">>
		hard work and diligence
	<<elseif $PC.rumor == "force">>
		a good supply of ammunition
	<<elseif $PC.rumor == "social engineering">>
		cultural development
	<<else>>
		positivity
	<</if>>
	will remain the answer to any new crises that may confront the arcology.

	With this bridge, you move to arcology culture.
	<<if $arcologies[0].FSRomanRevivalist != "unset">>
		<<if $arcologies[0].FSRomanRevivalist >= 90>>
			You speak warmly of the state of New Rome, and express a hope that Roman honor and justice shall once again last a thousand years.
		<<elseif $arcologies[0].FSRomanRevivalist >= 40>>
			You ask that your citizens will support Roman values.
		<</if>>
	<<elseif $arcologies[0].FSAztecRevivalist != "unset">>
		<<if $arcologies[0].FSAztecRevivalist >= 90>>
			You speak warmly of the state of the new golden City of the Gods, and express a hope that this time, the empire will stand forever.
		<<elseif $arcologies[0].FSAztecRevivalist >= 40>>
			You ask that your citizens strengthen their belief in the Aztec Gods.
		<</if>>
	<<elseif $arcologies[0].FSEgyptianRevivalist != "unset">>
		<<if $arcologies[0].FSEgyptianRevivalist >= 90>>
			You speak warmly of the state of the new land of the Nile, and express a hope that that most enduring of cultures shall endure again.
		<<elseif $arcologies[0].FSEgyptianRevivalist >= 40>>
			You ask that your citizens will support the beauty of ancient Egypt.
		<</if>>
	<<elseif $arcologies[0].FSEdoRevivalist != "unset">>
		<<if $arcologies[0].FSEdoRevivalist >= 90>>
			You speak warmly of the state of the new land of Amaterasu, and express a hope that honor and virtue shall never cease their advance towards perfection.
		<<elseif $arcologies[0].FSEdoRevivalist >= 40>>
			You ask that your citizens will support the honor and beauty of Edo culture.
		<</if>>
	<<elseif $arcologies[0].FSArabianRevivalist != "unset">>
		<<if $arcologies[0].FSArabianRevivalist >= 90>>
			You speak warmly of the state of the new Caliphate, and express a hope that its prosperity shall continue to encompass more people each day.
		<<elseif $arcologies[0].FSArabianRevivalist >= 40>>
			You ask that your citizens will continue to enjoy the good works of the new Caliphate.
		<</if>>
	<<elseif $arcologies[0].FSChineseRevivalist != "unset">>
		<<if $arcologies[0].FSChineseRevivalist >= 90>>
			You speak warmly of the state of the Middle Kingdom, and express a hope that it will continue to be worthy of the Mandate of Heaven.
		<<elseif $arcologies[0].FSChineseRevivalist >= 40>>
			You ask that your citizens will continue to support your pursuit of the Mandate of Heaven.
		<</if>>
	<</if>>
	<<if $arcologies[0].FSChattelReligionist != "unset">>
		<<if $arcologies[0].FSChattelReligionist >= 90>>
			You speak warmly of the spiritual state of the arcology, and express a hope that enjoyment of the pleasure of creation through the holy office of sexual slavery will be perpetual.
		<<elseif $arcologies[0].FSChattelReligionist >= 40>>
			You ask that your citizens will continue to support the new faith by regularly fucking their sex slaves.
		<</if>>
	<</if>>
	<<if $arcologies[0].FSDegradationist != "unset">>
		<<if $arcologies[0].FSDegradationist >= 90>>
			You speak warmly of the degraded state of the arcology's slaves, and express a hope that your citizens will remain vigilant on this matter.
		<<elseif $arcologies[0].FSDegradationist >= 40>>
			You ask that your citizens will continue to be inventive in coming up with new ways to degrade sex slaves.
		<</if>>
	<<elseif $arcologies[0].FSPaternalist != "unset">>
		<<if $arcologies[0].FSPaternalist >= 90>>
			You speak warmly of the creditable state of the arcology's slaves, and express a hope that their improvement will never stop.
		<<elseif $arcologies[0].FSPaternalist >= 40>>
			You ask that your citizens will make an effort to leave at least one slave happier tonight than she was this morning.
		<</if>>
	<</if>>
	<<if $arcologies[0].FSYouthPreferentialist != "unset">>
		<<if $arcologies[0].FSYouthPreferentialist >= 90>>
			You almost lose track of time rhapsodizing about young girls, but it's not like your citizens ever tire of the subject.
		<<elseif $arcologies[0].FSYouthPreferentialist >= 40>>
			You rhapsodize about how wonderful sex with a tight young girl is, and encourage citizens who haven't done so to give it a try.
		<</if>>
	<<elseif $arcologies[0].FSMaturityPreferentialist != "unset">>
 		<<if $arcologies[0].FSMaturityPreferentialist >= 90>>
			You almost lose track of time rhapsodizing about mature women, but it's not like your citizens ever tire of the subject.
 		<<elseif $arcologies[0].FSMaturityPreferentialist >= 40>>
			You rhapsodize about how wonderful sex with a mature woman is, and encourage citizens who haven't done so to give it a try.
 		<</if>>
 	<</if>>
	<<if $arcologies[0].FSRepopulationFocus != "unset">>
		<<if $arcologies[0].FSRepopulationFocus >= 90>>
			You rhapsodize on the wonderful display of pregnancies you see daily, and affirm that the arcology will continue to be to bastion of the future.
		<<elseif $arcologies[0].FSRepopulationFocus >= 40>>
			You ask that your citizens will make an effort to put a child in at least one of their slaves tonight.
		<</if>>
	<<elseif $arcologies[0].FSRestart != "unset">>
		<<if $arcologies[0].FSRestart >= 90>>
			You implore your citizens to cease reproducing and accept the Societal Elite as the world's heirs.
		<<elseif $arcologies[0].FSRestart >= 40>>
			You ask that your citizens will make an effort to prevent slave pregnancies.
		<</if>>
	<</if>>
	<<if $arcologies[0].FSAssetExpansionist != "unset">>
		<<if $arcologies[0].FSAssetExpansionist >= 90>>
			You rhapsodize on the wonderful display of tits and ass you see daily, and affirm that despite this, no boob is ever big enough, and the expansion should never stop.
		<<elseif $arcologies[0].FSAssetExpansionist >= 40>>
			You request that your citizens continue to do their best to expand their slaves' breasts.
		<</if>>
	<<elseif $arcologies[0].FSSlimnessEnthusiast != "unset">>
		<<if $arcologies[0].FSSlimnessEnthusiast >= 90>>
			You rhapsodize on the wonderfully girlish bodies you see daily, and affirm that the arcology will continue to make its own way in slave fashion.
		<<elseif $arcologies[0].FSSlimnessEnthusiast >= 40>>
			You request that your citizens continue to do their best to keep their slaves fit and slim.
		<</if>>
	<</if>>
	<<if $arcologies[0].FSTransformationFetishist != "unset">>
		<<if $arcologies[0].FSTransformationFetishist >= 90>>
			You note some of the most interesting transformations you've seen in the arcology, and hold them up as examples of surgical inventiveness.
		<<elseif $arcologies[0].FSTransformationFetishist >= 40>>
			You advocate for continued research and development into new ways to surgically transform slaves.
		<</if>>
	<<elseif $arcologies[0].FSBodyPurist != "unset">>
		<<if $arcologies[0].FSBodyPurist >= 90>>
			You note your approval of the arcology's progress in achieving slave beauty without polluting slave bodies, and hope it will never stop.
		<<elseif $arcologies[0].FSBodyPurist >= 40>>
			You advocate for continued research and development into less invasive ways of altering slaves' bodies.
		<</if>>
	<</if>>
	<<if $arcologies[0].FSGenderRadicalist != "unset">>
		<<if $arcologies[0].FSGenderRadicalist >= 90>>
			You review your arcology's near-perfect eagerness to treat every slave like the girl she is with approval.
		<<elseif $arcologies[0].FSGenderRadicalist >= 40>>
			You argue for continued progress towards a society that is willing to accept anyone who sucks dick or takes a buttfuck as a girl.
		<</if>>
	<<elseif $arcologies[0].FSGenderFundamentalist != "unset">>
		<<if $arcologies[0].FSGenderFundamentalist >= 90>>
			You review your arcology's refinement of old world gender mores into a future populated by beautiful slave women with approval.
		<<elseif $arcologies[0].FSGenderFundamentalist >= 40>>
			You argue for continued progress towards a society that maintains all the best parts of old world gender mores.
		<</if>>
	<</if>>
	<<if $arcologies[0].FSPhysicalIdealist != "unset">>
		<<if $arcologies[0].FSPhysicalIdealist >= 90>>
			You wax poetic on the physical achievements of your arcology, but caution your citizens that perfection in this area is impossible: one must always strive.
		<<elseif $arcologies[0].FSPhysicalIdealist >= 40>>
			You review some recent physical achievements by notable slaves, compliment their owners, and express a hope for continued physical development.
		<</if>>
	<<elseif $arcologies[0].FSHedonisticDecadence != "unset">>
		<<if $arcologies[0].FSHedonisticDecadence >= 90>>
			You implore your citizens to sit back with a nice cold drink, a big plate of their favorite foods and a perfectly plush slavegirl between their legs.
		<<elseif $arcologies[0].FSHedonisticDecadence >= 40>>
			You ask your citizens to relax and take a load off, to enjoy life while they have the chance.
		<</if>>
	<</if>>
	<<if $arcologies[0].FSSupremacist != "unset">>
		<<if $arcologies[0].FSSupremacist >= 90>>
			You express confidence in the state of the $arcologies[0].FSSupremacistRace race in your arcology, and express the hope that it will serve as a worldwide model.
		<<elseif $arcologies[0].FSSupremacist >= 40>>
			You compliment the $arcologies[0].FSSupremacistRace citizens who have done the most work to exalt their race over others.
		<</if>>
	<</if>>
	<<if $arcologies[0].FSSubjugationist != "unset">>
		<<if $arcologies[0].FSSubjugationist >= 90>>
			You mention the state of the $arcologies[0].FSSubjugationistRace race here with approval, but ask your citizens to continue to support you here, since vigilance will never be unnecessary.
		<<elseif $arcologies[0].FSSubjugationist >= 40>>
			You commend your citizens for their attention to subjugation of the $arcologies[0].FSSubjugationistRace race, and exhort them to greater efforts there.
		<</if>>
	<</if>>
	<<if $arcologies[0].FSPastoralist != "unset">>
		<<if $arcologies[0].FSPastoralist >= 90>>
			You communicate your pride in the state of cow husbandry in your arcology, and hope that its global cachet for quality will continue to grow.
		<<elseif $arcologies[0].FSPastoralist >= 40>>
			You tell the touching story of the arcology's most loving cow, and offer some lessons to slaveowners from it.
		<</if>>
	<</if>>
	You conclude by briefly recounting the story of the founding of the Free City, the building of the arcology, and what is publicly known of your accession to ownership, before a ringing close that reminds your citizens that they have the freedom to decide where their stories in the Free Cities go from there. Your speech is @@.green;very well received.@@
	<<if $PC.career == "servant">>
		<<set $rep += 100>>
	<<else>>
		<<set $rep += 200>>
	<</if>>
	<</replace>>
<</link>>

<<link "Pay for a lavish fireworks display">>
	<<replace "#result2">>
	Once darkness falls outside the arcology, a traditional fireworks display erupts from mortars mounted on your penthouse balconies. The noise and light @@.green;delights@@ your citizens, terrifies the arcology's stupider slaves, and serves a useful ancillary purpose in defense preparedness. The arcology's radar and laser sensors track the display, using it as an opportunity to calibrate the point defense systems on real targets. There is general agreement that this sort of thing should be a yearly tradition here, just like it was in some parts of the old world: old ideas aren't all bad.
	<<set $rep += 1000, $cash -= 10000>>
	<</replace>>
<</link>> //Costs <<print cashFormat(10000)>>//

<<if $securityForceActive == 1>>

<<link "Host a parade">>
	<<replace "#result2">>
	<<if $securityForcePersonnel < 100>>
		The tiny size of $securityForceName does not inspire confidence in your citizens.
		<<set $rep -= 200>>
	<<elseif $securityForcePersonnel < 1500>>
		The almost full size of $securityForceName inspires confidence in your citizens.
		<<set $rep += 100>>
	<</if>>
	<<if $securityForceInfantryPower == 0>>
		Seeing the soldiers of $securityForceName with high-quality personal weapons and light armor, but little in the way of exceptional armament, provides little confidence in $securityForceName.
		<<set $rep -= 200>>
	<<elseif $securityForceInfantryPower == 11>>
		The citizens of $arcologies[0].name are relieved to see that $securityForceName's troops are out fitted the absolutely latest in gear.
		<<set $rep += 100>>
	<</if>>
	<<if $securityForceStimulantPower == 0>>
		Seeing $securityForceName being relaxed inspires confidence that they are unlikely to get a face full of lead.
		<<set $rep += 100>>
	<<elseif $securityForceStimulantPower == 7>>
		The slight twitchiness and high-end alertness of $securityForceName's troops makes your citizens afraid that they may get a face full of lead.
		<<set $rep -= 200>>
	<</if>>
	<<if $securityForceVehiclePower == 0>>
		The use of basic, unarmored mainly high-end civilian vehicles with jury-rigged crew-served weapons by $securityForceName does not inspire confidence in your citizens.
		<<set $rep -= 200>>
	<<elseif $securityForceVehiclePower == 7>>
		$securityForceName's use of the most advanced heavy armored and support vehicles possible inspires confidence in your citizens.
		<<set $rep += 100>>
	<</if>>
	<<if $securityForceAircraftPower == 0>>
		Seeing $securityForceName's air force primarily consist of light transport VTOLs equipped with non-lethal weaponry, does not assure your citizens.
		<<set $rep -= 200>>
	<<elseif $securityForceAircraftPower == 7>>
		Seeing $securityForceName's air force using latest equipment assures your citizens that they are safe from the air.
		<<set $rep += 100>>
	<</if>>
	<<if $securityForceDronePower == 0>>
		Seeing "re-purposed" non-military drones from the arcology's original contingent flying around, does not inspire confidence in your citizens.
		<<set $rep -= 200>>
	<<elseif $securityForceDronePower == 5>>
		Seeing the latest and greatest drones buzzing over head assures your citizens that they are unmatched.
		<<set $rep += 100>>
	<</if>>
	<<if $securityForceGiantRobot == 1>>
		Seeing a basic old world rusted looking Giant Robot, doesn't provide your citizens with much assurance that they are protected.
		<<set $rep -= 200>>
	<<elseif $securityForceGiantRobot == 7>>
		Seeing that the Giant Robot has been fully upgraded provides your citizens with a feeling of safety.
		<<set $rep += 100>>
	<</if>>
	<<if ($securityForceRulesOfEngagement == "hold") && ($securityForceDepravity >= 1.5)>>
		The sight of $securityForceName's forcing their captured slaves to suck them off while swinging their swords and other none lethal tools around trigger fingers twitch inspires terror in your citizens.
		<<set $rep -= 200>>
	<<elseif ($securityForceRulesOfEngagement == "limited") && ($securityForceDepravity >= 1.5)>>
		The sight of $securityForceName's forcing their captured slaves to suck them off with itchy trigger fingers inspires terror in your citizens.
		<<set $rep -= 200>>
	<<elseif ($securityForceRulesOfEngagement == "free") && ($securityForceDepravity >= 1.5)>>
		The sight of $securityForceName's forcing their captured slaves to suck them off while frequently firing without any care into the air, inspiring terror in your citizens.
		<<set $rep -= 200>>
	<</if>>
	<<if ($securityForceRulesOfEngagement == "hold") && ($securityForceDepravity <= 0.3)>>
		The sight of $securityForceName's professionally holstering their weapons provides your citizens with a sense of safety.
		<<set $rep += 100>>
	<<elseif ($securityForceRulesOfEngagement == "limited") && ($securityForceDepravity <= 0.3)>>
		The sight of $securityForceName's professionally keeping their finger on the trigger provides your citizens with a sense of safety.
		<<set $rep += 100>>
	<<elseif ($securityForceRulesOfEngagement == "free") && ($securityForceDepravity <= 0.3)>>
		The sight of $securityForceName's professionally being alert and to ready to act at a moment's notice provides your citizens with a sense of safety.
		<<set $rep += 100>>
	<</if>>

	/*Maybe a random chance attack by the Daughter's of Liberty if they haven't been already defeated or if they have by a cell that managed to survive. The size of the attack could depend the time since their last encounter. The amount of damage inflicted would depend primarily on if the hacker's support was acquired, $bodyguard's combat skill, the player's combat skill, SF upgrades and finally some RNG. If a low amount of damage is inflicted then there will be a low hit to rep and some criminals can be acquired or dealt with in the usual manner. Higher amounts of damage leads to higher hits to rep and a chance that fewer attackers will survive. Without a bodyguard there is a chance that PC may die or be held hostage with a chance of being killed if the rescue attempt is botched. */

	/* I was thinking providing a option (potentially #result3) of giving a speech with it being a duplicate of the above speech just for completeness sake however it would be redundant except for a line or two about the outcome of attack if it fired (i.e listing the number of dead/captured attackers (potentially #result4) and dead soldiers with a couple of potential options (potentially #result5) ;to erect a statute or such acknowledge them and if one is already present to add them on to it, to provide support for their families. Also the amount of monetary damage, did $bodyguard die or just get wounded and if so how severely. Finally a closing message with how the PC wishes to react to it (potentially #result6); e.g. be vigilant, it's a one off, act of war, we will not give into terrorist attacks, etc. */
	<</replace>>
<</link>>
<</if>>