code:
:: Spa [nobr]

<<set $nextButton = "Back to Main", $nextLink = "Main", $returnTo = "Spa", $showEncyclopedia = 1, $encyclopedia = "Spa", $spaSlaves = $SpaiIDs.length>>

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

$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 = 0, $spaDecoration = "standard", $spaUpgrade = 0, $spaFix = 0]]
<</if>>

<<set _Tmult0 = Math.trunc($spa*1000*$upgradeMultiplierArcology)>>

$spaNameCaps has rooms to house slaves while they recuperate here. They can support $spa slaves.
[[Expand the spa|Spa][$cash -= _Tmult0, $spa += 5]] //Costs ¤_Tmult0//

<<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>>
	<<set _Tmult1 = Math.trunc($spa*1000*$upgradeMultiplierArcology)>>
	$spaNameCaps is a standard spa. [[Upgrade the spa with saunas, steam rooms, and mineral water baths|Spa][$cash -= _Tmult1, $spaUpgrade = 1]] //Costs ¤_Tmult1//
<</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 = 1]] |
	[[Let her tend as she sees fit|Spa][$spaFix = 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 = 2]] |
	[[Let her tend as she sees fit|Spa][$spaFix = 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 = 2]] |
	[[Order her to only fix mindbroken slaves|Spa][$spaFix = 1]]
<</if>>
<</if>>

<<if $Attendant != 0>>
	<<set $Flag = 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 = 1>>
	<<include "Slave Summary">>
<</if>>

<<if ($spa <= $spaSlaves)>>

''$spaNameCaps is full and cannot hold any more slaves''
<<elseif ($slaves.length > $spaSlaves)>>

''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//


code:
:: Spa Report [nobr]

<<set _flawSoftened = 0, _healthBonus = 0, _idleBonus = 0, _restedSlaves = 0, _trustBonus = 0, _DL = $SpaiIDs.length, $spaSlaves = _DL, _SL = $slaves.length, _FLs = -1>>

<<for _dI = 0; _dI < _DL; _dI++>>
<<set _i = $SpaiIDs[_dI].Index, _ID = $SpaiIDs[_dI].ID>>
<<if _ID != $slaves[_i].ID>>
	/% Slaves.ID and $SpaiIDs.ID's don't match-up so let's find her %/
	<<for _i = 0; _i < _SL; _i++>>
	<<if _ID == $slaves[_i].ID>>
		/% Correct the Index %/
		<<set $SpaiIDs[_dI].Index = _i>>
	<</if>>
	<</for>>
<</if>>
<</for>>
<<SlaveSort $SpaiIDs>>

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

<<if $Attendant != 0>>
	<<for _FLs = 0; _FLs < _SL; _FLs++>>
	<<if $slaves[_FLs].ID == $Attendant.ID>>
		<<break>>
	<</if>>
	<</for>>
	<<if ($slaves[_FLs].health < 100)>>
	<<set $slaves[_FLs].health += 20>>
	<</if>>
	<<if ($slaves[_FLs].devotion <= 60)>>
	<<set $slaves[_FLs].devotion++>>
	<</if>>
	<<if $slaves[_FLs].trust < 60>>
	<<set $slaves[_FLs].trust++>>
	<</if>>
	<<set _FLsFetish = 0>>
	<<if $slaves[_FLs].fetishStrength <= 95>>
	<<if $slaves[_FLs].fetish != "submissive">>
		<<fetishChangeChance $slaves[_FLs]>>
		<<if $fetishChangeChance > random(0,100)>>
			<<set _FLsFetish = 1, $slaves[_FLs].fetishKnown = 1, $slaves[_FLs].fetish = "submissive">>
		<</if>>
	<<elseif $slaves[_FLs].fetishKnown == 0>>
		<<set _FLsFetish = 1, $slaves[_FLs].fetishKnown = 1>>
	<<else>>
		<<set _FLsFetish = 2, $slaves[_FLs].fetishStrength += 4>>
	<</if>>
	<</if>>
	<<set $slaves[_FLs].devotion += _devBonus>>
	<<set $Attendant = $slaves[_FLs], $i = _FLs>>
	<<if ($Attendant.fetish == "none") || ($Attendant.fetish == "submissive")>>
		<<set _devBonus++>>
	<</if>>
	<<if $attendantCareers.includes($Attendant.career)>>
		<<set _bonusToggle = 1>>
	<<else>>
		<<set _bonusToggle = 0>>
	<</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 (_FLsFetish == 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 (_FLsFetish == 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.includes($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 _healthBonus++, _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++, _healthBonus++>>
	<</if>>
	<<if $spaSlaves > 0>>
		<<set _attendantUsedCure = 0>>
	<<for _dI = 0; _dI < _DL; _dI++>>
	<<set _i = $SpaiIDs[_dI].Index>>
	<<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 _bonusToggle == 1 && $slaves[_i].trust < 60>>
		<<set $slaves[_i].trust++, _seed = 10>>
	<</if>>
	<<if ($Attendant.intelligence > 0) && (_attendantUsedCure == 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", _attendantUsedCure = 1>>
		<</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", _attendantUsedCure = 1>>
		<</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[_FLs].rivalry++, $slaves[_i].rivalry++>>
		<</if>>
	<</if>>
	<<switch $slaves[_i].prestigeDesc>>
	<<case "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>>
	<<case "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>>
	<<case "She is remembered for winning best in show as a cockmilker.">>
		<<if $Attendant.fetish == "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 $Attendant.fetishStrength += 4, $slaves[_FLs].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.
			<<if random(1,100) > 65 && $Attendant.fetish == "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[_FLs].fetish = "cumslut">>
			<</if>>
		<</if>>
		<<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>>
	<<case "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 $Attendant.fetishStrength += 4, $slaves[_FLs].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.
			<<if $Attendant.fetish == "none" && random(1,100) > 65>>
			After multiple milking sessions, $Attendant.slaveName begins to find herself fantasizing about having giant milky breasts too.
			<<set $Attendant.fetish = "boobs", $slaves[_FLs].fetish = "boobs">>
			<</if>>
		<</if>>
		<<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>>
	<<case "She is remembered for winning best in show as a breeder.">>
		<<if $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 $Attendant.fetishStrength += 4, $slaves[_FLs].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.
			<<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[_FLs].fetish to "pregnancy">>
			<</if>>
			<</if>>
			<<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>>
		<<else>>
			<<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>>
	<</switch>>
	<</for>>
	<</if>>
	<<if ($spaSlaves < $spa)>>
		<<set _seed = 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>>
<</if>>

<<if ($spaSlaves > 0)>>
	    <<if ($spaSlaves > 1)>>''There are $spaSlaves slaves resting and recuperating in the spa.''<<else>>''There is one slave resting and recuperating in the spa.''<</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>>
	<<if $showEWD != 0>>

		/* 000-250-006 */
		<<if $seeImages == 1 && $imageChoice == 0>>

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

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

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

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

<<if $spaSlaves > 0>>
<<for _dI = 0; _dI < _DL; _dI++>>
	<<set _i = $SpaiIDs[_dI].Index, $i = _i>>
	<<set $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++, $slaves[_i].trust++>>
	<<elseif ($slaves[_i].devotion < 40)>>
	<<set $slaves[_i].devotion += 10>>
	<<elseif ($slaves[_i].trust < 40)>>
	<<set $slaves[_i].trust += 10>>
	<</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">>
		<<removeJob $slaves[_i] "rest in the spa">>
		<<set _restedSlaves++, _DL--, _dI-->>
		<<continue>>
	<</if>>
	<<if $showEWD != 0>>

		/* 000-250-006 */
		<<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">>
	<<else>>
		<<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>>
	<</if>>
<</for>>
	<<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>>
	<</if>>
<</if>>
<<if $spaSlaves || $Attendant>>

<</if>>

repo_name: DeathShip/fc


code:
:: Special Slave

<<set $nextButton = "Back">>\
<<set $nextLink = "Buy Slaves">>\
<<set $returnTo = "Buy Slaves">>\
<<set $showEncyclopedia = 1>><<set $encyclopedia = "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 = $heroSlaves.random()>>\
<<set $activeSlave.weekAcquired = $week>>\
<<set $activeSlave.pubicHColor = $activeSlave.hColor>>\
<<set $activeSlave.pubicHStyle = "waxed">>\
<<set $activeSlave.underArmHColor = $activeSlave.hColor>>\
<<set $activeSlave.underArmHStyle = "waxed">>\
<<slaveCost $activeSlave>>\
<<NationalityToAccent $activeSlave>>
\
The offered price is ¤<<print $slaveCost>>.
\
[[Buy her slave contract|New Slave Intro][$cash -= $slaveCost,$nextButton = "Continue",$nextLink = "AS Dump",$returnTo = "Main",$specialSlave = 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 = 1>><<include "Long Slave Description">><<set $saleDescription = 0>>
<<set $specialSlavesPriceOverride = 0>>


code:
:: Stewardess Select

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

<<for _i = 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 = "be the Stewardess">>
	<<set $slaves[_i].assignmentVisible = 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 = 0]]
<</nobr>>


code:
:: Stewardess Workaround

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

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

<<goto "Servants' Quarters">>


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

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

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

/*
_Pass $nextLink
*/
<<set _SL = $slaves.length>>
<<if $cheatMode>>_Pass
<</if>>
''Week $week''

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

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

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

<<if _Pass == "Main">>
	<<link "Manage Arcology">><<set $nextButton = "Back", $nextLink = _Pass>><<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 == "Main">>
	<<set _TCash2 = ($cash-$cashLastWeek)>>

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

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

@@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 = 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 == "Main")>>
	<<if ($cheatMode)>>
	<<set _TRep = $rep>>
	<<textbox "$rep" $rep>>
	<<link "Apply">>
	<<set $rep = Math.clamp(Math.trunc(Number($rep) || _TRep), 0, 20000), $cheater = 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>>

	<<if ($HGSuite)>>

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

[[$brothelNameCaps|Brothel]]
		<<if $abbreviateSidebar == 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 == 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 == 2>>
			($arcadeSlaves/<<print $arcade>> inmates)
		<<else>>
			($arcadeSlaves/<<print $arcade>>)
		<</if>>
	<</if>>
	<<if ($dairy)>>

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

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

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

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

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

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

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

[[$incubatorNameCaps|Incubator]]
		<<if $abbreviateSidebar == 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]]
		<<set _SCapT = $fighterIDs.length>>
		<<if $abbreviateSidebar == 2>>
			(_SCapT <<if _SCapT != 1>>combatants<<else>>combatant<</if>>)
		<<else>>
			(_SCapT)
		<</if>>
	<</if>>
	<<if ($securityForceActive)>>

[[Barracks]]
	<</if>>

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

<<link "Manage Penthouse">><<set $nextButton = "Back", $nextLink = _Pass>><<goto "Manage Penthouse">><</link>> @@color:cyan;[P]@@

<<link "Manage Personal Affairs">><<set $nextButton = "Back", $nextLink = _Pass>><<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 = $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]@@
	<<if $cyberMod != 0 && $researchLab.built == "true">>

[[Manage Research Lab|Research Lab][$temp to 0]]
	<</if>>

<<else>>

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

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


code:
:: Subordinate Targeting [nobr]

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

<<set $displaySlave = $activeSlave>>

<<if $activeSlave.subTarget == $activeSlave.ID>>
	<<set $activeSlave.subTarget = 0>>
<</if>>
<<for _i = 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 = 0>>
<</if>>

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

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

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


code:
:: Summary Options [nobr]

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

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

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

<<if $sortSlavesBy is "name">>
	Slaves are sorted on the main menu by @@color:yellow;NAME.@@
<<elseif $sortSlavesBy == "seniority">>
	Slaves are sorted on the main menu by @@color:yellow;SENIORITY.@@
<<elseif $sortSlavesBy == "age">>
	Slaves are sorted on the main menu by @@color:yellow;AGE.@@
<<elseif $sortSlavesBy == "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 = "devotion"]] | [[Name|Summary Options][$sortSlavesBy = "name"]] | [[Assignment|Summary Options][$sortSlavesBy = "assignment"]] | [[Date purchased|Summary Options][$sortSlavesBy = "seniority"]] | [[Age|Summary Options][$sortSlavesBy = "age"]]//

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

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

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

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

Granular slave stat numbers are
<<if $summaryStats == 1>>
	@@color:cyan;DISPLAYED.@@ //[[Hide|Summary Options][$summaryStats = 0]]//
<<else>>
	@@color:red;HIDDEN.@@ //[[Display|Summary Options][$summaryStats = 1]]//
<</if>>

<<if $assignFilter == 0>>
	Assignment filter controls are @@color:red;HIDDEN.@@
	//[[Show|Summary Options][$assignFilter = 1]]//
<<else>>
	Assignment filter controls are @@color:cyan;SHOWN.@@
	//[[Hide|Summary Options][$assignFilter = 0]]//
<</if>>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


code:
:: TFS Farm Upgrade [nobr]

<<set $nextButton = "Continue", $nextLink = "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 = "Back">>\
<<set $nextLink = "Buy Slaves">>\
<<set $returnTo = "Buy Slaves">>\
<<set $showEncyclopedia = 1>><<set $encyclopedia = "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 = 36>>
<<else>>
	<<set $activeSlaveOneTimeMaxAge = 18>>
<</if>>
<<include "Generate XX Slave">>
<<set $activeSlave.career = "a slave">>
<<set $activeSlave.butt = either(1, 2, 2, 3)>>
<<set $activeSlave.boobs = either(200, 300, 300, 400)>>
<<if $TSS.schoolUpgrade == 1>>
	<<set $activeSlave.origin = "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 = 1>>
	<<set $activeSlave.vagina = 1>>
<<else>>
	<<set $activeSlave.origin = "You bought her fresh from the Slavegirl School right after her majority.">>
	<<set $activeSlave.anus = 0>>
	<<set $activeSlave.vagina = 0>>
	<<set $activeSlave.birthWeek = 0>>
<</if>>
<<set $activeSlave.intelligenceImplant = 1>>
<<set $activeSlave.teeth = "normal">>
<<set $activeSlave.intelligence = 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 = 0>>
<<set $activeSlave.weight = 0>>
<<set $activeSlave.chem = 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 = "waxed">>
<<set $activeSlave.underArmHStyle = "waxed">>
<<set $activeSlave.sexualFlaw = either("none")>>
<<set $activeSlave.behavioralFlaw = either("none")>>
<<set $activeSlave.hStyle = "tails">>
<<set $activeSlave.customTat = "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 = 0,$TSS.studentsBought += 1,$nextButton = "Continue",$nextLink = "AS Dump",$returnTo = "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 = 1>>\
<<include "Long Slave Description">>\
<<set $saleDescription = 0>>\


code:
:: Toychest [nobr]

//$slaves[$i].slaveName

<<if $slaves[$i].fuckdoll > 0>>
	is waiting for use nearby.
<<elseif $slaves[$i].fetish == "mindbroken">>
	is waiting dumbly nearby.
<<elseif $slaves[$i].devotion > 50>>
	<<if $slaves[$i].toyHole == "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 == "boobs">>
		is kneeling nearby with her chest thrust out as far as it will go.
	<<elseif ($slaves[$i].toyHole == "pussy") && ($slaves[$i].amp != 1)>>
		is kneeling on the couch with legs apart to present her pussy.
	<<elseif $slaves[$i].toyHole == "pussy">>
		is lying on the couch with her pussy ready for you.
	<<elseif ($slaves[$i].toyHole == "ass") && ($slaves[$i].amp != 1)>>
		is lying on the couch with her legs up and back to present her butthole.
	<<elseif $slaves[$i].toyHole == "ass">>
		is lying on the couch with her butt ready for you.
		/*check*/
	<<elseif $slaves[$i].toyHole == "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 = random(1,100)>>
<<if $slaves[$i].fuckdoll > 0>>
	Its holes are, as always, available.
<<elseif $slaves[$i].fetish == "mindbroken">>
	She ignores her clothing, regarding it as an impediment to her purpose.
<<elseif ($slaves[$i].clothes == "attractive lingerie")>>
	Her nipples show invitingly through the holes in her white lace lingerie.
<<elseif ($slaves[$i].clothes == "shibari ropes")>>
	You've tied her shibari bindings so that she's forced to thrust out her chest.
<<elseif ($slaves[$i].clothes == "uncomfortable straps") && ($seed > 75)>>
	Her leather straps are forcing her to thrust out her tits.
<<elseif ($slaves[$i].clothes == "uncomfortable straps") && ($seed > 50)>>
	Her leather straps are uncomfortably pressing her breasts and asscrack.
<<elseif ($slaves[$i].clothes == "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 == "uncomfortable straps")>>
	Her uncomfortable straps force her to constantly present her holes.
<<elseif ($slaves[$i].clothes == "restrictive latex") || ($slaves[$i].clothes == "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 ($slaves[$i].clothes == "a military uniform")>>
	Her uniformed presence lends your office the air of a military command center.
<<elseif ($slaves[$i].clothes == "a mini skirt")>>
	Her flattering mini dress makes her the perfect office ornament for the modern captain of industry.
<<elseif ($slaves[$i].clothes == "a nice nurse outfit")>>
	Her proper nurse's outfit gives the office a clinical air.
<<elseif ($slaves[$i].clothes == "a fallen nuns habit")>>
	Her latex parody of a nuns habit gives the office a sacrilegious air.
<<elseif ($slaves[$i].clothes == "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 == "a penitent nuns habit")>>
	Her sackcloth habit gives the office a somber air.
<<elseif ($slaves[$i].clothes == "attractive lingerie")>>
	She's wearing classy lingerie, making her an unusually refined ornament to the office.
<<elseif ($slaves[$i].clothes == "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 == "a string bikini")>>
	She's wearing a string bikini, making her a sexy, enticing office ornament.
<<elseif ($slaves[$i].clothes == "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 == "a maternity dress")>>
	Her low cut dress reveals ample cleavage.
<<elseif ($slaves[$i].clothes == "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 == "clubslut netting")>>
	She's wearing slutty netting and headphones so she can dance to music without annoying visitors.
<<elseif ($slaves[$i].clothes == "cutoffs and a t-shirt")>>
	She's wearing cutoffs and a t-shirt, making her a fun, clean office ornament.
<<elseif ($slaves[$i].clothes == "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 == "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 == "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 == "a slutty qipao")>>
	She's wearing a qipao, lending your office the elegance of an imperial court.
<<elseif ($slaves[$i].clothes == "a hijab and abaya")>>
	She's wearing a modest hijab and abaya, lending your office a certain air of conservatism.
<<elseif ($slaves[$i].clothes == "battledress")>>
	She's wearing skimpy battledress, making your office seem a little like the ideal bunker for a survivalist.
<<elseif ($slaves[$i].clothes == "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 == "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 == "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 == "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 == "a halter top dress")>>
	The gorgeous halter top dress she's wearing is almost a work of art.
<<elseif ($slaves[$i].clothes == "a ball gown")>>
	The fabulous silken ball gown she's wearing lifts the entire atmosphere.
<<elseif ($slaves[$i].clothes == "a slave gown")>>
	The gorgeous gown she's wearing lends an air of class to the office.
<<elseif ($slaves[$i].clothes == "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 == "nice business attire")>>
	The suit she's wearing makes it look like she's here to do business, not fuck.
<<elseif ($slaves[$i].clothes == "a comfortable bodysuit")>>
	The bodysuit she's wearing displays her every fuckable curve.
<<elseif ($slaves[$i].clothes == "a leotard")>>
	The leotard she's wearing is tight enough to advertise every detail.
<<elseif ($slaves[$i].clothes == "a bunny outfit")>>
	The bunny outfit she's wearing makes her look ready to serve drinks and suck dick.
<<elseif ($slaves[$i].clothes == "a slutty maid outfit")>>
	Her maid outfit makes her look useful and sexually easy.
<<elseif ($slaves[$i].clothes == "a nice maid outfit")>>
	Her maid outfit makes her servitude obvious while not looking too lewd.
<<elseif ($slaves[$i].clothes == "harem gauze")>>
	Her harem girl outfit lends her corner of your office an Eastern opulence.
<<elseif ($slaves[$i].clothes == "slutty jewelry")>>
	The bangles she's wearing make little noises every time she moves, serving as a constant reminder of her sexual availability.
<<elseif ($slaves[$i].clothes == "conservative clothing")>>
	Her clothes make it look like she's here for some other purpose than sexual slavery.
<<elseif ($slaves[$i].clothes == "chains")>>
	Her chains make it obvious that she's here as an office sex toy.
<<elseif ($slaves[$i].clothes == "Western clothing")>>
	Her Western clothing is comically out of place in a modern office.
<<elseif ($slaves[$i].clothes == "body oil")>>
	Her body oil makes her muscles a lovely ornament to the office, and makes all her holes nice and inviting.
<<elseif ($slaves[$i].clothes == "a toga")>>
	Her toga lends an air of antiquity to the office.
<<elseif ($slaves[$i].clothes == "a slutty qipao")>>
	Her lovely qipao is a delicious contradiction of conservative silk patterns and scandalously high cuts.
<<elseif ($slaves[$i].vaginalAccessory == "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 == "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 == "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 = clone($activeSlave)>>
<<unset $activeSlave>>
<<NationalityToName _secondSlave>>
<<NationalityToAccent _secondSlave>>

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

<<AddSlave _secondSlave>>


code:
:: Universal Rules [nobr]

__Universal rules__

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

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

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

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

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

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

<<if $FSAnnounced > 0>>

<<if ($useFSNames == 0)>>
Future society names for new slaves are currently @@color:red;NOT APPLIED@@. [[Apply|Universal Rules][$useFSNames = 1]]
<<else>>
Future society names for new slaves are currently @@color:cyan;APPLIED@@. [[Stop applying|Universal Rules][$useFSNames = 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 = 1]]
<<else>>
	Slaves ''will'' cooperate with staffed facilities to improve their performance. [[Stop cooperation|Universal Rules][$universalRulesFacilityWork = 0]]
<</if>>
<</if>>

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

<<if $universalRulesAssignsSelfFacility == 1>>
	Slaves ''are'' permitted to assign themselves to facilities when choosing their assignment. [[Deny self assignment to facilities|Universal Rules][$universalRulesAssignsSelfFacility = 0]]
<<else>>
	Slaves ''are not'' permitted to assign themselves to facilities when choosing their assignment. [[Permit self assignment to facilities|Universal Rules][$universalRulesAssignsSelfFacility = 1]]
<</if>>
<</if>>

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

<<if $seeDicks != 100>>

<<if $universalRulesImpregnation == "HG">>
	Fertile slaves will be ''systematically impregnated by your Head Girl,'' if she is able to do so. [[Cancel insemination regime|Universal Rules][($universalRulesImpregnation = "none"),($universalHGImpregnateMasterSuiteToggle = 0)]]<<if $PC.dick > 0>> | [[Inseminate them yourself|Universal Rules][($universalRulesImpregnation = "PC"),($universalHGImpregnateMasterSuiteToggle = 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 = 0]]
	<<else>>
		Your head girl, if able, ''is'' inseminating slaves in the Master Suite. [[Forbid her from inseminating Master Suite slaves|Universal Rules][$universalHGImpregnateMasterSuiteToggle = 1]]
	<</if>>
<<elseif $universalRulesImpregnation == "PC">>
	Fertile slaves will be ''systematically impregnated by you.'' [[Cancel insemination regime|Universal Rules][$universalRulesImpregnation = "none"]]<<if $seeDicks != 0>> | [[Delegate insemination to your Head Girl|Universal Rules][$universalRulesImpregnation = "HG"]]<</if>>
<<else>>
	Fertile slaves will ''not be systematically impregnated.'' <<if $PC.dick > 0>>[[Inseminate them yourself|Universal Rules][$universalRulesImpregnation = "PC"]]<</if>><<if ($PC.dick > 0) && ($seeDicks != 0)>> | <</if>><<if $seeDicks != 0>>[[Delegate insemination to your Head Girl|Universal Rules][$universalRulesImpregnation = "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 = 0]]
<<else>>
	Heavily pregnant slaves will be ''required to work'' right up until they feel contractions.
	[[Apply daily scanning|Universal Rules][$universalRulesBirthing = 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 = 0]]
<<else>>
	Pregnant slaves will ''give birth naturally'' unless health issues pose a threat.
	[[Always perform c-sections|Universal Rules][$universalRulesCSec = 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 = 1]]
<<else>>
	Your Bodyguard ''is allowed'' to train potential successors. [[Stop training|Universal Rules][$bodyguardTrains = 0]]
<</if>>
<</if>>


code:
:: Use Guard

<<nobr>>
//

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

<<set $seed = random(1,100)>>
<<if ($slaves[$i].clothes == "attractive lingerie")>>
	Her lacy lingerie contrasts with her deadly weaponry.
<<elseif ($slaves[$i].clothes == "a succubus outfit")>>
	Her succubus outfit and impressive weapons make her look like a character from an overwrought graphic novel.
<<elseif ($slaves[$i].clothes == "uncomfortable straps")>>
	Her uncomfortable straps make her look like a classical slave warrior.
<<elseif ($slaves[$i].clothes == "shibari ropes")>>
	Her shibari ropes make her look like an insane slave fighter.
<<elseif ($slaves[$i].clothes == "restrictive latex") || ($slaves[$i].clothes == "a latex catsuit")>>
	Her complete suit of latex gives her a beautiful yet intimidating appearance.
<<elseif ($slaves[$i].clothes == "a nice nurse outfit")>>
	Her practical nurse's outfit make her weapons look like surgical instruments of death.
<<elseif ($slaves[$i].clothes == "a military uniform")>>
	Her military uniform is most befitting of an honor guard.
<<elseif ($slaves[$i].clothes == "a mini dress")>>
	Her revealing mini dress and elegant weapons make her look sexy, yet deadly.
<<elseif ($slaves[$i].clothes == "clubslut netting")>>
	Her club netting's slutty appearance clashes amusingly with her deadly weapons.
<<elseif ($slaves[$i].clothes == "a string bikini")>>
	Her string bikini's flirty appearance clashes amusingly with her deadly weapons.
<<elseif ($slaves[$i].clothes == "cutoffs and a t-shirt")>>
	Her t-shirt's fun appearance clashes amusingly with her deadly weapons.
<<elseif ($slaves[$i].clothes == "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 == "a slutty outfit") && ($slaves[$i].actualAge < 30)>>
	She's chosen to wear a catsuit, and looks like a fictional heroine.
<<elseif ($slaves[$i].clothes == "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 == "a slutty outfit")>>
	She's wearing a wifely dress, creating a discordant effect with her weapons.
<<elseif ($slaves[$i].clothes == "a cheerleader outfit")>>
	She's wearing a cheerleader uniform, creating an amusing effect with her weapons.
<<elseif ($slaves[$i].clothes == "attractive lingerie for a pregnant woman")>>
	Her silky lingerie contrasts with her deadly weaponry.
<<elseif ($slaves[$i].clothes == "a maternity dress")>>
	Her loose dress gives her plenty of places to conceal weaponry.
<<elseif ($slaves[$i].clothes == "a slave gown")>>
	Her gorgeous gown and elegant weapons make her look refined, yet deadly.
<<elseif ($slaves[$i].clothes == "a halter top dress")>>
	Her beautiful halter top dress and elegant weapons make her look refined, yet deadly.
<<elseif ($slaves[$i].clothes == "a ball gown")>>
	Her fabulous silken ball gown and elegant weapons make her look refined, yet deadly.
<<elseif ($slaves[$i].clothes == "a nice maid outfit")>>
	Her pretty maid outfit and weapons make her look like a character from an animated movie.
<<elseif ($slaves[$i].clothes == "a slutty maid outfit")>>
	Her slutty maid outfit and weapons make her look like a character from an exploitation film.
<<elseif ($slaves[$i].clothes == "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 == "harem gauze")>>
	Her weapons pin her sheer gauze down over her body, putting everything on lewd display.
<<elseif ($slaves[$i].clothes == "a fallen nuns habit")>>
	Her sacrilegious getup and weapons make her look like a sinner's fantasy.
<<elseif ($slaves[$i].clothes == "a chattel habit")>>
	Her chattel habit and weapons make her role as a defender of the new faith instantly obvious.
<<elseif ($slaves[$i].clothes == "a penitent nuns habit")>>
	Her somber habit and weapons make her look like a member of a militant order.
<<elseif ($slaves[$i].clothes == "slutty business attire")>>
	Her slutty business suit and weapons give her the look a supervillain's sidekick.
<<elseif ($slaves[$i].clothes == "nice business attire")>>
	Her business suit and weapons give her the look of a finely honed corporate instrument.
<<elseif ($slaves[$i].clothes == "conservative clothing")>>
	Her casual, conservative clothes and weapons make her look like a normal old world security contractrix.
<<elseif ($slaves[$i].clothes == "a comfortable bodysuit")>>
	Her bodysuit and weapons make her look like an action movie heroine.
<<elseif ($slaves[$i].clothes == "a leotard")>>
	Her leotard and weapons make her look like the heroine of an old exploitation film.
<<elseif ($slaves[$i].clothes == "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 == "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 == "a schoolgirl outfit")>>
	This schoolgirl is well armed, bringing to mind more than one farcical action film.
<<elseif ($slaves[$i].clothes == "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 == "a slutty qipao")>>
	Her qipao and weapons make her look like a character from a fighting game.
<<elseif ($slaves[$i].clothes == "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 == "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 == "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 == "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>>\