code:
:: Spa

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

<<if $spaName != "the Spa">>
	<<set $spaNameCaps to $spaName.replace("the ", "The ")>>
<</if>>

<<set $spaSlaves to 0>>
<<set $notSpaSlaves to 0>>
<<for _i to 0;_i < $slaves.length;_i++>>
	<<if $slaves[_i].assignment is "rest in the spa">>
		<<set $spaSlaves++>>
	<<else>>
		<<set $notSpaSlaves++>>
	<</if>>
<</for>>

$spaNameCaps
<<switch $spaDecoration>>
<<case "Roman Revivalist">>
	is built as a Roman bath. The flooring is pleasantly warm due to a modernized version of hypocaust heating, and is covered in mosaic depicting slaves enjoying sex.
<<case "Egyptian Revivalist">>
	is decorated like an Egyptian water garden. All but the hottest pools include aquatic plants around their edges, and the atmosphere is heavy with perfume.
<<case "Edo Revivalist">>
	is decorated like a traditional onsen. The stone-lined pools are surrounded by meticulously kept gardens, and there are proper provisions for bathing in the old Japanese style.
<<case "Arabian Revivalist">>
	looks like a dream of an Arabian palace garden. Every surface is richly tiled in vibrant colors, and the beguiling scents of perfumes from the Levant hang in the air.
<<case "Chinese Revivalist">>
	is gloomy and hot, filled with an oppressive steam that immediately dulls the senses. Though relaxation is possible and indeed easy here, it is a stultifying relaxation whose humid warmth seems to suppress independence.
<<case "Chattel Religionist">>
	is dedicated to the purification of the body and the spirit. The pools are arranged for the completion of self-purification procedures which include ritual masturbation.
<<case "Degradationist">>
	is utilitarian. There are waterproof cameras positioned throughout the spa so that anyone who wants to can watch the nude slaves. One wall has a screen showing the current viewer count to keep the slaves aware of this.
<<case "Asset Expansionist">>
	is utilitarian. It is equipped with all sorts of devices to help slaves care for huge assets, including lifts to help them in and out of the water, and all around showers to help clean and moisturize difficult to reach spots.
<<case "Transformation Fetishist">>
	is utilitarian. It is equipped with special devices to help speed surgical recovery, including a series of baths designed to prevent scarring.
<<case "Repopulation Focus">>
	is comfortable, with waterproof cushions lining the pools. It is equipped with all sorts of devices to aid pregnant slaves, including lifts to help them in and out of the water, baths just for their feet, and all around showers to help clean and moisturize difficult to reach spots.
<<case "Eugenics">>
	is comfortable, albeit split in half. One side for the lower classes' slaves, and the other for the elite and their pets.
<<case "Gender Radicalist">>
	is comfortable, with waterproof cushions lining the pools. There are screens on the walls showing slave girls with all different varieties of genitalia orgasming from penetration, to keep the idea at the forefront of the slaves' minds.
<<case "Gender Fundamentalist">>
	is comfortable, with waterproof cushions lining the pools. There are screens on the walls showing light entertainment featuring a lot of beautiful women and handsome men for the slaves' edification.
<<case "Physical Idealist">>
	is not the gym, but it does have some workout equipment, mostly low-impact machines designed to speed recovery. There are special hot baths to ease sore muscles.
<<case "Supremacist">>
	is comfortable, with waterproof cushions lining the pools. There are screens on the walls showing light entertainment featuring $arcologies[0].FSSupremacistRace main characters.
<<case "Subjugationist">>
	is comfortable, with waterproof cushions lining the pools. There are screens on the walls showing light entertainment featuring $arcologies[0].FSSubjugationistRace characters in comic relief roles.
<<case "Paternalist">>
	is comfortable, with waterproof cushions lining the pools. There are screens on the walls showing light entertainment written by and intended for smart, loyal slaves.
<<case "Pastoralist">>
	is utilitarian. It is equipped with all sorts of devices to help slaves care for huge assets, including lifts to help them in and out of the water, and all around showers to help clean and moisturize difficult to reach spots.
<<case "Maturity Preferentialist">>
	is comfortable, but surprisingly businesslike. It's all about beautification here; there's a bewildering array of mud baths, resting pools, and massage setups, all designed to keep mature slaves looking their very best.
<<case "Youth Preferentialist">>
	is comfortable and fun. There are hot tubs and massage tables for slaves who feel like relaxing, but there's also a colder pool with pool toys for girls who want to play. It even has a small waterslide.
<<case "Body Purist">>
	is comfortable, with waterproof cushions lining the pools. Everything is designed for the slaves' comfort; there are even special mud baths to perfect skin clarity.
<<case "Slimness Enthusiast">>
	is comfortable, with waterproof cushions lining the pools. Everything is designed for the slaves' comfort; there are even special mud baths to perfect skin clarity.
<<default>>
	is well-appointed, with massage tables, hot tubs, and a cold pool.
<</switch>>

<<if $spaSlaves > 3>>
	It's busy in here. Slaves are relaxing in the warm water, splashing around or just floating. Here and there some of the more sex-starved are in the early stages of intercourse, but most prefer to take time off from it all.
<<elseif $spaSlaves > 0>>
	It's sparsely populated; though the few slaves here have little company they like having the water to themselves.
<<elseif $Attendant != 0>>
	$Attendant.slaveName is alone here, and has nothing to do but keep the place (and her own soft, wet body) spotlessly clean.
<<else>>
	It's empty and quiet. [[Decommission the Spa|Main][$spa to 0, $spaDecoration to "standard"]]
<</if>>

$spaNameCaps has rooms to house slaves while they recuperate here. They can support $spa slaves.
[[Expand the spa|Spa][$cash -=  Math.trunc($spa*1000*$upgradeMultiplierArcology), $spa += 5]] //Costs ¤<<print Math.trunc($spa*1000*$upgradeMultiplierArcology)>>//

<<if $spaUpgrade == 1>>
	$spaNameCaps has been upgraded with state of the art temperature treatment options, from hot and cold mineral water pools to baking saunas and dense steam rooms.
<<else>>
	$spaNameCaps is a standard spa. [[Upgrade the spa with saunas, steam rooms, and mineral water baths|Spa][$cash -=  Math.trunc(10000*$upgradeMultiplierArcology), $spaUpgrade to 1]] //Costs ¤<<print Math.trunc(10000*$upgradeMultiplierArcology)>>//
<</if>>

<<if $Attendant != 0>>

<<if $spaFix == 2>>
	$Attendant.slaveName is focusing only on the health and wellness of the slaves under her care, obeying your orders to  avoid attempting to right mental flaws.
	[[Order her to only fix mindbroken slaves|Spa][$spaFix to 1]] |
	[[Let her tend as she sees fit|Spa][$spaFix to 0]]
<<elseif $spaFix == 1>>
	$Attendant.slaveName is focusing on the health and wellness of the slaves under her care, as well as trying to bring mindbroken slaves back, while ignoring any mental hangups a slave may have.
	[[Order her to not fix flaws|Spa][$spaFix to 2]] |
	[[Let her tend as she sees fit|Spa][$spaFix to 0]]
<<else>>
	$Attendant.slaveName is not following any special orders and is tending to your slaves as she sees fit.
	[[Order her to not fix flaws|Spa][$spaFix to 2]] |
	[[Order her to only fix mindbroken slaves|Spa][$spaFix to 1]]
<</if>>
<</if>>

<<if $Attendant != 0>>
	<<set $Flag to 2>>
	<<include "Slave Summary">>
<<else>>
	You do not have a slave serving as a spa Attendant. [[Appoint one|Attendant Select]]
<</if>>

<<if $spaSlaves > 0>>

''Prise a slave out of the spa:''
	<<set $Flag to 1>>
	<<include "Slave Summary">>
<</if>>

<<if $notSpaSlaves > 0>>

''Let an obedient slave rest in $spaName:''
	<<set $Flag to 0>>
	<<include "Slave Summary">>
<</if>>
<<unset $Flag>>

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


code:
:: Spa Report [nobr]

<<set $spaSlaves = 0, _attendantFetish = 0, _attendantUsedCure = 0, _flawSoftened = 0, _healthBonus = 0, _idleBonus = 0, _restedSlaves = 0, _trustBonus = 0, _SL = $slaves.length, _ATD = -1>>

<<if $spaDecoration != "standard">>
	<<set _devBonus = 1>>
<<else>>
	<<set _devBonus = 0>>
<</if>>

<<if $Attendant != 0>>
<<for _ATD = 0; _ATD < _SL; _ATD++>>
<<if $slaves[_ATD].ID == $Attendant.ID>>
	<<break>>
<</if>>
<</for>>
<</if>>
<<if _ATD > -1>>
	<<if ($slaves[_ATD].health < 100)>>
	<<set $slaves[_ATD].health += 20>>
	<</if>>
	<<if ($slaves[_ATD].devotion <= 60)>>
	<<set $slaves[_ATD].devotion += 1>>
	<</if>>
	<<if $slaves[_ATD].trust < 60>>
	<<set $slaves[_ATD].trust++>>
	<</if>>
	<<if $slaves[_ATD].fetishStrength <= 95>>
	<<if $slaves[_ATD].fetish != "submissive">>
		<<fetishChangeChance $slaves[_ATD]>>
		<<if $fetishChangeChance > random(0,100)>>
			<<set _attendantFetish = 1, $slaves[_ATD].fetishKnown = 1, $slaves[_ATD].fetish = "submissive">>
		<</if>>
	<<elseif $slaves[_ATD].fetishKnown == 0>>
		<<set _attendantFetish = 1, $slaves[_ATD].fetishKnown = 1>>
	<<else>>
		<<set _attendantFetish = 2, $slaves[_ATD].fetishStrength += 4>>
	<</if>>
	<</if>>
	<<set $slaves[_ATD].devotion += _devBonus>>
	<<set $Attendant = $slaves[_ATD]>>
	<<if ($Attendant.fetish == "none") || ($Attendant.fetish == "submissive")>>
		<<set _devBonus++>>
	<</if>>
	<<if ($Attendant.age > 35)>>
		<<set _healthBonus++>>
	<</if>>
	<<if isFertile($Attendant) || ($Attendant.preg > 0)>>
		<<set _healthBonus++>>
	<</if>>
	    $Attendant.slaveName is serving as the spa attendant.<<if $Attendant.relationship == -3>> She tries her best to be your perfect attentive and caring wife.<</if>>
	<<if (_attendantFetish == 1)>>
		When she is paid a visit by a slave with sexual issues to work out, she provides her with an understanding, willing, giving partner. She finds real satisfaction in helping your slaves find sexual gratification, and @@color:lightsalmon;becomes a submissive.@@
	<<elseif (_attendantFetish == 2)>>
		Every new slave in the spa is a new girl she gets to connect with and serve. Sexually. @@color:lightsalmon;She becomes more submissive.@@
	<</if>>
	<<if $attendantCareers.contains($Attendant.career)>>
		She has experience with counseling from her life before she was a slave, making her better at building a rapport with troubled slaves, and giving her a better chance of softening flaws into beneficial quirks.
		<<set _idleBonus++>>
	<</if>>
	<<if ($Attendant.eyes == -2)>>
		Her blindness allows her to deeply connect with her girls.
		<<set _idleBonus++>>
	<</if>>
	<<if ($Attendant.fetish == "none")>>
		$Attendant.slaveName respects the slaves lounging in the spa, allowing them to relax completely.
		<<set _idleBonus++>>
	<<elseif ($Attendant.fetish == "submissive")>>
		$Attendant.slaveName lets the slaves resting in the spa take the lead sexually, doing her best to please them.
		<<set _idleBonus++>>
	<<elseif ($Attendant.fetishKnown == 1)>>
		$Attendant.slaveName can't keep her hands to herself, preventing the slaves in the spa from relaxing completely.
	<</if>>
	<<if ($Attendant.visualAge > 35)>>
		Her age encourages the slaves in the spa to relax and pour out their troubles to her.
		<<set _idleBonus++>>
	<</if>>
	<<if ($Attendant.intelligence > 0)>>
		She's so intelligent she can suss out the cause of slaves' emotional issues and counsel them effectively.
		<<set _idleBonus++>>
	<</if>>
	<<if isFertile($Attendant) || ($Attendant.preg > 0)  || ($Attendant.bellyImplant >= 2000)>>
		She has a natural mothering instinct and really makes her girls feel at home.
		<<set _idleBonus++>>
	<</if>>
<</if>>

<<for _i = 0; _i < _SL; _i++>>
	<<if ($slaves[_i].assignment != "rest in the spa")>><<continue>><</if>>
	<<set $spaSlaves++, $slaves[_i].devotion += _devBonus, $slaves[_i].trust += _trustBonus, $slaves[_i].health += _healthBonus>>
	<<if ($slaves[_i].devotion <= 60) && ($slaves[_i].trust < 60)>>
	<<set $slaves[_i].devotion += 1, $slaves[_i].trust += 1>>
	<<elseif ($slaves[_i].devotion < 40)>>
	<<set $slaves[_i].devotion += 10>>
	<<elseif ($slaves[_i].trust < 40)>>
	<<set $slaves[_i].trust += 10>>
	<</if>>
	<<if $Attendant != 0>>
	<<if ($slaves[_i].fetish == "mindbroken") && ($slaves[_i].health > 20) && (_attendantUsedCure == 0) && ($spaFix != 2)>>
		<<set _attendantUsedCure = 1>>
		<<if (random(1,100) > 90-$Attendant.devotion)>>
		@@color:green;Something almost miraculous has happened.@@ $Attendant.slaveName has always refused to believe that $slaves[_i].slaveName could not be reached, and has spent weeks lavishing patient tenderness on her in $spaName. $slaves[_i].slaveName has begun to respond, and is stirring from her mental torpor.
		<<set $slaves[_i].devotion = -3, $slaves[_i].sexualFlaw = "apathetic", $slaves[_i].behavioralFlaw = either("hates men", "odd"), $slaves[_i].fetish = "none", $slaves[_i].fetishKnown = 1>>
		<<if ($arcologies[0].FSPaternalist > 0)>>
			Society @@color:green;strongly approves@@ of $slaves[_i].slaveName being restored to sanity, which advances ideals about enlightened slave ownership.
			<<set $repGain += 2*$FSSingleSlaveRep*($arcologies[0].FSPaternalist/$FSLockinLevel), $arcologies[0].FSPaternalist += 0.01*$FSSingleSlaveRep>>
		<</if>>
		<</if>>
	<</if>>
	<<set _seed = 0>>
	<<if $attendantCareers.contains($Attendant.career) && $slaves[_i].trust < 60>>
		<<set $slaves[_i].trust++, _seed = 10>>
	<</if>>
	<<if ($Attendant.intelligence > 0) && ($spaFix == 0)>>
		<<if $slaves[_i].behavioralFlaw != "none">>
		<<if random(1,100) > (100-($Attendant.intelligence*10)-_seed)>>
			<<switch $slaves[_i].behavioralFlaw>>
			<<case "arrogant">>
			<<set $slaves[_i].behavioralQuirk = "confident">>
			<<case "bitchy">>
			<<set $slaves[_i].behavioralQuirk = "cutting">>
			<<case "odd">>
			<<set $slaves[_i].behavioralQuirk = "funny">>
			<<case "hates men">>
			<<set $slaves[_i].behavioralQuirk = "adores women">>
			<<case "hates women">>
			<<set $slaves[_i].behavioralQuirk = "adores men">>
			<<case "gluttonous">>
			<<set $slaves[_i].behavioralQuirk = "fitness">>
			<<case "anorexic">>
			<<set $slaves[_i].behavioralQuirk = "insecure">>
			<<case "devout">>
			<<set $slaves[_i].behavioralQuirk = "sinful">>
			<<case "liberated">>
			<<set $slaves[_i].behavioralQuirk = "advocate">>
			<</switch>>
			<<set _flawSoftened = $slaves[_i].slaveName, $slaves[_i].behavioralFlaw = "none">>
		<</if>>
		<<elseif $slaves[_i].sexualFlaw != "none">>
		<<if random(1,100) > (100-($Attendant.intelligence*10)-_seed)>>
			<<switch $slaves[_i].sexualFlaw>>
			<<case "hates oral">>
			<<set $slaves[_i].sexualQuirk = "gagfuck queen">>
			<<case "hates anal">>
			<<set $slaves[_i].sexualQuirk = "painal queen">>
			<<case "hates penetration">>
			<<set $slaves[_i].sexualQuirk = "strugglefuck queen">>
			<<case "shamefast">>
			<<set $slaves[_i].sexualQuirk = "tease">>
			<<case "idealistic">>
			<<set $slaves[_i].sexualQuirk = "romantic">>
			<<case "repressed">>
			<<set $slaves[_i].sexualQuirk = "perverted">>
			<<case "apathetic">>
			<<set $slaves[_i].sexualQuirk = "caring">>
			<<case "crude">>
			<<set $slaves[_i].sexualQuirk = "unflinching">>
			<<case "judgemental">>
			<<set $slaves[_i].sexualQuirk = "size queen">>
			<</switch>>
			<<set _flawSoftened = $slaves[_i].slaveName, $slaves[_i].sexualFlaw = "none">>
		<</if>>
		<</if>>
	<</if>>
	<<if $familyTesting == 1>>
		<<if $slaves[_i].mother == $Attendant.ID>>
			She makes sure to spend extra time caring for her daughter, $slaves[_i].slaveName.
			<<set $slaves[_i].trust += 1>>
		<</if>>
		<<if $slaves[_i].father == $Attendant.ID>>
			She makes sure to spend extra time caring for her daughter, $slaves[_i].slaveName.
			<<set $slaves[_i].trust += 1>>
		<</if>>
		<<if $slaves[_i].ID == $Attendant.father>>
			She makes sure to spend extra time caring for her father, $slaves[_i].slaveName.
			<<set $slaves[_i].trust += 1>>
		<</if>>
		<<if $slaves[_i].ID == $Attendant.mother>>
			She makes sure to spend extra time caring for her mother, $slaves[_i].slaveName.
			<<set $slaves[_i].trust += 1>>
		<</if>>
		<<if areSisters($slaves[_i], $Attendant) == 1>>
			She makes sure to spend extra time caring for her twin sister, $slaves[_i].slaveName.
			<<set $slaves[_i].trust += 1>>
		<<elseif areSisters($slaves[_i], $Attendant) == 2>>
			She makes sure to spend extra time caring for her sister, $slaves[_i].slaveName.
			<<set $slaves[_i].trust += 1>>
		<<elseif areSisters($slaves[_i], $Attendant) == 3>>
			She makes sure to spend extra time caring for her half-sister, $slaves[_i].slaveName.
			<<set $slaves[_i].trust += 1>>
		<</if>>
	<<else>>
	<<if $Attendant.relationTarget == $slaves[_i].ID>>
		She makes sure to spend extra time caring for her $slaves[_i].relation, $slaves[_i].slaveName.
		<<set $slaves[_i].trust++>>
	<</if>>
	<</if>> /*closes extended family mode */
	<<if $Attendant.relationshipTarget == $slaves[_i].ID>>
		She dedicates most of her attention to her <<if $Attendant.relationship == 1>>friend<<elseif $Attendant.relationship == 2>>best friend<<elseif $Attendant.relationship == 3>>friend with benefits<<elseif $Attendant.relationship == 4>>lover<<elseif $Attendant.relationship == 5>>slave wife<</if>>, $slaves[_i].slaveName, making her stress, both physical and mental, wash away.
		<<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>>
	<</if>>
	<<if $Attendant.rivalryTarget == $slaves[_i].ID>>
		She constantly harasses her <<if $Attendant.rivalry == 1>>growing rival<<elseif $Attendant.rivalry == 2>>rival<<elseif $Attendant.rivalry == 3>>bitter rival<</if>>, $slaves[_i].slaveName, preventing her from getting comfortable and forcing her to keep her guard up.
		<<set $slaves[_i].devotion -= 4, $slaves[_i].trust -= 4>>
		<<if random(1,100) > 35>>
			<<set $Attendant.rivalry++, $slaves[_ATD].rivalry++, $slaves[_i].rivalry++>>
		<</if>>
	<</if>>
	<<if $slaves[_i].prestigeDesc == "She is a famed Free Cities whore, and commands top prices.">>
		She does her best to relax the famous whore, $slaves[_i].slaveName, making sure to pay special attention to her worn holes.
		<<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>>
	<</if>>
	<<if $slaves[_i].prestigeDesc == "She is a famed Free Cities slut, and can please anyone.">>
		She does her best to soothe the famous entertainer, $slaves[_i].slaveName, letting her relax in blissful peace.
		<<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>>
	<</if>>
	<<if $slaves[_i].prestigeDesc == "She is remembered for winning best in show as a cockmilker.">>
		<<if $Attendant.fetish is "cumslut">>
		She can't keep her hands off $slaves[_i].slaveName's cock and balls, but she doesn't mind being milked constantly.  Before long strands of cum can be found floating all throughout the bath.
		<<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3, $Attendant.fetishStrength += 4, $slaves[_ATD].fetishStrength += 4>>
		<<else>>
		She does her best to accommodate $slaves[_i].slaveName's massive genitals and tends to her when ever she feels a need for release.
		<<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>>
		<<if random(1,100) > 65 && $Attendant.fetish is "none">>
			After taking several massive loads to the face, $Attendant.slaveName begins to find satisfaction in being coated in cum.
			<<set $Attendant.fetish = "cumslut", $slaves[_ATD].fetish = "cumslut">>
		<</if>>
		<</if>>
	<</if>>
	<<if $slaves[_i].prestigeDesc == "She is remembered for winning best in show as a dairy cow.">>
		<<if $Attendant.fetish == "boobs">>
		She can't keep her hands off $slaves[_i].slaveName's huge breasts, but she doesn't mind being milked constantly.  Before long the bath gains a white tint.
		<<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3, $Attendant.fetishStrength += 4>>
		<<else>>
		She does her best to accommodate $slaves[_i].slaveName's massive breasts and tends to her when ever she feels a need for release.
		<<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>>
		<<if random(1,100) > 65 && $Attendant.fetish == "none">>
			After multiple milking sessions, $Attendant.slaveName begins to find herself fantasizing about having giant milky breasts too.
			<<set $Attendant.fetish = "boobs", $slaves[_ATD].fetish = "boobs">>
		<</if>>
		<</if>>
	<</if>>
	<<if $slaves[_i].prestigeDesc == "She is remembered for winning best in show as a breeder." && $slaves[_i].preg > 10>>
		<<if $Attendant.fetish == "pregnancy">>
		She can't keep her hands off $slaves[_i].slaveName's pregnancy, but she doesn't mind her full belly being fondled.
		<<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3, $Attendant.fetishStrength += 4>>
		<<else>>
		She does her best to accommodate $slaves[_i].slaveName's pregnancy and to make sure the mother-to-be is happy and comfortable.
		<<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>>
		<<if random(1,100) > 65 && $Attendant.fetish is "none">>
			After massaging $slaves[_i].slaveName's growing belly multiple times, $Attendant.slaveName begins to find herself fantasizing about being swollen with life too.
			<<set $Attendant.fetish to "pregnancy", $slaves[_ATD].fetish to "pregnancy">>
		<</if>>
		<</if>>
	<</if>>
	<<if $slaves[_i].prestigeDesc == "She is remembered for winning best in show as a breeder.">>
		<<if $Attendant.fetish == "pregnancy">>
		She can't help but pester $slaves[_i].slaveName with questions about her pregnancy, limiting her ability to truly relax.
		<<set $slaves[_i].devotion += 1, $slaves[_i].trust += 1>>
		<<else>>
		She does her best to encourage $slaves[_i].slaveName's fertilization by performing any fertility boosting actions she can.
		<<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>>
		<</if>>
	<</if>>
	<</if>>
	<<if ($slaves[_i].health < 100) && ($spaUpgrade == 1)>>
		<<set $slaves[_i].health += 3>>
	<</if>>
	<<if ($slaves[_i].health >= 20) && ($slaves[_i].trust > 60) && ($slaves[_i].devotion > 60) && $slaves[_i].fetish != "mindbroken">>
		<<set $slaves[_i].assignment = "rest", $slaves[_i].assignmentVisible = 1, _restedSlaves++>>
	<</if>>
<</for>>

<<if ($spaSlaves < $spa) && _ATD > -1>>
	<<set _seed to random(1,10)+(($spa-$spaSlaves)*(random(150,170)+(_idleBonus*10)))>>
	<<set $cash += _seed>>

    Since she doesn't have enough girls to occupy all her time, the spa takes in citizens' slaves on a contract basis and she helps them too, earning @@color:yellowgreen;¤_seed.@@

<</if>>

<<if ($spaSlaves > 0)>>
	<<if $seeImages == 1>>
<</if>>
	    <<if ($spaSlaves == 1)>>''There is one slave resting and recuperating in the spa.''<<else>>''There are $spaSlaves slaves resting and recuperating in the spa.''<</if>>

	<<if (_restedSlaves > 0)>>
	<<if (_restedSlaves == 1)>>
		One slave has rested until she reached a state of @@color:hotpink;devotion@@ and @@color:mediumaquamarine;trust@@ and will leave the spa before the end of the week.
	<<else>>
		_restedSlaves slaves have rested until they reached a state of @@color:hotpink;devotion@@ and @@color:mediumaquamarine;trust@@ and will leave the spa before the end of the week.
	<</if>>
	<<if $spaDecoration != "standard">>
		$spaNameCaps's $spaDecoration atmosphere @@color:hotpink;had an impact on <<if _restedSlaves == 1>>her while she<<else>>them while they<</if>>@@ were resting.
	<</if>>
	<<set $spaSlaves -= _restedSlaves>>
	<</if>>
	<<if (_flawSoftened != 0)>>
	$Attendant.slaveName works carefully with _flawSoftened, and successfully @@color:green;softens her behavioral flaw@@ into an appealing quirk.
	<</if>>

<</if>>

<<if $Attendant != 0>>
	<<set $i = _ATD>>

''__@@color:pink;$slaves[$i].slaveName@@__'' is serving as the Attendant in the spa.
	<<if $showEWD == 0>>
		<<silently>>
		<<if $slaves[$i].choosesOwnClothes == 1>>
		<<include "SA chooses own clothes">>
		<<if ($slaves[$i].devotion <= 20)>>
			<<set $slaves[$i].devotion -= 5>>
		<<else>>
			<<set $slaves[$i].devotion++>>
		<</if>>
		<</if>>
		<<include "SA diet">>
		<<include "SA long term effects">>
		<<include "SA drugs">>
		<<include "SA relationships">>
		<<include "SA rivalries">>
		<<include "SA devotion">>
		<</silently>>
	<<else>>
		/* 000-250-006 */
		/* <<if $seeImages == 1>><<SlaveArt $slaves[$i] 0 0>><</if>> */
		<<if $seeImages == 1 && $imageChoice == 0>>

				<<SlaveArt $slaves[_ATD] 0 0>>

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

		<<if $slaves[$i].choosesOwnClothes == 1>>
		<<include "SA chooses own clothes">>
		<<if ($slaves[$i].devotion <= 20)>>
			<<set $slaves[$i].devotion -= 5>>
		<<else>>
			<<set $slaves[$i].devotion++>>
		<</if>>
		<</if>>
		<<include "SA diet">>
		<<include "SA long term effects">>
		<<include "SA drugs">>
		<<include "SA relationships">>
		<<include "SA rivalries">>

<<include "SA devotion">>

	<</if>>
	<<set $Attendant = $slaves[_ATD]>>
<</if>>

<<if ($spaSlaves > 0)>>
	<<if $showEWD == 0>>
	<<for $i = 0; $i < _SL; $i++>>
		<<if ($slaves[$i].assignment != "rest in the spa")>><<continue>><</if>>
		''__@@color:pink;$slaves[$i].slaveName@@__'' is resting in the spa.

		<<silently>>
		<<if $slaves[$i].choosesOwnClothes == 1>>
		<<include "SA chooses own clothes">>
		<<if ($slaves[$i].devotion <= 20)>>
			<<set $slaves[$i].devotion -= 5>>
		<<else>>
			<<set $slaves[$i].devotion++>>
		<</if>>
		<</if>>
		<<include "SA rest">>
		<<include "SA diet">>
		<<include "SA long term effects">>
		<<include "SA drugs">>
		<<include "SA relationships">>
		<<include "SA rivalries">>
		<<include "SA devotion">>
		<</silently>>
	<</for>>
	<<else>>
	<<for $i = 0; $i < _SL; $i++>>
		<<if ($slaves[$i].assignment != "rest in the spa")>><<continue>><</if>>
		/* 000-250-006 */
		/* <<if $seeImages == 1>><<SlaveArt $slaves[$i] 0 0>><</if>> */
		<<if $seeImages == 1 && $imageChoice == 0>>

				<<SlaveArt $slaves[$i] 0 0>>

		<</if>>
		/* 000-250-006 */
		''__@@color:pink;$slaves[$i].slaveName@@__'' is resting in the spa.

    She <<include "SA rest">>

		<<if $slaves[$i].choosesOwnClothes == 1>>
		<<include "SA chooses own clothes">>
		<<if ($slaves[$i].devotion <= 20)>>
			<<set $slaves[$i].devotion -= 5>>
		<<else>>
			<<set $slaves[$i].devotion++>>
		<</if>>
		<</if>>
		<<include "SA diet">>
		<<include "SA long term effects">>
		<<include "SA drugs">>
		<<include "SA relationships">>
		<<include "SA rivalries">>

<<include "SA devotion">>

	<</for>>
	<</if>>
<<else>>
	''$spaNameCaps is empty.''

<</if>>

repo_name: NotAlive/fc


code:
:: Special Slave

<<set $nextButton to "Back">>\
<<set $nextLink to "Buy Slaves">>\
<<set $returnTo to "Buy Slaves">>\
<<set $showEncyclopedia to 1>><<set $encyclopedia to "Direct Sales">>\
\
You review a piece of merchandise via video call, making a few lewd demands to gauge her obedience. The background of the video feed is luxurious and plush; somewhere offscreen someone is moaning rapturously.

<<set $activeSlave to $heroSlaves.random()>>\
<<set $activeSlave.weekAcquired to $week>>\
<<set $activeSlave.pubicHColor to $activeSlave.hColor>>\
<<set $activeSlave.pubicHStyle to "waxed">>\
<<set $activeSlave.underArmHColor to $activeSlave.hColor>>\
<<set $activeSlave.underArmHStyle to "waxed">>\
<<slaveCost $activeSlave>>\
<<NationalityToAccent>>
\
The offered price is ¤<<print $slaveCost>>.
\
[[Buy her slave contract|New Slave Intro][$cash -= $slaveCost,$nextButton to "Continue",$nextLink to "AS Dump",$returnTo to "Main",$specialSlave to 1]]

[[Pay ¤1000 to access complete catalog of slaves|Complete Catalog][$cash -= 1000]]

//Best regards to /d/, whose fine denizens came up with most of the slaves in the "previously owned" database.//

<<set $specialSlavesPriceOverride = 1>>
<<set $saleDescription to 1>><<include "Long Slave Description">><<set $saleDescription to 0>>
<<set $specialSlavesPriceOverride = 0>>


code:
:: Stewardess Select

<<nobr>>
<<set $nextButton to "Back">>
<<set $nextLink to "Servants' Quarters">>
<<set $showEncyclopedia to 1>><<set $encyclopedia to "Stewardesses">>

<<for _i to 0; _i < $slaves.length; _i++>>
<<if $Stewardess.ID == $slaves[_i].ID>>
	''__@@color:pink;$slaves[_i].slaveName@@__'' is serving as your Stewardess.
	<<set $slaves[_i].assignment to "be the Stewardess">>
	<<set $slaves[_i].assignmentVisible to 0>>

She will manage the Servants' Quarters.
	<<break>>
<</if>>
<</for>>
<<if ($Stewardess == 0)>>
	You have not selected a Stewardess.
<</if>>

''Appoint a Stewardess from your devoted slaves:''
<<include "Slave Summary">>

[[None|Stewardess Workaround][$Stewardess to 0]]
<</nobr>>


code:
:: Stewardess Workaround

<<for $i to 0; $i < $slaves.length; $i++>>
	<<if ($slaves[$i].assignment is "be the Stewardess") && ($slaves[$i].ID != $Stewardess.ID)>>
		<<set $slaves[$i].assignment to "rest">>
		<<set $slaves[$i].assignmentVisible to 1>>
		<<break>>
	<</if>>
	<</for>>

	<<for $i to 0; $i < $slaves.length; $i++>>
	<<if $Stewardess.ID == $slaves[$i].ID>>
		<<if $slaves[$i].ID is $personalAttention>>
		<<if $PC.career == "escort">>
		<<set $personalAttention to "whoring">>
		<<elseif $PC.career == "servant">>
		<<set $personalAttention to "upkeep">>
		<<else>>
		<<set $personalAttention to "business">>
		<</if>>
		<</if>>
		<<set $slaves[$i].assignment to "be the Stewardess">>
		<<if $slaves[$i].choosesOwnClothes == 1>><<include "SA chooses own clothes">><</if>>
		<<set $slaves[$i].assignmentVisible to 0>>
		<<set $slaves[$i].livingRules to "luxurious">>
		<<set $slaves[$i].sentence to 0>>
		<<if $slaves[$i].ID is $HeadGirl.ID>>
			<<set $HeadGirl to 0>>
		<</if>>
		<<if $slaves[$i].ID is $Recruiter.ID>>
			<<set $Recruiter to 0>>
		<</if>>
		<<if $slaves[$i].ID is $Bodyguard.ID>>
			<<set $Bodyguard to 0>>
		<</if>>
		<<break>>
	<</if>>
	<</for>>

<<goto "Servants' Quarters">>


code:
:: StoryCaption
\
<<set _Pass to passage()>>\
<<if _Pass is "Encyclopedia">>\
<<link [[($nextButton)|($nextLink)]]>><</link>>

''GLOSSARY''
[[Abusiveness|Encyclopedia][$encyclopedia to "Abusiveness"]]
[[Adores men|Encyclopedia][$encyclopedia to "Adores men"]]
[[Adores women|Encyclopedia][$encyclopedia to "Adores women"]]
[[Advertising|Encyclopedia][$encyclopedia to "Advertising"]]
[[Advocate|Encyclopedia][$encyclopedia to "Advocate"]]
[[Age (PC)|Encyclopedia][$encyclopedia to "PC Age"]]
[[Anal Addicts|Encyclopedia][$encyclopedia to "Anal Addicts"]]
[[Anal Skill|Encyclopedia][$encyclopedia to "Anal Skill"]]
[[Anorexic|Encyclopedia][$encyclopedia to "Anorexic"]]
[[Anuses|Encyclopedia][$encyclopedia to "Anuses"]]
[[Apathetic|Encyclopedia][$encyclopedia to "Apathetic"]]
[[Arabian Revivalism|Encyclopedia][$encyclopedia to "Arabian Revivalism"]]
[[Arcade|Encyclopedia][$encyclopedia to "Arcade"]]
[[Arrogant|Encyclopedia][$encyclopedia to "Arrogant"]]
[[Asset Expansionism|Encyclopedia][$encyclopedia to "Asset Expansionism"]]
[[Attendant|Encyclopedia][$encyclopedia to "Attendant"]]
[[Attending Classes|Encyclopedia][$encyclopedia to "Attending Classes"]]
[[Attention Whores|Encyclopedia][$encyclopedia to "Attention Whores"]]
[[Bitchy|Encyclopedia][$encyclopedia to "Bitchy"]]
[[Body (PC)|Encyclopedia][$encyclopedia to "PC Body"]]
[[Body Purism|Encyclopedia][$encyclopedia to "Body Purism"]]
[[Bodyguard|Encyclopedia][$encyclopedia to "Bodyguard"]]
[[Boob Fetishists|Encyclopedia][$encyclopedia to "Boob Fetishists"]]
[[Breast Obsession|Encyclopedia][$encyclopedia to "Breast Obsession"]]
[[Breasts|Encyclopedia][$encyclopedia to "Breasts"]]
[[Breeding Obsession|Encyclopedia][$encyclopedia to "Breeding Obsession"]]
[[Brothel|Encyclopedia][$encyclopedia to "Brothel"]]
[[Business|Encyclopedia][$encyclopedia to "Business"]]
[[Butts|Encyclopedia][$encyclopedia to "Butts"]]
[[Buttsluts|Encyclopedia][$encyclopedia to "Buttsluts"]]
[[Career Experience|Encyclopedia][$encyclopedia to "Career Experience"]]
[[Caring|Encyclopedia][$encyclopedia to "Caring"]]
[[Celebrity|Encyclopedia][$encyclopedia to "Celebrity"]]
[[Cellblock|Encyclopedia][$encyclopedia to "Cellblock"]]
[[Chattel Religionism|Encyclopedia][$encyclopedia to "Chattel Religionism"]]
[[Chinese Revivalism|Encyclopedia][$encyclopedia to "Chinese Revivalism"]]
[[Clinic|Encyclopedia][$encyclopedia to "Clinic"]]
[[Club|Encyclopedia][$encyclopedia to "Club"]]
[[Combat Skill|Encyclopedia][$encyclopedia to "Combat Skill"]]
[[Concubine|Encyclopedia][$encyclopedia to "Concubine"]]
[[Confident|Encyclopedia][$encyclopedia to "Confident"]]
[[Confinement|Encyclopedia][$encyclopedia to "Confinement"]]
[[Crude|Encyclopedia][$encyclopedia to "Crude"]]
[[Cum Addicts|Encyclopedia][$encyclopedia to "Cum Addicts"]]
[[Cumsluts|Encyclopedia][$encyclopedia to "Cumsluts"]]
[[Customization (PC)|Encyclopedia][$encyclopedia to "PC Customization"]]
[[Cutting|Encyclopedia][$encyclopedia to "Cutting"]]
[[Dairy|Encyclopedia][$encyclopedia to "Dairy"]]
[[Degradationism|Encyclopedia][$encyclopedia to "Degradationism"]]
[[Devotion|Encyclopedia][$encyclopedia to "Devotion"]]
[[Devout|Encyclopedia][$encyclopedia to "Devout"]]
[[DJ|Encyclopedia][$encyclopedia to "DJ"]]
[[Doms|Encyclopedia][$encyclopedia to "Doms"]]
[[Edo Revivalism|Encyclopedia][$encyclopedia to "Edo Revivalism"]]
[[Egyptian Revivalism|Encyclopedia][$encyclopedia to "Egyptian Revivalism"]]
[[Emotional Slut|Encyclopedia][$encyclopedia to "Emotional Slut"]]
[[Emotionally Bonded|Encyclopedia][$encyclopedia to "Emotionally Bonded"]]
[[Engineering|Encyclopedia][$encyclopedia to "Engineering"]]
[[Entertainment Skill|Encyclopedia][$encyclopedia to "Entertainment Skill"]]
[[Ethnic Subjugationism|Encyclopedia][$encyclopedia to "Ethnic Subjugationism"]]
[[Ethnic Supremacy|Encyclopedia][$encyclopedia to "Ethnic Supremacy"]]
[[Ethnicity|Encyclopedia][$encyclopedia to "Ethnicity"]]
[[Faces|Encyclopedia][$encyclopedia to "Faces"]]
[[Facilities|Encyclopedia][$encyclopedia to "Facilities"]]
[[Fitness|Encyclopedia][$encyclopedia to "Fitness"]]
[[Flaws|Encyclopedia][$encyclopedia to "Flaws"]]
[[Force|Encyclopedia][$encyclopedia to "Force"]]
[[Fucktoy|Encyclopedia][$encyclopedia to "Fucktoy"]]
[[Funny|Encyclopedia][$encyclopedia to "Funny"]]
[[Future Societies|Encyclopedia][$encyclopedia to "Future Societies"]]
[[Gagfuck Queen|Encyclopedia][$encyclopedia to "Gagfuck Queen"]]
[[Gender Fundamentalism|Encyclopedia][$encyclopedia to "Gender Fundamentalism"]]
[[Gender Radicalism|Encyclopedia][$encyclopedia to "Gender Radicalism"]]
[[Gingering|Encyclopedia][$encyclopedia to "Gingering"]]
[[Glory Hole|Encyclopedia][$encyclopedia to "Glory Hole"]]
[[Gluttonous|Encyclopedia][$encyclopedia to "Gluttonous"]]
[[Hard Work|Encyclopedia][$encyclopedia to "Hard Work"]]
[[Hates anal|Encyclopedia][$encyclopedia to "Hates anal"]]
[[Hates men|Encyclopedia][$encyclopedia to "Hates men"]]
[[Hates oral|Encyclopedia][$encyclopedia to "Hates oral"]]
[[Hates penetration|Encyclopedia][$encyclopedia to "Hates penetration"]]
[[Hates women|Encyclopedia][$encyclopedia to "Hates women"]]
[[Head Girl|Encyclopedia][$encyclopedia to "Head Girl"]]
[[Head Girl Suite|Encyclopedia][$encyclopedia to "Head Girl Suite"]]
[[Health|Encyclopedia][$encyclopedia to "Health"]]
[[Height|Encyclopedia][$encyclopedia to "Height"]]
[[Hormones (XX)|Encyclopedia][$encyclopedia to "Hormones (XX)"]]
[[Hormones (XY)|Encyclopedia][$encyclopedia to "Hormones (XY)"]]
[[Humiliation Fetishists|Encyclopedia][$encyclopedia to "Humiliation Fetishists"]]
[[Idealistic|Encyclopedia][$encyclopedia to "Idealistic"]]
[[Indentured Servants|Encyclopedia][$encyclopedia to "Indentured Servants"]]
[[Insecure|Encyclopedia][$encyclopedia to "Insecure"]]
[[Judgemental|Encyclopedia][$encyclopedia to "Judgemental"]]
[[Lactation|Encyclopedia][$encyclopedia to "Lactation"]]
[[Liberated|Encyclopedia][$encyclopedia to "Liberated"]]
[[Lips|Encyclopedia][$encyclopedia to "Lips"]]
[[Luck|Encyclopedia][$encyclopedia to "Luck"]]
[[Madam|Encyclopedia][$encyclopedia to "Madam"]]
[[Maliciousness|Encyclopedia][$encyclopedia to "Maliciousness"]]
[[Marine Terrain|Encyclopedia][$encyclopedia to "Marine Terrain"]]
[[Masochists|Encyclopedia][$encyclopedia to "Masochists"]]
[[Master Suite|Encyclopedia][$encyclopedia to "Master Suite"]]
[[Maturity Preferentialism|Encyclopedia][$encyclopedia to "Maturity Preferentialism"]]
[[Medicine|Encyclopedia][$encyclopedia to "Medicine"]]
[[Menial Slaves|Encyclopedia][$encyclopedia to "Menial Slaves"]]
[[Milking|Encyclopedia][$encyclopedia to "Milking"]]
[[Milkmaid|Encyclopedia][$encyclopedia to "Milkmaid"]]
[[Multiculturalism|Encyclopedia][$encyclopedia to "Multiculturalism"]]
[[Musculature|Encyclopedia][$encyclopedia to "Musculature"]]
[[Nipples|Encyclopedia][$encyclopedia to "Nipples"]]
[[Nurse|Encyclopedia][$encyclopedia to "Nurse"]]
[[Odd|Encyclopedia][$encyclopedia to "Odd"]]
[[Oral Skill|Encyclopedia][$encyclopedia to "Oral Skill"]]
[[Ovaries|Encyclopedia][$encyclopedia to "Ovaries"]]
[[Painal Queen|Encyclopedia][$encyclopedia to "Painal Queen"]]
[[Pastoralism|Encyclopedia][$encyclopedia to "Pastoralism"]]
[[Paternalism|Encyclopedia][$encyclopedia to "Paternalism"]]
[[Penises|Encyclopedia][$encyclopedia to "Penises"]]
[[Perverted|Encyclopedia][$encyclopedia to "Perverted"]]
[[Physical Idealism|Encyclopedia][$encyclopedia to "Physical Idealism"]]
[[Pit|Encyclopedia][$encyclopedia to "Pit"]]
[[PMC Work|Encyclopedia][$encyclopedia to "PMC Work"]]
[[Pregnancy|Encyclopedia][$encyclopedia to "Pregnancy"]]
[[Pregnancy Fetishists|Encyclopedia][$encyclopedia to "Pregnancy Fetishists"]]
[[Public Service|Encyclopedia][$encyclopedia to "Public Service"]]
[[Quirks|Encyclopedia][$encyclopedia to "Quirks"]]
[[Recruiter|Encyclopedia][$encyclopedia to "Recruiter"]]
[[Relationships|Encyclopedia][$encyclopedia to "Relationships"]]
[[Repressed|Encyclopedia][$encyclopedia to "Repressed"]]
[[Rest|Encyclopedia][$encyclopedia to "Rest"]]
[[Rivalries|Encyclopedia][$encyclopedia to "Rivalries"]]
[[Roman Revivalism|Encyclopedia][$encyclopedia to "Roman Revivalism"]]
[[Romances|Encyclopedia][$encyclopedia to "Romances"]]
[[Romantic|Encyclopedia][$encyclopedia to "Romantic"]]
[[Rural Terrain|Encyclopedia][$encyclopedia to "Rural Terrain"]]
[[Sadists|Encyclopedia][$encyclopedia to "Sadists"]]
[[Schoolroom|Encyclopedia][$encyclopedia to "Schoolroom"]]
[[Schoolteacher|Encyclopedia][$encyclopedia to "Schoolteacher"]]
[[Self Hatred|Encyclopedia][$encyclopedia to "Self Hatred"]]
[[Self Neglect|Encyclopedia][$encyclopedia to "Self Neglect"]]
[[Servants' Quarters|Encyclopedia][$encyclopedia to "Servants' Quarters"]]
[[Servitude|Encyclopedia][$encyclopedia to "Servitude"]]
[[Servitude, Sexual|Encyclopedia][$encyclopedia to "Sexual Servitude"]]
[[Shamefast|Encyclopedia][$encyclopedia to "Shamefast"]]
[[Sinful|Encyclopedia][$encyclopedia to "Sinful"]]
[[Size Queen|Encyclopedia][$encyclopedia to "Size Queen"]]
[[Skin Distinctions|Encyclopedia][$encyclopedia to "Skin Distinctions"]]
[[Slave Marriages|Encyclopedia][$encyclopedia to "Slave Marriages"]]
[[Slave Score (Attractiveness)|Encyclopedia][$encyclopedia to "Slave Score (Attractiveness)"]]
[[Slave Score (Sexual)|Encyclopedia][$encyclopedia to "Slave Score (Sexual)"]]
[[Slaveowner Marriages|Encyclopedia][$encyclopedia to "Slaveowner Marriages"]]
[[Slaving|Encyclopedia][$encyclopedia to "Slaving"]]
[[Slimness Enthusiasm|Encyclopedia][$encyclopedia to "Slimness Enthusiasm"]]
[[Social Engineering|Encyclopedia][$encyclopedia to "Social Engineering"]]
[[Spa|Encyclopedia][$encyclopedia to "Spa"]]
[[Stewardess|Encyclopedia][$encyclopedia to "Stewardess"]]
[[Strugglefuck Queen|Encyclopedia][$encyclopedia to "Strugglefuck Queen"]]
[[Submissives|Encyclopedia][$encyclopedia to "Submissives"]]
[[Tease|Encyclopedia][$encyclopedia to "Tease"]]
[[Teeth|Encyclopedia][$encyclopedia to "Teeth"]]
[[Testicles|Encyclopedia][$encyclopedia to "Testicles"]]
[[Transformation Fetishism|Encyclopedia][$encyclopedia to "Transformation Fetishism"]]
[[Trust|Encyclopedia][$encyclopedia to "Trust"]]
[[Unflinching|Encyclopedia][$encyclopedia to "Unflinching"]]
[[Urban Terrain|Encyclopedia][$encyclopedia to "Urban Terrain"]]
[[Vaginal Skill|Encyclopedia][$encyclopedia to "Vaginal Skill"]]
[[Vaginas|Encyclopedia][$encyclopedia to "Vaginas"]]
[[Variety|Encyclopedia][$encyclopedia to "Variety"]]
[[Wardeness|Encyclopedia][$encyclopedia to "Wardeness"]]
[[Wealth|Encyclopedia][$encyclopedia to "Wealth"]]
[[Weight|Encyclopedia][$encyclopedia to "Weight"]]
[[Whoring|Encyclopedia][$encyclopedia to "Whoring"]]
[[Whoring Skill|Encyclopedia][$encyclopedia to "Whoring Skill"]]
[[Youth Preferentialism|Encyclopedia][$encyclopedia to "Youth Preferentialism"]]
<<elseif _Pass is "Starting Girls">>\
This slave will cost @@color:yellowgreen;''<<slaveCost $activeSlave>>¤<<print $slaveCost>>.''@@

<<elseif $ui is "disclaimer">>\
<<link [[($nextButton)|($nextLink)]]>><</link>>
<<elseif $ui != "start">>\
<<nobr>>

/*
_Pass $nextLink
*/

<<if $cheatMode>>_Pass
<</if>>
''Week $week''

Week of $month $day, $year
<<if (_Pass is "Main") && ($cheatMode)>>
	<<set _TWeek to $week>>
	<<textbox "$week" $week>>
	<<link "Apply">>
	<<set $week = Math.trunc(Number($week) or _TWeek)>>
	<<if $week < 1>><<set $week to 1>><</if>>
	<<replace "#week">>''Week $week''<</replace>>
	<</link>>
<</if>>

<<if $weatherToday.severity == 1>>
	//@@color:cyan;$weatherToday.name@@//
<<elseif $weatherToday.severity is 2>>
	//@@color:yellow;$weatherToday.name@@//
<<elseif $weatherToday.severity is 3>>
	//@@color:orange;$weatherToday.name@@//
<<else>>
	//@@color:red;$weatherToday.name@@//
<</if>>

<<if $nextButton is "END WEEK">>
	<<link [[($nextButton)|($nextLink)]]>><</link>> @@color:cyan;[Ent]@@
<<else>>
	<<link [[($nextButton)|($nextLink)][$ui to "main"]]>><</link>> @@color:cyan;[Spa]@@
<</if>>

<<if _Pass is "Main">>
	<<link "Manage Arcology">><<set $nextButton to "Back", $nextLink to passage()>><<goto "Manage Arcology">><</link>> @@color:cyan;[C]@@
<</if>>

<<set $cash = Math.trunc($cash)>>

<<if $cash > 0>>
	@@color:yellowgreen;Cash@@
<<else>>
	__@@color:red;Cash@@__
<</if>>
| ''¤''$cash

<<if _Pass is "Main">>
	<<set _TCash2 to ($cash-$cashLastWeek)>>

	<<if _TCash2 < 0>>
		(@@color:red;_TCash2@@
	<<else>>
		(@@color:yellowgreen;+_TCash2@@
	<</if>>

	since last week)
	<<if ($cheatMode)>>
		<<set _TCash1 to $cash>>
		<<textbox "$cash" $cash>>
		<<link "Apply">>
		<<set $cash = Math.trunc(Number($cash) or _TCash1), $cheater to 1>>
		<<replace "#cash">>
		<<if $cash > 0>>
			@@color:yellowgreen;Cash@@
		<<else>>
			__@@color:red;Cash@@__
		<</if>>
		| ''¤''$cash
		<</replace>>
		<<set _TCash2 to ($cash-$cashLastWeek)>>
		<<replace "#oldcash">>
		<<if _TCash2 < 0>>
			(@@color:red;_TCash2@@
		<<else>>
			(@@color:yellowgreen;+_TCash2@@
		<</if>>
		<</replace>>
		since last week)
		<</link>>
	<</if>>

[[Upkeep|Costs Report]] |
<<else>>

Upkeep |
<</if>>¤$costs

@@color:pink;Total Sex Slaves@@ | $slaves.length

@@color:pink;Penthouse Beds@@ |
<<if $dormitoryPopulation+$roomsPopulation > ($dormitory+$rooms)>>@@color:red;<<print $dormitoryPopulation+$roomsPopulation>>@@<<else>><<print $dormitoryPopulation+$roomsPopulation>><</if>>/<<print ($dormitory+$rooms)>>

@@color:pink;Luxury Rooms@@ | <<print $roomsPopulation>>/<<print $rooms>>

@@color:yellowgreen;GSP@@ |
<<print Math.trunc(0.1*$arcologies[0].prosperity)>>m
<<if $arcologies[0].ownership >= $arcologies[0].minority>>
	<<if $arcologies[0].ownership >= $arcologies[0].minority+5>>
		(<<print $arcologies[0].ownership>>%)
	<<else>>
		@@color:yellow;(<<print $arcologies[0].ownership>>%)@@
	<</if>>
<<else>>
	@@color:red;(<<print $arcologies[0].ownership>>%)@@
<</if>>

@@color:green;Rep@@ |
<<set $rep to Math.clamp(Math.trunc($rep), 0, 20000)>>

<<if $rep > 19000>>
	@@color:rgb(0,145,0);worshipped@@
<<elseif $rep > 18000>>
	@@color:rgb(0,150,0);great@@
<<elseif $rep > 17000>>
	@@color:rgb(0,155,0);exalted@@
<<elseif $rep > 16000>>
	@@color:rgb(0,160,0);illustrious@@
<<elseif $rep > 15000>>
	@@color:rgb(0,165,0);prestigious@@
<<elseif $rep > 14000>>
	@@color:rgb(0,170,0);renowned@@
<<elseif $rep > 13000>>
	@@color:rgb(0,175,0);famed@@
<<elseif $rep > 12000>>
	@@color:rgb(0,180,0);celebrated@@
<<elseif $rep > 11000>>
	@@color:rgb(0,185,0);honored@@
<<elseif $rep > 10000>>
	@@color:rgb(0,190,0);acclaimed@@
<<elseif $rep > 9000>>
	@@color:rgb(0,195,0);eminent@@
<<elseif $rep > 8250>>
	@@color:rgb(0,200,0);prominent@@
<<elseif $rep > 7000>>
	@@color:rgb(0,205,0);distinguished@@
<<elseif $rep > 6750>>
	@@color:rgb(0,210,0);admired@@
<<elseif $rep > 6000>>
	@@color:rgb(0,215,0);esteemed@@
<<elseif $rep > 5250>>
	@@color:rgb(0,220,0);respected@@
<<elseif $rep > 4500>>
	@@color:rgb(0,225,0);known@@
<<elseif $rep > 3750>>
	@@color:rgb(0,230,0);recognized@@
<<elseif $rep > 3000>>
	@@color:rgb(0,235,0);rumored@@
<<elseif $rep > 2250>>
	@@color:rgb(0,240,0);envied@@
<<elseif $rep > 1500>>
	@@color:rgb(0,245,0);resented@@
<<elseif $rep > 750>>
	@@color:rgb(0,250,0);disliked@@
<<else>>
	@@color:rgb(0,255,0);unknown@@
<</if>>
($rep)

<<if (_Pass is "Main")>>
	<<if ($cheatMode)>>
	<<set _TRep to $rep>>
	<<textbox "$rep" $rep>>
	<<link "Apply">>
	<<set $rep to Math.clamp(Math.trunc(Number($rep) or _TRep), 0, 20000), $cheater to 1>>
	<<replace "#rep">>
	<<if $rep > 19000>>
		@@color:rgb(0,145,0);worshipped@@
	<<elseif $rep > 18000>>
		@@color:rgb(0,150,0);great@@
	<<elseif $rep > 17000>>
		@@color:rgb(0,155,0);exalted@@
	<<elseif $rep > 16000>>
		@@color:rgb(0,160,0);illustrious@@
	<<elseif $rep > 15000>>
		@@color:rgb(0,165,0);prestigious@@
	<<elseif $rep > 14000>>
		@@color:rgb(0,170,0);renowned@@
	<<elseif $rep > 13000>>
		@@color:rgb(0,175,0);famed@@
	<<elseif $rep > 12000>>
		@@color:rgb(0,180,0);celebrated@@
	<<elseif $rep > 11000>>
		@@color:rgb(0,185,0);honored@@
	<<elseif $rep > 10000>>
		@@color:rgb(0,190,0);acclaimed@@
	<<elseif $rep > 9000>>
		@@color:rgb(0,195,0);eminent@@
	<<elseif $rep > 8250>>
		@@color:rgb(0,200,0);prominent@@
	<<elseif $rep > 7000>>
		@@color:rgb(0,205,0);distinguished@@
	<<elseif $rep > 6750>>
		@@color:rgb(0,210,0);admired@@
	<<elseif $rep > 6000>>
		@@color:rgb(0,215,0);esteemed@@
	<<elseif $rep > 5250>>
		@@color:rgb(0,220,0);respected@@
	<<elseif $rep > 4500>>
		@@color:rgb(0,225,0);known@@
	<<elseif $rep > 3750>>
		@@color:rgb(0,230,0);recognized@@
	<<elseif $rep > 3000>>
		@@color:rgb(0,235,0);rumored@@
	<<elseif $rep > 2250>>
		@@color:rgb(0,240,0);envied@@
	<<elseif $rep > 1500>>
		@@color:rgb(0,245,0);resented@@
	<<elseif $rep > 750>>
		@@color:rgb(0,250,0);disliked@@
	<<else>>
		@@color:rgb(0,255,0);unknown@@
	<</if>>
	($rep)
	<</replace>>
	<</link>>
	<</if>>
	<<set $HGSuiteSlaves to 0, $brothelSlaves to 0, $clubSlaves to 0, $arcadeSlaves to 0, $dairySlaves to 0, $servantsQuartersSlaves to 0, $masterSuiteSlaves to 0, $schoolroomSlaves to 0, $spaSlaves to 0, $clinicSlaves to 0, $cellblockSlaves to 0>>
	<<for _i to 0;_i < $slaves.length;_i++>>
		<<switch $slaves[_i].assignment>>
		<<case "work in the dairy">>
			<<set $dairySlaves++>>
		<<case "work in the brothel">>
			<<set $brothelSlaves++>>
		<<case "be confined in the arcade">>
			<<set $arcadeSlaves++>>
		<<case "serve in the club">>
			<<set $clubSlaves++>>
		<<case "work as a servant">>
			<<set $servantsQuartersSlaves++>>
		<<case "serve in the master suite">>
			<<set $masterSuiteSlaves++>>
		<<case "rest in the spa">>
			<<set $spaSlaves++>>
		<<case "learn in the schoolroom">>
			<<set $schoolroomSlaves++>>
		<<case "get treatment in the clinic">>
			<<set $clinicSlaves++>>
		<<case "be confined in the cellblock">>
			<<set $cellblockSlaves++>>
		<<case "live with your Head Girl">>
			<<set $HGSuiteSlaves++>>
		<</switch>>
	<</for>>

	<<if ($HGSuite)>>

[[$HGSuiteNameCaps|Head Girl Suite]]
		<<if $HGSuiteSlaves>>
			<<if $abbreviateSidebar is 2>>
				($HGSuiteSlaves slave)
			<<else>>
				($HGSuiteSlaves)
			<</if>>
		<</if>>
	<</if>>
	<<if ($brothel)>>

[[$brothelNameCaps|Brothel]]
		<<if $abbreviateSidebar is 2>>
			($brothelSlaves/<<print $brothel>> whores<<if $Madam>>, madam<</if>>)
		<<else>>
			($brothelSlaves/<<print $brothel>><<if $Madam>>, L<</if>>)
		<</if>>
	<</if>>
	<<if ($club)>>

[[$clubNameCaps|Club]]
		<<if $abbreviateSidebar is 2>>
			($clubSlaves/<<print $club>> sluts<<if $DJ>>, DJ<</if>>)
		<<else>>
			($clubSlaves/<<print $club>><<if $DJ>>, L<</if>>)
		<</if>>
	<</if>>
	<<if ($arcade)>>

[[$arcadeNameCaps|Arcade]]
		<<if $abbreviateSidebar is 2>>
			($arcadeSlaves/<<print $arcade>> inmates)
		<<else>>
			($arcadeSlaves/<<print $arcade>>)
		<</if>>
	<</if>>
	<<if ($dairy)>>

[[$dairyNameCaps|Dairy]]
		<<set _SCapT to $bioreactorsXY+$bioreactorsXX+$bioreactorsHerm+$bioreactorsBarren>>
		<<if $abbreviateSidebar is 2>>
			($dairySlaves<<if _SCapT>>+_SCapT<</if>>/<<print $dairy>> cows<<if $Milkmaid>>, milkmaid<</if>>)
		<<else>>
			($dairySlaves<<if _SCapT>>+_SCapT<</if>>/<<print $dairy>><<if $Milkmaid>>, L<</if>>)
		<</if>>
	<</if>>
	<<if ($servantsQuarters)>>

[[$servantsQuartersNameCaps|Servants' Quarters]]
		<<if $abbreviateSidebar is 2>>
			($servantsQuartersSlaves/$servantsQuarters servants<<if $Stewardess>>, stewardess<</if>>)
		<<else>>
			($servantsQuartersSlaves/$servantsQuarters<<if $Stewardess>>, L<</if>>)
		<</if>>
	<</if>>
	<<if ($masterSuite)>>

[[$masterSuiteNameCaps|Master Suite]]
		<<if ($masterSuiteSlaves) || ($Concubine)>>
		<<if $abbreviateSidebar is 2>>
			($masterSuiteSlaves/$masterSuite fucktoys<<if $Concubine>>, Concubine<</if>>)
		<<else>>
			($masterSuiteSlaves/$masterSuite<<if $Concubine>>, C<</if>>)
		<</if>>
		<</if>>
	<</if>>
	<<if ($schoolroom)>>

[[$schoolroomNameCaps|Schoolroom]]
		<<if $abbreviateSidebar is 2>>
			($schoolroomSlaves/$schoolroom <<if $schoolroomSlaves neq 1>>students<<else>>student<</if>><<if $Schoolteacher>>, schoolteacher<</if>>)
		<<else>>
			($schoolroomSlaves/$schoolroom<<if $Schoolteacher>>, L<</if>>)
		<</if>>
	<</if>>
	<<if ($spa)>>

[[$spaNameCaps|Spa]]
		<<if $abbreviateSidebar is 2>>
			($spaSlaves/$spa <<if $spaSlaves neq 1>>bathers<<else>>bathing<</if>><<if $Attendant>>, attendant<</if>>)
		<<else>>
			($spaSlaves/$spa<<if $Attendant>>, L<</if>>)
		<</if>>
	<</if>>
	<<if ($clinic)>>

[[$clinicNameCaps|Clinic]]
		<<if $abbreviateSidebar is 2>>
			($clinicSlaves/$clinic <<if $clinicSlaves neq 1>>patients<<else>>patient<</if>><<if $Nurse>>, nurse<</if>>)
		<<else>>
			($clinicSlaves/$clinic<<if $Nurse>>, L<</if>>)
		<</if>>
	<</if>>
	<<if ($cellblock)>>

[[$cellblockNameCaps|Cellblock]]
		<<if $abbreviateSidebar is 2>>
			($cellblockSlaves/$cellblock <<if $cellblockSlaves neq 1>>prisoners<<else>>prisoner<</if>><<if $Wardeness>>, wardeness<</if>>)
		<<else>>
			($cellblockSlaves/$cellblock<<if $Wardeness>>, L<</if>>)
		<</if>>
	<</if>>
	<<if ($incubator)>>

[[$incubatorNameCaps|Incubator]]
		<<if $abbreviateSidebar is 2>>
			(<<if $incubator-$incubatorSlaves == 0>>No empty tanks<<elseif $incubator-$incubatorSlaves == 1>>1 empty tank<<else>><<print $incubator-$incubatorSlaves>> empty tanks<</if>>)
		<<else>>
			($incubatorSlaves/$incubator)
		<</if>>
	<</if>>
	<<if ($pit)>>

[[$pitNameCaps|Pit]]
		<<if $abbreviateSidebar is 2>>
			($fighterIDs.length <<if $fighterIDs.length neq 1>>combatants<<else>>combatant<</if>>)
		<<else>>
			($fighterIDs.length)
		<</if>>
	<</if>>
	<<if ($securityForceActive)>>

[[Barracks]]
	<</if>>

<<link "Options">><<set $nextButton to "Back", $nextLink to passage()>><<goto "Options">><</link>> @@color:cyan;[O]@@
<<elseif _Pass is "Manage Arcology">>

<<link "Manage Penthouse">><<set $nextButton to "Back", $nextLink to passage()>><<goto "Manage Penthouse">><</link>> @@color:cyan;[P]@@

<<link "Manage Personal Affairs">><<set $nextButton to "Back", $nextLink to passage()>><<goto "Manage Personal Affairs">><</link>> @@color:cyan;[A]@@

<<link [[Policies]]>><</link>> @@color:cyan;[Y]@@

	<<if $FSAnnounced>>
		<<link [[Future Societies|Future Society]]>><</link>> @@color:cyan;[F]@@
	<</if>>

<<link "Language options">><<set $seed to $language>><<goto "Change Language">><</link>> @@color:cyan;[L]@@

<<link [[Personal assistant options]]>><</link>> @@color:cyan;[T]@@

<<link [[Universal Rules]]>><</link>> @@color:cyan;[U]@@

<<link [[Wardrobe]]>><</link>> @@color:cyan;[W]@@

<<else>>

<</if>>
<</nobr>>
<</if>>\
<<nobr>>
<<if (_Pass is "Encyclopedia") || ($showEncyclopedia == 0) || ($encyclopedia is " ")>>

<<else>>
	//FCE:// [[$encyclopedia|Encyclopedia][$nextButton to "Back", $nextLink to _Pass]]
<</if>>
<</nobr>>\


code:
:: Subordinate Targeting [nobr]

<<set $nextButton to "Back">>
<<set $nextLink to "Slave Interact">>

<<set $displaySlave to $activeSlave>>

<<if $activeSlave.subTarget == $activeSlave.ID>>
	<<set $activeSlave.subTarget to 0>>
<</if>>
<<for _i to 0;_i < $slaves.length;_i++>>
<<if $activeSlave.subTarget == $slaves[_i].ID>>
	$activeSlave.slaveName will submit to ''__@@color:pink;$slaves[_i].slaveName@@__'' this week.
	<<break>>
<</if>>
<</for>>
<<if $activeSlave.subTarget == 0>>
	$activeSlave.slaveName has not been given to any particular slave, so she will have to offer herself to everyone this week.
	<<set $activeSlave.subTarget to 0>>
<</if>>

__Select a slave for her to submit to, sexually:__
<<include "Slave Summary">>

[[None|Subordinate Targeting][$activeSlave.subTarget to 0]]

<<set $activeSlave to $displaySlave>>
<<set $activeSlave.assignment to "be a subordinate slave">>


code:
:: Summary Options

<<nobr>>

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

<</nobr>>\
\
//These options will affect the short slave summaries that appear on the main menu and the facility management screens.//

<<nobr>>

<<if $lineSeparations == 0>>
	Line separations are @@color:red;HIDDEN.@@
	//[[Show|Summary Options][$lineSeparations to 1]]//
<<else>>
	Line separations are @@color:cyan;SHOWN.@@
	//[[Hide|Summary Options][$lineSeparations to 0]]//
<</if>>

<</nobr>>

<<nobr>>

<<if $sortSlavesBy is "name">>
	Slaves are sorted on the main menu by @@color:yellow;NAME.@@
<<elseif $sortSlavesBy is "seniority">>
	Slaves are sorted on the main menu by @@color:yellow;SENIORITY.@@
<<elseif $sortSlavesBy is "age">>
	Slaves are sorted on the main menu by @@color:yellow;AGE.@@
<<elseif $sortSlavesBy is "assignment">>
	Slaves are sorted on the main menu by @@color:yellow;ASSIGNMENT.@@
<<else>>
	Slaves are sorted on the main menu by @@color:yellow;DEVOTION.@@
<</if>>

//[[Devotion|Summary Options][$sortSlavesBy to "devotion"]] | [[Name|Summary Options][$sortSlavesBy to "name"]] | [[Assignment|Summary Options][$sortSlavesBy to "assignment"]] | [[Date purchased|Summary Options][$sortSlavesBy to "seniority"]] | [[Age|Summary Options][$sortSlavesBy to "age"]]//

<</nobr>>
<<nobr>>

<<if $sortSlavesOrder is "ascending">>
	Slaves are sorted in @@color:cyan;ASCENDING@@ order.
	//[[Sort descending|Summary Options][$sortSlavesOrder to "descending"]]//
<<else>>
	Slaves are sorted in @@color:red;DESCENDING@@ order.
	//[[Sort ascending|Summary Options][$sortSlavesOrder to "ascending"]]//
<</if>>

<</nobr>>
<<nobr>>

<<if $sortSlavesMain == 0>>
	Sort options are @@color:red;HIDDEN@@ on the main menu.
	//[[Show|Summary Options][$sortSlavesMain to 1]]//
<<else>>
	Sort options are @@color:cyan;SHOWN@@ on the main menu.
	//[[Hide|Summary Options][$sortSlavesMain to 0]]//
<</if>>

<</nobr>>
<<nobr>>

<<if $rulesAssistantMain == 0>>
	The rules assistant is @@color:red;HIDDEN.@@
	//[[Show|Summary Options][$rulesAssistantMain to 1]]//
<<else>>
	The rules assistant is @@color:cyan;SHOWN.@@
	//[[Hide|Summary Options][$rulesAssistantMain to 0]]//
<</if>>

<</nobr>>

<<nobr>>

Main menu assignment shortcuts are
<<if $displayAssignments == 1>>
	@@color:cyan;SHOWN.@@ //[[Hide|Summary Options][$displayAssignments to 0]]//
<<else>>
	@@color:red;HIDDEN.@@ //[[Show|Summary Options][$displayAssignments to 1]]//
<</if>>

<</nobr>>

<<nobr>>

Devotion is
<<if $abbreviateDevotion == 2>>
	@@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateDevotion to 0]] | [[Abbreviate|Summary Options][$abbreviateDevotion to 1]]//
<<elseif $abbreviateDevotion == 1>>
	@@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateDevotion to 0]] | [[Summarize|Summary Options][$abbreviateDevotion to 2]]//
<<else>>
	@@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateDevotion to 1]] | [[Summarize|Summary Options][$abbreviateDevotion to 2]]//
<</if>>

<</nobr>>
<<nobr>>

Rules are
<<if $abbreviateRules == 2>>
	@@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateRules to 0]] | [[Abbreviate|Summary Options][$abbreviateRules to 1]]//
<<elseif $abbreviateRules == 1>>
	@@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateRules to 0]] | [[Summarize|Summary Options][$abbreviateRules to 2]]//
<<else>>
	@@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateRules to 1]] | [[Summarize|Summary Options][$abbreviateRules to 2]]//
<</if>>

<</nobr>>
<<nobr>>

Health is
<<if $abbreviateHealth == 2>>
	@@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateHealth to 0]] | [[Abbreviate|Summary Options][$abbreviateHealth to 1]]//
<<elseif $abbreviateHealth == 1>>
	@@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateHealth to 0]] | [[Summarize|Summary Options][$abbreviateHealth to 2]]//
<<else>>
	@@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateHealth to 1]] | [[Summarize|Summary Options][$abbreviateHealth to 2]]//
<</if>>

<</nobr>>
<<nobr>>

Diet and weight are
<<if $abbreviateDiet == 2>>
	@@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateDiet to 0]] | [[Abbreviate|Summary Options][$abbreviateDiet to 1]]//
<<elseif $abbreviateDiet == 1>>
	@@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateDiet to 0]] | [[Summarize|Summary Options][$abbreviateDiet to 2]]//
<<else>>
	@@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateDiet to 1]] | [[Summarize|Summary Options][$abbreviateDiet to 2]]//
<</if>>

<</nobr>>
<<nobr>>

Drugs and addiction are
<<if $abbreviateDrugs == 2>>
	@@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateDrugs to 0]] | [[Abbreviate|Summary Options][$abbreviateDrugs to 1]]//
<<elseif $abbreviateDrugs == 1>>
	@@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateDrugs to 0]] | [[Summarize|Summary Options][$abbreviateDrugs to 2]]//
<<else>>
	@@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateDrugs to 1]] | [[Summarize|Summary Options][$abbreviateDrugs to 2]]//
<</if>>

<</nobr>>
<<nobr>>

Genitalia are
<<if $abbreviateGenitalia == 2>>
	@@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateGenitalia to 0]] | [[Abbreviate|Summary Options][$abbreviateGenitalia to 1]]//
<<elseif $abbreviateGenitalia == 1>>
	@@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateGenitalia to 0]] | [[Summarize|Summary Options][$abbreviateGenitalia to 2]]//
<<else>>
	@@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateGenitalia to 1]] | [[Summarize|Summary Options][$abbreviateGenitalia to 2]]//
<</if>>

<</nobr>>
<<nobr>>

Physical traits are
<<if $abbreviatePhysicals == 2>>
	@@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviatePhysicals to 0]] | [[Abbreviate|Summary Options][$abbreviatePhysicals to 1]]//
<<elseif $abbreviatePhysicals == 1>>
	@@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviatePhysicals to 0]] | [[Summarize|Summary Options][$abbreviatePhysicals to 2]]//
<<else>>
	@@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviatePhysicals to 1]] | [[Summarize|Summary Options][$abbreviatePhysicals to 2]]//
<</if>>

<</nobr>>
<<nobr>>

Skills are
<<if $abbreviateSkills == 2>>
	@@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateSkills to 0]] | [[Abbreviate|Summary Options][$abbreviateSkills to 1]]//
<<elseif $abbreviateSkills == 1>>
	@@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateSkills to 0]] | [[Summarize|Summary Options][$abbreviateSkills to 2]]//
<<else>>
	@@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateSkills to 1]] | [[Summarize|Summary Options][$abbreviateSkills to 2]]//
<</if>>

<</nobr>>
<<nobr>>

Mental attributes are
<<if $abbreviateMental == 2>>
	@@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateMental to 0]] | [[Abbreviate|Summary Options][$abbreviateMental to 1]]//
<<elseif $abbreviateMental == 1>>
	@@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateMental to 0]] | [[Summarize|Summary Options][$abbreviateMental to 2]]//
<<else>>
	@@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateMental to 1]] | [[Summarize|Summary Options][$abbreviateMental to 2]]//
<</if>>

<</nobr>>
<<nobr>>

Nationality is
<<if $abbreviateNationality == 2>>
	@@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateNationality to 0]] | [[Abbreviate|Summary Options][$abbreviateNationality to 1]] //
<<elseif $abbreviateNationality == 1>>
	@@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateNationality to 0]] | [[Summarize|Summary Options][$abbreviateNationality to 2]]//
<<else>>
	@@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateNationality to 1]] | [[Summarize|Summary Options][$abbreviateNationality to 2]]//
<</if>>

<</nobr>>
<<nobr>>

Race is
<<if $abbreviateRace == 2>>
	@@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateRace to 0]] | [[Abbreviate|Summary Options][$abbreviateRace to 1]]//
<<elseif $abbreviateRace == 1>>
	@@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateRace to 0]] | [[Summarize|Summary Options][$abbreviateRace to 2]]//
<<else>>
	@@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateRace to 1]] | [[Summarize|Summary Options][$abbreviateRace to 2]]//
<</if>>

<</nobr>>

<<nobr>>

Clothes are
<<if $abbreviateClothes == 2>>
	@@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateClothes to 0]]//
<<else>>
	@@color:red;HIDDEN.@@ //[[Summarize|Summary Options][$abbreviateClothes to 2]]//
<</if>>

<</nobr>>
<<nobr>>

Origins are
<<if $abbreviateOrigins == 2>>
	@@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateOrigins to 0]]//
<<else>>
	@@color:red;HIDDEN.@@ //[[Summarize|Summary Options][$abbreviateOrigins to 2]]//
<</if>>

<</nobr>>
<<nobr>>

Rules Assistant rulesets are
<<if $abbreviateRulesets == 2>>
	@@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateRulesets to 0]]//
<<else>>
	@@color:red;HIDDEN.@@ //[[Summarize|Summary Options][$abbreviateRulesets to 2]]//
<</if>>

<</nobr>>

<<nobr>>

Facilities in the sidebar are
<<if $abbreviateSidebar == 2>>
	@@color:cyan;SUMMARIZED.@@ //[[Abbreviate|Summary Options][$abbreviateSidebar to 1]]//
<<else>>
	@@color:yellow;ABBREVIATED.@@ //[[Summarize|Summary Options][$abbreviateSidebar to 2]]//
<</if>>

<</nobr>>

//[[FC Dev's preferred options|Summary Options][$seeDesk to 0, $seeFCNN to 0, $sortSlavesBy to "devotion",$sortSlavesOrder to "descending",$sortSlavesMain to 0,$rulesAssistantMain to 1,$abbreviateDevotion to 1,$abbreviateRules to 1,$abbreviateClothes to 2,$abbreviateHealth to 1,$abbreviateDiet to 1,$abbreviateDrugs to 1,$abbreviateRace to 1,$abbreviateGenitalia to 1,$abbreviatePhysicals to 1,$abbreviateSkills to 1,$abbreviateMental to 1,$abbreviateSidebar to 1]]//


code:
:: TFS Farm Upgrade [nobr]

<<set $nextButton to "Continue", $nextLink to "Scheduled Event">>
<<set $TFS.farmUpgradeAsked = $week>>

You receive yet another a personal call from an older Futanari Sister, one of the Sisters who lives in your arcology; you've given up trying to tell them apart. Unusually, this one has taken a break from the Sisters' constant sexual communion to concentrate on speaking with you, and she looks serious, though she's still a gorgeous naked futa whose boobs fill half the screen, and whose perpetually erect dick pokes insistently into frame. "<<print $PCName>>," she says
<<if ($PC.dick == 1) && ($PC.vagina == 1) && ($PC.boobs == 1)>>
	submissively, "I would like to beg a favor of you." She looks uncharacteristically uncomfortable, but steels herself and asks. "Please, may we use your organ farm? We're not... complete. Like you." She hugs herself unconsciously, her arms pressing her enormous breasts against her chest. "We... I... would like to be like you, and we
<<else>>
	politely, "I would like to ask a favor of you on behalf of myself and my Sisters." She looks less confident than the older Sisters usually do, but steels herself and asks. "May we use your organ farm? We would like to really complete our transformations. We
<</if>>
can pay for the costs of using it, but we have no other way of accessing such advanced technology."

"I know that you could demand thousands of credits," she continues, "but the discount we already give you is all we can afford without selling Sisters early.
<<if ($PC.dick == 1) && ($PC.vagina == 1) && ($PC.boobs == 1)>>
	I would pretend to be independent and offer you the choice of how we approach this, but you've already given us so much, and you're... so perfect. We'll do whatever you say. If you do give us this priceless gift, it's your decision
<<else>>
	All we have to offer for this priceless gift is your decision on an important question:
<</if>>
whether we will use contraception after we are transformed." She shudders suddenly, gripped by obscure emotion. "Not using contraception would be a hard change in some ways. But years later, there would be... more of us."

"Please forgive me for calling you, instead of asking you in person," she says penitently. "And please come down to see us, whatever you decide."

<<link "Permit them access, but tell them to use contraception">>
	<<replace "#result">>
		You signify your assent, telling the Sister that the organ farm will accept seed tissue from any of them for the purpose of fabricating ovaries. To your mild surprise, she responds by breaking down into cutely inelegant crying. You add that you think the Sisters are beautiful as they are, and recruits will continue to approach them; it's not necessary for them to go through the rigors of pregnancy. It takes her a long time to manage to thank to properly, and she hurries to end the call before she can embarrass herself further.
		<<set $TFS.farmUpgrade = 1>>
	<</replace>>
<</link>>

<<link "Permit them access, and encourage them to get pregnant">>
	<<replace "#result">>
		You signify your assent, telling the Sister that the organ farm will accept seed tissue from any of them for the purpose of fabricating ovaries. To your mild surprise, she responds with cutely inelegant crying. You add that you think the world needs more Futanari Sisters, especially ones as cute and sexy as you're confident her many daughters will be. At that, she breaks down completely, one of her hands going to rub her belly gently. It takes her a long time to manage to thank to properly, and she hurries to end the call before she can embarrass herself further.<<if $arcologies[0].FSRestartDecoration == 100>> The Societal Elite are @@color:red;outraged@@ that you would not only allow such a breach of eugenics to occur, but encourage it.<</if>>
		<<set $TFS.farmUpgrade = 2>>
		<<set $failedElite += 275>>
	<</replace>>
<</link>>

<<link "Decline">>
	<<replace "#result">>
		You decline. The Sister accepts your decision politely, but cannot hide her deep disappointment.
		<<set $TFS.farmUpgrade = -1>>
	<</replace>>
<</link>>


code:
:: The Slavegirl School

<<set $nextButton to "Back">>\
<<set $nextLink to "Buy Slaves">>\
<<set $returnTo to "Buy Slaves">>\
<<set $showEncyclopedia to 1>><<set $encyclopedia to "Slave Schools">>\
\
//The Slavegirl School is the newest slave school operating in the Free Cities. Its business model is to offer simpler, cheaper wares than its competitors. All Slavegirl School graduates are natural-born females without surgical modifications. Their training emphasizes elimination of any serious psychological deformities. They are promptly enslaved and sold as soon as they reach their majorities, and are marketed as complete virgins. <<if $TSS.schoolUpgrade != 0>>

You have endowed <<if $TSS.schoolUpgrade == 1>>an alternative college at The Slavegirl School, which focuses on retraining good MILF stock into mature slave girls.<<else>>an improvement in the simplistic school's approach that teaches good basic skills without losing too much efficiency.<</if>> As a major <<if $PC.title == 0>>benefactrix<<else>>benefactor<</if>> of the institution, you also receive a discount on them.<</if>>//

The Slavegirl School offers a fresh graduate for inspection via video call. The interview takes place in a faculty member's office. Absurdly, it's barely distinguishable from an office at any traditional institution of higher education. The only giveaway is the profusion of sex toys on the desk and the pornography on the walls.

<<nobr>>
<<if $TSS.schoolUpgrade == 1>>
	<<set $activeSlaveOneTimeMinAge to 36>>
<<else>>
	<<set $activeSlaveOneTimeMaxAge to 18>>
<</if>>
<<include "Generate XX Slave">>
<<set $activeSlave.career to "a slave">>
<<set $activeSlave.butt to either(1, 2, 2, 3)>>
<<set $activeSlave.boobs to either(200, 300, 300, 400)>>
<<if $TSS.schoolUpgrade == 1>>
	<<set $activeSlave.origin to "You bought her fresh from the new Slavegirl School after she was retrained as a slave girl.">>
	<<set $activeSlave.butt += 1>>
	<<set $activeSlave.boobs += 200>>
	<<set $activeSlave.anus to 1>>
	<<set $activeSlave.vagina to 1>>
<<else>>
	<<set $activeSlave.origin to "You bought her fresh from the Slavegirl School right after her majority.">>
	<<set $activeSlave.anus to 0>>
	<<set $activeSlave.vagina to 0>>
	<<set $activeSlave.birthWeek to 0>>
<</if>>
<<set $activeSlave.intelligenceImplant to 1>>
<<set $activeSlave.teeth to "normal">>
<<set $activeSlave.intelligence to either (-1, 0, 1, 2)>>
<<set $activeSlave.devotion = random(25,45)>>
<<set $activeSlave.trust = random(25,45)>>
<<set $activeSlave.health = random(50,60)>>
<<set $activeSlave.preg to 0>>
<<set $activeSlave.weight to 0>>
<<set $activeSlave.chem to 20>>
<<if $TSS.schoolUpgrade == 0>>
	<<set $activeSlave.vaginalSkill = 0>>
	<<set $activeSlave.oralSkill = 0>>
	<<set $activeSlave.analSkill = 0>>
	<<set $activeSlave.whoreSkill = 0>>
	<<set $activeSlave.entertainSkill = 15>>
<<else>>
	<<set $activeSlave.vaginalSkill = 15>>
	<<set $activeSlave.oralSkill = 15>>
	<<set $activeSlave.analSkill = 15>>
	<<set $activeSlave.whoreSkill = 15>>
	<<set $activeSlave.entertainSkill = 15>>
<</if>>
<<set $activeSlave.combatSkill = 0>>
<<set $activeSlave.pubicHStyle to "waxed">>
<<set $activeSlave.sexualFlaw to either("none")>>
<<set $activeSlave.behavioralFlaw to either("none")>>
<<set $activeSlave.hStyle to "tails">>
<<set $activeSlave.customTat to "She has the simple logo of the corporation that operates The Slavegirl School tattooed on her left cheek.">>
<<slaveCost $activeSlave>>
<<if $TSS.schoolSale != 0>>
	<<set $slaveCost = Math.trunc($slaveCost*0.5)>>
<<elseif $TSS.schoolUpgrade != 0>>
	<<set $slaveCost = Math.trunc($slaveCost*0.8)>>
<</if>>
<<if $slavesSeen > $slaveMarketLimit>><<set $slaveCost += Math.trunc($slaveCost*(($slavesSeen-$slaveMarketLimit)*0.1))>><</if>>
<</nobr>>\
\
The price is ¤<<print $slaveCost>>.<<if $slavesSeen > $slaveMarketLimit>> You have cast such a wide net for slaves this week that it is becoming more expensive to find more for sale. Your reputation helps determine your reach within the slave market.<</if>>
\
<<nobr>>
<<if $cash >= $slaveCost>>
	[[Buy her slave contract|New Slave Intro][$cash -= $slaveCost,$TSS.schoolSale to 0,$TSS.studentsBought += 1,$nextButton to "Continue",$nextLink to "AS Dump",$returnTo to "Main"]]
<<else>>
	//You lack the necessary funds to buy this slave.//
<</if>>
<</nobr>>
[[Request to see a different graduate of the same school|The Slavegirl School][$slavesSeen += 1]]

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


code:
:: Toychest [nobr]

//$slaves[$i].slaveName

<<if $slaves[$i].fuckdoll > 0>>
	is waiting for use nearby.
<<elseif $slaves[$i].fetish is "mindbroken">>
	is waiting dumbly nearby.
<<elseif $slaves[$i].devotion > 50>>
	<<if $slaves[$i].toyHole is "mouth">>
		has positioned herself nearby with her mouth conveniently <<if $PC.dick == 1>>at cock level<<else>>level with your pussy<</if>>.
	<<elseif $slaves[$i].toyHole is "boobs">>
		is kneeling nearby with her chest thrust out as far as it will go.
	<<elseif ($slaves[$i].toyHole is "pussy") && ($slaves[$i].amp != 1)>>
		is kneeling on the couch with legs apart to present her pussy.
	<<elseif $slaves[$i].toyHole is "pussy">>
		is lying on the couch with her pussy ready for you.
	<<elseif ($slaves[$i].toyHole is "ass") && ($slaves[$i].amp != 1)>>
		is lying on the couch with her legs up and back to present her butthole.
	<<elseif $slaves[$i].toyHole is "ass">>
		is lying on the couch with her butt ready for you.
		/*check*/
	<<elseif $slaves[$i].toyHole is "dick">>
		is lying on the couch with her dick at the ready for you.
	<<else>>
		is nearby, eagerly presenting herself.
	<</if>>
<<elseif $slaves[$i].trust < -20>>
	is waiting nearby in terror, hoping obedience will save her from punishment.
<<elseif $slaves[$i].devotion < -90>>
	is hogtied nearby for sexual abuse.
<<elseif $slaves[$i].devotion < -50>>
	is restrained nearby for sexual use.
<<elseif $slaves[$i].devotion < -20>>
	is unhappily waiting nearby for sexual use.
<<elseif $slaves[$i].devotion <= 20>>
	is obediently waiting nearby for sexual use.
<<elseif $slaves[$i].devotion <= 50>>
	has positioned herself nearby to offer you her body.
<</if>>

<<set $seed to random(1,100)>>
<<if $slaves[$i].fuckdoll > 0>>
	Its holes are, as always, available.
<<elseif $slaves[$i].fetish is "mindbroken">>
	She ignores her clothing, regarding it as an impediment to her purpose.
<<elseif ($slaves[$i].clothes is "attractive lingerie")>>
	Her nipples show invitingly through the holes in her white lace lingerie.
<<elseif ($slaves[$i].clothes is "shibari ropes")>>
	You've tied her shibari bindings so that she's forced to thrust out her chest.
<<elseif ($slaves[$i].clothes is "uncomfortable straps") && ($seed > 75)>>
	Her leather straps are forcing her to thrust out her tits.
<<elseif ($slaves[$i].clothes is "uncomfortable straps") && ($seed > 50)>>
	Her leather straps are uncomfortably pressing her breasts and asscrack.
<<elseif ($slaves[$i].clothes is "uncomfortable straps") && ($seed > 25)>>
	The rings in her leather straps over each nipple and hole make her look like a perfect fucktoy.
<<elseif ($slaves[$i].clothes is "uncomfortable straps")>>
	Her uncomfortable straps force her to constantly present her holes.
<<elseif ($slaves[$i].clothes is "restrictive latex") or ($slaves[$i].clothes is "a latex catsuit")>>
	Her complete suit of latex makes her a nice, artistic display, a plastic work of art in the shape of a female form.
<<elseif ($activeSlave.clothes is "a military uniform")>>
	Her uniformed presence lends your office the air of a military command center.
<<elseif ($activeSlave.clothes is "a mini skirt")>>
	Her flattering mini dress makes her the perfect office ornament for the modern captain of industry.
<<elseif ($activeSlave.clothes is "a nice nurse outfit")>>
	Her proper nurse's outfit gives the office a clinical air.
<<elseif ($slaves[$i].clothes is "a fallen nuns habit")>>
	Her latex parody of a nuns habit gives the office a sacrilegious air.
<<elseif ($slaves[$i].clothes is "a chattel habit")>>
	Her chattel habit makes the office look like what it is: the inner sanctum of a new and deeply sensual faith.
<<elseif ($slaves[$i].clothes is "a penitent nuns habit")>>
	Her sackcloth habit gives the office a somber air.
<<elseif ($slaves[$i].clothes is "attractive lingerie")>>
	She's wearing classy lingerie, making her an unusually refined ornament to the office.
<<elseif ($slaves[$i].clothes is "a succubus outfit")>>
	She's dressed to look like a succubus. There is a <<if $PC.title == 1>>demon in this office, and she serves him<<else>>demoness in this office, and she serves her<</if>>.
<<elseif ($slaves[$i].clothes is "a string bikini")>>
	She's wearing a string bikini, making her a sexy, enticing office ornament.
<<elseif ($slaves[$i].clothes is "attractive lingerie for a pregnant woman")>>
	Her breasts gently spill out of her slightly to small top.
	<<if $slaves[$i].lactation > 0>>
	  Her leaking nipples have rendered her top see-through.
	<</if>>
<<elseif ($slaves[$i].clothes is "a maternity dress")>>
	Her low cut dress reveals ample cleavage.
<<elseif ($slaves[$i].clothes is "a cheerleader outfit")>>
	She's wearing a slutty cheerleader outfit, making it look like she's here to fuck before team practice.
<<elseif ($slaves[$i].clothes is "clubslut netting")>>
	She's wearing slutty netting and headphones so she can dance to music without annoying visitors.
<<elseif ($slaves[$i].clothes is "cutoffs and a t-shirt")>>
	She's wearing cutoffs and a t-shirt, making her a fun, clean office ornament.
<<elseif ($slaves[$i].clothes is "a slutty nurse outfit")>>
	She's wearing a slutty nurse outfit, and looks more than ready to minister to any patient's needs.
<<elseif ($slaves[$i].clothes is "a schoolgirl outfit")>>
	She's wearing a slutty schoolgirl outfit, and looks ready to do whatever it takes to improve her grades.
<<elseif ($slaves[$i].clothes is "a kimono")>>
	She's wearing a kimono, lending your office an air of elegance, though she lacks some of the air of the true yamato nadeshiko.
<<elseif ($slaves[$i].clothes is "a slutty qipao")>>
	She's wearing a qipao, lending your office the elegance of an imperial court.
<<elseif ($slaves[$i].clothes is "a hijab and abaya")>>
	She's wearing a modest hijab and abaya, lending your office a certain air of conservatism.
<<elseif ($slaves[$i].clothes is "battledress")>>
	She's wearing skimpy battledress, making your office seem a little like the ideal bunker for a survivalist.
<<elseif ($slaves[$i].clothes is "a slutty outfit") && ($slaves[$i].actualAge < 21)>>
	She's wearing a schoolgirl uniform and sucking on hard candy, giving her a delectably youthful appearance.
<<elseif ($slaves[$i].clothes is "a slutty outfit") && ($slaves[$i].actualAge < 30)>>
	She's chosen to wear a slutty nurse outfit, and looks more than ready to minister to any patient's needs.
<<elseif ($slaves[$i].clothes is "a slutty outfit") && ($slaves[$i].actualAge < 40)>>
	She's wearing a schoolgirl uniform and sucking on hard candy, a delightfully perverse outfit for a slave in her thirties.
<<elseif ($slaves[$i].clothes is "a slutty outfit")>>
	She's wearing a wifely apron that covers her front, but leaves her backside bare, an appropriate outfit for a slave in her forties.
<<elseif ($slaves[$i].clothes is "a halter top dress")>>
	The gorgeous halter top dress she's wearing is almost a work of art.
<<elseif ($slaves[$i].clothes is "a ball gown")>>
	The fabulous silken ball gown she's wearing lifts the entire atmosphere.
<<elseif ($slaves[$i].clothes is "a slave gown")>>
	The gorgeous gown she's wearing lends an air of class to the office.
<<elseif ($slaves[$i].clothes is "slutty business attire")>>
	The suit she's wearing would make it look like she's here to do business, if not for the extreme shortness of the skirt and her acre of cleavage.
<<elseif ($slaves[$i].clothes is "nice business attire")>>
	The suit she's wearing makes it look like she's here to do business, not fuck.
<<elseif ($slaves[$i].clothes is "a comfortable bodysuit")>>
	The bodysuit she's wearing displays her every fuckable curve.
<<elseif ($slaves[$i].clothes is "a leotard")>>
	The leotard she's wearing is tight enough to advertise every detail.
<<elseif ($slaves[$i].clothes is "a bunny outfit")>>
	The bunny outfit she's wearing makes her look ready to serve drinks and suck dick.
<<elseif ($slaves[$i].clothes is "a slutty maid outfit")>>
	Her maid outfit makes her look useful and sexually easy.
<<elseif ($slaves[$i].clothes is "a nice maid outfit")>>
	Her maid outfit makes her servitude obvious while not looking too lewd.
<<elseif ($slaves[$i].clothes is "harem gauze")>>
	Her harem girl outfit lends her corner of your office an Eastern opulence.
<<elseif ($slaves[$i].clothes is "slutty jewelry")>>
	The bangles she's wearing make little noises every time she moves, serving as a constant reminder of her sexual availability.
<<elseif ($activeSlave.clothes is "conservative clothing")>>
	Her clothes make it look like she's here for some other purpose than sexual slavery.
<<elseif ($activeSlave.clothes is "chains")>>
	Her chains make it obvious that she's here as an office sex toy.
<<elseif ($activeSlave.clothes is "Western clothing")>>
	Her Western clothing is comically out of place in a modern office.
<<elseif ($activeSlave.clothes is "body oil")>>
	Her body oil makes her muscles a lovely ornament to the office, and makes all her holes nice and inviting.
<<elseif ($activeSlave.clothes is "a toga")>>
	Her toga lends an air of antiquity to the office.
<<elseif ($activeSlave.clothes is "a slutty qipao")>>
	Her lovely qipao is a delicious contradiction of conservative silk patterns and scandalously high cuts.
<<elseif ($slaves[$i].vaginalAccessory is "chastity belt")>>
	Her chastity belt covers and protects her, but leaves her breasts naked, her mouth available, and her asshole vulnerable.
<<elseif ($slaves[$i].vaginalAccessory is "anal chastity")>>
	Her chastity belt covers and protects her anus, but leaves her breasts naked, her mouth available, and her pussy vulnerable.
<<elseif ($slaves[$i].vaginalAccessory is "combined chastity")>>
	Her chastity belt covers and protects both her vagina and anus, but leaves her breasts naked and her mouth available.
<<else>>
	She's nude and ready to be fucked.
<</if>>//


code:
:: Twins Workaround

Your new pair of slaves look frightened and uncertain, but seem encouraged by each other's presence.

<<AddSlave $activeSlave>>

<<set _secondSlave to clone($activeSlave)>>
<<unset $activeSlave>>
<<NationalityToName _secondSlave>>
<<NationalityToAccent _secondSlave>>

<<set _secondSlave.ID to _secondSlave.ID + 1000>>
<<if $familyTesting == 0>>
<<set _secondSlave.relation to "twin">>
<<set _secondSlave.relationTarget to _secondSlave.ID - 1000>>
<</if>>

<<AddSlave _secondSlave>>


code:
:: Universal Rules [nobr]

__Universal rules__

<<set $nextButton to "Back">>
<<set $nextLink to "Manage Arcology">>

<<if $universalRulesRest == 0>>
	Slaves will ''remain on assignment'' when unhealthy. [[Allow automatic rest when unhealthy|Universal Rules][$universalRulesRest to 1]]
<<else>>
	Slaves will ''automatically rest'' at $assistantName's discretion when unhealthy. [[Require all slaves to stay on assignment|Universal Rules][$universalRulesRest to 0]]
<</if>>

<<if $universalRulesConsent == 0>>
	Slaves are ''not required'' to get consent before fucking other slaves. [[Restrain slave on slave molestation|Universal Rules][$universalRulesConsent to 1]]
<<else>>
	Slaves are ''generally required'' to get consent before fucking other slaves. [[Encourage slave on slave molestation|Universal Rules][$universalRulesConsent to 0]]
<</if>>

Slave nicknames are
<<if ($nicknamesAllowed == 0)>>
@@color:red;FORBIDDEN@@. [[Allow|Universal Rules][$nicknamesAllowed to 1]]
<<else>>
@@color:cyan;ALLOWED@@. [[Forbid|Universal Rules][$nicknamesAllowed to 0]]
<</if>>

Slave requests for body mods are
<<if ($modRequestsAllowed == 0)>>
@@color:red;FORBIDDEN@@. [[Allow|Universal Rules][$modRequestsAllowed to 1]]
<<else>>
@@color:cyan;ALLOWED@@. [[Forbid|Universal Rules][$modRequestsAllowed to 0]]
<</if>>

Slave requests for growth hormones are
<<if ($expansionRequestsAllowed == 0)>>
@@color:red;FORBIDDEN@@. [[Allow|Universal Rules][$expansionRequestsAllowed to 1]]
<<else>>
@@color:cyan;ALLOWED@@. [[Forbid|Universal Rules][$expansionRequestsAllowed to 0]]
<</if>>

<<if $FSAnnounced > 0>>

<<if ($useFSNames == 0)>>
Future society names for new slaves are currently @@color:red;NOT APPLIED@@. [[Apply|Universal Rules][$useFSNames to 1]]
<<else>>
Future society names for new slaves are currently @@color:cyan;APPLIED@@. [[Stop applying|Universal Rules][$useFSNames to 0]]
<</if>>
<</if>>

<<if $brothel+$club+$dairy+$servantsQuarters+$collectionFacility+$arcade+$schoolroom+$spa+$clinic+$masterSuite+$cellblock > 0>>

<<if $universalRulesFacilityWork == 0>>
	Slaves ''will not'' cooperate with staffed facilities to improve their performance. [[Allow cooperation|Universal Rules][$universalRulesFacilityWork to 1]]
<<else>>
	Slaves ''will'' cooperate with staffed facilities to improve their performance. [[Stop cooperation|Universal Rules][$universalRulesFacilityWork to 0]]
<</if>>
<</if>>

<<if $universalRulesNewSlavesRA == 0>>
	The Rules Assistant ''will not apply'' automatically to newly acquired slaves. [[Apply to new slaves|Universal Rules][$universalRulesNewSlavesRA to 1]]
<<else>>
	The Rules Assistant ''will apply'' automatically to newly acquired slaves [[Stop applying to new slaves|Universal Rules][$universalRulesNewSlavesRA to 0]]
<</if>>

<<if $seeDicks != 100>>

<<if $universalRulesImpregnation is "HG">>
	Fertile slaves will be ''systematically impregnated by your Head Girl,'' if she is able to do so. [[Cancel insemination regime|Universal Rules][($universalRulesImpregnation to "none"),($universalHGImpregnateMasterSuiteToggle to 0)]]<<if $PC.dick > 0>> | [[Inseminate them yourself|Universal Rules][($universalRulesImpregnation to "PC"),($universalHGImpregnateMasterSuiteToggle to 0)]]<</if>>

	<<if $universalHGImpregnateMasterSuiteToggle == 1>>
		Your head girl, if able, ''is not'' inseminating slaves in the Master Suite. [[Allow her to inseminate Master Suite slaves|Universal Rules][$universalHGImpregnateMasterSuiteToggle to 0]]
	<<else>>
		Your head girl, if able, ''is'' inseminating slaves in the Master Suite. [[Forbid her from inseminating Master Suite slaves|Universal Rules][$universalHGImpregnateMasterSuiteToggle to 1]]
	<</if>>
<<elseif $universalRulesImpregnation is "PC">>
	Fertile slaves will be ''systematically impregnated by you.'' [[Cancel insemination regime|Universal Rules][$universalRulesImpregnation to "none"]]<<if $seeDicks != 0>> | [[Delegate insemination to your Head Girl|Universal Rules][$universalRulesImpregnation to "HG"]]<</if>>
<<else>>
	Fertile slaves will ''not be systematically impregnated.'' <<if $PC.dick > 0>>[[Inseminate them yourself|Universal Rules][$universalRulesImpregnation to "PC"]]<</if>><<if ($PC.dick > 0) && ($seeDicks != 0)>> | <</if>><<if $seeDicks != 0>>[[Delegate insemination to your Head Girl|Universal Rules][$universalRulesImpregnation to "HG"]]<</if>>
<</if>>

<<if $universalRulesBirthing == 1>>
	Heavily pregnant slaves will be ''scanned daily'' for signs of labor and moved to a birthing area immediately if any are detected.
	[[Stop scanning|Universal Rules][$universalRulesBirthing to 0]]
<<else>>
	Heavily pregnant slaves will be ''required to work'' right up until they feel contractions.
	[[Apply daily scanning|Universal Rules][$universalRulesBirthing to 1]]

	//This will increase upkeep costs for these slaves//
<</if>>

<<if $universalRulesBirthing == 1>>

<<if $universalRulesCSec == 1>>
	Pregnant slaves will be ''given Caesarean sections'' rather than allowed to give birth naturally in order to minimize health issues and to preserve their vaginas.
	[[Only perform c-sections when necessary|Universal Rules][$universalRulesCSec to 0]]
<<else>>
	Pregnant slaves will ''give birth naturally'' unless health issues pose a threat.
	[[Always perform c-sections|Universal Rules][$universalRulesCSec to 1]]

	//Will lessen medical costs, at the expense of scarring//
<</if>>
<</if>>

<</if>>

<<if $dojo > 0>>

<<if $bodyguardTrains == 0>>
	Your Bodyguard ''is not allowed'' to train potential successors. [[Allow training|Universal Rules][$bodyguardTrains to 1]]
<<else>>
	Your Bodyguard ''is allowed'' to train potential successors. [[Stop training|Universal Rules][$bodyguardTrains to 0]]
<</if>>
<</if>>


code:
:: Use Guard

<<nobr>>
//

$slaves[$i].slaveName is standing behind your left shoulder, guarding your person.

<<set $seed to random(1,100)>>
<<if ($slaves[$i].clothes is "attractive lingerie")>>
	Her lacy lingerie contrasts with her deadly weaponry.
<<elseif ($slaves[$i].clothes is "a succubus outfit")>>
	Her succubus outfit and impressive weapons make her look like a character from an overwrought graphic novel.
<<elseif ($slaves[$i].clothes is "uncomfortable straps")>>
	Her uncomfortable straps make her look like a classical slave warrior.
<<elseif ($slaves[$i].clothes is "shibari ropes")>>
	Her shibari ropes make her look like an insane slave fighter.
<<elseif ($slaves[$i].clothes is "restrictive latex") or ($slaves[$i].clothes is "a latex catsuit")>>
	Her complete suit of latex gives her a beautiful yet intimidating appearance.
<<elseif ($slaves[$i].clothes is "a nice nurse outfit")>>
	Her practical nurse's outfit make her weapons look like surgical instruments of death.
<<elseif ($slaves[$i].clothes is "a military uniform")>>
	Her military uniform is most befitting of an honor guard.
<<elseif ($slaves[$i].clothes is "a mini dress")>>
	Her revealing mini dress and elegant weapons make her look sexy, yet deadly.
<<elseif ($slaves[$i].clothes is "clubslut netting")>>
	Her club netting's slutty appearance clashes amusingly with her deadly weapons.
<<elseif ($slaves[$i].clothes is "a string bikini")>>
	Her string bikini's flirty appearance clashes amusingly with her deadly weapons.
<<elseif ($slaves[$i].clothes is "cutoffs and a t-shirt")>>
	Her t-shirt's fun appearance clashes amusingly with her deadly weapons.
<<elseif ($slaves[$i].clothes is "a slutty outfit") && ($slaves[$i].actualAge < 21)>>
	She's wearing a schoolgirl uniform and sucking on hard candy, making her look like a character from a kung-fu film.
<<elseif ($slaves[$i].clothes is "a slutty outfit") && ($slaves[$i].actualAge < 30)>>
	She's chosen to wear a catsuit, and looks like a fictional heroine.
<<elseif ($slaves[$i].clothes is "a slutty outfit") && ($slaves[$i].actualAge < 40)>>
	She's wearing a schoolgirl uniform and sucking on hard candy, making her look like a character from a kung-fu film.
<<elseif ($slaves[$i].clothes is "a slutty outfit")>>
	She's wearing a wifely dress, creating a discordant effect with her weapons.
<<elseif ($slaves[$i].clothes is "a cheerleader outfit")>>
	She's wearing a cheerleader uniform, creating an amusing effect with her weapons.
<<elseif ($slaves[$i].clothes is "attractive lingerie for a pregnant woman")>>
	Her silky lingerie contrasts with her deadly weaponry.
<<elseif ($slaves[$i].clothes is "a maternity dress")>>
	Her loose dress gives her plenty of places to conceal weaponry.
<<elseif ($slaves[$i].clothes is "a slave gown")>>
	Her gorgeous gown and elegant weapons make her look refined, yet deadly.
<<elseif ($slaves[$i].clothes is "a halter top dress")>>
	Her beautiful halter top dress and elegant weapons make her look refined, yet deadly.
<<elseif ($slaves[$i].clothes is "a ball gown")>>
	Her fabulous silken ball gown and elegant weapons make her look refined, yet deadly.
<<elseif ($slaves[$i].clothes is "a nice maid outfit")>>
	Her pretty maid outfit and weapons make her look like a character from an animated movie.
<<elseif ($slaves[$i].clothes is "a slutty maid outfit")>>
	Her slutty maid outfit and weapons make her look like a character from an exploitation film.
<<elseif ($slaves[$i].clothes is "cutoffs and a t-shirt")>>
	Her relaxed clothing clashes with her weaponry, making her look like she's planning to kill someone and then have a relaxing day off.
<<elseif ($slaves[$i].clothes is "harem gauze")>>
	Her weapons pin her sheer gauze down over her body, putting everything on lewd display.
<<elseif ($slaves[$i].clothes is "a fallen nuns habit")>>
	Her sacrilegious getup and weapons make her look like a sinner's fantasy.
<<elseif ($slaves[$i].clothes is "a chattel habit")>>
	Her chattel habit and weapons make her role as a defender of the new faith instantly obvious.
<<elseif ($slaves[$i].clothes is "a penitent nuns habit")>>
	Her somber habit and weapons make her look like a member of a militant order.
<<elseif ($slaves[$i].clothes is "slutty business attire")>>
	Her slutty business suit and weapons give her the look a supervillain's sidekick.
<<elseif ($slaves[$i].clothes is "nice business attire")>>
	Her business suit and weapons give her the look of a finely honed corporate instrument.
<<elseif ($slaves[$i].clothes is "conservative clothing")>>
	Her casual, conservative clothes and weapons make her look like a normal old world security contractrix.
<<elseif ($slaves[$i].clothes is "a comfortable bodysuit")>>
	Her bodysuit and weapons make her look like an action movie heroine.
<<elseif ($slaves[$i].clothes is "a leotard")>>
	Her leotard and weapons make her look like the heroine of an old exploitation film.
<<elseif ($slaves[$i].clothes is "a bunny outfit")>>
	Her bunny outfit and weapons make her look like the henchwoman of a villain from a cheesy vintage spy film.
<<elseif ($slaves[$i].clothes is "a slutty nurse outfit")>>
	Between her nurse outfit and her weapons she looks prepared to do harm, and then to heal it.
<<elseif ($slaves[$i].clothes is "a schoolgirl outfit")>>
	This schoolgirl is well armed, bringing to mind more than one farcical action film.
<<elseif ($slaves[$i].clothes is "a kimono")>>
	Her kimono has discreet cuts that allow her to fight reasonably well in it if necessary, and are almost invisible when she stands straight.
<<elseif ($slaves[$i].clothes is "a slutty qipao")>>
	Her qipao and weapons make her look like a character from a fighting game.
<<elseif ($slaves[$i].clothes is "a hijab and abaya")>>
	Her weapons are strapped to the outside of her abaya, a juxtaposition that would be more ludicrous had not many women of the middle east recently been seen fighting dressed in just this way.
<<elseif ($slaves[$i].clothes is "battledress")>>
	Though her battledress top is just a tank top, she still skirts the edge of looking more like a Free Cities mercenary than a Free Cities sex slave.
<<elseif ($slaves[$i].clothes is "slutty jewelry")>>
	The bangles she's wearing are complemented by the straps that mount her weapons to her otherwise naked body.
<<elseif ($slaves[$i].vaginalAccessory is "chastity belt")>>
	Her chastity belt covers and protects her, just as her weapons cover and protect you.
<<else>>
	She is nude except for her armament.
<</if>>

//
<</nobr>>\