:: RES Failure [nobr]

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

<<if ($TSS.schoolPresent == 1) && ($TSS.schoolProsperity <= -10)>>
	<<set $RESFailure = "TSS">>
<<elseif ($GRI.schoolPresent == 1) && ($GRI.schoolProsperity <= -10)>>
	<<set $RESFailure = "GRI">>
<<elseif ($SCP.schoolPresent == 1) && ($SCP.schoolProsperity <= -10)>>
	<<set $RESFailure = "SCP">>
<<elseif ($LDE.schoolPresent == 1) && ($LDE.schoolProsperity <= -10)>>
	<<set $RESFailure = "LDE">>
<<elseif ($TGA.schoolPresent == 1) && ($TGA.schoolProsperity <= -10)>>
	<<set $RESFailure = "TGA">>
<<elseif ($TCR.schoolPresent == 1) && ($TCR.schoolProsperity <= -10)>>
	<<set $RESFailure = "TCR">>
<<elseif ($TFS.schoolPresent == 1) && ($TFS.schoolProsperity <= -10)>>
	<<set $RESFailure = "TFS">>
<<elseif ($HA.schoolPresent == 1) && ($HA.schoolProsperity <= -10)>>
	<<set $RESFailure = "HA">>
<<elseif ($NUL.schoolPresent == 1) && ($NUL.schoolProsperity <= -10)>>
	<<set $RESFailure = "NUL">>
<</if>>

<<run repX(-200, "event")>>
<<set $arcologies[0].prosperity -= 2>>
<<set $slavesToAdd = 5>>
<<if $RESFailure == "TSS">>
	<<set $TSS.schoolPresent = 0>>
	<<set $TSS.subsidy = 0>>
	<<set $TSS.schoolProsperity = 0>>
	<<set $TSS.schoolAnnexed = 1>>
	<<for $i = 0; $i < $slavesToAdd; $i++>>
		<<set $oneTimeDisableDisability = 1>>
		<<set $activeSlave = GenerateNewSlave("XX")>>
		<<set $activeSlave.career = "a slave">>
		<<set $activeSlave.butt = either(1, 2, 2, 3)>>
		<<set $activeSlave.boobs = either(200, 300, 300, 400)>>
		<<if $TSS.schoolUpgrade == 1>>
			<<set $activeSlave.origin = "$He was given to you by a failed branch campus of the Slavegirl School after $he was retrained as a slave $girl.">>
			<<set $activeSlave.butt += 1>>
			<<set $activeSlave.boobs += 200>>
			<<set $activeSlave.anus = 1>>
			<<set $activeSlave.vagina = 1>>
			<<set $activeSlave.actualAge = random(36,42)>>
			<<set $activeSlave.visualAge = $activeSlave.actualAge>>
			<<set $activeSlave.physicalAge = $activeSlave.actualAge>>
			<<set $activeSlave.ovaryAge = $activeSlave.actualAge>>
		<<else>>
			<<set $activeSlave.origin = "$He was given to you by a failed branch campus of the Slavegirl School right after $his majority.">>
			<<set $activeSlave.anus = 0>>
			<<set $activeSlave.vagina = 0>>
			<<set $activeSlave.actualAge = 18>>
			<<set $activeSlave.visualAge = $activeSlave.actualAge>>
			<<set $activeSlave.physicalAge = $activeSlave.actualAge>>
			<<set $activeSlave.ovaryAge = $activeSlave.actualAge>>
		<</if>>
		<<set $activeSlave.intelligenceImplant = 15>>
		<<set $activeSlave.teeth = "normal">>
		<<set $activeSlave.intelligence = random(-50,95)>>
		<<set $activeSlave.devotion = random(25,45)>>
		<<set $activeSlave.trust = random(25,45)>>
		<<run setHealth($activeSlave, jsRandom(50, 60), 0, 0, 0)>>
		<<set $activeSlave.preg = 0>>
		<<set $activeSlave.weight = 0>>
		<<set $activeSlave.chem = 20>>
		<<if $TSS.schoolUpgrade == 0>>
			<<set $activeSlave.skill.vaginal = 0>>
			<<set $activeSlave.skill.oral = 0>>
			<<set $activeSlave.skill.anal = 0>>
			<<set $activeSlave.skill.whoring = 0>>
			<<set $activeSlave.skill.entertainment = 15>>
		<<else>>
			<<set $activeSlave.skill.vaginal = 15>>
			<<set $activeSlave.skill.oral = 15>>
			<<set $activeSlave.skill.anal = 15>>
			<<set $activeSlave.skill.whoring = 15>>
			<<set $activeSlave.skill.entertainment = 15>>
		<</if>>
		<<set $activeSlave.skill.combat = 0>>
		<<set $activeSlave.pubicHStyle = "waxed">>
		<<set $activeSlave.underArmHStyle = "waxed">>
		<<set $activeSlave.sexualFlaw = either("none")>>
		<<set $activeSlave.behavioralFlaw = either("none")>>
		<<set $activeSlave.hStyle = "tails">>
		<<set $activeSlave.custom.tattoo = "$He has the simple logo of the corporation that operates the Slavegirl School tattooed on $his left cheek.">>
		<<run newSlave($activeSlave)>> /* skip New Slave Intro */
	<</for>>
<<elseif $RESFailure == "TCR">>
	<<set $TCR.schoolPresent = 0>>
	<<set $TCR.subsidy = 0>>
	<<set $TCR.schoolProsperity = 0>>
	<<set $TCR.schoolAnnexed = 1>>
	<<for $i = 0; $i < $slavesToAdd; $i++>>
		<<set $activeSlaveOneTimeMinAge = $fertilityAge+6>>
		<<set $activeSlaveOneTimeMaxAge = 32>>
		<<set $one_time_age_overrides_pedo_mode = 1>>
		<<set $oneTimeDisableDisability = 1>>
		<<set $activeSlave = GenerateNewSlave("XX")>>
		<<set $activeSlave.slaveName = setup.cowSlaveNames.random()>>
		<<set $activeSlave.slaveSurname = 0>>
		<<set $activeSlave.career = "a dairy cow">>
		<<set $activeSlave.butt = either(5, 6, 6, 7, 7, 8, 9)>>
		<<set $activeSlave.boobs = 30000>>
		<<set $activeSlave.lactation = 1>>
		<<set $activeSlave.lactationDuration = 2>>
		<<set $activeSlave.lactationAdaptation = 100>>
		<<set $activeSlave.origin = "$He is a prized dairy cow given to you by a failed local pasture of The Cattle Ranch.">>
		<<set $activeSlave.anus = 1>>
		<<set $activeSlave.vagina = 5>>
		<<set $activeSlave.vaginaLube = 2>>
		<<set $activeSlave.intelligence = either(-100, -100, -100, -96, -80, -70, -50)>>
		<<set $activeSlave.devotion = 100>>
		<<set $activeSlave.trust = 100>>
		<<run setHealth($activeSlave, jsRandom(50, 60), 0, 0, 0)>>
		<<set $activeSlave.preg = random(30,39)>>
		<<set $activeSlave.pregType = random(3,6)>>
		<<set $activeSlave.pregKnown = 1>>
		<<set $activeSlave.pregWeek = $activeSlave.preg>>
		<<run SetBellySize($activeSlave)>>
		<<set $activeSlave.bellySag = 10>>
		<<set $activeSlave.bellySagPreg = 10>>
		<<set $activeSlave.hips = either(2, 2, 2, 2, 3)>>
		<<set $activeSlave.counter.birthsTotal = random(10,15)>>
		<<set $activeSlave.geneticQuirks.hyperFertility = 2>>
		<<set $activeSlave.weight = random(60,160)>>
		<<set $activeSlave.muscles = random(60,80)>>
		<<set $activeSlave.chem = 10>>
		<<set $activeSlave.skill.vaginal = 0>>
		<<set $activeSlave.skill.oral = 0>>
		<<set $activeSlave.skill.anal = 0>>
		<<set $activeSlave.skill.whoring = 0>>
		<<set $activeSlave.skill.entertainment = 0>>
		<<set $activeSlave.skill.combat = 0>>
		<<set $activeSlave.pubicHStyle = "waxed">>
		<<set $activeSlave.underArmHStyle = "waxed">>
		<<set $activeSlave.heels = 1>>
		<<set $activeSlave.fetish = "mindbroken">>
		<<set $activeSlave.fetishStrength = 10>>
		<<set $activeSlave.fetishKnown = 1>>
		<<set $activeSlave.sexualFlaw = either("none")>>
		<<set $activeSlave.behavioralFlaw = either("none")>>
		<<set $activeSlave.sexualQuirk = either("none")>>
		<<set $activeSlave.behavioralQuirk = either("none")>>
		<<set $activeSlave.hStyle = "neat">>
		<<set $activeSlave.collar = "leather with cowbell">>
		<<set $activeSlave.brand["right thigh"] = "the logo of the Cattle Ranch">>
		<<set $activeSlave.boobsTat = "bovine patterns">>
		<<set $activeSlave.buttTat = "bovine patterns">>
		<<set $activeSlave.vaginaTat = "bovine patterns">>
		<<set $activeSlave.lipsTat = "bovine patterns">>
		<<set $activeSlave.anusTat = "bovine patterns">>
		<<set $activeSlave.shouldersTat = "bovine patterns">>
		<<set $activeSlave.backTat = "bovine patterns">>
		<<set $activeSlave.armsTat = "bovine patterns">>
		<<set $activeSlave.legsTat = "bovine patterns">>
		<<set $activeSlave.stampTat = "bovine patterns">>
		<<run newSlave($activeSlave)>> /* skip New Slave Intro */
	<</for>>
<<elseif $RESFailure == "GRI">>
	<<set $GRI.schoolPresent = 0>>
	<<set $GRI.subsidy = 0>>
	<<set $GRI.schoolProsperity = 0>>
	<<set $GRI.schoolAnnexed = 1>>
	<<for $i = 0; $i < $slavesToAdd; $i++>>
		<<set $oneTimeDisableDisability = 1>>
		<<set $activeSlave = GenerateNewSlave("XX")>>
		<<set $activeSlave.origin = "$He was given to you by a failed subsidiary lab of the Growth Research Institute right after $his use as a test subject ended.">>
		<<set $activeSlave.career = "a slave">>
		<<set $activeSlave.intelligenceImplant = 0>>
		<<set $activeSlave.devotion = random(-15,-5)>>
		<<set $activeSlave.trust = random(-25,-45)>>
		<<set $activeSlave.chem = 100>>
		<<if $GRI.schoolUpgrade == 1>>
			<<run setHealth($activeSlave, 200, 0, 0, 0)>>
		<<else>>
			<<run setHealth($activeSlave, jsRandom(-70, 100), 0)>>
		<</if>>
		<<set $activeSlave.height = random(150,190)>>
		<<set $activeSlave.butt = random(4,10)>>
		<<if $GRI.schoolUpgrade == 2>>
			<<set $activeSlave.boobs = 200*random(15,30)>>
			<<set $activeSlave.lactation = 2>>
			<<set $activeSlave.lactationDuration = 2>>
		<<else>>
			<<set $activeSlave.boobs = 200*random(4,20)>>
		<</if>>
		<<set $activeSlave.nipples = either("huge", "inverted")>>
		<<set $activeSlave.areolae = either(0, 1, 2, 3, 4)>>
		<<set $activeSlave.clit = either(0, 1, 2, 3)>>
		<<set $activeSlave.lips = random(5,85)>>
		<<set $activeSlave.anus = 0>>
		<<set $activeSlave.vagina = 0>>
		<<set $activeSlave.preg = 0>>
		<<set $activeSlave.weight = 0>>
		<<set $activeSlave.skill.vaginal = 0>>
		<<set $activeSlave.skill.oral = 0>>
		<<set $activeSlave.skill.anal = 0>>
		<<set $activeSlave.skill.whoring = 0>>
		<<set $activeSlave.skill.entertainment = 0>>
		<<set $activeSlave.skill.combat = 0>>
		<<set $activeSlave.pubicHStyle = "waxed">>
		<<set $activeSlave.underArmHStyle = "waxed">>
		<<set $activeSlave.actualAge = 19>>
		<<set $activeSlave.visualAge = $activeSlave.actualAge>>
		<<set $activeSlave.physicalAge = $activeSlave.actualAge>>
		<<set $activeSlave.ovaryAge = $activeSlave.actualAge>>
		<<set $activeSlave.behavioralFlaw = either("odd")>>
		<<set $activeSlave.hStyle = "shaved">>
		<<set $activeSlave.hLength = 0>>
		<<set $activeSlave.custom.tattoo = "$He has a barcode that identified $him when $he was a test subject at the Growth Research Institute tattooed on $his left cheek.">>
		<<run newSlave($activeSlave)>> /* skip New Slave Intro */
	<</for>>
<<elseif $RESFailure == "SCP">>
	<<set $SCP.schoolPresent = 0>>
	<<set $SCP.subsidy = 0>>
	<<set $SCP.schoolProsperity = 0>>
	<<set $SCP.schoolAnnexed = 1>>
	<<for $i = 0; $i < $slavesToAdd; $i++>>
		<<set $oneTimeDisableDisability = 1>>
		<<set $activeSlave = GenerateNewSlave("XX")>>
		<<set $activeSlave.origin = "$He was given to you by a failed branch campus of St. Claver Preparatory after $he served as a plastic surgeon's passing final exam.">>
		<<set $activeSlave.chem = 20>>
		<<set $activeSlave.career = "a slave">>
		<<if $SCP.schoolUpgrade == 1>>
			<<set $activeSlave.intelligenceImplant = 0>>
			<<set $activeSlave.intelligence = -70>>
			<<set $activeSlave.devotion = 20>>
			<<set $activeSlave.trust = 20>>
		<<else>>
			<<set $activeSlave.intelligenceImplant = 15>>
			<<set $activeSlave.teeth = "normal">>
			<<set $activeSlave.intelligence = random(-50,50)>>
			<<set $activeSlave.devotion = random(25,45)>>
			<<set $activeSlave.trust = random(25,45)>>
		<</if>>
		<<run setHealth($activeSlave, 100, 0, 0, 0)>>
		<<set $activeSlave.heightImplant = 1>>
		<<set $activeSlave.height += 10>>
		<<set $activeSlave.buttImplant = (4-$activeSlave.butt)>>
		<<set $activeSlave.butt += $activeSlave.buttImplant>>
		<<set $activeSlave.boobsImplantType = "normal">>
		<<set $activeSlave.boobsImplant = (2000-$activeSlave.boobs)>>
		<<set $activeSlave.boobs += $activeSlave.boobsImplant>>
		<<set $activeSlave.boobsImplantType = "fillable">>
		<<set $activeSlave.nipples = "tiny">>
		<<set $activeSlave.areolae = 0>>
		<<set $activeSlave.clit = 0>>
		<<set $activeSlave.lipsImplant = (75-$activeSlave.lips)>>
		<<set $activeSlave.lips += $activeSlave.lipsImplant>>
		<<set $activeSlave.faceImplant = 35>>
		<<set $activeSlave.face = random(35,80)>>
		<<set $activeSlave.anus = 0>>
		<<set $activeSlave.vagina = 0>>
		<<set $activeSlave.preg = 0>>
		<<set $activeSlave.weight = -20>>
		<<if $SCP.schoolUpgrade == 2>>
			<<set $activeSlave.skill.vaginal = 15>>
			<<set $activeSlave.skill.oral = 15>>
			<<set $activeSlave.skill.anal = 15>>
			<<set $activeSlave.skill.whoring = 15>>
			<<set $activeSlave.skill.entertainment = 15>>
		<<else>>
			<<set $activeSlave.skill.vaginal = 0>>
			<<set $activeSlave.skill.oral = 0>>
			<<set $activeSlave.skill.anal = 0>>
			<<set $activeSlave.skill.whoring = 0>>
			<<set $activeSlave.skill.entertainment = 0>>
		<</if>>
		<<set $activeSlave.skill.combat = 0>>
		<<set $activeSlave.pubicHStyle = "waxed">>
		<<set $activeSlave.underArmHStyle = "waxed">>
		<<set $activeSlave.actualAge = 19>>
		<<set $activeSlave.visualAge = $activeSlave.actualAge>>
		<<set $activeSlave.physicalAge = $activeSlave.actualAge>>
		<<set $activeSlave.ovaryAge = $activeSlave.actualAge>>
		<<set $activeSlave.sexualFlaw = either("none")>>
		<<set $activeSlave.behavioralFlaw = either("none")>>
		<<set $activeSlave.hStyle = "tails">>
		<<set $activeSlave.hColor = "blonde">>
		<<set $activeSlave.pubicHColor = "blonde">>
		<<set $activeSlave.underArmHColor = "blonde">>
		<<set $activeSlave.race = "white">>
		<<set $activeSlave.skin = "sun tanned">>
		<<set $activeSlave.override_H_Color = 1>>
		<<set $activeSlave.override_Arm_H_Color = 1>>
		<<set $activeSlave.override_Pubic_H_Color = 1>>
		<<set $activeSlave.override_Race = 1>>
		<<set $activeSlave.override_Skin = 1>>
		<<set $activeSlave.custom.tattoo = "$He has the coat of arms of St. Claver Preparatory tattooed on $his left cheek.">>
		<<run newSlave($activeSlave)>> /* skip New Slave Intro */
	<</for>>
<<elseif $RESFailure == "LDE">>
	<<set $LDE.schoolPresent = 0>>
	<<set $LDE.subsidy = 0>>
	<<set $LDE.schoolProsperity = 0>>
	<<set $LDE.schoolAnnexed = 1>>
	<<for $i = 0; $i < $slavesToAdd; $i++>>
		<<set $oneTimeDisableDisability = 1>>
		<<set $activeSlave = GenerateNewSlave("XY")>>
		<<set $activeSlave.origin = "$He was given to you by a failed branch campus of the innovative École des Enculées right after $his graduation.">>
		<<set $activeSlave.career = "a slave">>
		<<set $activeSlave.intelligenceImplant = 0>>
		<<set $activeSlave.chem = 100>>
		<<if $LDE.schoolUpgrade == 1>>
			<<set $activeSlave.devotion = 20>>
			<<set $activeSlave.trust = 20>>
		<<else>>
			<<set $activeSlave.devotion = random(60,70)>>
			<<set $activeSlave.trust = random(55,60)>>
		<</if>>
		<<run setHealth($activeSlave, jsRandom(60, 80), 0, 0, 0)>>
		<<set $activeSlave.muscles = 0>>
		<<if random(1,100) > 75>>
			<<set $activeSlave.geneticQuirks.rearLipedema = 2>>
			<<set $activeSlave.butt = random(6,16)>>
		<<else>>
			<<set $activeSlave.butt = random(4,5)>>
		<</if>>
		<<set $activeSlave.face = random(20,60)>>
		<<set $activeSlave.boobs = either(500,650,800)>>
		<<set $activeSlave.waist = -15>>
		<<set $activeSlave.lips = 35>>
		<<if $LDE.schoolUpgrade == 2>>
			<<set $activeSlave.balls = either(3,4)>>
			<<set $activeSlave.dick = either(3,4)>>
			<<if $activeSlave.foreskin > 0>><<set $activeSlave.foreskin = $activeSlave.dick>><</if>>
			<<if $activeSlave.balls > 0>><<set $activeSlave.scrotum = $activeSlave.balls>><</if>>
		<<else>>
			<<set $activeSlave.dick = either(1,1,1,2)>>
			<<if $activeSlave.foreskin > 0>><<set $activeSlave.foreskin = $activeSlave.dick>><</if>>
			<<if $activeSlave.balls > 0>><<set $activeSlave.scrotum = $activeSlave.balls>><</if>>
			<<set $activeSlave.balls = either(1,1,1,2)>>
		<</if>>
		<<set $activeSlave.anus = 2>>
		<<set $activeSlave.vagina = -1>>
		<<set $activeSlave.preg = 0>>
		<<set $activeSlave.weight = random(0,20)>>
		<<set $activeSlave.skill.vaginal = 0>>
		<<set $activeSlave.skill.oral = 15>>
		<<set $activeSlave.skill.anal = 100>>
		<<set $activeSlave.skill.whoring = 15>>
		<<set $activeSlave.skill.entertainment = 15>>
		<<set $activeSlave.skill.combat = 0>>
		<<set $activeSlave.pubicHStyle = "waxed">>
		<<set $activeSlave.underArmHStyle = "waxed">>
		<<set $activeSlave.actualAge = 19>>
		<<set $activeSlave.visualAge = $activeSlave.actualAge>>
		<<set $activeSlave.physicalAge = $activeSlave.actualAge>>
		<<set $activeSlave.ovaryAge = $activeSlave.actualAge>>
		<<set $activeSlave.sexualFlaw = "none">>
		<<set $activeSlave.behavioralFlaw = either("none", "odd")>>
		<<set $activeSlave.fetishStrength = either(1, 2)>>
		<<set $activeSlave.fetish = "buttslut">>
		<<set $activeSlave.fetishKnown = 1>><<set $activeSlave.attrKnown = 1>>
		<<set $activeSlave.hStyle = "tails">>
		<<set $activeSlave.hLength = 100>>
		<<set $activeSlave.custom.tattoo = "$He has the buttock-shaped symbol of the École des Enculées that created $his tattooed on $his left cheek.">>
		<<run newSlave($activeSlave)>> /* skip New Slave Intro */
	<</for>>
<<elseif $RESFailure == "NUL">>
	<<set $NUL.schoolPresent = 0>>
	<<set $NUL.subsidy = 0>>
	<<set $NUL.schoolProsperity = 0>>
	<<set $NUL.schoolAnnexed = 1>>
	<<for $i = 0; $i < $slavesToAdd; $i++>>
		<<set $activeSlaveOneTimeMinAge = 16>>
		<<set $activeSlaveOneTimeMaxAge = 24>>
		<<set $oneTimeDisableDisability = 1>>
		<<set $activeSlave = GenerateNewSlave()>>
		<<set $activeSlave.origin = "$He was given to you by a failed branch campus of Nueva Universidad de Libertad right after $his graduation.">>
		<<set $activeSlave.career = "a slave">>
		<<run setHealth($activeSlave, jsRandom(60, 80), 0, 0, 0)>>
		<<set $activeSlave.devotion = random(60,75)>>
		<<set $activeSlave.trust = random(60,75)>>
		<<set $activeSlave.intelligenceImplant = 30>>
		<<if $NUL.schoolUpgrade == 1>>
			<<set $activeSlave.intelligence = random(50, 70)>>
			<<set $activeSlave.skill.whoring = random(70, 80)>>
			<<set $activeSlave.skill.entertainment = random(70, 80)>>
		<<else>>
			<<set $activeSlave.intelligence = random(20, 50)>>
			<<set $activeSlave.skill.whoring = random(40, 50)>>
			<<set $activeSlave.skill.entertainment = random(40, 50)>>
		<</if>>
		<<if $NUL.schoolUpgrade == 2>>
			<<set $activeSlave.skill.anal = random(60, 80)>>
			<<set $activeSlave.skill.oral = random(70, 90)>>
			<<set $activeSlave.anus = random(1, 3)>>
		<<else>>
			<<set $activeSlave.skill.anal = random(10, 30)>>
			<<set $activeSlave.skill.oral = random(20, 40)>>
			<<set $activeSlave.anus = either(0, 0, 0, 0, 1, 1, 1)>>
		<</if>>
		<<set $activeSlave.muscles = 0>>
		<<set $activeSlave.face = random(15,55)>>
		<<set $activeSlave.faceShape = "androgynous">>
		<<set $activeSlave.boobs = 50>>
		<<set $activeSlave.butt = 0>>
		<<set $activeSlave.vagina = -1>>
		<<set $activeSlave.clit = 0>>
		<<set $activeSlave.dick = 0>>
		<<set $activeSlave.balls = 0>>
		<<set $activeSlave.preg = 0>>
		<<set $activeSlave.eyebrowHStyle = "bald">>
		<<set $activeSlave.underArmHStyle = "bald">>
		<<set $activeSlave.pubicHStyle = "bald">>
		<<set $activeSlave.hStyle = "bald">>
		<<set $activeSlave.custom.tattoo = "$He has the abstract symbol of Nueva Universidad de Libertad tattooed on $his left shoulder.">>
		<<run newSlave($activeSlave)>> /* skip New Slave Intro */
	<</for>>
<<elseif $RESFailure == "TGA">>
	<<set $TGA.schoolPresent = 0>>
	<<set $TGA.subsidy = 0>>
	<<set $TGA.schoolProsperity = 0>>
	<<set $TGA.schoolAnnexed = 1>>
	<<for $i = 0; $i < $slavesToAdd; $i++>>
		<<set $oneTimeDisableDisability = 1>>
		<<set $activeSlave = GenerateNewSlave("XY")>>
		<<set $activeSlave.origin = "$He was given to you by a failed branch campus of the intense Gymnasium-Academy right after $his majority.">>
		<<set $activeSlave.career = "a slave">>
		<<set $activeSlave.intelligenceImplant = 15>>
		<<set $activeSlave.teeth = "normal">>
		<<set $activeSlave.intelligence = random(-50,95)>>
		<<set $activeSlave.chem = 20>>
		<<if $TGA.schoolUpgrade == 1>>
			<<set $activeSlave.devotion = 20>>
			<<set $activeSlave.trust = 20>>
		<<else>>
			<<set $activeSlave.devotion = random(25,45)>>
			<<set $activeSlave.trust = random(25,45)>>
		<</if>>
		<<run setHealth($activeSlave, 100, 0, 0, 0)>>
		<<set $activeSlave.muscles = either(20, 50, 50)>>
		<<set $activeSlave.butt = either(2, 2, 3)>>
		<<set $activeSlave.boobs = either(100, 200)>>
		<<set $activeSlave.dick = random(3,5)>>
		<<if $activeSlave.foreskin > 0>><<set $activeSlave.foreskin = $activeSlave.dick>><</if>>
		<<if $activeSlave.balls > 0>><<set $activeSlave.scrotum = $activeSlave.balls>><</if>>
		<<set $activeSlave.balls = random(3,5)>>
		<<set $activeSlave.anus = 0>>
		<<set $activeSlave.vagina = -1>>
		<<set $activeSlave.preg = 0>>
		<<set $activeSlave.weight = 0>>
		<<set $activeSlave.skill.vaginal = 0>>
		<<set $activeSlave.skill.oral = 0>>
		<<set $activeSlave.skill.anal = 0>>
		<<set $activeSlave.skill.whoring = 0>>
		<<set $activeSlave.skill.entertainment = 0>>
		<<if $TGA.schoolUpgrade == 2>>
			<<set $activeSlave.skill.combat = 1>>
		<<else>>
			<<set $activeSlave.skill.combat = 0>>
		<</if>>
		<<set $activeSlave.pubicHStyle = "waxed">>
		<<set $activeSlave.underArmHStyle = "waxed">>
		<<set $activeSlave.actualAge = 18>>
		<<set $activeSlave.visualAge = $activeSlave.actualAge>>
		<<set $activeSlave.physicalAge = $activeSlave.actualAge>>
		<<set $activeSlave.ovaryAge = $activeSlave.actualAge>>
		<<set $activeSlave.sexualFlaw = either("apathetic", "none")>>
		<<set $activeSlave.behavioralFlaw = either("arrogant", "none", "odd")>>
		<<set $activeSlave.hStyle = "short">>
		<<set $activeSlave.hLength = 2>>
		<<set $activeSlave.brand["left cheek"] = "the baroque crest of the Gymnasium-Academy that trained $him">>
		<<run newSlave($activeSlave)>> /* skip New Slave Intro */
	<</for>>
<<elseif $RESFailure == "HA">>
	<<set $HA.schoolPresent = 0>>
	<<set $HA.subsidy = 0>>
	<<set $HA.schoolProsperity = 0>>
	<<set $HA.schoolAnnexed = 1>>
	<<for $i = 0; $i < $slavesToAdd; $i++>>
		<<set $oneTimeDisableDisability = 1>>
		<<set $activeSlave = GenerateNewSlave("XX")>>
		<<set $activeSlave.origin = "$He was given to you by a failed branch campus of the Hippolyta Academy right after $his majority.">>
		<<set $activeSlave.career = "a slave">>
		<<set $activeSlave.intelligenceImplant = 15>>
		<<set $activeSlave.teeth = "normal">>
		<<set $activeSlave.intelligence = random(0,95)>>
		<<set $activeSlave.chem = 20>>
		<<if $HA.schoolUpgrade == 1>>
			<<set $activeSlave.devotion = 20>>
			<<set $activeSlave.trust = 20>>
		<<else>>
			<<set $activeSlave.devotion = random(25,45)>>
			<<set $activeSlave.trust = random(25,45)>>
		<</if>>
		<<set $activeSlave.faceShape = either("cute", "normal")>>
		<<set $activeSlave.face = either(20,20,35,35,35,50,75,100)>>
		<<set $activeSlave.lips = either(0,10,25)>>
		<<set $activeSlave.weight = -10>>
		<<run setHealth($activeSlave, jsRandom(80, 100), 0, 0, 0)>>
		<<set $activeSlave.actualAge = 18>>
		<<set $activeSlave.physicalAge = $activeSlave.actualAge>>
		<<set $activeSlave.visualAge = $activeSlave.actualAge>>
		<<set $activeSlave.ovaryAge = $activeSlave.actualAge>>
		<<set $activeSlave.hips = 0>>
		<<set $activeSlave.vagina = random(0,1)>>
		<<set $activeSlave.anus = random(0,1)>>
		<<set $activeSlave.butt = random(2,4)>>
		<<set $activeSlave.boobs = (random(30,60) * 10)>>
		<<set $activeSlave.preg = 0>>
		<<run SetBellySize($activeSlave)>>
		<<run setHealth($activeSlave, jsRandom(60, 80), 0, 0, 0)>>
		<<set $activeSlave.muscles = random(40,60)>>
		<<set _minHeight = random(170,180)>>
		<<set $activeSlave.height = Math.trunc(Math.clamp(Height.random($activeSlave, {limitMult: [2, 15], spread: .1}),_minHeight, 274))>>
		<<set $activeSlave.waist = -15>>
		<<set $activeSlave.shoulders = 0>>
		<<set $activeSlave.skill.vaginal = 10>>
		<<set $activeSlave.skill.oral = 10>>
		<<set $activeSlave.skill.anal = 10>>
		<<set $activeSlave.skill.whoring = 10>>
		<<set $activeSlave.skill.entertainment = either(10,10,30)>>
		<<set $activeSlave.skill.combat = 1>>
		<<set $activeSlave.sexualFlaw = either("apathetic", "judgemental", "none", "none")>>
		<<set $activeSlave.behavioralFlaw = either("arrogant", "none")>>
		<<set $activeSlave.pubicHStyle = "waxed">>
		<<set $activeSlave.underArmHStyle = "waxed">>
		<<set $activeSlave.hStyle = either("braided", "bun", "neat", "ponytail", "tails")>>
		<<set $activeSlave.hLength = random(5,50)>>
		<<set $activeSlave.custom.tattoo = "$He has the sword and eagle symbol of the Hippolyta Academy tattooed on $his left shoulder.">>
		<<run newSlave($activeSlave)>> /* skip New Slave Intro */
	<</for>>
<<else>>
	<<set $TFS.schoolPresent = 0>>
	<<set $TFS.subsidy = 0>>
	<<set $TFS.schoolProsperity = 0>>
	<<set $TFS.schoolAnnexed = 1>>
	<<for $i = 0; $i < $slavesToAdd-1; $i++>>
		<<set _slaveGenRange = random(1,4)>>
		<<set $oneTimeDisableDisability = 1>>
		<<if $TFS.schoolUpgrade == 3 && $TFS.compromiseWeek+15 <= $week>>
			<<set $activeSlave = GenerateNewSlave()>>
		<<else>>
			<<set $activeSlave = GenerateNewSlave("XY")>>
		<</if>>
		<<set $activeSlave.origin = "$He was a Futanari Sister until you engineered $his early enslavement.">>
		<<set $activeSlave.career = "a Futanari Sister">>
		<<set $activeSlave.faceShape = either("exotic", "sensual")>>
		<<if _slaveGenRange == 1>>
			<<set $activeSlave.intelligence = random(-50,-20)>>
			<<set $activeSlave.chem = 150>>
			<<set $activeSlave.butt = either(5,6)>>
			<<set $activeSlave.hips = 1>>
			<<set $activeSlave.face = either(35,35,35,75,100)>>
			<<set $activeSlave.boobs = 100*random(12,20)>>
			<<set $activeSlave.dick = random(2,3)>>
			<<if $activeSlave.foreskin > 0>> <<set $activeSlave.foreskin = $activeSlave.dick>> <</if>>
			<<if $TFS.schoolUpgrade == 3 && $TFS.compromiseWeek+15 <= $week>>
				<<if $activeSlave.genes == "XY">>
					<<set $activeSlave.balls = random(8,9), $activeSlave.scrotum = $activeSlave.balls>>
				<<else>>
					<<set $activeSlave.balls = 1>>
					<<set $activeSlave.scrotum = 0>>
				<</if>>
			<<elseif $TFS.schoolUpgrade == 1>>
				<<set $activeSlave.balls = 1>>
				<<set $activeSlave.scrotum = 0>>
			<<elseif $TFS.schoolUpgrade == 2>>
				<<set $activeSlave.balls = random(8,9), $activeSlave.scrotum = $activeSlave.balls>>
			<<else>>
				<<set $activeSlave.balls = random(2,3)>>
				<<set $activeSlave.scrotum = $activeSlave.balls>>
			<</if>>
			<<set $activeSlave.lips = 0>>
			<<set $activeSlave.weight = 0>>
			<<set $activeSlave.actualAge = random(25,29)>>
			<<set $activeSlave.visualAge = $activeSlave.actualAge>>
			<<set $activeSlave.physicalAge = $activeSlave.actualAge>>
			<<set $activeSlave.ovaryAge = $activeSlave.actualAge>>
			<<set $activeSlave.vagina = 2>>
			<<set $activeSlave.anus = 2>>
			<<set $activeSlave.fetish = "submissive">>
		<<elseif _slaveGenRange == 2>>
			<<set $activeSlave.intelligence = random(-15,15)>>
			<<set $activeSlave.chem = 200>>
			<<set $activeSlave.butt = either(6,7)>>
			<<set $activeSlave.hips = 2>>
			<<set $activeSlave.face = either(35,35,75,75,100)>>
			<<set $activeSlave.boobs = 100*random(20,32)>>
			<<set $activeSlave.dick = random(3,4)>>
			<<if $activeSlave.foreskin > 0>><<set $activeSlave.foreskin = $activeSlave.dick>><</if>>
			<<if $TFS.schoolUpgrade == 3 && $TFS.compromiseWeek+15 <= $week>>
				<<if $activeSlave.genes == "XY">>
					<<set $activeSlave.balls = random(9,10), $activeSlave.scrotum = $activeSlave.balls>>
				<<else>>
					<<set $activeSlave.balls = 1>>
					<<set $activeSlave.scrotum = 0>>
				<</if>>
			<<elseif $TFS.schoolUpgrade == 1>>
				<<set $activeSlave.balls = 1>>
				<<set $activeSlave.scrotum = 0>>
			<<elseif $TFS.schoolUpgrade == 2>>
				<<set $activeSlave.balls = random(9,10), $activeSlave.scrotum = $activeSlave.balls>>
			<<else>>
				<<set $activeSlave.balls = random(3,4)>>
				<<set $activeSlave.scrotum = $activeSlave.balls>>
			<</if>>
			<<set $activeSlave.lips = random(15,25)>>
			<<set $activeSlave.weight = 20>>
			<<set $activeSlave.actualAge = random(30,34)>>
			<<set $activeSlave.visualAge = $activeSlave.actualAge>>
			<<set $activeSlave.physicalAge = $activeSlave.actualAge>>
			<<set $activeSlave.ovaryAge = $activeSlave.actualAge>>
			<<set $activeSlave.vagina = 2>>
			<<set $activeSlave.anus = 2>>
			<<set $activeSlave.fetish = either("buttslut", "cumslut")>>
		<<elseif _slaveGenRange == 3>>
			<<set $activeSlave.intelligence = random(16,50)>>
			<<set $activeSlave.chem = 250>>
			<<set $activeSlave.butt = either(7,8)>>
			<<set $activeSlave.hips = 2>>
			<<set $activeSlave.face = either(35,75,75,100,100)>>
			<<set $activeSlave.boobs = 100*random(32,42)>>
			<<set $activeSlave.dick = random(4,5)>>
			<<if $activeSlave.foreskin > 0>><<set $activeSlave.foreskin = $activeSlave.dick>><</if>>
			<<if $TFS.schoolUpgrade == 3 && $TFS.compromiseWeek+15 <= $week>>
				<<if $activeSlave.genes == "XY">>
					<<set $activeSlave.balls = random(6,7), $activeSlave.scrotum = $activeSlave.balls>>
				<<else>>
					<<set $activeSlave.balls = 1>>
					<<set $activeSlave.scrotum = 0>>
				<</if>>
			<<elseif $TFS.schoolUpgrade == 1>>
				<<set $activeSlave.balls = 1>>
				<<set $activeSlave.scrotum = 0>>
			<<elseif $TFS.schoolUpgrade == 2>>
				<<set $activeSlave.balls = random(6,7), $activeSlave.scrotum = $activeSlave.balls>>
			<<else>>
				<<set $activeSlave.balls = random(4,5)>>
				<<set $activeSlave.scrotum = $activeSlave.balls>>
			<</if>>
			<<set $activeSlave.lips = random(25,55)>>
			<<set $activeSlave.weight = 20>>
			<<set $activeSlave.actualAge = random(35,39)>>
			<<set $activeSlave.visualAge = $activeSlave.actualAge>>
			<<set $activeSlave.physicalAge = $activeSlave.actualAge>>
			<<set $activeSlave.ovaryAge = $activeSlave.actualAge>>
			<<set $activeSlave.vagina = 3>>
			<<set $activeSlave.anus = 3>>
			<<set $activeSlave.fetish = either("buttslut", "cumslut")>>
		<<else>>
			<<set $activeSlave.intelligence = random(51,95)>>
			<<set $activeSlave.chem = 300>>
			<<set $activeSlave.butt = either(8,9)>>
			<<set $activeSlave.hips = 2>>
			<<set $activeSlave.face = either(35,75,100,100,100)>>
			<<set $activeSlave.boobs = 100*random(44,60)>>
			<<set $activeSlave.dick = random(5,6)>>
			<<if $activeSlave.foreskin > 0>><<set $activeSlave.foreskin = $activeSlave.dick>><</if>>
			<<set $activeSlave.geneticQuirks.wellHung = 2>>
			<<if $TFS.schoolUpgrade == 3 && $TFS.compromiseWeek+15 <= $week>>
				<<if $activeSlave.genes == "XY">>
					<<set $activeSlave.balls = random(7,8), $activeSlave.scrotum = $activeSlave.balls>>
				<<else>>
					<<set $activeSlave.balls = 1>>
					<<set $activeSlave.scrotum = 0>>
				<</if>>
			<<elseif $TFS.schoolUpgrade == 1>>
				<<set $activeSlave.balls = 1>>
				<<set $activeSlave.scrotum = 0>>
			<<elseif $TFS.schoolUpgrade == 2>>
				<<set $activeSlave.balls = random(7,8), $activeSlave.scrotum = $activeSlave.balls>>
			<<else>>
				<<set $activeSlave.balls = random(5,6)>>
				<<set $activeSlave.scrotum = $activeSlave.balls>>
			<</if>>
			<<set $activeSlave.lips = random(25,55)>>
			<<set $activeSlave.weight = 50>>
			<<set $activeSlave.actualAge = random(40,42)>>
			<<set $activeSlave.visualAge = $activeSlave.actualAge>>
			<<set $activeSlave.physicalAge = $activeSlave.actualAge>>
			<<set $activeSlave.ovaryAge = $activeSlave.actualAge>>
			<<set $activeSlave.vagina = 3>>
			<<set $activeSlave.anus = 3>>
			<<set $activeSlave.fetish = "dom">>
		<</if>>
		<<set $activeSlave.preg = -3>>
		<<if $TFS.farmUpgrade != 0>>
			<<set $activeSlave.ovaries = 1>>
			<<if $TFS.farmUpgrade >= 2>>
				<<set $activeSlave.preg = random(1,41)>>
				<<if $TFS.farmUpgrade == 3>>
					<<set $activeSlave.pregType = random(10,30)>>
					<<set $activeSlave.pregAdaptation = 300>>
				<<else>>
					<<set $activeSlave.pregType = 1>>
				<</if>>
				<<set $activeSlave.pregSource = -9>>
				<<set $activeSlave.pregKnown = 1>>
				<<set $activeSlave.pregWeek = $activeSlave.preg>>
				<<run SetBellySize($activeSlave)>>
			<</if>>
		<</if>>
		<<set $activeSlave.intelligenceImplant = 30>>
		<<set $activeSlave.teeth = "normal">>
		<<if $TFS.schoolUpgrade == 2>>
			<<set $activeSlave.energy = 100>>
		<<else>>
			<<set $activeSlave.energy = $activeSlave.physicalAge+random(20,30)>>
		<</if>>
		<<set $activeSlave.devotion = random(30,35)>>
		<<set $activeSlave.trust = random(-15,-5)>>
		<<run setHealth($activeSlave, jsRandom(60, 80), 0, 0, 0)>>
		<<set $activeSlave.muscles = 20>>
		<<set $activeSlave.waist = -15>>
		<<if $activeSlave.genes == "XY">>
			<<set $activeSlave.shoulders = 1>>
		<</if>>
		<<set $activeSlave.skill.vaginal = 100>>
		<<set $activeSlave.skill.oral = 100>>
		<<set $activeSlave.skill.anal = 100>>
		<<set $activeSlave.skill.whoring = 15>>
		<<set $activeSlave.skill.entertainment = 100>>
		<<set $activeSlave.skill.combat = 0>>
		<<set $activeSlave.pubicHStyle = "waxed">>
		<<set $activeSlave.underArmHStyle = "waxed">>
		<<if $TFS.schoolUpgrade == 1>>
			<<set $activeSlave.sexualQuirk = "caring">>
		<</if>>
		<<set $activeSlave.sexualFlaw = either("hates women", "none")>>
		<<set $activeSlave.behavioralFlaw = either("arrogant", "none")>>
		<<set $activeSlave.fetishStrength = 100>>
		<<set $activeSlave.fetishKnown = 0>>
		<<set $activeSlave.attrKnown = 0>>
		<<set $activeSlave.hStyle = "neat">>
		<<set $activeSlave.hLength = 150>>
		<<set $activeSlave.custom.tattoo = "$He has a simple pink heart tattooed on $his right temple.">>
		<<set $REFutaSisterCheckinIDs.push($activeSlave.ID)>>
		<<run newSlave($activeSlave)>> /* skip New Slave Intro */
	<</for>>
	<<set $oneTimeDisableDisability = 1>>
	<<set $activeSlave = GenerateNewSlave("XY")>>
	<<set $activeSlave.origin = "$He was the leader of your arcology's Futanari Sisters until you engineered $his community's failure and enslavement.">>
	<<set $activeSlave.career = "a Futanari Sister">>
	<<set $activeSlave.intelligence = random(51,95)>>
	<<set $activeSlave.chem = 300>>
	<<set $activeSlave.butt = either(8,9)>>
	<<set $activeSlave.hips = 2>>
	<<set $activeSlave.face = 100>>
	<<set $activeSlave.boobs = 100*random(44,60)>>
	<<set $activeSlave.dick = random(5,6)>>
	<<if $activeSlave.foreskin > 0>><<set $activeSlave.foreskin = $activeSlave.dick>><</if>>
	<<if $TFS.schoolUpgrade == 3 && $TFS.compromiseWeek+15 <= $week>>
		<<set $activeSlave.balls = 10, $activeSlave.scrotum = $activeSlave.balls>>
	<<elseif $TFS.schoolUpgrade == 1>>
		<<set $activeSlave.balls = 1>>
		<<set $activeSlave.scrotum = 0>>
	<<elseif $TFS.schoolUpgrade == 2>>
		<<set $activeSlave.balls = 10>>
		<<set $activeSlave.scrotum = $activeSlave.balls>>
	<<else>>
		<<set $activeSlave.balls = random(5,6)>>
		<<set $activeSlave.scrotum = $activeSlave.balls>>
	<</if>>
	<<set $activeSlave.lips = random(25,55)>>
	<<set $activeSlave.weight = 50>>
	<<set $activeSlave.actualAge = random(40,42)>>
	<<set $activeSlave.visualAge = $activeSlave.actualAge>>
	<<set $activeSlave.physicalAge = $activeSlave.actualAge>>
	<<set $activeSlave.ovaryAge = $activeSlave.actualAge>>
	<<set $activeSlave.vagina = 3>>
	<<set $activeSlave.anus = 3>>
	<<set $activeSlave.fetish = "dom">>
	<<set $activeSlave.preg = -3>>
	<<if $TFS.farmUpgrade != 0>>
		<<set $activeSlave.ovaries = 1>>
		<<if $TFS.farmUpgrade >= 2>>
			<<set $activeSlave.preg = random(1,41)>>
			<<if $TFS.farmUpgrade == 3>>
				<<set $activeSlave.pregType = random(20,40)>>
				<<set $activeSlave.pregAdaptation = 500>>
			<<else>>
				<<set $activeSlave.pregType = 1>>
			<</if>>
			<<set $activeSlave.pregKnown = 1>>
			<<set $activeSlave.pregWeek = $activeSlave.preg>>
			<<run SetBellySize($activeSlave)>>
		<</if>>
	<</if>>
	<<set $activeSlave.intelligenceImplant = 30>>
	<<set $activeSlave.teeth = "normal">>
	<<if $TFS.schoolUpgrade == 2>>
		<<set $activeSlave.energy = 100>>
	<<else>>
		<<set $activeSlave.energy = $activeSlave.physicalAge+random(20,30)>>
	<</if>>
	<<set $activeSlave.devotion = random(25,30)>>
	<<set $activeSlave.trust = random(10,15)>>
	<<run setHealth($activeSlave, jsRandom(60, 80), 0, 0, 0)>>
	<<set $activeSlave.muscles = 20>>
	<<set $activeSlave.waist = -15>>
	<<set $activeSlave.shoulders = 1>>
	<<set $activeSlave.skill.vaginal = 100>>
	<<set $activeSlave.skill.oral = 100>>
	<<set $activeSlave.skill.anal = 100>>
	<<set $activeSlave.skill.whoring = 15>>
	<<set $activeSlave.skill.entertainment = 100>>
	<<set $activeSlave.skill.combat = 0>>
	<<set $activeSlave.pubicHStyle = "waxed">>
	<<set $activeSlave.underArmHStyle = "waxed">>
	<<if $TFS.schoolUpgrade == 1>>
		<<set $activeSlave.sexualQuirk = "caring">>
	<</if>>
	<<set $activeSlave.sexualFlaw = either("hates women", "none")>>
	<<set $activeSlave.behavioralFlaw = either("arrogant", "none")>>
	<<set $activeSlave.fetishStrength = 100>>
	<<set $activeSlave.fetishKnown = 0>>
	<<set $activeSlave.attrKnown = 0>>
	<<set $activeSlave.hStyle = "neat">>
	<<set $activeSlave.hLength = 150>>
	<<set $activeSlave.custom.tattoo = "$He has a simple pink heart tattooed on $his right temple.">>
	<<run newSlave($activeSlave)>> /* skip New Slave Intro */
<</if>>

<<setLocalPronouns $activeSlave>>

<<if $RESFailure == "TSS">>
	You receive a personal call from a senior representative of the Slavegirl School, as you've been expecting since their second missed rent payment. "I apologize," he says with some embarrassment, "but it seems our expansion into your arcology was a mistake. It's strange — the business climate seemed excellent, and other corporations are doing well." He sighs. "Nevertheless, nothing ever seemed to go as planned. We'll be shutting our branch campus down immediately. In fact, it should be shut down within the hour. I regret to add," he says nervously, "that we're experiencing continued difficulty finding the liquidity to pay what we owe you. The branch campus we're closing has five recent graduates. We'd like to transfer them to you in lieu of payment." He hurriedly ends the call.
<<elseif $RESFailure == "GRI">>
	You receive a personal call from a senior representative of the Growth Research Institute, as you've been expecting since their second missed rent payment. "I apologize," he says with some embarrassment, "but it seems our expansion into your arcology was a mistake. It's strange — the business climate seemed excellent, and other corporations are doing well." He sighs. "Nevertheless, nothing ever seemed to go as planned. We'll be shutting our subsidiary lab down immediately. In fact, it should be shut down within the hour. I regret to add," he says nervously, "that we're experiencing continued difficulty finding the liquidity to pay what we owe you. The lab we're closing has five solid test subjects. We'd like to transfer them to you in lieu of payment." He hurriedly ends the call.
<<elseif $RESFailure == "SCP">>
	You receive a personal call from a senior representative of St. Claver Prep, as you've been expecting since their second missed rent payment. "I apologize," he says with some embarrassment, "but it seems our expansion into your arcology was a mistake. It's strange — the business climate seemed excellent, and other corporations are doing well." He sighs. "Nevertheless, nothing ever seemed to go as planned. We'll be shutting our branch campus down immediately. In fact, it should be shut down within the hour. I regret to add," he says nervously, "that we're experiencing continued difficulty finding the liquidity to pay what we owe you. The branch campus we're closing has five recent graduates. We'd like to transfer them to you in lieu of payment." He hurriedly ends the call.
<<elseif $RESFailure == "LDE">>
	You receive a personal call from a senior representative of the École des Enculées, as you've been expecting since their second missed rent payment. "I apologize," he says with some embarrassment, "but it seems our expansion into your arcology was a mistake. It's strange — the business climate seemed excellent, and other corporations are doing well." He sighs. "Nevertheless, nothing ever seemed to go as planned. We'll be shutting our branch campus down immediately. In fact, it should be shut down within the hour. I regret to add," he says nervously, "that we're experiencing continued difficulty finding the liquidity to pay what we owe you. The branch campus we're closing has five recent graduates. We'd like to transfer them to you in lieu of payment." He hurriedly ends the call.
<<elseif $RESFailure == "TGA">>
	You receive a personal call from a senior representative of the Gymnasium-Academy, as you've been expecting since their second missed rent payment. "I apologize," he says with some embarrassment, "but it seems our expansion into your arcology was a mistake. It's strange — the business climate seemed excellent, and other corporations are doing well." He sighs. "Nevertheless, nothing ever seemed to go as planned. We'll be shutting our branch campus down immediately. In fact, it should be shut down within the hour. I regret to add," he says nervously, "that we're experiencing continued difficulty finding the liquidity to pay what we owe you. The branch campus we're closing has five recent graduates. We'd like to transfer them to you in lieu of payment." He hurriedly ends the call.
<<elseif $RESFailure == "HA">>
	You receive a personal call from a senior representative of the Hippolyta Academy, as you've been expecting since their second missed rent payment. "I apologize," he says with some embarrassment, "but it seems our expansion into your arcology was a mistake. It's strange — the business climate seemed excellent, and other corporations are doing well." He sighs. "Nevertheless, nothing ever seemed to go as planned. We'll be shutting our branch campus down immediately. In fact, it should be shut down within the hour. I regret to add," he says nervously, "that we're experiencing continued difficulty finding the liquidity to pay what we owe you. The branch campus we're closing has five recent graduates. We'd like to transfer them to you in lieu of payment." He hurriedly ends the call.
<<elseif $RESFailure == "NUL">>
	You receive a personal call from a senior representative of Nueva Universidad de Libertad, as you've been expecting since their second missed rent payment. "I apologize," they say with some embarrassment, "but it seems our expansion into your arcology was a mistake. It's strange — the business climate seemed excellent, and other corporations are doing well." They sigh. "Nevertheless, nothing ever seemed to go as planned. We'll be shutting our branch campus down immediately. In fact, it should be shut down within the hour. I regret to add," they say nervously, "that we're experiencing continued difficulty finding the liquidity to pay what we owe you. The branch campus we're closing has five recent graduates. We'd like to transfer them to you in lieu of payment." They hurriedly end the call.
<<elseif $RESFailure == "TCR">>
	You receive a personal call from a senior representative of the Cattle Ranch, as you've been expecting since their second missed rent payment. "I apologize," he says with some embarrassment, "but it seems our expansion into your arcology was a mistake. It's strange — the business climate seemed excellent, and other corporations are doing well." He sighs. "Nevertheless, nothing ever seemed to go as planned. We'll be shutting our farm down immediately. In fact, it should be shut down within the hour. However, we lack the funds to remove some of our finest cattle and since we still owe you a little... We'd like to you to have them; we'll even have them delivered to your penthouse with the last of our credits." He hurriedly ends the call.
<<else>>
	The senior Sister of the community of Futanari Sisters in your arcology appears at your penthouse, as you've been expecting since their second missed rent payment. This is quite the occasion, since they never leave their little nest. $He's delightfully nude, and it occurs to you that the Sisters probably do not own clothing at all. $He has obviously been crying; puffy eyes and a sniffling nose mar $his gorgeous face. $He must have caused quite the sensation as $he made $his way here, in tears, gigantic tits and huge cock bouncing around. To your surprise, $he flings $himself at your feet, $his dick making a painful-sounding slap against the floor and $his breasts squashing out to either side of $him.
	<br><br>
	"Please," $he cries to your feet. "Please take us as slaves. We're indebted, and we'll all be enslaved. You're our friend, you'll treat us better than anyone." Then $he whispers, "Please, <<if $PC.slaveSurname>><<if $PC.title>>Mr.<<else>>Ms.<</if>> <<print $PC.slaveSurname>>,<<else>><<print $PC.slaveName>>,<</if>> don't make me beg." You tell the prostrate futa you accept. $His mood does not improve: $he scrabbles around to face away from you, plush body jiggling submissively, and raises $his buttocks to spread $his pussy and anus for you. "Thank you," $he weeps. "Now please rape me, <<Master>>. I deserve it. My mismanagement stole my Sisters' years of idyll from them. Please, rape me."
<</if>>
<br><br>
The failure of a prominent organization within your arcology has @@.red;affected your reputation@@ and @@.red;your arcology's prosperity@@ slightly, but you've come out a long way ahead. You've acquired excellent slaves for a pitiful fraction of their fair price.

<br><br>

<span id="result">
<<if $RESFailure == "TFS">>
<<link "Rape $him">>
	<<replace "#result">>
	<<for $i = 0; $i < $slaves.length; $i++>>
		<<if ($slaves[$i].origin == "$He was the leader of your arcology's Futanari Sisters until you engineered $his community's failure and enslavement.")>>
			<<set $activeSlave.devotion += 10>>
			<<set $activeSlave.counter.anal += 1>>
			<<set $activeSlave.counter.vaginal += 1>>
			<<set $analTotal += 1>>
			<<set $vaginalTotal += 1>>
		<</if>>
	<</for>>
	You <<if $PC.dick != 0>>whip out your dick<<else>>pull on a strap-on, the one you use for disobedient slaves,<</if>> and kneel down behind the sobbing futa matron. When $he feels it touching $his pussylips, $he whispers "Thank you, <<Master>>," through $his tears. $He's very, very sexually experienced, so it's harder to make $him feel it than it would be for a $girl with tighter holes. But you're an expert. You calibrate your pounding to pull just barely too far out, so that $he feels you ramming mercilessly into $him with each stroke, and so that the slightest mistake from $him sends <<if $PC.dick != 0>>your cock<<else>>the phallus<</if>> right up the other hole. Despite $his anguish and the brutal fuck, or perhaps because of them, $he slowly manages to get hard, and orgasms painfully when you do. $He @@.hotpink;can't seem to stop thanking you,@@ but is quiet when you tell $him to be.
	<</replace>>
<</link>>
<br>
<</if>>
<<link "Sell your prizes immediately">>
	<<replace "#result">>
		<<for $i = 0; $i < $slaves.length; $i++>>
			<<set $activeSlave = $slaves[$i]>>
			<<if $RESFailure == "TSS">>
				<<if ($slaves[$i].origin == "$He was given to you by a failed branch campus of the Slavegirl School right after $his majority.") || ($slaves[$i].origin == "$He was given to you by a failed branch campus of the Slavegirl School after $he was retrained as a slave $girl.")>>
					<<set _slaveCost = slaveCost($slaves[$i])>>
					<<run cashX(_slaveCost, "slaveTransfer")>>
					<<= removeActiveSlave() >>
					<<set $i -= 1>>
				<</if>>
			<<elseif $RESFailure == "GRI">>
				<<if $slaves[$i].origin == "$He was given to you by a failed subsidiary lab of the Growth Research Institute right after $his use as a test subject ended.">>
					<<set _slaveCost = slaveCost($slaves[$i])>>
					<<run cashX(_slaveCost, "slaveTransfer")>>
					<<= removeActiveSlave() >>
					<<set $i -= 1>>
				<</if>>
			<<elseif $RESFailure == "SCP">>
				<<if $slaves[$i].origin == "$He was given to you by a failed branch campus of St. Claver Preparatory after $he served as a plastic surgeon's passing final exam.">>
				<<set _slaveCost = slaveCost($slaves[$i])>>
				<<run cashX(_slaveCost, "slaveTransfer")>>
				<<= removeActiveSlave() >>
				<<set $i -= 1>>
				<</if>>
			<<elseif $RESFailure == "LDE">>
				<<if $slaves[$i].origin == "$He was given to you by a failed branch campus of the innovative École des Enculées right after $his graduation.">>
					<<set _slaveCost = slaveCost($slaves[$i])>>
					<<run cashX(_slaveCost, "slaveTransfer")>>
					<<= removeActiveSlave() >>
					<<set $i -= 1>>
				<</if>>
			<<elseif $RESFailure == "TGA">>
				<<if $slaves[$i].origin == "$He was given to you by a failed branch campus of the intense Gymnasium-Academy right after $his majority.">>
					<<set _slaveCost = slaveCost($slaves[$i])>>
					<<run cashX(_slaveCost, "slaveTransfer")>>
					<<= removeActiveSlave() >>
					<<set $i -= 1>>
				<</if>>
			<<elseif $RESFailure == "HA">>
				<<if $slaves[$i].origin == "$He was given to you by a failed branch campus of the Hippolyta Academy right after $his majority.">>
					<<set _slaveCost = slaveCost($slaves[$i])>>
					<<run cashX(_slaveCost, "slaveTransfer")>>
					<<= removeActiveSlave() >>
					<<set $i -= 1>>
				<</if>>
			<<elseif $RESFailure == "TCR">>
				<<if $slaves[$i].origin == "$He is a prized dairy cow given to you by a failed local pasture of The Cattle Ranch.">>
					<<set _slaveCost = slaveCost($slaves[$i])>>
					<<run cashX(_slaveCost, "slaveTransfer")>>
					<<= removeActiveSlave() >>
					<<set $i -= 1>>
				<</if>>
			<<elseif $RESFailure == "NUL">>
				<<if $slaves[$i].origin == "$He was given to you by a failed branch campus of Nueva Universidad de Libertad right after $his graduation.">>
					<<set _slaveCost = slaveCost($slaves[$i])>>
					<<run cashX(_slaveCost, "slaveTransfer")>>
					<<= removeActiveSlave() >>
					<<set $i -= 1>>
				<</if>>
			<<else>>
				<<if ($slaves[$i].origin == "$He was the leader of your arcology's Futanari Sisters until you engineered $his community's failure and enslavement.") || ($slaves[$i].origin == "$He was a Futanari Sister until you engineered $his early enslavement.")>>
					<<set _slaveCost = slaveCost($slaves[$i])>>
					<<run cashX(_slaveCost, "slaveTransfer")>>
					<<= removeActiveSlave() >>
					<<set $i -= 1>>
				<</if>>
			<</if>>
		<</for>>
		Prizes sold.
	<</replace>>
<</link>>
</span>

src/uncategorized/resFailure.tw