code:
:: Summary Options [nobr jump-to-safe jump-from-safe]

<<set $nextButton = "Back">>
<<if $storedLink !== "Slave Interact" && $storedLink !== "Main">>
	<<if lastVisited("Main") === 1>>
		<<set $storedLink = "Main">>
	<<else>>
		<<set $storedLink = "Options">>
	<</if>>
<</if>>
<<set $nextLink = $storedLink>>
<<set $passageSwitchHandler = App.EventHandlers.optionsChanged>>

Summary Options

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

Main menu features

<<set _options = new App.UI.OptionsGroup()>>

<<run _options.addOption("Rules Assistant visibility", "rulesAssistantMain")
.addValue("Shown", 1).on().addValue("Hidden", 0).off()>>

<<run _options.addOption("Facilities in the sidebar are", "abbreviateSidebar")
.addValueList([["Summarized", 2], ["Abbreviated", 1]])>>

<<run _options.addOption("Sorting main menu options are", "sortSlavesMain")
.addValue("Shown", 1).on().addValue("Hidden", 0).off()>>

<<if $sortSlavesMain > 0>>
	<<run _options.addOption("Sorting direction", "sortSlavesOrder")
	.addValueList([["Ascending", "ascending"], ["Descending", "descending"]])>>

	<<run _options.addOption("Slaves are sorted by", "sortSlavesBy")
	.addValueList([["Devotion", "devotion"], ["Name", "name"], ["Date purchased", "seniority"], ["Age", "actualAge"],
	["How old they look", "visualAge"], ["Age of their body", "physicalAge"], ["Assignment", "assignment"], ["Weekly Income", "weeklyIncome"]])>>
<</if>>

<<includeDOM _options.render()>>

Individual panels

Sample summary:
<<= App.UI.SlaveList.render.listMarkup(
	[$activeSlave.ID],
	[],
	App.UI.SlaveList.SlaveInteract.stdInteract
)>>

<<set _options = (new App.UI.OptionsGroup()).enableDoubleColumn()>>

<<run _options.addOption("Panel style is", "slavePanelStyle")
.addValueList([["None", 0], ["Line Seperator", 1], ["Card", 2]])>>

<<run App.UI.SlaveSummary.addOptions(_options)>>

<<run _options.addOption("Granular slave stat numbers are", "summaryStats")
.addValue("Shown", 1).on().addValue("Hidden", 0).off()>>

<<run _options.addOption("Main menu assignment shortcuts are", "displayAssignments")
.addValue("Shown", 1).on().addValue("Hidden", 0).off()>>

<<if $showMissingSlaves>>
	<<run _options.addOption("Missing slave parents are", "showMissingSlavesSD")
	.addValue("Shown", true).on().addValue("Hidden", false).off()>>
<</if>>

<<includeDOM _options.render()>>

	[[FC Dev's preferred options|Summary Options ][$seeDesk = 0, $seeFCNN = 0, $sortSlavesBy = "devotion",$sortSlavesOrder = "descending",$sortSlavesMain = 0,$rulesAssistantMain = 1, $UI.slaveSummary.abbreviation = {devotion: 1, mental: 1, rules: 1, clothes: 2, health: 1, diet: 1, drugs: 1, hormoneBalance: 1, race: 1, genitalia: 1, physicals: 1, skills: 1, nationality: 1, rulesets: 1, clothes: 0, origins: 0} ,$abbreviateSidebar = 1]]


code:
:: TFS Farm Upgrade [nobr]

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

You receive yet another 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. "<<if $PC.slaveSurname>><<if $PC.title>>Mr.<<else>>Ms.<</if>> <<print $PC.slaveSurname>><<else>><<print $PC.slaveName>><</if>>," she says
<<if ($PC.dick != 0) && ($PC.vagina != -1) && ($PC.boobs >= 300)>>
	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>>
<<if $TFS.schoolUpgrade == 3 && $TFS.compromiseWeek+15 <= $week>>have a rather cheap one to grow dicks for the girls and 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 != 0) && ($PC.vagina != -1) && ($PC.boobs >= 300)>>
	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>>
<<if $seePreg != 0>>

<<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 && $eugenicsFullControl != 1>> The Societal Elite are @@.red;outraged@@ that you would not only allow such a breach of eugenics to occur, but encourage it.<</if>>
			<<set $TFS.farmUpgrade = 2>>
			<<if $arcologies[0].FSRestart != "unset" && $eugenicsFullControl != 1>>
				<<set $failedElite += 275>>
			<</if>>
		<</replace>>
	<</link>>
	<<if $seeHyperPreg == 1>>

<<link "Permit them access, and encourage them to embrace hyperpregnancy.">>
			<<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, so long as they are willing to bear as many children as they can handle. To your mild surprise, she responds with cutely inelegant crying. You add that you think the world needs many more Futanari Sisters, especially ones as cute and sexy as you're confident her countless 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 && $eugenicsFullControl != 1>> The Societal Elite are @@.red;outraged@@ that you would not only allow such a breach of eugenics to occur, but encourage it to such an obscene degree.<</if>>
				<<set $TFS.farmUpgrade = 3>>
				<<if $arcologies[0].FSRestart != "unset" && $eugenicsFullControl != 1>>
					<<set $failedElite += 1000>>
				<</if>>
			<</replace>>
		<</link>>
	<</if>>
	/*

<<link "Decline, but grant them something more fitting">>
		<<replace "#result">>
			You decline her offer and propose a new one, letting the Sister know that the organ farm will accept seed tissue from any of them for the purpose of fabricating testicular ovaries, which should satisfy their desires, if in an unorthodox way. 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 balls 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 && $eugenicsFullControl != 1>> The Societal Elite are @@.red;outraged@@ that you would not only allow such a breach of eugenics to occur, but encourage it.<</if>>
			<<set $TFS.farmUpgrade = 4>>
			<<if $arcologies[0].FSRestart != "unset" && $eugenicsFullControl != 1>>
				<<set $failedElite += 100>>
			<</if>>
		<</replace>>
	<</link>>
	*/
<</if>>

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

repo_name: KnightBoulegard/fc

license: mit


code:
:: The Futanari Sisters [nobr]

<<set $nextButton = "Back", $nextLink = "Buy Slaves", $returnTo = "Buy Slaves", $encyclopedia = "Slave Schools", $slaveMarket = "TFS">>
/* Multi-Purchase Support */
<<if ndef $newSlaves>><<set $newSlaves = []>><</if>>
<<if $newSlaves.length > 0>>
	<<set $nextButton = "Continue", $nextLink = "Bulk Slave Intro", $returnTo = "Main", $newSlaveIndex = 0>>
<</if>>

<<if $TFS.schoolPresent == 1>>

You pay a visit to the Futanari Sisters. They occupy a suite remodeled for their very special needs; it's surprisingly small, to house so many girls, since they live communally and do not believe in privacy. You are the only outsider permitted to enter the outer door. As you move towards the center of the suite, you pass through the outer ring of sleeping areas, kitchens, medical rooms, and workout stations that surround the inner sanctum.

This is a large, circular room with a shallow depression in the floor, filled with pillows and naked, fucking futas. Every possible interaction between mouths, nipples, breasts, penises, vaginas, and anuses is taking place, with most participants managing several at once. They are all very, very pretty, and it's easier to distinguish the older ones by their bigger tits, asses and cocks than by their apparent age. The older futas tend to be on top, but this is by no means the rule, and they like to switch around often.
<<if $TFS.farmUpgrade == 2>>
	<<if $TFS.farmUpgradeAsked < $week - 10>>

		It's been long enough since you allowed them to use your organ farm to add ovaries to themselves and instructed them not to use contraceptives that most of them are visibly pregnant. This hasn't slowed their sexual congress at all, though. They've become much more focused on vaginal, and there's an obvious eagerness to cum inside Sisters who aren't obviously pregnant.
	<<else>>

		It hasn't been long enough since you allowed them to use your organ farm to add ovaries to themselves for the effects to be obvious yet. Most of them are doubtless pregnant, however. There's been a subtle shift in their sexual behavior, too: they're much more likely to focus on vaginal sex than they were before, so much so that they often double penetrate each others' pussies. When there aren't any cunts available, they do their best to hold their orgasms until one opens up, so to speak.
	<</if>>
<<elseif $TFS.farmUpgrade == 3>>
	<<if $TFS.farmUpgradeAsked < $week - 20>>

		It's been long enough since you allowed them to use your organ farm to add ovaries to themselves and instructed them not to use contraceptives that most of them are extremely pregnant. This hasn't slowed their sexual congress at all, though they've had to get creative with their positioning. They've become much more focused on vaginal, and there's an obvious eagerness to cum inside Sisters who aren't obviously pregnant.
	<<elseif $TFS.farmUpgradeAsked < $week - 10>>

		It's been long enough since you allowed them to use your organ farm to add ovaries to themselves and instructed them not to use contraceptives that most of them are visibly pregnant. This hasn't slowed their sexual congress at all, though. They've become much more focused on vaginal, and there's an obvious eagerness to cum inside Sisters who aren't obviously pregnant.
	<<else>>

		It hasn't been long enough since you allowed them to use your organ farm to add ovaries to themselves for the effects to be obvious yet. Most of them are doubtless pregnant, however. There's been a subtle shift in their sexual behavior, too: they're much more likely to focus on vaginal sex than they were before, so much so that they often double penetrate each others' pussies. When there aren't any cunts available, they do their best to hold their orgasms until one opens up, so to speak.
	<</if>>
<</if>>

Visitors are not common: in fact, visitors are only as frequent as you feel like visiting. It takes a while before they notice you. When a dreamy-eyed young futa finally does, she reaches a lazy hand over to alert the eldest one present by tugging on one of her nipples and pointing in your direction. The elder looks over at you and gives you a friendly wave followed by a wait-one-moment gesture. She's curled up on her back with her cockhead in her own mouth, using both hands to give her own shaft a boob job while a younger futa is eats her ass and fingers her pussy. The futa matron orgasms promptly, sucking down her own cum. She gets up languidly, her plush body, softening forearm-sized dick, and enormous natural boobs making it a wonderful sight.

<<if $PC.title == 1>>"Protector,<<else>>"Protectrix,<</if>> thank you so much for coming to see us. Our own Selection of a Sister to serve in slavery is not to take place for some time, but our communications interface in that side room," she points, "will permit you to access a regional listing of Selected Sisters<<if $TFS.farmUpgrade > 0>>, all of which are fully fertile and produce their own natural female hormones, thanks to you<</if>>." She looks uncharacteristically uncertain. "Will you permit me to <<if $PC.dick != 0>><<if $PC.vagina != -1>>worship your perfect genitalia<<else>>serve your cock<</if>><<else>>adore your pussy<</if>> while you use it? I think my Sisters will forgive me the infidelity." <<if ($PC.dick != 0) && ($PC.vagina != -1) && ($PC.boobs >= 300)>>She looks at you speculatively. "Or you could join us for a while."<</if>>

<<link "Let her give you oral while you browse">>
	<<replace "#result">>
		You accept her offer, and she walks seductively over to the interface with the listing of available Sisters, getting down on her knees below it. When you step up to look through the listing, she presses her huge soft tits against your knees
		<<if $PC.dick != 0>>
			<<if $PC.vagina != -1>>
				and nuzzles her plush lips and hot tongue against your womanhood, using one hand to massage your shaft languidly. Perusing the very thorough pictures and videos of the pretty futanari for sale here is arousing enough without a truly masterful oral queen pleasing both your cock and your pussy, and you cum quickly. She drinks your cum rapturously and returns her mouth to your wet cunt, eagerly working to bring more forth.
			<<else>>
				and snuggles her face between your thighs, nuzzling her nose into your ballsack before licking it with appetite and then sucking each of your balls gently, one by one. Meanwhile one of her clever hands is languidly massaging your shaft, bringing forth a drop of precum which she laps up with appetite. Humming with pleasure, she deepthroats you without apparent effort, her mischievous tongue flicking forward to lap at your scrotum. You blow your load down her throat, and she starts to suck you hard again.
			<</if>>
		<<else>>
			and trails nibbles and kisses along your inner thighs before nuzzling her plush lips and hot tongue against your womanhood. Perusing the very thorough pictures and videos of the pretty futanari for sale here is arousing enough without a truly masterful cunt pleaser working her magic between your legs, and you've orgasmed before you finish one listing. She prolongs the climax cleverly and then starts to build you towards another.
		<</if>>
	<</replace>>
<</link>>
<<if ($PC.dick != 0) && ($PC.vagina >= 0) && ($PC.boobs >= 300)>>

<<link "Join the Sisters' orgy">>
		<<replace "#result">>
			<<set $futaAddiction += 1>>
			<<switch $futaAddiction>>
			<<case 1>>
				You agree to spend some time taking part in the Sisters' orgy. The futa matron looks doubtful. "You'd have to agree to act as one of us," she says. "No different. No special sexual treatment." Her voice rises cutely on the last syllable, as you take her enormous dick in one hand and begin to stroke it vigorously. "V-very well," she gasps, taking one of your breasts in each of her hands.
				<<if $PC.vagina == 0>>
					You leave the Sisters' suite a few hours later, @@.green;leaving your virginity behind.@@ You are tired and a bit sore, but satisfied.
					<<set $PC.vagina = 1>>
				<<else>>
					You leave the Sisters' suite after a few hours of fucking and being fucked, feeling tired but satisfied.
				<</if>>
				<<if canGetPregnant($PC)>>
					<<= knockMeUp($PC, 5, 0, -9, 1)>>
				<</if>>
			<<case 2>>
				She doesn't have to explain the Sisters' sexual equality this time, or that you have to subject yourself to it. You remember, and you let her know you're willing by giving her a friendly hug that squashes your breasts against each other and rubs your stiff pricks together. She reaches around you to grab your ass, already pulling you towards the pile of futas. You leave the Sisters' suite after a few hours of fucking and being fucked, in a state of total sexual satiation.
				<<if canGetPregnant($PC)>>
					<<= knockMeUp($PC, 10, 0, -9, 1)>>
				<</if>>
			<<case 3>>
				She asked that with a distinctly flirty tone, obviously hoping you'd agree again, and she isn't disappointed. You take her by the hand and skip over to the pile of futas, most of which know you very intimately by now. They see their Sister and you approaching, and those of them that don't have their mouths full greet you eagerly. Three of them quickly rearrange themselves to present you with a couple of dicks to sit on and a pussy to fuck, all at once. You leave the Sisters' suite after many hours of fucking and being fucked, tired but satisfied.
				<<if canGetPregnant($PC)>>
					<<= knockMeUp($PC, 20, 0, -9, 1)>>
				<</if>>
			<<case 4>>
				She asked that in a knowing voice, confident you'd agree, and was already moving in to kiss you when you did. She seems to want you more than usual today, and pulls you down onto the edge of the pit, guiding your cock into her pussy. She isn't selfish, of course, and reaches around to spread your buttocks so you can get fucked while you fuck. You leave the Sisters' suite after many hours of this, very tired. You wonder when you can make time to visit the Sisters again.
				<<if canGetPregnant($PC)>>
					<<= knockMeUp($PC, 40, 0, -9, 1)>>
				<</if>>
			<<case 5>>
				She runs her tongue over her lips as she asks, and sits you down on the edge of the pit and deepthroats you as soon as you agree. She wants your cum, and uses a couple of fingers to tickle your prostate and make it appear faster. You jerk with orgasm, and she pushes your wet cock up against your stomach so she can fuck your pussy. She pauses for a moment, letting a younger Sister enter her ass first. You leave the Sisters' suite after a full day of this, utterly exhausted but eager to return.
				<<if canGetPregnant($PC)>>
					<<= knockMeUp($PC, 60, 0, -9, 1)>>
				<</if>>
			<<case 6>>
				You nod, and she turns back towards the orgy, not seeing any reason to lead you, since you know the way. You both sink back into the pile of cocks, pussies, mouths, asses, boobs; the hours go by without you noticing. You leave the Sisters' suite unable to remember specifics, but you clearly fucked and got fucked by every futa there at least once. You're surprised when you learn how long you were there, but the worries of being an arcology owner no longer seem as pressing as they once did.
				<<if canGetPregnant($PC)>>
					<<= knockMeUp($PC, 80, 0, -9, 1)>>
				<</if>>
			<<case 7>>
				You don't even bother to respond, and head straight for the orgy. You insert yourself into an eager mouth, bending over so the matron following you can take you from behind. The worries of your life as an arcology owner seem very far away as she slides inside you. You only leave when $assistant.name repeatedly pages you over the arcology's public announcement system. On the way to your office, you notice how full of cum your stomach is, how relaxed your pussy and ass are, and how happy you feel.
				<<if canGetPregnant($PC)>>
					<<= knockMeUp($PC, 100, 0, -9, 1)>>
				<</if>>
			<<case 8>>
				<<set $gameover = "sisters">>
				<<goto "Gameover">>
			<<default>>
				<<set $futaAddiction = 0>>
			<</switch>>
		<</replace>>
	<</link>>
<</if>>

<<else>>

//The Futanari Sisters use the same legalistic structures as other slave schools, but are actually very different. They're quite enigmatic, and inquiry into their cult-like methods is politely discouraged. All the Sisters own the institution together, and seem to share the goal of pursuing transformation of themselves to fit the classic futanari fetish — that is, to transform themselves into beautiful, curvaceous women with large dicks. All Sisters remain within the closed society for at least seven years. The Sisters fund themselves by selling members into slavery: interestingly, the more impressive a member is, the older she seems to be when sold; there may be a sort of selection mechanism by which the losers are sold immediately and the winners remain, leading the Sisters. This does not mean that ex-Sisters are unhappy with enslavement. On the contrary, it seems to be an expected stage of their lives, and not shameful.
<<if $TFS.schoolUpgrade != 0>>

	Since you have supported the faction within the Sisters that favors
	<<if $TFS.schoolUpgrade == 3>>
		a mix of futas with and without balls; its female members will appear without balls, while its male members will appear with extremely large testicles.
		<<if $TFS.compromiseWeek+15 > $week>>Or they will, in around <<print (($TFS.compromiseWeek+15)-$week)>> weeks.<</if>>
	<<elseif $TFS.schoolUpgrade == 1>>
		futas without balls, its members will now appear without visible testicles and increased submissiveness.
	<<else>>
		futa balls, its members will now appear with extremely large testicles and increased sex drives.
	<</if>>
	As a major <<if $PC.title == 0>>benefactrix<<else>>benefactor<</if>> of the institution, you also receive a discount on them.
<</if>>//

The Sisters offer a member selected for sale into slavery for inspection via video call. The feed is of an exhausted futa, fast asleep. Whatever ceremonies the Sisters perform before releasing a member into slavery, they seem to have tired her out. There are indistinct but obviously sexual sounds audible in the background; it sounds like an orgy with a very large number of participants is going on nearby.

<</if>>

<<set _marketResult = generateMarketSlave("TFS")>>
<<set $activeSlave = _marketResult.slave>>
<<print _marketResult.text>>
<<set _slaveCost = slaveCost($activeSlave)>>
<<set _slaveCost = Math.trunc(_slaveCost*0.8)>>
<<if $TFS.schoolSale != 0>>
	<<set _slaveCost = Math.trunc(_slaveCost*0.5)>>
<<elseif $TFS.schoolUpgrade != 0>>
	<<set _slaveCost = Math.trunc(_slaveCost*0.8)>>
<</if>>
<<if $slavesSeen > $slaveMarketLimit>><<set _slaveCost += Math.trunc(_slaveCost*(($slavesSeen-$slaveMarketLimit)*0.1))>><</if>>

The price is <<print cashFormat(_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>>

<<setLocalPronouns $activeSlave>>
<<buyingFromSchoolControls $TFS "slave" "slaves">>


code:
:: The Slavegirl School [nobr]

<<set $nextButton = "Back", $nextLink = "Buy Slaves", $returnTo = "Buy Slaves", $encyclopedia = "Slave Schools", $slaveMarket = "TSS">>
/* Multi-Purchase Support */
<<if ndef $newSlaves>><<set $newSlaves = []>><</if>>
<<if $newSlaves.length > 0>>
	<<set $nextButton = "Continue", $nextLink = "Bulk Slave Intro", $returnTo = "Main", $newSlaveIndex = 0>>
<</if>>

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

<<set _marketResult = generateMarketSlave("TSS")>>
<<set $activeSlave = _marketResult.slave>>
<<print _marketResult.text>>
<<set _slaveCost = 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>>

The price is <<print cashFormat(_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>>

<<setLocalPronouns $activeSlave>>
<<buyingFromSchoolControls $TSS "slave" "slaves">>


code:
:: Underperforming Slaves [nobr]

<<set $nextButton = "Back", $nextLink = "Buy Slaves", $returnTo = "Buy Slaves">>

		<<= properMaster()>>, while many of your slaves work hard to earn ¤ each week, some succeed more than others. As a trader in slaves, you may appreciate the opportunity that comes when a particularly valuable slave didn't earn very much last week. Or perhaps you just want the chance to tweak these problem slaves and train them to be better? The choice is yours.

		<<if ($slaveCostFactor > 1.1)>>
			Since there is a bull market for slaves, @@.green;this is a great time to sell.@@
		<<elseif ($slaveCostFactor > 1)>>
			Since the slave market is bullish; @@.green;this is a pretty good time to sell.@@
		<<elseif ($slaveCostFactor < 0.9)>>
			Since there is a bear market for slaves, @@.red;this is a poor time to sell.@@
		<<elseif ($slaveCostFactor < 1)>>
			Since the slave market is bearish; @@.red;this is a terrible time to sell.@@
		<<else>>
			Since the slave market is stable; @@.yellow;prices are average.@@
		<</if>>

<<run App.UI.tabbar.handlePreSelectedTab($tabChoice.Options)>>

	<button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'highSale')" id="tab highSale">Worth much but earning little</button>
	<button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'expensive')" id="tab expensive">Costing vs earning</button>

			Take the rough value of a slave and divide it by how much they made overall last week. This will tell you how many weeks it might take them to earn the same amount you'd get for selling them right now.

		<<print App.UI.SlaveList.render.listMarkup(
			getBestSlavesIDs(
				{
					part:(slave) => {
						const ratio = slaveCost(slave) / (slave.lastWeeksCashIncome - getSlaveCost(slave));
						return ratio > 0 ? ratio : 100000000 + ratio;
					},
					count: 7,
					filter:(slave) => (
						["be confined in the arcade", "get milked", "whore", "work a glory hole", "work in the brothel", "work in the dairy"].includes(slave.assignment)
						&& ((slave.weekAcquired + 1) < V.week)
						&& slave.lastWeeksCashIncome
					)
				}
			),
			[],
			App.UI.SlaveList.SlaveInteract.stdInteract,
			(slave) => $(document.createDocumentFragment()).append(
				`Worth ${cashFormatColor(slaveCost(slave))} / Nets ${cashFormatColor(slave.lastWeeksCashIncome - getSlaveCost(slave))} a week = ${(Math.trunc(slaveCost(slave) / (slave.lastWeeksCashIncome - getSlaveCost(slave)))) > 0 ? (Math.trunc(slaveCost(slave) / (slave.lastWeeksCashIncome - getSlaveCost(slave)))) : "infinite"} weeks`
			).get(0)
		)>>

			This list looks for moochers by weighing their weekly income against the weekly cost of providing for them.

		<<print App.UI.SlaveList.render.listMarkup(
			getBestSlavesIDs(
				{
					part:(slave) => (slave.lastWeeksCashIncome - getSlaveCost(slave)),
					largest: false,
					count: 7,
					filter:(slave) => (
						["be confined in the arcade", "get milked", "whore", "work a glory hole", "work in the brothel", "work in the dairy"].includes(slave.assignment)
						&& ((slave.weekAcquired + 1) < V.week)
						&& slave.lastWeeksCashIncome
					)
				}
			),
			[],
			App.UI.SlaveList.SlaveInteract.stdInteract,
			(slave) => $(document.createDocumentFragment()).append(
				`${cashFormatColor(Math.trunc(slave.lastWeeksCashIncome - getSlaveCost(slave)))} net last week`
			).get(0)
		)>>


code:
:: Universal Rules [nobr jump-to-safe jump-from-safe]

<<set $nextButton = "Back", $nextLink = "Manage Penthouse">>

''Permissions for slaves''

<<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 $assistant.name'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 requests for body mods are
<<if ($modRequestsAllowed == 0)>>
	@@.red;FORBIDDEN.@@ [[Allow|Universal Rules][$modRequestsAllowed = 1]]
<<else>>
	@@.cyan;ALLOWED.@@ [[Forbid|Universal Rules][$modRequestsAllowed = 0]]
<</if>>

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

<<if $brothel+$club+$dairy+$farmyard+$servantsQuarters+$arcade+$schoolroom+$spa+$nursery+$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+$farmyard+$servantsQuarters+$arcade+$schoolroom+$spa+$nursery+$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 $universalRulesImmobileSlavesMaintainMuscles == 1>>
	Immobile slaves ''will maintain'' their muscles rather than allow themselves to become soft.
	[[Stop mandatory workouts|Universal Rules][$universalRulesImmobileSlavesMaintainMuscles = 0]]
<<else>>
	Immobile slaves ''will not maintain'' their musculature and will gradually lose it.
	[[Mandatory workouts|Universal Rules][$universalRulesImmobileSlavesMaintainMuscles = 1]]
<</if>>

''Branding for slaves''

Choose an official brand. Any slave marked with this brand will be connected to your reputation, and will receive a beauty boost or penalty depending on how high or low that reputation is.

Use ''$brandDesign.official'' or choose another brand:
[[Your slaving emblem|Universal Rules][$brandDesign.official = "your personal symbol"]]
| [[Your initials|Universal Rules][$brandDesign.official = "your initials"]]

[[SLUT|Universal Rules][$brandDesign.official = "SLUT"]]
| [[WHORE|Universal Rules][$brandDesign.official = "WHORE"]]
| [[SLAVE|Universal Rules][$brandDesign.official = "SLAVE"]]
| [[COW|Universal Rules][$brandDesign.official = "COW"]]
| [[MEAT|Universal Rules][$brandDesign.official = "MEAT"]]
| [[CUMDUMP|Universal Rules][$brandDesign.official = "CUMDUMP"]]
| [[LOVER|Universal Rules][$brandDesign.official = "LOVER"]]

[[Pussy symbol|Universal Rules][$brandDesign.official = "a pussy symbol"]]
| [[Anus symbol|Universal Rules][$brandDesign.official = "an anus symbol"]]
| [[Penis symbol|Universal Rules][$brandDesign.official = "a penis symbol"]]

[[Lady|Universal Rules][$brandDesign.official = "a lady silhouette"]]
| [[Princess|Universal Rules][$brandDesign.official = "a princess silhouette"]]
| [[Queen|Universal Rules][$brandDesign.official = "a queen silhouette"]]
| [[Angel|Universal Rules][$brandDesign.official = "an angel silhouette"]]
| [[Devil|Universal Rules][$brandDesign.official = "a devil silhouette"]]
<<if ($arcologies[0].FSSupremacist != "unset") && ($activeSlave.race != $arcologies[0].FSSupremacistRace)>>
| //FS// [[Racial Slur|Universal Rules][$brandDesign.official = "a racial slur"]] <</if>>
<<if ($arcologies[0].FSSubjugationist != "unset") && ($activeSlave.race == $arcologies[0].FSSubjugationistRace)>>
| //FS// [[Racial Slur|Universal Rules][$brandDesign.official = "a racial slur"]] <</if>>
<<if ($arcologies[0].FSIntellectualDependency != "unset")>>
| //FS// [[Scores|Universal Rules][$brandDesign.official = "how much sex $he needs per day"]] <</if>>
<<if ($arcologies[0].FSSlaveProfessionalism != "unset")>>
| //FS// [[Scores|Universal Rules][$brandDesign.official = "$his average slave aptitude test scores"]] <</if>>
<<if ($arcologies[0].FSRepopulationFocus != "unset")>>
| //FS// [[Birth Count|Universal Rules][$brandDesign.official = "the number of children $he has birthed"]] <</if>>
<<if ($arcologies[0].FSGenderRadicalist != "unset") || ($arcologies[0].FSGenderFundamentalist != "unset")>>
| //FS// [[Gender Symbol|Universal Rules][$brandDesign.official = "a gender symbol"]] <</if>>
<<if ($arcologies[0].FSPaternalist != "unset")>>
| //FS// [[Personal Symbol|Universal Rules][$brandDesign.official = "$his own personal symbol"]] <</if>>
<<if ($arcologies[0].FSDegradationist != "unset")>>
| //FS// [[Chain Symbol|Universal Rules][$brandDesign.official = "a chain symbol"]] <</if>>
<<if ($arcologies[0].FSBodyPurist != "unset")>>
| //FS// [[Vitruvian Man|Universal Rules][$brandDesign.official = "a Vitruvian man"]] <</if>>
<<if ($arcologies[0].FSTransformationFetishist != "unset")>>
| //FS// [[Scalpel|Universal Rules][$brandDesign.official = "a scalpel"]] <</if>>
<<if ($arcologies[0].FSYouthPreferentialist != "unset")>>
| //FS// [[Virginity Status|Universal Rules][$brandDesign.official = "$his virginity status"]] <</if>>
<<if ($arcologies[0].FSMaturityPreferentialist != "unset")>>
| //FS// [[Sexual Skill Info|Universal Rules][$brandDesign.official = "$his sexual skills"]] <</if>>
<<if ($arcologies[0].FSPetiteAdmiration != "unset") || ($arcologies[0].FSStatuesqueGlorification != "unset")>>
| //FS// [[Current height|Universal Rules][$brandDesign.official = "$his current height"]] <</if>>
<<if ($arcologies[0].FSSlimnessEnthusiast != "unset")>>
| //FS// [[Breast Floor|Universal Rules][$brandDesign.official = "$his absolute minimum breast size"]] <</if>>
<<if ($arcologies[0].FSAssetExpansionist != "unset")>>
| //FS// [[Breast Ceiling|Universal Rules][$brandDesign.official = "$his absolute maximum breast size"]] <</if>>
<<if ($arcologies[0].FSHedonisticDecadence != "unset")>>
| //FS// [[Weight Record|Universal Rules][$brandDesign.official = "$his highest weigh-in"]] <</if>>
<<if ($arcologies[0].FSHedonisticDecadence != "unset") && $PC.refreshmentType == 2>>
| //FS// [[Favorite Food|Universal Rules][$brandDesign.official = "a big helping of "+$PC.refreshment]] <</if>>
<<if ($arcologies[0].FSPastoralist != "unset")>>
| //FS// [[Product Quality|Universal Rules][$brandDesign.official = "$his body product quality"]] <</if>>
<<if ($arcologies[0].FSPhysicalIdealist != "unset")>>
| //FS// [[Deadlift Info|Universal Rules][$brandDesign.official = "$his deadlift record"]] <</if>>
<<if ($arcologies[0].FSChattelReligionist != "unset")>>
| //FS// [[Religious Symbol|Universal Rules][$brandDesign.official = "a religious symbol"]] <</if>>
<<if ($arcologies[0].FSRomanRevivalist != "unset")>>
| //FS// [[Republican Crest|Universal Rules][$brandDesign.official = "the crest of your Republic"]] <</if>>
<<if ($arcologies[0].FSAztecRevivalist != "unset")>>
| //FS// [[Seven Serpents|Universal Rules][$brandDesign.official = "the symbol of the Aztec gods"]] <</if>>
<<if ($arcologies[0].FSEgyptianRevivalist != "unset")>>
| //FS// [[Dynastic Sigil|Universal Rules][$brandDesign.official = "the sigil of your Dynasty"]] <</if>>
<<if ($arcologies[0].FSEdoRevivalist != "unset")>>
| //FS// [[Mon|Universal Rules][$brandDesign.official = "the Shogunate's mon"]] <</if>>
<<if ($arcologies[0].FSArabianRevivalist != "unset")>>
| //FS// [[Caliphate Symbol|Universal Rules][$brandDesign.official = "a symbol of the Caliphate"]] <</if>>
<<if ($arcologies[0].FSChineseRevivalist != "unset")>>
| //FS// [[Imperial Seal|Universal Rules][$brandDesign.official = "your Imperial Seal"]] <</if>>

Or design your own: <<textbox "$brandDesign.official" $brandDesign.official "Universal Rules">> //For best results, use a single word//

One 'welcome' for a new slave is to have them branded. Where would you like such brands to be applied?
<<if ["ankle", "breast", "buttock", "calf", "cheek", "ear", "foot", "hand", "lower arm", "shoulder", "testicle", "thigh", "upper arm", "wrist"].includes($brandTarget.primary)>>

 On the
	[[left|Universal Rules][$brandTarget.primary = ("left " + $brandTarget.primary)]]
	$brandTarget.primary, or the
	[[right|Universal Rules][$brandTarget.primary = ("right " + $brandTarget.primary)]]?
<<else>>

 Current site is ''$brandTarget.primary'':
	[[Ears|Universal Rules][$brandTarget.primary = "ear"]]
	| [[Cheeks|Universal Rules][$brandTarget.primary = "cheek"]]
	| [[Shoulders|Universal Rules][$brandTarget.primary = "shoulder"]]
	| [[Breasts|Universal Rules][$brandTarget.primary = "breast"]]
	| [[Arm, upper|Universal Rules][$brandTarget.primary = "upper arm"]]
	| [[Arm, lower|Universal Rules][$brandTarget.primary = "lower arm"]]
	| [[Wrist|Universal Rules][$brandTarget.primary = "wrist"]]
	| [[Hand|Universal Rules][$brandTarget.primary = "hand"]]
	| [[Buttocks|Universal Rules][$brandTarget.primary = "buttock"]]
	| [[Thigh|Universal Rules][$brandTarget.primary = "thigh"]]
	| [[Calf|Universal Rules][$brandTarget.primary = "calf"]]
	| [[Ankle|Universal Rules][$brandTarget.primary = "ankle"]]
	| [[Feet|Universal Rules][$brandTarget.primary = "foot"]]
	| [[Neck|Universal Rules][$brandTarget.primary = "neck"]]
	| [[Chest|Universal Rules][$brandTarget.primary = "chest"]]
	| [[Belly|Universal Rules][$brandTarget.primary = "belly"]]
	| [[Pubic Mound|Universal Rules][$brandTarget.primary = "pubic mound"]]
	| [[Penis|Universal Rules][$brandTarget.primary = "penis"]]
	| [[Testicles|Universal Rules][$brandTarget.primary = "testicle"]]
	| [[Back|Universal Rules][$brandTarget.primary = "back"]]
	| [[Lower Back|Universal Rules][$brandTarget.primary = "lower back"]]
<</if>>

<<if ["ankle", "breast", "buttock", "calf", "cheek", "ear", "foot", "hand", "lower arm", "shoulder", "testicle", "thigh", "upper arm", "wrist"].includes($brandTarget.secondary)>>

 On the
	[[left|Universal Rules][$brandTarget.secondary = ("left " + $brandTarget.secondary)]]
	$brandTarget.secondary, or the
	[[right|Universal Rules][$brandTarget.secondary = ("right " + $brandTarget.secondary)]]?
<<elseif [
	"left ankle", "right ankle",
	"left calve", "right calve",
	"left ear", "right ear",
	"left foot", "right foot",
	"left hand", "right hand",
	"left lower arm", "right lower arm",
	"left penis", "right penis",
	"left testicle", "right testicle",
	"left thigh", "right thigh",
	"left upper arm", "right upper arm",
	"left wrist", "right wrist"
	].includes($brandTarget.primary)>>

 It's possible that ''$brandTarget.primary'' may be missing from a slave. Choose a fallback in case it is not available: Current backup is ''$brandTarget.secondary'':
	/* Material copied from bodyModification, but please leave commented out any sections that may not be on ALL slaves. */

	/*<<if hasAnyEars($activeSlave)>>[[Ears|Universal Rules][$brandTarget.secondary = "ear"]]<</if>>*/
	| [[Cheeks|Universal Rules][$brandTarget.secondary = "cheek"]]
	| [[Shoulders|Universal Rules][$brandTarget.secondary = "shoulder"]]
	| [[Breasts|Universal Rules][$brandTarget.secondary = "breast"]]
	/*<<if hasAnyNaturalArms($activeSlave)>>
		| [[Arm, upper|Universal Rules][$brandTarget.secondary = "upper arm"]]
		| [[Arm, lower|Universal Rules][$brandTarget.secondary = "lower arm"]]
		| [[Wrist|Universal Rules][$brandTarget.secondary = "wrist"]]
		| [[Hand|Universal Rules][$brandTarget.secondary = "hand"]]
	<</if>>*/
	| [[Buttocks|Universal Rules][$brandTarget.secondary = "buttock"]]
	/*<<if hasAnyNaturalLegs($activeSlave)>>
		| [[Thigh|Universal Rules][$brandTarget.secondary = "thigh"]]
		| [[Calf|Universal Rules][$brandTarget.secondary = "calf"]]
		| [[Ankle|Universal Rules][$brandTarget.secondary = "ankle"]]
		| [[Feet|Universal Rules][$brandTarget.secondary = "foot"]]
	<</if>>*/
	| [[Neck|Universal Rules][$brandTarget.secondary = "neck"]]
	| [[Chest|Universal Rules][$brandTarget.secondary = "chest"]]
	| [[Belly|Universal Rules][$brandTarget.secondary = "belly"]]
	| [[Pubic Mound|Universal Rules][$brandTarget.secondary = "pubic mound"]]
	/*<<if $activeSlave.dick > 0>>
		| [[Penis|Universal Rules][$brandTarget.secondary = "penis"]]
	<</if>>*/
	/*<<if $activeSlave.balls > 0 && $activeSlave.scrotum > 0>>
		| [[Testicles|Universal Rules][$brandTarget.secondary = "testicle"]]
	<</if>>*/
	| [[Back|Universal Rules][$brandTarget.secondary = "back"]]
	| [[Lower Back|Universal Rules][$brandTarget.secondary = "lower back"]]
<</if>>

Use ''$brandDesign.primary'' or choose another brand:
[[Your slaving emblem|Universal Rules][$brandDesign.primary = "your personal symbol"]]
| [[Your initials|Universal Rules][$brandDesign.primary = "your initials"]]

[[SLUT|Universal Rules][$brandDesign.primary = "SLUT"]]
| [[WHORE|Universal Rules][$brandDesign.primary = "WHORE"]]
| [[SLAVE|Universal Rules][$brandDesign.primary = "SLAVE"]]
| [[COW|Universal Rules][$brandDesign.primary = "COW"]]
| [[MEAT|Universal Rules][$brandDesign.primary = "MEAT"]]
| [[CUMDUMP|Universal Rules][$brandDesign.primary = "CUMDUMP"]]
| [[LOVER|Universal Rules][$brandDesign.primary = "LOVER"]]

[[Pussy symbol|Universal Rules][$brandDesign.primary = "a pussy symbol"]]
| [[Anus symbol|Universal Rules][$brandDesign.primary = "an anus symbol"]]
| [[Penis symbol|Universal Rules][$brandDesign.primary = "a penis symbol"]]

[[Lady|Universal Rules][$brandDesign.primary = "a lady silhouette"]]
| [[Princess|Universal Rules][$brandDesign.primary = "a princess silhouette"]]
| [[Queen|Universal Rules][$brandDesign.primary = "a queen silhouette"]]
| [[Angel|Universal Rules][$brandDesign.primary = "an angel silhouette"]]
| [[Devil|Universal Rules][$brandDesign.primary = "a devil silhouette"]]
<<if ($arcologies[0].FSSupremacist != "unset") && ($activeSlave.race != $arcologies[0].FSSupremacistRace)>>
| //FS// [[Racial Slur|Universal Rules][$brandDesign.primary = "a racial slur"]] <</if>>
<<if ($arcologies[0].FSSubjugationist != "unset") && ($activeSlave.race == $arcologies[0].FSSubjugationistRace)>>
| //FS// [[Racial Slur|Universal Rules][$brandDesign.primary = "a racial slur"]] <</if>>
<<if ($arcologies[0].FSSubjugationist != "unset") && ($activeSlave.race == $arcologies[0].FSSubjugationistRace)>>
| //FS// [[Racial Slur|Universal Rules][$brandDesign.primary = "a racial slur"]] <</if>>
<<if ($arcologies[0].FSIntellectualDependency != "unset")>>
| //FS// [[Scores|Universal Rules][$brandDesign.primary = "how much sex $he needs per day"]] <</if>>
<<if ($arcologies[0].FSSlaveProfessionalism != "unset")>>
| //FS// [[Scores|Universal Rules][$brandDesign.primary = "$his average slave aptitude test scores"]] <</if>>
<<if ($arcologies[0].FSRepopulationFocus != "unset")>>
| //FS// [[Birth Count|Universal Rules][$brandDesign.primary = "the number of children $he has birthed"]] <</if>>
<<if ($arcologies[0].FSGenderRadicalist != "unset") || ($arcologies[0].FSGenderFundamentalist != "unset")>>
| //FS// [[Gender Symbol|Universal Rules][$brandDesign.primary = "a gender symbol"]] <</if>>
<<if ($arcologies[0].FSPaternalist != "unset")>>
| //FS// [[Personal Symbol|Universal Rules][$brandDesign.primary = "$his own personal symbol"]] <</if>>
<<if ($arcologies[0].FSDegradationist != "unset")>>
| //FS// [[Chain Symbol|Universal Rules][$brandDesign.primary = "a chain symbol"]] <</if>>
<<if ($arcologies[0].FSBodyPurist != "unset")>>
| //FS// [[Vitruvian Man|Universal Rules][$brandDesign.primary = "a Vitruvian man"]] <</if>>
<<if ($arcologies[0].FSTransformationFetishist != "unset")>>
| //FS// [[Scalpel|Universal Rules][$brandDesign.primary = "a scalpel"]] <</if>>
<<if ($arcologies[0].FSYouthPreferentialist != "unset")>>
| //FS// [[Virginity Status|Universal Rules][$brandDesign.primary = "$his virginity status"]] <</if>>
<<if ($arcologies[0].FSMaturityPreferentialist != "unset")>>
| //FS// [[Sexual Skill Info|Universal Rules][$brandDesign.primary = "$his sexual skills"]] <</if>>
<<if ($arcologies[0].FSPetiteAdmiration != "unset") || ($arcologies[0].FSStatuesqueGlorification != "unset")>>
| //FS// [[Current height|Universal Rules][$brandDesign.primary = "$his current height"]] <</if>>
<<if ($arcologies[0].FSSlimnessEnthusiast != "unset")>>
| //FS// [[Breast Floor|Universal Rules][$brandDesign.primary = "$his absolute minimum breast size"]] <</if>>
<<if ($arcologies[0].FSAssetExpansionist != "unset")>>
| //FS// [[Breast Ceiling|Universal Rules][$brandDesign.primary = "$his absolute maximum breast size"]] <</if>>
<<if ($arcologies[0].FSHedonisticDecadence != "unset")>>
| //FS// [[Weight Record|Universal Rules][$brandDesign.primary = "$his highest weigh-in"]] <</if>>
<<if ($arcologies[0].FSHedonisticDecadence != "unset") && $PC.refreshmentType == 2>>
| //FS// [[Favorite Food|Universal Rules][$brandDesign.primary = "a big helping of "+$PC.refreshment]] <</if>>
<<if ($arcologies[0].FSPastoralist != "unset")>>
| //FS// [[Product Quality|Universal Rules][$brandDesign.primary = "$his body product quality"]] <</if>>
<<if ($arcologies[0].FSPhysicalIdealist != "unset")>>
| //FS// [[Deadlift Info|Universal Rules][$brandDesign.primary = "$his deadlift record"]] <</if>>
<<if ($arcologies[0].FSChattelReligionist != "unset")>>
| //FS// [[Religious Symbol|Universal Rules][$brandDesign.primary = "a religious symbol"]] <</if>>
<<if ($arcologies[0].FSRomanRevivalist != "unset")>>
| //FS// [[Republican Crest|Universal Rules][$brandDesign.primary = "the crest of your Republic"]] <</if>>
<<if ($arcologies[0].FSAztecRevivalist != "unset")>>
| //FS// [[Seven Serpents|Universal Rules][$brandDesign.primary = "the symbol of the Aztec gods"]] <</if>>
<<if ($arcologies[0].FSEgyptianRevivalist != "unset")>>
| //FS// [[Dynastic Sigil|Universal Rules][$brandDesign.primary = "the sigil of your Dynasty"]] <</if>>
<<if ($arcologies[0].FSEdoRevivalist != "unset")>>
| //FS// [[Mon|Universal Rules][$brandDesign.primary = "the Shogunate's mon"]] <</if>>
<<if ($arcologies[0].FSArabianRevivalist != "unset")>>
| //FS// [[Caliphate Symbol|Universal Rules][$brandDesign.primary = "a symbol of the Caliphate"]] <</if>>
<<if ($arcologies[0].FSChineseRevivalist != "unset")>>
| //FS// [[Imperial Seal|Universal Rules][$brandDesign.primary = "your Imperial Seal"]] <</if>>

Or design your own: <<textbox "$brandDesign.primary" $brandDesign.primary "Universal Rules">> //For best results, use a single word//

''Scarring for slaves''

/* Correct some "bad" choices" */
<<if ["exotic", "menacing"].includes($scarDesign.primary)>>
	<<if !["cheek", "left cheek", "right cheek"].includes($scarTarget.primary)>>
		<<set $scarTarget.primary = "cheek">>
	<</if>>
<</if>>

One 'welcome' for a new slave is to have them scarred. Where would you like such scars to be applied?
<<if ["ankle", "breast", "buttock", "calf", "cheek", "ear", "foot", "hand", "lower arm", "shoulder", "testicle", "thigh", "upper arm", "wrist"].includes($scarTarget.primary)>>

 On the
	[[left|Universal Rules][$scarTarget.primary = ("left " + $scarTarget.primary)]]
	$scarTarget.primary, or the
	[[right|Universal Rules][$scarTarget.primary = ("right " + $scarTarget.primary)]]?
<<else>>

 Current site is ''$scarTarget.primary'':
	[[Ears|Universal Rules][$scarTarget.primary = "ear"]]
	| [[Cheeks|Universal Rules][$scarTarget.primary = "cheek"]]
	| [[Shoulders|Universal Rules][$scarTarget.primary = "shoulder"]]
	| [[Breasts|Universal Rules][$scarTarget.primary = "breast"]]
	| [[Arm, upper|Universal Rules][$scarTarget.primary = "upper arm"]]
	| [[Arm, lower|Universal Rules][$scarTarget.primary = "lower arm"]]
	| [[Wrist|Universal Rules][$scarTarget.primary = "wrist"]]
	| [[Hand|Universal Rules][$scarTarget.primary = "hand"]]
	| [[Buttocks|Universal Rules][$scarTarget.primary = "buttock"]]
	| [[Thigh|Universal Rules][$scarTarget.primary = "thigh"]]
	| [[Calf|Universal Rules][$scarTarget.primary = "calf"]]
	| [[Ankle|Universal Rules][$scarTarget.primary = "ankle"]]
	| [[Feet|Universal Rules][$scarTarget.primary = "foot"]]
	| [[Neck|Universal Rules][$scarTarget.primary = "neck"]]
	| [[Chest|Universal Rules][$scarTarget.primary = "chest"]]
	| [[Belly|Universal Rules][$scarTarget.primary = "belly"]]
	| [[Pubic Mound|Universal Rules][$scarTarget.primary = "pubic mound"]]
	| [[Penis|Universal Rules][$scarTarget.primary = "penis"]]
	| [[Testicles|Universal Rules][$scarTarget.primary = "testicle"]]
	| [[Back|Universal Rules][$scarTarget.primary = "back"]]
	| [[Lower Back|Universal Rules][$scarTarget.primary = "lower back"]]
<</if>>

<<if ["ankle", "breast", "buttock", "calf", "cheek", "ear", "foot", "hand", "lower arm", "shoulder", "testicle", "thigh", "upper arm", "wrist"].includes($scarTarget.secondary)>>

 On the
	[[left|Universal Rules][$scarTarget.secondary = ("left " + $scarTarget.secondary)]]
	$scarTarget.secondary, or the
	[[right|Universal Rules][$scarTarget.secondary = ("right " + $scarTarget.secondary)]]?
<<elseif [
	"left ankle", "right ankle",
	"left calve", "right calve",
	"left ear", "right ear",
	"left foot", "right foot",
	"left hand", "right hand",
	"left lower arm", "right lower arm",
	"left penis", "right penis",
	"left testicle", "right testicle",
	"left thigh", "right thigh",
	"left upper arm", "right upper arm",
	"left wrist", "right wrist"
	].includes($scarTarget.primary)>>

 It's possible that ''$scarTarget.primary'' may be missing from a slave. Choose a fallback in case it is not available: Current backup is ''$scarTarget.secondary'':
	/* Material copied from bodyModification, but please leave commented out any sections that may not be on ALL slaves. */

	/*<<if hasAnyEars($activeSlave)>>[[Ears|Universal Rules][$scarTarget.secondary = "ear"]]<</if>>*/
	| [[Cheeks|Universal Rules][$scarTarget.secondary = "cheek"]]
	| [[Shoulders|Universal Rules][$scarTarget.secondary = "shoulder"]]
	| [[Breasts|Universal Rules][$scarTarget.secondary = "breast"]]
	/*<<if hasAnyNaturalArms($activeSlave)>>
		| [[Arm, upper|Universal Rules][$scarTarget.secondary = "upper arm"]]
		| [[Arm, lower|Universal Rules][$scarTarget.secondary = "lower arm"]]
		| [[Wrist|Universal Rules][$scarTarget.secondary = "wrist"]]
		| [[Hand|Universal Rules][$scarTarget.secondary = "hand"]]
	<</if>>*/
	| [[Buttocks|Universal Rules][$scarTarget.secondary = "buttock"]]
	/*<<if hasAnyNaturalLegs($activeSlave)>>
		| [[Thigh|Universal Rules][$scarTarget.secondary = "thigh"]]
		| [[Calf|Universal Rules][$scarTarget.secondary = "calf"]]
		| [[Ankle|Universal Rules][$scarTarget.secondary = "ankle"]]
		| [[Feet|Universal Rules][$scarTarget.secondary = "foot"]]
	<</if>>*/
	| [[Neck|Universal Rules][$scarTarget.secondary = "neck"]]
	| [[Chest|Universal Rules][$scarTarget.secondary = "chest"]]
	| [[Belly|Universal Rules][$scarTarget.secondary = "belly"]]
	| [[Pubic Mound|Universal Rules][$scarTarget.secondary = "pubic mound"]]
	/*<<if $activeSlave.dick > 0>>
		| [[Penis|Universal Rules][$scarTarget.secondary = "penis"]]
	<</if>>*/
	/*<<if $activeSlave.balls > 0 && $activeSlave.scrotum > 0>>
		| [[Testicles|Universal Rules][$scarTarget.secondary = "testicle"]]
	<</if>>*/
	| [[Back|Universal Rules][$scarTarget.secondary = "back"]]
	| [[Lower Back|Universal Rules][$scarTarget.secondary = "lower back"]]
<</if>>

Use ''$scarDesign.primary'' or choose another scar:
[[Whip|Universal Rules][$scarDesign.primary = "whip"]]
| [[Burns|Universal Rules][$scarDesign.primary = "burn"]]
| [[Surgical|Universal Rules][$scarDesign.primary = "surgical"]]
| [[Menacing|Universal Rules][$scarDesign.primary = "menacing"]]
| [[Exotic|Universal Rules][$scarDesign.primary = "exotic"]]
/* Other common scars might be battle scars or c-Section but it makes little sense to include them here */

Or design your own: <<textbox "$scarDesign.primary" $scarDesign.primary "Universal Rules">> //For best results, use a single word//

''Names for slaves''

<<if $surnamesForbidden == 0>>

	<<link "Strip all slaves of their surnames, both new and old">>
		<<for _i = 0; _i < $slaves.length; _i++>>
			<<set $slaves[_i].slaveSurname = 0>>
		<</for>>
		<<set $surnamesForbidden = 1>>
		<<replace "#strip">>
			Surnames taken.
		<</replace>>
	<</link>>

<<else>>
	[[Allow future slaves to keep their surnames|Universal Rules][$surnamesForbidden = 0]]
<</if>>

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

<<if $FSAnnounced > 0>>

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

		<<if $FSNamePref == 0>>
			You are currently not setting direction towards which Future Society names are preferred.
		<<elseif $FSNamePref == 1>>
			New Slaves are currently being given devotional names.
		<<elseif $FSNamePref == 2>>
			New slaves are currently being named according to Roman Custom.
		<<elseif $FSNamePref == 3>>
			New slaves are currently being named according to ancient Aztec Custom.
		<<elseif $FSNamePref == 4>>
			New slaves are currently being named according to ancient Egyptian Custom.
		<<elseif $FSNamePref == 5>>
			New slaves are currently being named according to feudal Japanese Custom.
		<<elseif $FSNamePref == 6>>
			New slaves are currently being named according to Degradationalist Custom.
		<<elseif $FSNamePref == 7>>
			New slaves are currently being named according to Paternalist Custom.
		<<elseif $FSNamePref == 8>>
			New slaves are currently being given simple bimbo names.
		<<elseif $FSNamePref == 9>>
			New Slaves are currently being named according to Pastoralist Custom.
		<</if>>

		<<if $FSNamePref != 0>>
			[[No Longer Specify which Future Society to Draw Names From.|Universal Rules][$FSNamePref = 0]]

		<</if>>
		<<if $FSNamePref != 1 && $arcologies[0].FSChattelReligionist >= 20>>
			[[Give New Slaves Devotional Names|Universal Rules][$FSNamePref = 1]]

		<</if>>
		<<if $FSNamePref != 2 && $arcologies[0].FSRomanRevivalist > 20>>
			[[Give New slaves Roman Names|Universal Rules][$FSNamePref = 2]]

		<</if>>
		<<if $FSNamePref != 3 && $arcologies[0].FSAztecRevivalist > 20>>
			[[Give New Slaves Ancient Aztec Names.|Universal Rules][$FSNamePref = 3]]

		<</if>>
		<<if $FSNamePref != 4 && $arcologies[0].FSEgyptianRevivalist > 20>>
			[[Give New Slaves Ancient Egyptian Names|Universal Rules][$FSNamePref = 4]]

		<</if>>
		<<if $FSNamePref != 5 && $arcologies[0].FSEdoRevivalist > 20>>
			[[Give New Slaves Feudal Japanese Names|Universal Rules][$FSNamePref = 5]]

		<</if>>
		<<if $FSNamePref != 6 && $arcologies[0].FSDegradationist !== "unset">>
			[[Give New Slaves Degrading Names|Universal Rules][$FSNamePref = 6]]

		<</if>>
		<<if $FSNamePref != 7 && $arcologies[0].FSPaternalist >= 20>>
			[[Give New Slaves Paternalist Names|Universal Rules][$FSNamePref = 7]]

		<</if>>
		<<if $FSNamePref != 8 && $arcologies[0].FSIntellectualDependency >= 20>>
			[[Give New Slaves Simple Bimbo Names|Universal Rules][$FSNamePref = 8]]
		<</if>>
	<</if>>
<</if>>

<<if $seePreg != 0>>

''Pregnant slaves''

<<if $universalRulesImpregnation == "HG">>
	<<setLocalPronouns $HeadGirl>>
	Fertile slaves will be ''systematically impregnated by your Head Girl,'' if $he is able to do so.
	[[Cancel insemination regime|Universal Rules][($universalRulesImpregnation = "none"),($universalHGImpregnateMasterSuiteToggle = 0)]]
	| [[Use a Stud for insemination|Universal Rules][($universalRulesImpregnation = "Stud")]]
	<<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 "+$him+" to inseminate Master Suite slaves"|Universal Rules][$universalHGImpregnateMasterSuiteToggle = 0]]
	<<else>>
		Your Head Girl, if able, ''is'' inseminating slaves in the Master Suite. [["Forbid "+$him+" from inseminating Master Suite slaves"|Universal Rules][$universalHGImpregnateMasterSuiteToggle = 1]]
	<</if>>
<<elseif $universalRulesImpregnation == "Stud">>
	<<if $StudID == 0>>
		Fertile slaves will be ''systematically impregnated by a Stud,'' once you designate a subordinate slave to act as such.
	<<else>>
		<<setLocalPronouns getSlaveStateById($StudID)>>
		Fertile slaves will be ''systematically impregnated by your Stud,'' if $he is able to do so.
	<</if>>
	[[Cancel insemination regime|Universal Rules][($universalRulesImpregnation = "none"),($universalHGImpregnateMasterSuiteToggle = 0)]]
	<<if $PC.dick > 0>>
		| [[Inseminate them yourself|Universal Rules][($universalRulesImpregnation = "PC"),($universalHGImpregnateMasterSuiteToggle = 0)]]
	<</if>>
	<<if $seeDicks != 0>>
		| [[Delegate insemination to your Head Girl|Universal Rules][$universalRulesImpregnation = "HG"]]
	<</if>>

	<<if $universalHGImpregnateMasterSuiteToggle == 1>>
		Your Stud, if able, ''is not'' inseminating slaves in the Master Suite. [["Allow "+$him+" to inseminate Master Suite slaves"|Universal Rules][$universalHGImpregnateMasterSuiteToggle = 0]]
	<<else>>
		Your Stud, if able, ''is'' inseminating slaves in the Master Suite. [["Forbid "+$him+" 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"]]
	| [[Use a Stud for insemination|Universal Rules][($universalRulesImpregnation = "Stud")]]
	<<if $seeDicks != 0>>
		| [[Delegate insemination to your Head Girl|Universal Rules][$universalRulesImpregnation = "HG"]]
	<</if>>
<<elseif $seePreg != 0>>
	Fertile slaves will ''not be systematically impregnated.''
	<<if $PC.dick > 0>>
		[[Inseminate them yourself|Universal Rules][$universalRulesImpregnation = "PC"]] |
	<</if>>
	<<if $seeDicks != 0>>
		[[Delegate insemination to your Head Girl|Universal Rules][$universalRulesImpregnation = "HG"]] |
	<</if>>
	[[Use a Stud for insemination|Universal Rules][($universalRulesImpregnation = "Stud")]]
<</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 $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>>

''Babies''

Upon birth slave babies will be sent to $DefaultBirthDestination.

You can decide on a new policy:
	<<if $DefaultBirthDestination != "individually decided fates">>
		[[Decide individually|Universal Rules][$DefaultBirthDestination = "individually decided fates",$universalRulesChildrenBecomeBreeders = 0]]
	<</if>>
	<<if $DefaultBirthDestination != "an orphanage">>
		| [[Slave orphanage|Universal Rules][$DefaultBirthDestination = "an orphanage",$universalRulesChildrenBecomeBreeders = 0]]
	<</if>>
	<<if $DefaultBirthDestination != "a citizen school">>
		| [[Citizen school|Universal Rules][$DefaultBirthDestination = "a citizen school",$universalRulesChildrenBecomeBreeders = 0]]
	<</if>>
	<<if $DefaultBirthDestination != "a private school">>
		| [[Private school|Universal Rules][$DefaultBirthDestination = "a private school",$universalRulesChildrenBecomeBreeders = 0]]
	<</if>>
	<<if $policies.cash4Babies > 0>>
		<<if $DefaultBirthDestination != "the market">>
			| [[Market|Universal Rules][$DefaultBirthDestination = "the market",$universalRulesChildrenBecomeBreeders = 0]]
		<</if>>
	<</if>>
	<<if $arcologies[0].FSRepopulationFocus > 40>>

		<<if $DefaultBirthDestination != "breeder schools">>
			| [[Breeder schools|Universal Rules][$DefaultBirthDestination = "breeder schools",$universalRulesChildrenBecomeBreeders = 1]]
			//Will require a <<print cashFormat(50)>> donation per week once enrollment begins//
		<</if>>
	<</if>>
	//Children reserved for the Incubator or Nursery will not be affected//

<</if>>/*Closes seePreg check*/

''New slaves''

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


code:
:: Walk Past List [nobr]

<<set $nextButton = "Back to Main", $nextLink = "Main", _target = $target>>
//For testing purposes only, this page lists or can produce all of the "walk past" scenes.//

//No scene has been selected yet.//

Choose target

Target: $target

<<link "Lips">>
	<<set $target = "FLips">>
	<<goto "Walk Past List">>
<</link>>

<<link "Boobs">>
	<<set $target = "FBoobs">>
	<<goto "Walk Past List">>
<</link>>

<<link "Butt">>
	<<set $target = "FButt">>
	<<goto "Walk Past List">>
<</link>> |
<<link "Anus">>
	<<set $target = "FAnus">>
	<<goto "Walk Past List">>
<</link>> |
<<link "Vagina">>
	<<set $target = "FVagina">>
	<<goto "Walk Past List">>
<</link>> //or ass if they lack one//

<<link "Dick">>
	<<set $target = "FDick">>
	<<goto "Walk Past List">>
<</link>>

<<link "Rival">>
	<<set $target = "FRival">>
	<<goto "Walk Past List">>
<</link>>

<<link "Relation">>
	<<set $target = "FRelation">>
	<<goto "Walk Past List">>
<</link>>

Walk Past List

<<for _i = 0; _i < $slaves.length; _i++>>
	<<set $activeSlave = $slaves[_i]>>
	<<capture $activeSlave>>
		<<set _print = "">>
		<<set _print = walkPast($slaves[_i], "fixed")>>
		<<if _print>>
			<<print _print + "

">>
		<</if>>
		<<if $target != _target>>
			<<set $target = _target>>
		<</if>>
	<</capture>>
<</for>>


code:
:: Wardeness Select [nobr jump-to-safe jump-hidden jump-from-safe]

<<set $nextButton = "Back", $nextLink = "Cellblock", $encyclopedia = "Wardeness">>
<<if ($Wardeness != 0)>>
	<<set $Wardeness = getSlave($Wardeness.ID)>>
	<<setLocalPronouns $Wardeness>>
	<<= SlaveFullName($Wardeness)>> is serving as your Wardeness.

$He will help break your prisoners.
<<else>>
	You have not selected a Wardeness.
<</if>>

''Appoint a Wardeness from your devoted slaves:''

[[None|Cellblock][removeJob($Wardeness, "be the Wardeness")]]

<<print App.UI.SlaveList.facilityManagerSelection(App.Entity.facilities.cellblock, "Cellblock")>>


code:
:: Wardrobe [nobr jump-to-safe jump-from-safe]

<<set $nextButton = "Back", $nextLink = "Manage Penthouse">>

<<if $seeDicks != 100>>
	<<set _model = GenerateNewSlave("XX")>>
<<else>>
	<<set _model = GenerateNewSlave("XY")>>
<</if>>

Slave Wardrobe

The room containing all the clothes and accessories you have available to dress your slaves in, as well as the supplies and tools your tailor needs to resize them to better fit your slaves. Several mirrors are set up for a slave to try on outfits should they be allowed to dress themselves. The selection includes
<<set _ownItAll = (
	App.Data.misc.niceClothes.every((i) => isItemAccessible.entry(i.value, "clothing")) &&
	App.Data.misc.harshClothes.every((i) => isItemAccessible.entry(i.value, "clothing"))
)>>
<<if _ownItAll>>
	outfits from all manner of cultures and societies; not a single style eludes you.
<<else>>
	many styles of clothing ranging from exciting to mundane and sexy to practical.
<</if>>
<<if $shoesBoughtHeels == 1>>
	A large variety of shoes are available to select from.
<</if>>
<<if $toysBoughtDildos == 1 && $toysBoughtGags == 1 && $toysBoughtButtPlugs == 1>>
	Sex toys of all kinds and shapes line the shelves.
<<elseif $toysBoughtDildos == 1 || $toysBoughtGags == 1 || $toysBoughtButtPlugs == 1 || $toysBoughtButtPlugTails == 1 || $toysBoughtVaginalAttachments == 1>>
	Some sex toys line the shelves.
<</if>>
<<if $buckets == 1>>
	Several buckets of various sizes and a sturdy cup have been set aside for you in feeding slaves to their limit.
<</if>>
<<if $enema == 1>>
	A number of drums of specially formulated water for use in enemas line one of the walls.
<</if>>
<<if $medicalEnema == 1>>
	Alongside them, multiple drums of mixtures for use in medical enemas.
<</if>>

Future Society styles

<<set _model.clothes = "a bunny outfit">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a bunny outfit", "clothing") !== true>>
	[[Order a shipment of bunny suits|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtBunny = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with classic bunny suits and bowties.
<</if>>

<<set _model.clothes = "conservative clothing">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("conservative clothing", "clothing") !== true>>
	[[Order a shipment of conservative clothes|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtConservative = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with modest outfits.
<</if>>

<<set _model.clothes = "a bimbo outfit">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a bimbo outfit", "clothing") !== true>>
	[[Order a shipment of outfits suitable for bimbos|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtBimbo = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with bimbo attire.
<</if>>

<<set _model.clothes = "a courtesan dress">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a courtesan dress", "clothing") !== true>>
	[[Order a shipment of courtesan dresses|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtCourtesan = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with courtesan dresses.
<</if>>

<<set _model.clothes = "chains">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("chains", "clothing") !== true>>
	[[Order a shipment of chains|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtChains = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with various lengths of binding chains.
<</if>>

<<set _model.clothes = "Western clothing">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("Western clothing", "clothing") !== true>>
	[[Order a shipment of western outfits|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtWestern = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with cowgirl outfits.
<</if>>

<<set _model.clothes = "body oil">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("body oil", "clothing") !== true>>
	[[Order a shipment of body oil|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtOil = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with various body oils.
<</if>>

<<set _model.clothes = "stretch pants and a crop-top">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("stretch pants and a crop-top", "clothing") !== true>>
	[[Order a shipment of comfortable, rather stretchy, clothes|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtLazyClothes = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with various comfy pants and rather tight crop-tops.
<</if>>

<<set _model.clothes = "a chattel habit">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a chattel habit", "clothing") !== true>>
	[[Order a shipment of chattel habits|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtHabit = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with habits from the chattel religion.
<</if>>

<<set _model.clothes = "a maternity dress">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a maternity dress", "clothing") !== true>>
	[[Order a shipment of maternity dresses|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtMaternityDress = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with dresses specially tailored for pregnant women.
<</if>>

<<set _model.clothes = "attractive lingerie for a pregnant woman">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("attractive lingerie for a pregnant woman", "clothing") !== true>>
	[[Order a shipment of maternity lingerie|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtMaternityLingerie = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with sexy silken lingerie designed for pregnant women.
<</if>>

Future Society Revivalist styles

<<set _model.clothes = "no clothing">>
<<set _model.collar = "ancient Egyptian">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<set _model.collar = "none">>
<<if !isItemAccessible.entry("ancient Egyptian", "collar")>>
	[[Order a shipment of Egyptian necklaces|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtEgypt = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with ancient Egyptian necklaces.
<</if>>

<<set _model.clothes = "a toga">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a toga", "clothing") !== true>>
	[[Order a shipment of togas|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtToga = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with fine roman-styled togas.
<</if>>

<<set _model.clothes = "a huipil">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a huipil", "clothing") !== true>>
	[[Order a shipment of huipil|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtHuipil = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with exquisite Aztec huipils.
<</if>>

<<set _model.clothes = "a kimono">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a kimono", "clothing") !== true>>
	[[Order a shipment of kimonos|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtKimono = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with elegant Japanese kimonos.
<</if>>

<<set _model.clothes = "harem gauze">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("harem gauze", "clothing") !== true>>
	[[Order a shipment of harem outfits|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtHarem = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with Arabic harem garb made from the finest available silks.
<</if>>

<<set _model.clothes = "a slutty qipao">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a slutty qipao", "clothing") !== true>>
	[[Order a shipment of qipaos|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtQipao = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with slutty Chinese qipaos.
<</if>>

Other styles

<<set _model.clothes = either("a military uniform", "a red army uniform", "battlearmor", "battledress")>>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("battlearmor", "clothing") !== true>>
	[[Order a shipment of military themed clothing|Wardrobe][cashX(forceNeg(Math.trunc(5000 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtMilitary = 1]]

Costs <<print cashFormat(Math.trunc(5000 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with a variety of military themed garb.
<</if>>

<<set _model.clothes = either("a biyelgee costume", "a dirndl", "a hanbok", "a mounty outfit", "lederhosen")>>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a dirndl", "clothing") !== true>>
	[[Order a shipment of cultural outfits|Wardrobe][cashX(forceNeg(Math.trunc(15000 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtCultural = 1]]

Costs <<print cashFormat(Math.trunc(15000 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with a variety of signature outfits from a variety of countries.
<</if>>

<<set _model.clothes = either("a burqa", "a niqab and abaya")>>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a burqa", "clothing") !== true>>
	[[Order a shipment of burqas and similar garb|Wardrobe][cashX(forceNeg(Math.trunc(5000 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtMiddleEastern = 1]]

Costs <<print cashFormat(Math.trunc(5000 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with a number of burqas and similar clothing.
<</if>>

<<set _model.clothes = either("a button-up shirt and panties", "a button-up shirt", "a sweater and cutoffs", "a sweater and panties", "a sweater", "a t-shirt and jeans", "a t-shirt and panties", "a t-shirt", "a tank-top and panties", "a tank-top", "a tube top", "an oversized t-shirt", "cutoffs", "jeans", "leather pants and a tube top", "leather pants")>>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("jeans", "clothing") !== true>>
	[[Order an extra large shipment of casual clothing|Wardrobe][cashX(forceNeg(Math.trunc(5000 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtCasual = 1]]

Costs <<print cashFormat(Math.trunc(5000 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with casual clothing.
<</if>>

<<set _model.clothes = either("a nice nurse outfit", "a police uniform", "nice business attire")>>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a police uniform", "clothing") !== true>>
	[[Order a shipment of professional garments|Wardrobe][cashX(forceNeg(Math.trunc(2500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtCareer = 1]]

Costs <<print cashFormat(Math.trunc(2500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with a selection of professional outfits.
<</if>>

<<set _model.clothes = either("a ball gown", "a gothic lolita dress")>>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a gothic lolita dress", "clothing") !== true>>
	[[Order a shipment of professionally tailored dresses|Wardrobe][cashX(forceNeg(Math.trunc(15000 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtDresses = 1]]

Costs <<print cashFormat(Math.trunc(15000 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with a selection of fine dresses.
<</if>>

<<set _model.clothes = either("a cybersuit", "a latex catsuit")>>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a cybersuit", "clothing") !== true>>
	[[Order a shipment of exotic bodysuits|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtBodysuits = 1]]

Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with a selection of bodysuits.
<</if>>

<<set _model.clothes = either("a bra", "a skimpy loincloth", "a thong", "boyshorts", "kitty lingerie", "panties and pasties", "pasties")>>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("boyshorts", "clothing") !== true>>
	[[Order a shipment of undergarments|Wardrobe][cashX(forceNeg(Math.trunc(5000 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtUnderwear = 1]]

Costs <<print cashFormat(Math.trunc(5000 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with underwear.
<</if>>

<<set _model.clothes = either("a sports bra", "sport shorts and a sports bra", "sport shorts")>>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("sport shorts and a sports bra", "clothing") !== true>>
	[[Order a shipment of exercise wear|Wardrobe][cashX(forceNeg(Math.trunc(2500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtSports = 1]]

Costs <<print cashFormat(Math.trunc(2500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with exercise wear.
<</if>>

<<set _model.clothes = either("a monokini", "a one-piece swimsuit")>>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a one-piece swimsuit", "clothing") !== true>>
	[[Order a shipment of swimwear|Wardrobe][cashX(forceNeg(Math.trunc(3500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtSwimwear = 1]]

Costs <<print cashFormat(Math.trunc(3500 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with swimwear.
<</if>>

<<set _model.clothes = either("a nice pony outfit", "a slutty pony outfit")>>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a nice pony outfit", "clothing") !== true>>
	[[Order a shipment of specialized latex ponygirl outfits|Wardrobe][cashX(forceNeg(Math.trunc(10000 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtPony = 1]]

Costs <<print cashFormat(Math.trunc(10000 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with ponygirl bodysuits.
<</if>>

<<set _model.clothes = either("a klan robe", "a schutzstaffel uniform", "a slutty klan robe", "a slutty schutzstaffel uniform")>>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a schutzstaffel uniform", "clothing") !== true>>
	[[Order a shipment of politically incorrect clothing|Wardrobe][cashX(forceNeg(Math.trunc(15000 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtPol = 1]]

Costs <<print cashFormat(Math.trunc(15000 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with a selection of outfits once considered distasteful.
<</if>>

<<set _model.clothes = "a Santa dress">>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("a Santa dress", "clothing") !== true>>
	[[Order a shipment of colorful and revealing costumes|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtCostume = 1]]

Costs <<print cashFormat(Math.trunc(15000 * $upgradeMultiplierTrade))>>

<<else>>
	You are well stocked with a variety of costume party supplies.
<</if>>

<<set _model.clothes = either("a striped bra", "striped panties", "striped underwear")>>
<<if $seeImages == 1>>

		<<= SlaveArt(_model, 1, 0)>>

<</if>>
<<if isItemAccessible.entry("striped panties", "clothing") !== true>>
	[[Order a large crate of panties from Japan|Wardrobe][cashX(forceNeg(Math.trunc(2500 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtPantsu = 1]]

Costs <<print cashFormat(Math.trunc(2500 * $upgradeMultiplierTrade))>>

<<else>>
	You have an impressive stash of panties and other striped underwear that may or may not be have at one point been used.
<</if>>

Accessories

	<<if !isItemAccessible.entry("platform heels", "shoes")>>
		[[Order a shipment of platform shoes|Wardrobe][cashX(forceNeg(Math.trunc(7500 * $upgradeMultiplierTrade)), "capEx"), $shoesBoughtHeels = 1]]
		Costs <<print cashFormat(Math.trunc(7500 * $upgradeMultiplierTrade))>>
	<<else>>
		You have shelves dedicated to your collection of platform shoes.
	<</if>>

	<<if !isItemAccessible.entry("a small empathy belly", "bellyAccessory")>>
		[[Order a shipment of fake pregnancy bellies|Wardrobe][cashX(forceNeg(Math.trunc(15000 * $upgradeMultiplierTrade)), "capEx"), $clothesBoughtBelly = 1]]
		Costs <<print cashFormat(Math.trunc(15000 * $upgradeMultiplierTrade))>>
	<<else>>
		You are well stocked with silicone pregnancy bellies modeled after variously sized women.
	<</if>>

	<<if $toysBoughtDildos == 0>>
		[[Order a shipment of extra long dildos and bullet vibes|Wardrobe][cashX(forceNeg(Math.trunc(10000 * $upgradeMultiplierTrade)), "capEx"), $toysBoughtDildos = 1]]
		Costs <<print cashFormat(Math.trunc(10000 * $upgradeMultiplierTrade))>>
	<<else>>
		You are well stocked with extra long dildos in a variety of sizes, as well as a good amount of bullet vibrators.
		<<if $toysBoughtSmartVibes == 0>>

				[[Order the "smart" variant of the bullet vibrators|Wardrobe][cashX(forceNeg(Math.trunc(5000 * $upgradeMultiplierTrade)), "capEx"), $toysBoughtSmartVibes = 1]]
				Costs <<print cashFormat(Math.trunc(5000 * $upgradeMultiplierTrade))>>

		<<else>>
			Some of the bullet vibes are of the "smart" variety.
		<</if>>
	<</if>>

	<<if $toysBoughtVaginalAttachments == 0>>
		[[Order a shipment of vibrating dildo attachments|Wardrobe][cashX(forceNeg(Math.trunc(10000 * $upgradeMultiplierTrade)), "capEx"), $toysBoughtVaginalAttachments = 1]]
		Costs <<print cashFormat(Math.trunc(10000 * $upgradeMultiplierTrade))>>
	<<else>>
		You are well stocked with attachments that allow dildos to vibrate.
	<</if>>

	<<if $toysBoughtButtPlugs == 0>>
		[[Order a shipment of extra long buttplugs|Wardrobe][cashX(forceNeg(Math.trunc(10000 * $upgradeMultiplierTrade)), "capEx"), $toysBoughtButtPlugs = 1]]
		Costs <<print cashFormat(Math.trunc(10000 * $upgradeMultiplierTrade))>>
	<<else>>
		You are well stocked with extra long buttplugs in a variety of sizes.
	<</if>>

	<<if $toysBoughtButtPlugTails == 0>>
		[[Order a shipment of attachable tails|Wardrobe][cashX(forceNeg(Math.trunc(5000 * $upgradeMultiplierTrade)), "capEx"), $toysBoughtButtPlugTails = 1]]
		Costs <<print cashFormat(Math.trunc(5000 * $upgradeMultiplierTrade))>>
	<<else>>
		You are well stocked with tails to attach to your buttplugs.
	<</if>>

	<<if $toysBoughtGags == 0>>
		[[Order a shipment of extra long dildo gags|Wardrobe][cashX(forceNeg(Math.trunc(5000 * $upgradeMultiplierTrade)), "capEx"), $toysBoughtGags = 1]]
		Costs <<print cashFormat(Math.trunc(5000 * $upgradeMultiplierTrade))>>
	<<else>>
		You are well stocked with extra long dildo gags.
	<</if>>

	<<if $buckets == 0>>
		[[Gather up everything you need to force-feed slaves|Wardrobe][$buckets = 1]]
		Some supplies from the cafeteria and a slight adjustment to the feeder settings is all it would take.
	<<else>>
		You have everything you need in one place to force-feed slaves. You've also adjusted the feeders to cheaply produce filler food to save on money. However, said food is just empty calories and probably bad for a slave's waistline.
	<</if>>

	<<if $enema == 0>>
		[[Order enema supplies|Wardrobe][cashX(forceNeg(Math.trunc(5000 * $upgradeMultiplierTrade)), "capEx"), $enema = 1]]
		Costs <<print cashFormat(Math.trunc(5000 * $upgradeMultiplierTrade))>>
	<<else>>
		You are well stocked with specially formulated liquids to be used safely for long term enemas along with the tools needed to keep a slave bloated for extended periods of time.
		<<if $medicalEnema == 0>>
			[[Order medical enema supplies|Wardrobe][cashX(forceNeg(Math.trunc(25000 * $upgradeMultiplierTrade)), "capEx"), $medicalEnema = 1]]
			Costs <<print cashFormat(Math.trunc(25000 * $upgradeMultiplierTrade))>>
		<<else>>
			You are also well stocked with drugs to be mixed with the enema water for use in medical enemas.
		<</if>>
	<</if>>


code:
:: extended family widgets [nobr widget]

<<widget "parentName">>
<<if $activeSlave[$args[0]] == $PC.ID>>
	You
<<else>>
	<<set _j = $slaveIndices[$activeSlave[$args[0]]]>>
	<<if def _j>>
		<<print $slaves[_j].slaveName>>
	<<else>>
		Unknown
	<</if>>
<</if>>
<</widget>>

<<widget "redisplayFamily">>
<<replace '#dontBeDumb'>>
 //You will break things by making impossible relations such as being your own father. If you do this, clearing all PC relations will fix it. Probably.//<</replace>>
<<replace '#fatheredNames'>><<= App.StartingGirls.listOfSlavesWithParent("father", $activeSlave.ID)>><</replace>>
<<replace '#motheredNames'>><<= App.StartingGirls.listOfSlavesWithParent("mother", $activeSlave.ID)>><</replace>>
<<replace '#familySummary'>><<= App.Desc.family($activeSlave)>><</replace>>
<<replace '#motherName'>><<parentName "mother">><</replace>>
<<replace '#fatherName'>><<parentName "father">><</replace>>
<<replace '#sameMotherNames'>><<= App.StartingGirls.listOfSlavesWithParent("mother", $activeSlave.mother)>><</replace>>
<<replace '#sameFatherNames'>><<= App.StartingGirls.listOfSlavesWithParent("father", $activeSlave.father)>><</replace>>
<<run App.StartingGirls.uncommittedFamilyTree($activeSlave)>>
<</widget>>

<<widget "editFamily">>
<<set _allowPCFamily = ($freshPC == 1 || $saveImported == 0)>>

''Mother:'' <<parentName "mother">>
<<link "Reset">>
	<<set $activeSlave.mother = 0>>
	<<redisplayFamily>>
<</link>>
<<if $PC.vagina > 0 && (($PC.actualAge - $activeSlave.actualAge) >= $fertilityAge) && (($PC.mother != $activeSlave.mother) || ($activeSlave.mother == 0)) && _allowPCFamily>>
	| <<link "You">><<set $activeSlave.mother = $PC.ID>><<redisplayFamily>><</link>>
<</if>>
<<for _efw = 0; _efw < $slaves.length; _efw++>>
	<<if $slaves[_efw].vagina > 0 && (($slaves[_efw].actualAge - $activeSlave.actualAge) >= $fertilityAge) && (($slaves[_efw].mother != $activeSlave.mother) || ($activeSlave.mother == 0)) && $slaves[_efw].newGamePlus == 0>>
		|
		<<set _id = $slaves[_efw].ID>>
		<<set _slaveName = $slaves[_efw].slaveName>>
		<<print "
			<<link _slaveName>>
				<<set $activeSlave.mother = " + _id + ">>
				<<redisplayFamily>>
			<</link>>
		">>
	<</if>>
<</for>>

''Father:'' <<parentName "father">>
<<link "Reset">>
	<<set $activeSlave.father = 0>>
	<<redisplayFamily>>
<</link>>
<<if ($PC.dick > 0) && (($PC.actualAge - $activeSlave.actualAge) >= $potencyAge) && (($PC.father != $activeSlave.father) || ($activeSlave.father == 0)) && _allowPCFamily>>
	| <<link "You">><<set $activeSlave.father = $PC.ID>><<redisplayFamily>><</link>>
<</if>>
<<for _efw = 0; _efw < $slaves.length; _efw++>>
	<<if ($slaves[_efw].dick > 0) && ((($slaves[_efw].actualAge - $activeSlave.actualAge) >= $potencyAge)) && (($slaves[_efw].father != $activeSlave.father) || ($activeSlave.father == 0)) && $slaves[_efw].newGamePlus == 0>>
		|
		<<set _id = $slaves[_efw].ID>>
		<<set _slaveName = $slaves[_efw].slaveName>>
		<<print "
		<<link _slaveName>>
			<<set $activeSlave.father = " + _id + ">>
			<<redisplayFamily>>
		<</link>>
		">>
	<</if>>
<</for>>

''Same mother as:'' <<= App.StartingGirls.listOfSlavesWithParent('mother', $activeSlave.mother)>>
<<link "Reset">>
	<<set $activeSlave.mother = 0>>
	<<redisplayFamily>>
<</link>>
<<if ($activeSlave.mother != $PC.ID) && ($PC.mother != $activeSlave.ID) && _allowPCFamily>>
	|
	<<link "You">>
		<<if $PC.mother != 0>>
			<<set $activeSlave.mother = $PC.mother>>
		<<elseif $activeSlave.mother != 0>>
			<<set $PC.mother = $activeSlave.mother>>
		<<else>>
			<<set $activeSlave.mother = -20 - 2*$activeSlave.ID>>
			<<set $PC.mother = $activeSlave.mother>>
		<</if>>
		<<redisplayFamily>>
	<</link>>
<</if>>
<<for _efw = 0; _efw < $slaves.length; _efw++>>
	<<if $slaves[_efw].newGamePlus == 0>>
		<<if $saveImported == 1>>|<</if>>
		<<set _slaveName = $slaves[_efw].slaveName>>
		<<set _slave = $slaves[_efw]>>
		<<if ($activeSlave.mother != _slave.ID) && (_slave.mother != $activeSlave.ID)>>
			|
			<<print "
				<<link _slaveName>>
					<<set _slave = $slaves[" + _efw + "]>>
					<<if _slave.mother != 0>>
						<<set $activeSlave.mother = _slave.mother>>
					<<elseif $activeSlave.mother != 0>>
						<<set _slave.mother = $activeSlave.mother>>
					<<else>>
						<<set $activeSlave.mother = -20 - 2*$activeSlave.ID>>
						<<set _slave.mother = $activeSlave.mother>>
					<</if>>
					<<redisplayFamily>>
				<</link>>
			">>
		<</if>>
	<</if>>
<</for>>

''Same father as:'' <<= App.StartingGirls.listOfSlavesWithParent('father', $activeSlave.father)>>
<<link "Reset">>
	<<set $activeSlave.father = 0>>
	<<replace '#fatherName'>><</replace>>
	<<replace '#sameFatherNames'>><</replace>>
	<<redisplayFamily>>
<</link>>
<<if ($activeSlave.father != $PC.ID) && ($PC.father != $activeSlave.ID) && _allowPCFamily>>
	|
	<<link "You">>
		<<if $PC.father != 0>>
			<<set $activeSlave.father = $PC.father>>
		<<elseif $activeSlave.father != 0>>
			<<set $PC.father = $activeSlave.father>>
		<<else>>
			<<set $activeSlave.father = (-20 - 2*$activeSlave.ID -1)>>
			<<set $PC.father = $activeSlave.father>>
		<</if>>
		<<redisplayFamily>>
	<</link>>
<</if>>
<<for _efw = 0; _efw < $slaves.length; _efw++>>
	<<if $slaves[_efw].newGamePlus == 0>>
		<<if $saveImported == 1>>|<</if>>
		<<set _slaveName = $slaves[_efw].slaveName>>
		<<set _slave = $slaves[_efw]>>
		<<if ($activeSlave.father != _slave.ID) && (_slave.father != $activeSlave.ID)>>
			|
			<<print "
				<<link _slaveName>>
					<<set _slave = $slaves[" + _efw + "]>>
					<<if _slave.father != 0>>
						<<set $activeSlave.father = _slave.father>>
					<<elseif $activeSlave.father != 0>>
						<<set _slave.father = $activeSlave.father>>
					<<else>>
						<<set $activeSlave.father = (-20 - 2*$activeSlave.ID -1)>>
						<<set _slave.father = $activeSlave.father>>
					<</if>>
					<<redisplayFamily>>
				<</link>>
			">>
		<</if>>
	<</if>>
<</for>>

''Mother of the children:'' <<= App.StartingGirls.listOfSlavesWithParent("mother", $activeSlave.ID)>>
<<link "Reset">>
	<<for _efw = 0; _efw < $slaves.length; _efw++>>
		<<if $slaves[_efw].mother == $activeSlave.ID && $slaves[_efw].newGamePlus == 0>>
			<<set $slaves[_efw].mother = 0>>
		<</if>>
	<</for>>
	<<if $PC.mother == $activeSlave.ID && _allowPCFamily>>
		<<set $PC.mother = 0>>
	<</if>>
	<<redisplayFamily>>
<</link>>
<<if $activeSlave.vagina >= 0>>
	<<if (($activeSlave.actualAge - $PC.actualAge) >= $fertilityAge) && (($PC.mother != $activeSlave.mother) || ($activeSlave.mother == 0)) && _allowPCFamily>>
		|
		<<link "You">>
			<<set $PC.mother = $activeSlave.ID>>
			<<if $activeSlave.vagina == 0>>
				<<set $activeSlave.vagina = 1>>
			<</if>>
			<<redisplayFamily>>
		<</link>>
	<</if>>

	<<for _efw = 0; _efw < $slaves.length; _efw++>>
		<<if $slaves[_efw].newGamePlus == 0>>
			<<set _slaveName = $slaves[_efw].slaveName>>
			<<set _slave = $slaves[_efw]>>
			<<if (($activeSlave.actualAge - _slave.actualAge) >= $fertilityAge) && ((_slave.mother != $activeSlave.mother) || ($activeSlave.mother == 0))>>
				|
				<<print "
				<<link _slaveName>>
					<<set _slave = $slaves[" + _efw + "]>>
					<<set _slave.mother = $activeSlave.ID>>
					<<if $activeSlave.vagina == 0>>
						<<set $activeSlave.vagina = 1>>
					<</if>>
					<<redisplayFamily>>
				<</link>>
				">>
			<</if>>
		<</if>>
	<</for>>
<</if>>

''Father of the children:'' <<= App.StartingGirls.listOfSlavesWithParent("father", $activeSlave.ID)>>
<<link "Reset">>
	<<for _efw = 0; _efw < $slaves.length; _efw++>>
		<<if $slaves[_efw].father == $activeSlave.ID && $slaves[_efw].newGamePlus == 0>>
			<<set $slaves[_efw].father = 0>>
		<</if>>
	<</for>>
	<<if $PC.father == $activeSlave.ID && _allowPCFamily>>
		<<set $PC.father = 0>>
	<</if>>
	<<redisplayFamily>>
<</link>>
<<if $activeSlave.dick > 0>>
	<<if (($activeSlave.actualAge - $PC.actualAge) >= $potencyAge) && (($PC.father != $activeSlave.father) || ($activeSlave.father == 0)) && _allowPCFamily>>
		|
		<<link "You">>
			<<set $PC.father = $activeSlave.ID>>
			<<redisplayFamily>>
		<</link>>
	<</if>>

	<<for _efw = 0; _efw < $slaves.length; _efw++>>
		<<if $slaves[_efw].newGamePlus == 0>>
			<<set _slaveName = $slaves[_efw].slaveName>>
			<<set _slave = $slaves[_efw]>>
			<<if (($activeSlave.actualAge - _slave.actualAge) >= $potencyAge) && ((_slave.father != $activeSlave.father) || ($activeSlave.father == 0))>>
				|
				<<print "
				<<link _slaveName>>
					<<set _slave = $slaves[" + _efw + "]>>
					<<set _slave.father = $activeSlave.ID>>
					<<redisplayFamily>>
				<</link>>
				">>
			<</if>>
		<</if>>
	<</for>>
<</if>>

<<if _allowPCFamily>>
	<<link "Reset ALL PC Relatives">>
		<<set _sameMother = 0, _sameFather = 0>>
		<<for _efw = 0; _efw < $slaves.length; _efw++>>
			<<if $slaves[_efw].newGamePlus == 0>>
				<<if $slaves[_efw].mother == $PC.ID>>
					<<set $slaves[_efw].mother = 0>>
				<</if>>
				<<if $slaves[_efw].father == $PC.ID>>
					<<set $slaves[_efw].father = 0>>
				<</if>>
				<<if $slaves[_efw].mother == $PC.mother>>
					<<set _sameMother++>>
				<</if>>
				<<if $slaves[_efw].father == $PC.father>>
					<<set _sameFather++>>
				<</if>>
			<</if>>
		<</for>>
		<<if _sameMother == 0 && $activeSlave.mother == $PC.mother>>
			<<set $activeSlave.mother = 0>>
		<</if>>
		<<if _sameFather == 0 && $activeSlave.father == $PC.father>>
			<<set $activeSlave.father = 0>>
		<</if>>
		<<for _efw = 0; (_efw < $slaves.length && (_sameMother == 1 || _sameFather == 1)); _efw++>>
			<<if $slaves[_efw].newGamePlus == 0>>
				<<if $slaves[_efw].mother == $PC.mother && _sameMother == 1>>
					<<set $slaves[_efw].mother = 0, _sameMother = 0>>
				<</if>>
				<<if $slaves[_efw].father == $PC.father && _sameFather == 1>>
					<<set $slaves[_efw].father = 0, _sameFather = 0>>
				<</if>>
			<</if>>
		<</for>>
		<<if $activeSlave.mother == $PC.ID>>
			<<set $activeSlave.mother = 0>>
		<</if>>
		<<if $activeSlave.father == $PC.ID>>
			<<set $activeSlave.father = 0>>
		<</if>>
		<<set $PC.father = 0>>
		<<set $PC.mother = 0>>
		<<redisplayFamily>>
	<</link>>
<</if>>

    <<= App.Desc.family($activeSlave)>>

<</widget>>