code:
:: Clinic Report [nobr]

''Clinic Report''

<<set $nurseUsedCure to 0>>
<<set $restedSlaves to 0>>
<<set $clinicSlaves to 0>>
<<set $nurseFetish to 0>>
<<set $idleBonus to 0>>

<<for $i to 0; $i < $slaves.length; $i++>>
<<if ($slaves[$i].assignment is "get treatment in the clinic")>>
	<<if $seeImages == 1>><<SlaveArt $slaves[$i] 0 0>><</if>>
	<<set $clinicSlaves += 1>>
	<<silently>>
	<<display [[SA rest]]>>
	<<display "SA long term effects">>
	<<display "SA relationships">>
	<<display "SA rivalries">>
	<</silently>>
	<<set $slaves[$i].health += 10>>
	<<set $slaves[$i].health += $curativeUpgrade*10>>
	<<if $slaves[$i].health > 100>>
	<<set $slaves[$i].health = 100>>
	<</if>>
	<<if $slaves[$i].devotion < 45>>
	<<set $slaves[$i].devotion += 4>>
	<</if>>
	<<if $clinicDecoration != "standard">>
	<<set $slaves[$i].devotion += 1>>
	<</if>>
	<<if $slaves[$i].trust < 45>>
	<<set $slaves[$i].trust += 4>>
	<</if>>
	<<if $Nurse != 0>>
	<<if ($Nurse.fetish is "dom")>>
		<<set $slaves[$i].health += 1>>
	<</if>>
	<<if ($Nurse.muscles > 5)>>
		<<set $slaves[$i].health += 1>>
	<<elseif ($slaves[$i].devotion >= -20)>>
		<<set $slaves[$i].health += 1>>
	<</if>>
	<<if ($Nurse.intelligence > 1)>>
		<<set $slaves[$i].health += 1>>
	<</if>>
	<<if ($Nurse.face > 1)>>
		<<set $slaves[$i].devotion += 1>>
	<</if>>
	<<if $nurseCareers.contains($Nurse.career)>>
		<<set $slaves[$i].health += 1>>
	<</if>>
	<<if $Nurse.relationship is -3>>
		<<set $slaves[$i].health += 2>>
	<</if>>
	<<if $familyTesting == 1>>
		<<if $slaves[$i].assignment == "get treatment in the clinic">>
		<<if $slaves[$i].mother == $Nurse.ID>>
			<<set $slaves[$i].health += 1>>
		<</if>>
		<<if $slaves[$i].father == $Nurse.ID>>
			<<set $slaves[$i].health += 1>>
		<</if>>
		<<if $slaves[$i].ID == $Nurse.father>>
			<<set $slaves[$i].health += 1>>
		<</if>>
		<<if $slaves[$i].ID == $Nurse.mother>>
			<<set $slaves[$i].health += 1>>
		<</if>>
		<<if areSisters($slaves[$i], $Nurse) == 1>>
			<<set $slaves[$i].health += 1>>
		<<elseif areSisters($slaves[$i], $Nurse) == 2>>
			<<set $slaves[$i].health += 1>>
		<<elseif areSisters($slaves[$i], $Nurse) == 3>>
			<<set $slaves[$i].health += 1>>
		<</if>>
		<</if>>
	<<else>>
		<<if $Nurse.relationTarget is $slaves[$i].ID and $slaves[$i].assignment is "get treatment in the clinic">>
			<<set $slaves[$i].health += 1>>
		<</if>>
	<</if>>
	<<if $Nurse.relationshipTarget is $slaves[$i].ID and $slaves[$i].assignment is "get treatment in the clinic">>
		<<set $slaves[$i].health += 3>>
	<</if>>
	<<if $Nurse.rivalryTarget is $slaves[$i].ID and $slaves[$i].assignment is "get treatment in the clinic">>
		<<set $slaves[$i].health -= 3>>
	<</if>>
	<<if $slaves[$i].prestigeDesc is "She is a famed Free Cities whore, and commands top prices." and $slaves[$i].assignment is "get treatment in the clinic">>
		<<set $slaves[$i].health += 2>>
	<</if>>
	<<if $slaves[$i].prestigeDesc is "She is a famed Free Cities slut, and can please anyone." and $slaves[$i].assignment is "get treatment in the clinic">>
		<<set $slaves[$i].health += 2>>
	<</if>>
	<<if $slaves[$i].prestigeDesc is "She is remembered for winning best in show as a cockmilker." and $slaves[$i].assignment is "get treatment in the clinic">>
		<<set $slaves[$i].health += 4>>
	<</if>>
	<<if $slaves[$i].prestigeDesc is "She is remembered for winning best in show as a dairy cow." and $slaves[$i].assignment is "get treatment in the clinic">>
		<<set $slaves[$i].health += 4>>
	<</if>>
	<<if $slaves[$i].prestigeDesc is "She is remembered for winning best in show as a breeder." and $slaves[$i].assignment is "get treatment in the clinic">>
		<<set $slaves[$i].health += 4>>
	<</if>>
	<</if>>
	<<if ($slaves[$i].chem > 15)>>
	<<if ($clinicUpgradeFilters == 1)>>
		<<set $slaves[$i].chem -= 5>>
	<</if>>
	<</if>>
	<<if ($slaves[$i].health >= 40)>>
	<<if ($slaves[$i].chem <= 20) || ($clinicUpgradeFilters != 1)>>
		<<if ($slaves[$i].bellyImplant >= 10000 && $arcologies[0].FSTransformationFetishistResearch != 1) || ($slaves[$i].bellyImplant >= 40000) || ($clinicInflateBelly == 0) || ($slaves[$i].bellyImplant < 1)>>
		<<set $slaves[$i].assignment to "rest">>
		<<set $slaves[$i].assignmentVisible to 1>>
		<<set $restedSlaves += 1>>
		<</if>>
	<</if>>
	<</if>>

<<elseif ($Nurse != 0) && ($slaves[$i].ID is $Nurse.ID)>>
	<<silently>>
	<<display "SA long term effects">>
	<<display "SA relationships">>
	<<display "SA rivalries">>
	<</silently>>
	<<if ($slaves[$i].health < 100)>>
	<<set $slaves[$i].health += 20>>
	<</if>>
	<<if ($slaves[$i].devotion <= 60)>>
	<<set $slaves[$i].devotion += 1>>
	<</if>>
	<<if $clinicDecoration != "standard">>
	<<set $slaves[$i].devotion += 1>>
	<</if>>
	<<if $slaves[$i].trust < 60>>
	<<set $slaves[$i].trust += 1>>
	<</if>>
	<<if $slaves[$i].fetishStrength <= 95>>
	<<if $slaves[$i].fetish != "dom">>
		<<fetishChangeChance $slaves[$i]>>
		<<if $fetishChangeChance > random(0,100)>>
			<<set $nurseFetish to 1>>
			<<set $slaves[$i].fetishKnown to 1>>
			<<set $slaves[$i].fetish to "dom">>
		<</if>>
	<<elseif $slaves[$i].fetishKnown == 0>>
		<<set $nurseFetish to 1>>
		<<set $slaves[$i].fetishKnown to 1>>
	<<else>>
		<<set $nurseFetish to 2>>
		<<set $slaves[$i].fetishStrength += 4>>
	<</if>>
	<</if>>
<</if>>
<</for>>

<<if ($clinicSlaves > 0)>>
	<<if $seeImages == 1>>
<</if>>
	<<if ($clinicSlaves == 1)>>''There is one slave receiving treatment in the clinic.''<<else>>''There are $clinicSlaves slaves receiving treatment in the clinic.''<</if>>

	<<if ($Nurse != 0)>>
	$Nurse.slaveName is serving as the clinical nurse.<<if $Nurse.relationship is -3>>  She does her best to be a caring and nurturing wife.<</if>>
	<<if ($nurseFetish == 1)>>
		Her job involves giving naked sex slaves orders for their own good. Even though most of these commands are medical rather than sexual, she can be forgiven for not always seeing the difference, and @@color:lightsalmon;becomes more dominant.@@
	<<elseif ($nurseFetish == 2)>>
		Every new patient in the clinic is a new target for her authority. @@color:lightsalmon;She becomes more dominant.@@
	<</if>>
	<<if $nurseCareers.contains($Nurse.career)>>
		She has experience with medicine from her life before she was a slave, and can often recognize conditions before even the medical scanners can.
		<<set $idleBonus += 1>>
	<</if>>
	<<if ($Nurse.fetish is "dom")>>
		She raps out commands with the confidence of long and partly sexual experience, so patients are inclined to follow even unpleasant medical instructions.
		<<set $idleBonus += 1>>
	<</if>>
	<<if ($Nurse.muscles > 5)>>
		She's strong enough to gently but firmly restrain resistant slaves, allowing her to be sparing with the inescapable but less healthy restraints.
		<<set $idleBonus += 1>>
	<</if>>
	<<if ($Nurse.intelligence > 1)>>
		The diagnostic equipment is state-of-the-art, but she's smart and perceptive enough that on occasion, she can add meaningfully to its medical scans.
		<<set $idleBonus += 1>>
	<</if>>
	<<if ($Nurse.face > 1)>>
		Patients rarely object to seeing her gorgeous face hovering over them.
		<<set $idleBonus += 1>>
	<</if>>
	<<for $i to 0; $i < $slaves.length; $i++>>
	<<if $familyTesting == 1>>
		<<if $slaves[$i].assignment == "get treatment in the clinic">>
		<<if $slaves[$i].mother == $Nurse.ID>>
			She makes sure to spend extra time caring for her daughter, $slaves[$i].slaveName.
			<<set $slaves[$i].trust += 1>>
		<</if>>
		<<if $slaves[$i].father == $Nurse.ID>>
			She makes sure to spend extra time caring for her daughter, $slaves[$i].slaveName.
			<<set $slaves[$i].trust += 1>>
		<</if>>
		<<if $slaves[$i].ID == $Nurse.father>>
			She makes sure to spend extra time caring for her father, $slaves[$i].slaveName.
			<<set $slaves[$i].trust += 1>>
		<</if>>
		<<if $slaves[$i].ID == $Schoolteacher.mother>>
			She makes sure to spend extra time caring for her mother, $slaves[$i].slaveName.
			<<set $slaves[$i].trust += 1>>
		<</if>>
		<<if areSisters($slaves[$i], $Nurse) == 1>>
			She makes sure to spend extra time caring for her twin sister, $slaves[$i].slaveName.
			<<set $slaves[$i].trust += 1>>
		<<elseif areSisters($slaves[$i], $Nurse) == 2>>
			She makes sure to spend extra time caring for her sister, $slaves[$i].slaveName.
			<<set $slaves[$i].trust += 1>>
		<<elseif areSisters($slaves[$i], $Nurse) == 3>>
			She makes sure to spend extra time caring for her half-sister, $slaves[$i].slaveName.
			<<set $slaves[$i].trust += 1>>
		<</if>>
		<</if>>
	<<else>>
		<<if $Nurse.relationTarget is $slaves[$i].ID and $slaves[$i].assignment is "get treatment in the clinic">>
			She makes sure to spend extra time caring for her $slaves[$i].relation, $slaves[$i].slaveName.
			<<set $slaves[$i].trust += 1>>
		<</if>>
	<</if>>
	<<if $Nurse.relationshipTarget is $slaves[$i].ID and $slaves[$i].assignment is "get treatment in the clinic">>
		She dedicates most of her attention to her <<if $Nurse.relationship == 1>>friend<<elseif $Nurse.relationship is 2>>best friend<<elseif $Nurse.relationship is 3>>friend with benefits<<elseif $Nurse.relationship is 4>>lover<<elseif $Nurse.relationship is 5>>slave wife<</if>>, $slaves[$i].slaveName, making sure she has everything she needs and more.  This lavish attention detracts from her overall effectiveness.
		<<set $idleBonus -= 3>>
		<<set $slaves[$i].devotion += 1>>
		<<set $slaves[$i].trust += 1>>
	<</if>>
	<<if $Nurse.rivalryTarget is $slaves[$i].ID and $slaves[$i].assignment is "get treatment in the clinic">>
		She purposefully neglects the needs of her <<if $Nurse.rivalry == 1>>growing rival<<elseif $Nurse.rivalry is 2>>rival<<elseif $Nurse.rivalry is 3>>bitter rival<</if>>, $slaves[$i].slaveName, hindering her recovery and deepening their dislike for each other.
		<<set $slaves[$i].devotion -= 1>>
		<<set $slaves[$i].trust -= 1>>
		<<if random(1,100) > 65>>
			<<set $Nurse.rivalry += 1>>
		<<set $slaves[$i].rivalry += 1>>
		<</if>>
	<</if>>
	<<if $slaves[$i].prestigeDesc is "She is a famed Free Cities whore, and commands top prices." and $slaves[$i].assignment is "get treatment in the clinic">>
		She does her best to aid the famous whore, $slaves[$i].slaveName, making sure to pay special attention to her worn holes.
	<</if>>
	<<if $slaves[$i].prestigeDesc is "She is a famed Free Cities slut, and can please anyone." and $slaves[$i].assignment is "get treatment in the clinic">>
		She does her best to aid the famous entertainer, $slaves[$i].slaveName, making sure she can show off as soon as possible.
	<</if>>
	<<if $slaves[$i].prestigeDesc is "She is remembered for winning best in show as a cockmilker." and $slaves[$i].assignment is "get treatment in the clinic">>
		She does her best to aid the dribbling $slaves[$i].slaveName, paying special attention to her huge cock and balls as well as making sure to milk her erect dick hourly.
		<<if random(1,100) > 65 and $Nurse.fetish is "none" or $Nurse.fetish is "cumslut">>
		<<if $Nurse.fetish is "none">>
		<<set $Nurse.fetish to "cumslut">>
		<<else>>
		<<set $Nurse.fetishStrength += 4>>
		<</if>>
		<</if>>
	<</if>>
	<<if $slaves[$i].prestigeDesc is "She is remembered for winning best in show as a dairy cow." and $slaves[$i].assignment is "get treatment in the clinic">>
		She does her best to aid the leaking $slaves[$i].slaveName, paying special attention to her huge breasts as well as making sure to milk her hourly.
		<<if random(1,100) > 65 and $Nurse.fetish is "none" or $Nurse.fetish is "boobs">>
		<<if $Nurse.fetish is "none">>
		<<set $Nurse.fetish to "boobs">>
		<<else>>
		<<set $Nurse.fetishStrength += 4>>
		<</if>>
		<</if>>
	<</if>>
	<<if $slaves[$i].prestigeDesc is "She is remembered for winning best in show as a breeder." and $slaves[$i].assignment is "get treatment in the clinic" and $slaves[$i].preg > 10>>
		She does her best to aid the pregnant $slaves[$i].slaveName, paying special attention to her swollen belly and the welfare of the life within.
	<</if>>
	<<if $slaves[$i].prestigeDesc is "She is remembered for winning best in show as a breeder." and $slaves[$i].assignment is "get treatment in the clinic">>
		She does her best to aid the breeder $slaves[$i].slaveName, paying special attention to her fertility and reproductive organs.
	<</if>>
	<<if $slaves[$i].bellyImplant > 0 && $clinicInflateBelly == 1 && $slaves[$i].assignment == "get treatment in the clinic">>
		''@@color:pink;$slaves[$i].slaveName@@'' spent a lot of time during the week under IV-like stands with bags of innert filler steadily flowing into her belly implant, slowly pushing her belly further and further out. Careful attention, along with several drug injections, were used to make sure her body was able to safely adjust to the implant's rapid growth.
		<<set $slaves[$i].bellyImplant += 1000>>
		<<set $slaves[$i].health -= 10>>
		<<if ($slaves[$i].devotion > 50)>>
			<<set $slaves[$i].devotion += 4>>
			<<set $slaves[$i].trust += 3>>
		<<elseif ($slaves[$i].devotion >= -20)>>
			<<set $slaves[$i].trust -= 5>>
		<<else>>
			<<set $slaves[$i].devotion -= 5>>
			<<set $slaves[$i].trust -= 10>>
		<</if>>
		<<if $slaves[$i].bellyImplant > 10000 && $arcologies[0].FSTransformationFetishistResearch != 1>>
			<<set $slaves[$i].bellyImplant = 10000 >>
			She filled to the maximum that her body can stand.
		<<elseif $slaves[$i].bellyImplant > 40000 >>
			<<set $slaves[$i].bellyImplant = 40000 >>
			She filled to the maximum that her body can stand.
		<</if>>
	<</if>>
	<</for>>
	<<if ($clinicSlaves < 5)>>
		<<set $seed to random(1,10)+((5-$clinicSlaves)*(random(150,170)+($idleBonus*10)))>>
		<<set $cash += $seed>>
		Since $Nurse.slaveName doesn't have enough girls to occupy all her time, the clinic takes in citizens' slaves on a contract basis and she helps them too, earning @@color:yellowgreen;¤$seed.@@
	<</if>>
	<</if>>

	<<if ($restedSlaves > 0)>>
	<<if ($restedSlaves == 1)>>
		One slave has been returned to @@color:green;health@@<<if $clinicUpgradeFilters == 1>> and @@color:green;purity@@<</if>> and will be released from the clinic before the end of the week.
	<<else>>
		$restedSlaves slaves have been returned to @@color:green;health@@<<if $clinicUpgradeFilters == 1>> and @@color:green;purity@@<</if>> and will be released from the clinic before the end of the week.
	<</if>>
	<<if $clinicDecoration != "standard">>
		$clinicNameCaps's $clinicDecoration atmosphere @@color:hotpink;had an impact on <<if $restedSlaves == 1>>her while she<<else>>them while they<</if>>@@ were getting treatment.
	<</if>>
	<<set $clinicSlaves -= $restedSlaves>>
	<</if>>

<<elseif ($Nurse != 0)>>
	''$clinicNameCaps is empty'' except for $Nurse.slaveName, the nurse.
	<<set $seed to random(1,10)+(($clinic-$clinicSlaves)*(random(150,170)+($idleBonus*10)))>>
	<<set $cash += $seed>>
	Since she doesn't have enough of your slaves under her care to fill her time, the Clinic admits citizens' slaves, earning @@color:yellowgreen;¤$seed.@@

<<else>>
	''$clinicNameCaps is empty.''
<</if>>


code:
:: Club

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

<<if $clubName != "the Club">>
	<<set $clubNameCaps to $clubName.replace("the ", "The ")>>
<</if>>

<<set $clubSlaves to 0>>
<<set $notClubSlaves to 0>>
<<for _i to 0; _i < $slaves.length; _i++>>
	<<if $slaves[_i].assignment is "serve in the club">>
		<<set $clubSlaves++>>
	<<else>>
		<<set $notClubSlaves++>>
	<</if>>
<</for>>

$clubNameCaps
<<switch $clubDecoration>>
<<case "Roman Revivalist">>
	is decorated like a Roman villa's entertainment rooms. There is a lot of white stone, plaster, and terracotta.
<<case "Egyptian Revivalist">>
	is decorated like a room in an ancient Egyptian palace. There are columns of warm stone and pools of clear water full of aquatic plants.
<<case "Edo Revivalist">>
	is furnished as an Edo period theatre. Performances of the traditional Japanese arts can be seen here, though more modern dancing happens in the evenings. In either case, geisha girls are present and willing.
<<case "Arabian Revivalist">>
	is designed like an open plaza in an Arabian palace, with a raised stage in the center for erotic dancing. Diaphanous, flowing curtains billow across the space, dispersing the narcotic smoke billowing from a score of hookahs.
<<case "Chinese Revivalist">>
	is furnished as an old Chinese disorderly house. It's intentionally packed in so that closeness and good cheer is obligatory here; prominent citizens share tables while their hangers-on jostle for room.
<<case "Chattel Religionist">>
	isn't a religious establishment, but it almost looks like one. It's clean and proper, with beams of natural light that come down to highlight holy sex slaves' bodies.
<<case "Degradationist">>
	has a perverted, debauched appearance. The decor is utilitarian so it can be cleaned easily, and the reason is obvious. Many patrons have brought their own slaves to publicly rape here.
<<case "Repopulation Focus">>
	has a gaudy appearance. There are lots of deep soft chairs for pregnant patrons and slaves to rest in and screens showing girls with large bellies lining the walls.
<<case "Eugenics">>
	has a gaudy appearance. There are screens lining the walls displaying anti-breeding propaganda. The real action happens in the several exclusive rooms reserved for society's best.
<<case "Asset Expansionist">>
	has a gaudy appearance. There are a lot of neon lights and there are screens everywhere, showing off big tits and plush asses.
<<case "Transformation Fetishist">>
	has a gaudy appearance. There are a lot of neon lights and there are screens everywhere, showing off huge fake tits and plastic dick sucking lips.
<<case "Gender Radicalist">>
	has a gaudy appearance. There are a lot of neon lights and there are screens everywhere, showing closeups of cocks fucking every imaginable orifice.
<<case "Gender Fundamentalist">>
	has an old world appearance, a decidedly throwback atmosphere harking back to the glory days of cultures past.
<<case "Physical Idealist">>
	isn't a gym, but it smells like one. The dancing is rough and competitive, and the drinks are rich with protein.
<<case "Supremacist">>
	is decorated like an upper-class gentleman's club in the old countries of $arcologies[0].FSSupremacistRace people.
<<case "Subjugationist">>
	is decorated like an upper-class gentleman's club in the old countries which favored $arcologies[0].FSSubjugationistRace slaves.
<<case "Paternalist">>
	is handsome and well-kept, even romantic. Though the slaves here are sex slaves, every provision is made to encourage them to enjoy themselves.
<<case "Pastoralist">>
	is decorated to resemble a frontier disorderly house. The drinks are pounded straight, and there's a set of swinging doors for bad men to part dramatically as they enter.
<<case "Maturity Preferentialist">>
	is surprisingly elegant. The music consists of refined remixes of traditional dance music, offering slaves and citizens the chance to dance beautifully together.
<<case "Youth Preferentialist">>
	is deafeningly loud. There's a bright light show running, offering staccato glimpses of the scene out on the dance floor.
<<case "Body Purist">>
	is gorgeous, decorated and kept in the height of fashionable night establishment style. The music is cutting edge and everything and everyone is elegant.
<<case "Slimness Enthusiast">>
	is distinctly gaudy, with lots of sugary drinks on offer. The music and decor are of a decidedly bubblegum quality.
<<default>>
	is set up in an uncomplicated way. There's a bar for drinks, a dance floor for slave girls, and private rooms for slave sex.
<</switch>>

<<if $clubAdsSpending > 0>>
	Screens outside the entrance are showing softcore music videos to advertise $clubNameCaps.
	<<if $clubAdsOld == 1>>
		The featured strippers are all MILFs.
	<<elseif $clubAdsOld is -1>>
		The featured strippers are all nice and young.
	<<elseif $clubAdsOld is -2>>
		The featured strippers are all teenagers.
	<<elseif $clubAdsOld is -3>>
		The featured strippers are all lolis.
	<<else>>
		The featured strippers vary in age.
	<</if>>
	<<if $clubAdsStacked == 1>>
		Lots of bouncing breasts and butts
	<<elseif $clubAdsStacked is -1>>
		Lots of trim breasts and shapely butts
	<<else>>
		A variety of breast and butt sizes and shapes
	<</if>>
	are on display, and
	<<if $clubAdsImplanted == 1>>
		most of these are augmented by implants.
	<<elseif $clubAdsImplanted is -1>>
		they're all natural.
	<<else>>
		some are augmented by implants.
	<</if>>
	<<if $clubAdsPreg == 1>>
		Most of strippers have firm, rounded bellies.
	<<elseif $clubAdsPreg is -1>>
		Most of the strippers have firm, flat bellies.
	<<else>>
		Some of the strippers are pregnant.
	<</if>>
	<<if $clubAdsModded == 1>>
		Everything is heavily pierced and tattooed.
	<<elseif $clubAdsModded is -1>>
		Everything is free of tattoos and piercings.
	<<else>>
		Some of these assets are tattooed and pierced, and some aren't.
	<</if>>
	The strippers get naked quickly, and show off
	<<if $clubAdsXX == 1>>
		their pussies and assholes.
	<<elseif $clubAdsXX is -1>>
		their assholes.
	<<else>>
		their holes.
	<</if>>
	The ads are shown across the arcology.
	<<if ($clubAdsXX == 1) && ($clubAdsImplants == 1) && ($clubAdsStacked == 1)>>
		As a result, $clubName is known as the place to spend a night partying with<<if ($clubAdsPreg == 1)>>pregnant<</if>> bimbos.
	<<elseif ($clubAdsXX == 1) && ($clubAdsOld == 1)>>
		As a result, $clubName is known as the place to spend a night partying with<<if ($clubAdsPreg == 1)>>pregnant<</if>> MILFs.
	<<elseif ($clubAdsStacked == 1) && ($clubAdsOld == -3)>>
		As a result, $clubName is known as the place to spend a night partying with<<if ($clubAdsPreg == 1)>>pregnant<</if>> oppai lolis.
	<<elseif ($clubAdsXX == 1) && ($clubAdsPreg == 1)>>
		As a result, $clubName is known as the place to spend a night partying with pregnant sluts.
	<<elseif ($clubAdsXX is -1) && ($clubAdsStacked == 1)>>
		As a result, $clubName is known as the place to spend a night partying with shemales.
	<<elseif ($clubAdsXX is -1) && ($clubAdsStacked is -1)>>
		As a result, $clubName is known as the place to spend a night partying with traps.
	<</if>>
<</if>>

<<if $clubSlaves > 2>>
	$clubNameCaps is dotted with pretty, flirtatious slaves, stripping on stages, serving drinks, and dancing. They're very willing to suck patrons off in the open or give a public handjob, and there are little private rooms for them to use when engaging in heavier intercourse.
<<elseif $clubSlaves > 0>>
	There are a few pretty, flirtatious slaves, stripping on stages, serving drinks, and dancing. They're very willing to suck patrons off in the open or give a public handjob, and there are little private rooms for them to use when engaging in heavier intercourse.
<<elseif $DJ != 0>>
	$clubNameCaps is doing business normally, without a complement of sex slaves to spice things up. $DJ.slaveName is alone in $clubName, and can accomplish little by herself.
<<else>>
	$clubNameCaps is doing business normally, without a complement of sex slaves to spice things up. [[Decommission the rooms|Main][$club to 0, $clubDecoration to "standard"]]
<</if>>

<<if $clubSlaves > 2>>
<<switch $clubDecoration>>
<<case "Chattel Religionist">>
	From one of the private rooms, praying interspersed with the slap of leather on flesh can be heard.
<<case "Degradationist">>
	Agonized screaming can be heard from one of the private rooms.
<<case "Repopulation Focus">>
	A wet slapping sound is coming from one of the private rooms, the kind of sound made by mammary intercourse with very milky breasts. Occasionally crying can be heard from one of the rooms specially designed for patrons wishing to assfuck a slave as she gives birth.
<<case "Eugenics">>
	The slight sounds of whispering can be heard emanating from from one of the restricted rooms.
<<case "Asset Expansionist">>
	A wet slapping sound is coming from one of the private rooms, the kind of sound made by mammary intercourse with very large breasts.
<<case "Transformation Fetishist">>
	A wet slapping sound is coming from one of the private rooms, the kind of sound made by mammary intercourse with very large fake breasts.
<<case "Gender Radicalist">>
	Uncomfortable moaning from one of the private rooms suggests that a slave inside is taking a painfully large cock up her tight butt.
<<case "Gender Fundamentalist">>
	The unmistakable sound of vigorous vaginal intercourse can be heard from one of the private rooms.
<<case "Physical Idealist">>
	Bestial grunting can be heard from one of the private rooms.
<<case "Supremacist">>
	The sound of a beating, interspersed with desperate begging, can be heard from one of the private rooms.
<<case "Subjugationist">>
	The sound of a beating, interspersed with desperate begging, can be heard from one of the private rooms.
<<case "Paternalist">>
	The unmistakable sound of a slave experiencing an authentic orgasm can be heard from one of the private rooms.
<<case "Body Purist">>
	The faint but unmistakable sound of a slave trying to keep quiet while orgasming can be heard from one of the private rooms.
<<case "Slimness Enthusiast">>
	The faint but unmistakable sound of a shrill climax can be heard from one of the private rooms.
<<case "Pastoralist">>
	A faint gushing sound is audible from one of the private rooms.
<<case "Roman Revivalist">>
	A business meeting is just audible from one of the private rooms; only an occasional moan indicates that the businessmen are enjoying a couple of serving girls at the same time.
<<case "Egyptian Revivalist">>
	The smell of incense and the sounds of sex are drifting out of the private rooms.
<<case "Edo Revivalist">>
	The faint but unmistakable sound of a slave trying to keep quiet while orgasming can be heard from one of the private rooms.
<<case "Arabian Revivalist">>
	The faint sound of multiple slaves pleasuring a single patron can be heard from one of the private rooms.
<<case "Chinese Revivalist">>
	The faint but unmistakable sound of a slave trying to keep quiet while orgasming can be heard from one of the private rooms.
<<case "Maturity Preferentialist">>
	The faint sound of a well traveled slave showing off her experience can be heard from one of the private rooms.
<<case "Youth Preferentialist">>
	The faint but unmistakable sound of a shrill climax can be heard from one of the private rooms.
<<default>>
	The faint but unmistakable sound of a shrill climax can be heard from one of the private rooms.
<</switch>>
<</if>>

There are rooms off $clubName to support slaves as they work as club sluts. They can support $club slaves.
[[Expand the club|Club][$cash -=  Math.trunc($club*1000*$upgradeMultiplierArcology), $club += 5]] //Costs ¤<<print Math.trunc($club*1000*$upgradeMultiplierArcology)>> and will increase upkeep costs//

<<if $clubUpgradePDAs == 1>>
	$clubNameCaps has been wired for unobtrusive personal data assistants to let your sluts pass tips about enslaveable people to your recruiter.
<<else>>
	The rooms are standard. [[Upgrade them with PDAs to help your recruiter|Club][$cash -= Math.trunc(10000*$upgradeMultiplierArcology), $clubUpgradePDAs to 1]] //Costs ¤<<print Math.trunc(10000*$upgradeMultiplierArcology)>> and will increase upkeep costs//
<</if>>

<<if $clubAdsSpending > 0>>
	$clubNameCaps is the subject of an active ad campaign.
<<else>>
	$clubNameCaps is not being advertised.
<</if>>
<<click "Manage club Advertisements">><<set $nextLink to passage()>><<set $nextButton to "Back">><<goto "Club Advertisement">><</click>>

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

<<if $clubSlaves > 0>>

''Bring a slave out of $clubName:''
	<<set $Flag to 1>>
	<<display "Slave Summary">>
<</if>>

<<if $notClubSlaves > 0>>

''Send a slave to slut around $clubName:''
	<<set $Flag to 0>>
	<<display "Slave Summary">>
<</if>>
<<unset $Flag>>

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

repo_name: ZZC/fc


code:
:: Club Advertisement

<<nobr>>

<<if $arcologies[0].FSRomanRevivalistDecoration >= 60>>
	$clubNameCaps is decorated like a Roman villa's entertainment rooms. There is a lot of white stone, plaster, and terracotta.
<<elseif $arcologies[0].FSEgyptianRevivalistDecoration >= 60>>
	$clubNameCaps is decorated like a room in an ancient Egyptian palace. There are columns of warm stone and pools of clear water full of aquatic plants.
<<elseif $arcologies[0].FSEdoRevivalistDecoration >= 60>>
	$clubNameCaps is furnished as an Edo period theatre. Performances of the traditional Japanese arts can be seen here, though more modern dancing happens in the evenings. In either case, geisha girls are present and willing.
<<elseif $arcologies[0].FSArabianRevivalistDecoration >= 60>>
	$clubNameCaps is designed like an open plaza in an Arabian palace, with a raised stage in the center for erotic dancing. Diaphanous, flowing curtains billow across the space, dispersing the narcotic smoke billowing from a score of hookahs.
<<elseif $arcologies[0].FSChineseRevivalistDecoration >= 60>>
	$clubNameCaps is furnished as an old Chinese disorderly house. It's intentionally packed in so that closeness and good cheer is obligatory here; prominent citizens share tables while their hangers-on jostle for room.
<<elseif $arcologies[0].FSChattelReligionistDecoration >= 60>>
	$clubNameCaps isn't a religious establishment, but it almost looks like one. It's clean and proper, with beams of natural light that come down to highlight holy sex slaves' bodies.
<<elseif $arcologies[0].FSDegradationistDecoration >= 60>>
	$clubNameCaps has a perverted, debauched appearance. The decor is utilitarian so it can be cleaned easily, and the reason is obvious. Many patrons have brought their own slaves to publicly rape here.
<<elseif $arcologies[0].FSRepopulationFocusDecoration >= 60>>
	$clubNameCaps has a gaudy appearance. There are lots of deep soft chairs for pregnant patrons and slaves to rest in and screens showing girls with large bellies lining the walls.
<<elseif $arcologies[0].FSRestartDecoration >= 60>>
	$clubNameCaps has a gaudy appearance. There are screens lining the walls displaying anti-breeding propaganda. The real action happens in the several exclusive rooms reserved for society's best.
<<elseif $arcologies[0].FSAssetExpansionistDecoration >= 60>>
	$clubNameCaps has a gaudy appearance. There are a lot of neon lights and there are screens everywhere, showing off big tits and plush asses.
<<elseif $arcologies[0].FSTransformationFetishistDecoration >= 60>>
	$clubNameCaps has a gaudy appearance. There are a lot of neon lights and there are screens everywhere, showing off huge fake tits and plastic dick sucking lips.
<<elseif $arcologies[0].FSGenderRadicalistDecoration >= 60>>
	$clubNameCaps has a gaudy appearance. There are a lot of neon lights and there are screens everywhere, showing closeups of cocks fucking every imaginable orifice.
<<elseif $arcologies[0].FSGenderFundamentalistDecoration >= 60>>
	$clubNameCaps has an old world appearance, a decidely throwback atmosphere harking back to the glory days of cultures past.
<<elseif $arcologies[0].FSPhysicalIdealistDecoration >= 60>>
	$clubNameCaps isn't a gym, but it smells like one. The dancing is rough and competitive, and the drinks are rich with protein.
<<elseif $arcologies[0].FSSupremacistDecoration >= 60>>
	$clubNameCaps is decorated like an upper-class gentleman's club in the old countries of $arcologies[0].FSSupremacistRace people.
<<elseif $arcologies[0].FSSubjugationistDecoration >= 60>>
	$clubNameCaps is decorated like an upper-class gentleman's club in the old countries which favored $arcologies[0].FSSubjugationistRace slaves.
<<elseif $arcologies[0].FSPaternalistDecoration >= 60>>
	$clubNameCaps is handsome and well-kept, even romantic. Though the slaves here are sex slaves, every provision is made to encourage them to enjoy themselves.
<<elseif $arcologies[0].FSBodyPuristDecoration >= 60>>
	$clubNameCaps is gorgeous, decorated and kept in the height of fashionable night establishment style. The music is cutting edge and everything and everyone is elegant.
<<elseif $arcologies[0].FSSlimnessEnthusiastDecoration >= 60>>
	$clubNameCaps is distinctly gaudy, with lots of sugary drinks on offer. The music and decor are of a decidedly bubblegum quality.
<<elseif $arcologies[0].FSPastoralistDecoration >= 60>>
	$clubNameCaps is decorated to resemble a frontier disorderly house. The drinks are pounded straight, and there's a set of swinging doors for bad men to part dramatically as they enter.
<</if>>

<<if $clubAdsSpending > 0>>
	Screens outside the entrance are showing softcore music videos to advertise $clubName.
	<<if $clubAdsOld == 1>>
	The featured strippers are all MILFs.
	<<elseif $clubAdsOld is -1>>
	The featured strippers are all nice and young.
	<<elseif $clubAdsOld is -2>>
	The featured strippers are all teenagers.
	<<elseif $clubAdsOld is -3>>
	The featured strippers are all lolis.
	<<else>>
	The featured strippers vary in age.
	<</if>>
	<<if $clubAdsStacked == 1>>
	Lots of bouncing breasts and butts
	<<elseif $clubAdsStacked is -1>>
	Lots of trim breasts and shapely butts
	<<else>>
	A variety of breast and butt sizes and shapes
	<</if>>
	are on display, and
	<<if $clubAdsImplanted == 1>>
	most of these are augmented by implants.
	<<elseif $clubAdsImplanted is -1>>
	they're all natural.
	<<else>>
	some are augmented by implants.
	<</if>>
	<<if $clubAdsPreg == 1>>
		Most of strippers have firm, rounded bellies.
	<<elseif $clubAdsPreg is -1>>
		Most of the strippers have firm, flat bellies.
	<<else>>
		Some of the strippers are pregnant.
	<</if>>
	<<if $clubAdsModded == 1>>
	Everything is heavily pierced and tattooed.
	<<elseif $clubAdsModded is -1>>
	Everything is free of tattoos and piercings.
	<<else>>
	Some of these assets are tattooed and pierced, and some aren't.
	<</if>>
	The strippers get naked quickly, and show off
	<<if $clubAdsXX == 1>>
	their pussies and assholes.
	<<elseif $clubAdsXX is -1>>
	their assholes.
	<<else>>
	their holes.
	<</if>>
<</if>>

<<if $clubAdsSpending >= 5000>>
	Advertisements based on these scenes run constantly in media across $arcologies[0].name, and there's an active merchandising campaign underway to promote your club and its girls.
<<elseif $clubAdsSpending >= 4000>>
	Advertisements based on these scenes run constantly in media across $arcologies[0].name.
<<elseif $clubAdsSpending >= 3000>>
	Advertisements based on these scenes are run in media across $arcologies[0].name.
<<elseif $clubAdsSpending >= 2000>>
	Advertisements based on these scenes run regularly in arcology media.
<<elseif $clubAdsSpending >= 1000>>
	Advertisements based on these scenes run occasionally in arcology media.
<<else>>
	$arcologies[0].name has a robust internal media that could be used to bring patrons into the club.
<</if>>

<</nobr>>

<<nobr>>

You are spending ¤$clubAdsSpending each week to advertise $clubName.

<<if $clubAdsSpending > 900>>
	<<click "Decrease">><<set $clubAdsSpending -= 1000>><<goto "Club Advertisement">><</click>> |
<<else>>
	Decrease |
<</if>>
<<if $clubAdsSpending < 5000>>
	<<click "Increase">><<set $clubAdsSpending += 1000>><<goto "Club Advertisement">><</click>>
<<else>>
	Increase
<</if>>

<</nobr>>

__Design Club Ad Campaign__ //Will replace relevant variety bonuses//
<<nobr>>

Asset size:
<<if $clubAdsStacked != 1>><<click "Stacked">><<set $clubAdsStacked to 1>><<goto "Club Advertisement">><</click>> | <<else>>Stacked | <</if>>
<<if $clubAdsStacked != -1>><<click "Slim">><<set $clubAdsStacked to -1>><<goto "Club Advertisement">><</click>> | <<else>>Slim | <</if>>
<<if $clubAdsStacked != 0>><<click "Variety">><<set $clubAdsStacked to 0>><<goto "Club Advertisement">><</click>><<else>>Variety<</if>>

Asset origin:
<<if $clubAdsImplanted != 1>><<click "Implants">><<set $clubAdsImplanted to 1>><<goto "Club Advertisement">><</click>> | <<else>>Implants | <</if>>
<<if $clubAdsImplanted != -1>><<click "All natural">><<set $clubAdsImplanted to -1>><<goto "Club Advertisement">><</click>> | <<else>>All natural | <</if>>
<<if $clubAdsImplanted != 0>><<click "Variety">><<set $clubAdsImplanted to 0>><<goto "Club Advertisement">><</click>><<else>>Variety<</if>>

Body mods:
<<if $clubAdsModded != 1>><<click "Modded">><<set $clubAdsModded to 1>><<goto "Club Advertisement">><</click>> | <<else>>Modded | <</if>>
<<if $clubAdsModded != -1>><<click "Unmodded">><<set $clubAdsModded to -1>><<goto "Club Advertisement">><</click>> | <<else>>Unmodded | <</if>>
<<if $clubAdsModded != 0>><<click "Variety">><<set $clubAdsModded to 0>><<goto "Club Advertisement">><</click>><<else>>Variety<</if>>

Age:
<<if $clubAdsOld != 1>><<click "MILF">><<set $clubAdsOld to 1>><<goto "Club Advertisement">><</click>> | <<else>>MILF | <</if>>
<<if $clubAdsOld != -1>><<click "Young">><<set $clubAdsOld to -1>><<goto "Club Advertisement">><</click>> | <<else>>Young | <</if>>
<<if $minimumSlaveAge < 18>>
<<if $clubAdsOld != -2>><<click "Teen">><<set $clubAdsOld to -2>><<goto "Club Advertisement">><</click>> | <<else>>Teen | <</if>>
<</if>>
<<if $minimumSlaveAge < 13>>
<<if $clubAdsOld != -3>><<click "Loli">><<set $clubAdsOld to -3>><<goto "Club Advertisement">><</click>> | <<else>>Loli | <</if>>
<</if>>
<<if $clubAdsOld != 0>><<click "Variety">><<set $clubAdsOld to 0>><<goto "Club Advertisement">><</click>> <<else>>Variety<</if>>

Pregnancy:
<<if $clubAdsPreg != 1>><<click "Gravid">><<set $clubAdsPreg to 1>><<goto "Club Advertisement">><</click>> | <<else>>Gravid | <</if>>
<<if $clubAdsPreg != -1>><<click "None">><<set $clubAdsPreg to -1>><<goto "Club Advertisement">><</click>> | <<else>>None | <</if>>
<<if $clubAdsPreg != 0>><<click "Variety">><<set $clubAdsPreg to 0>><<goto "Club Advertisement">><</click>><<else>>Variety<</if>>

<<if $seeDicks != 0>>
	Genitalia:
	<<if $clubAdsXX != 1>><<click "Pussies">><<set $clubAdsXX to 1>><<goto "Club Advertisement">><</click>> | <<else>>Pussies | <</if>>
	<<if $clubAdsXX != -1>><<click "Dicks">><<set $clubAdsXX to -1>><<goto "Club Advertisement">><</click>> | <<else>>Dicks | <</if>>
	<<if $clubAdsXX != 0>><<click "Variety">><<set $clubAdsXX to 0>><<goto "Club Advertisement">><</click>> <<else>>Variety<</if>>

<</if>>

<</nobr>>


code:
:: Club Report [nobr]

''Club Report''

<<set $clubSlaves to 0>>
<<set $legendaryEntertainerID to 0>>
<<set $clubBonuses to 0>>
<<set $slim to 0>>
<<set $stacked to 0>>
<<set $modded to 0>>
<<set $unmodded to 0>>
<<set $pure to 0>>
<<set $implanted to 0>>
<<set $XX to 0>>
<<set $XY to 0>>
<<set $young to 0>>
<<set $old to 0>>
<<set $pregYes to 0>>
<<set $pregNo to 0>>
<<set $DJFetish to 0>>
	<<set $DJRepBonus to 0>>

<<for $i to 0; $i < $slaves.length; $i++>>
<<if ($slaves[$i].assignment is "serve in the club")>>
	<<if $seeImages == 1>><<SlaveArt $slaves[$i] 0 0>><</if>>
	<<set $clubSlaves += 1>>
<</if>>
<</for>>

<<if ($DJ != 0)>>
<<for $i to 0; $i < $slaves.length; $i++>>
<<if ($slaves[$i].ID is $DJ.ID)>>
	<<silently>>
	<<display "SA long term effects">>
	<<display "SA relationships">>
	<<display "SA rivalries">>
	<</silently>>
	<<if ($slaves[$i].health < -80)>>
	<<set $slaves[$i].health += 20>>
	<<elseif $slaves[$i].health < -40>>
	<<set $slaves[$i].health += 15>>
	<<elseif $slaves[$i].health < 0>>
	<<set $slaves[$i].health += 10>>
	<<elseif $slaves[$i].health < 90>>
	<<set $slaves[$i].health += 7>>
	<</if>>
	<<if $slaves[$i].devotion <= 60>>
	<<set $slaves[$i].devotion += 5>>
	<</if>>
	<<if $slaves[$i].trust < 60>>
	<<set $slaves[$i].trust += 3>>
	<</if>>
	<<if $slaves[$i].fetishStrength <= 95>>
	<<if $slaves[$i].fetish != "humiliation">>
		<<fetishChangeChance $slaves[$i]>>
		<<if $fetishChangeChance > random(0,100)>>
			<<set $DJFetish to 1>>
			<<set $slaves[$i].fetishKnown to 1>>
			<<set $slaves[$i].fetish to "humiliation">>
		<</if>>
	<<elseif $slaves[$i].fetishKnown == 0>>
		<<set $DJFetish to 1>>
		<<set $slaves[$i].fetishKnown to 1>>
	<<else>>
		<<set $DJFetish to 2>>
		<<set $slaves[$i].fetishStrength += 4>>
	<</if>>
	<</if>>
	<<break>>
<</if>>
<</for>>
$DJ.slaveName is serving as the DJ.<<if $DJ.relationship is -3>>  She tries her best to be your energetic, cheerful wife.<</if>>
<<if ($DJFetish == 1)>>
	She's expected to be the innovative, beautiful DJ spinning beats one minute, and come out of her booth to grind on the floor the next; she enjoys the interplay, and finds greater @@color:lightcoral;pleasure in exhibitionism.@@
<<elseif ($DJFetish == 2)>>
	Every day she gets to enjoy hundreds of stares on her skin, and @@color:lightsalmon;becomes more of an exhibitionist.@@
<</if>>
<<if ($DJ.eyes is -2)>>
	Her lack of eyesight doesn't slow her down; rather, it strengthens her other senses. Her tracks have a distinct sound, since she experiences noise as her sight.
	<<set $DJRepBonus += 0.15>>
<</if>>
<<if $DJ.relationship is -3>>
	<<set $DJRepBonus += 0.1>>
<</if>>
<<if ($DJ.entertainSkill <= 10)>>
	Though $DJ.slaveName does her best to lead on the club, with her lack of skill she can do little.
<<elseif ($DJ.entertainSkill <= 30)>>
	$DJ.slaveName's basic skills marginally @@color:green;improve@@ the atmosphere on $clubName.
	<<set $DJRepBonus += 0.05>>
<<elseif ($DJ.entertainSkill <= 60)>>
	$DJ.slaveName's skills @@color:green;improve@@ the atmosphere on $clubName.
	<<set $DJRepBonus += 0.1>>
<<elseif ($DJ.entertainSkill < 100)>>
	$DJ.slaveName's skills greatly @@color:green;improve@@ the atmosphere on $clubName.
	<<set $DJRepBonus += 0.15>>
<<elseif ($DJ.entertainSkill >= 100)>>
	$DJ.slaveName's mastery immensely @@color:green;improves@@ the atmosphere on $clubName.
	<<set $DJRepBonus += 0.20>>
<</if>>
<<if ($DJ.muscles > 5) && ($DJ.muscles <= 95)>>
	Her toned body helps her lead her fellow club girls by letting her dance all night.
	<<set $DJRepBonus += 0.05>>
<</if>>
<<if ($DJ.intelligence > 0)>>
	She's smart enough to make an actual contribution to the music, greatly enhancing the entire experience.
	<<set $DJRepBonus += 0.05*$DJ.intelligence>>
<</if>>
<<if ($DJ.face > 2)>>
	Her great beauty is a further draw, even when she's in her DJ booth, but especially when she comes out to dance.
	<<set $DJRepBonus += 0.05>>
<</if>>
<<if $DJCareers.contains($DJ.career)>>
	She has musical experience from her life before she was a slave, a grounding that gives her tracks actual depth.
	<<set $DJRepBonus += 0.05>>
<</if>>
<<if ($clubSlaves < 5)>>
	<<set $slavesGettingHelp to 0>>
	<<if $universalRulesFacilityWork == 1>>
	<<for $i to 0; $i < $slaves.length; $i++>>
		<<if ($slaves[$i].assignment is "serve the public")>>
		<<set $slavesGettingHelp += 1>>
		<</if>>
	<</for>>
	<</if>>
	<<if ($clubSlaves+$slavesGettingHelp < 5)>>
	<<for $i to 0; $i < $slaves.length; $i++>>
	<<if ($slaves[$i].ID is $DJ.ID)>>
	<<silently>><<display "SA serve the public">><</silently>>
	<<set $repGain += Math.trunc(($beauty*$FResult)*(1+(0.003*$slaves[$i].entertainSkill))*0.1*0.5)>>
	Since she doesn't have enough sluts in $clubName to make it worthwhile for her to be on stage 24/7, she spends her extra time time slutting it up herself. She has sex with $beauty citizens, @@color:green;pleasing them immensely,@@ since it's more appealing to fuck the DJ than some club slut.
	<<break>>
	<</if>>
	<</for>>
	<</if>>
<</if>>
<</if>>

<<if ($clubSlaves > 0)>>

	<<set $possibleBonuses to 0>>
	<<if $seeImages == 1>>
<</if>>
	<<if ($clubSlaves == 1)>>''The one slave pleasing citizens in $clubName'' worked hard to @@color:green;increase your reputation@@ this week.<<else>>''The $clubSlaves slaves pleasing citizens in $clubName'' worked hard to @@color:green;increase your reputation@@ this week.<</if>>

<<for $i to 0; $i < $slaves.length; $i++>>
<<if ($slaves[$i].assignment is "serve in the club")>>
	<<if ($legendaryEntertainerID == 0) && ($slaves[$i].prestige == 0) && ($slaves[$i].entertainSkill >= 100) && ($slaves[$i].devotion > 50) && ($slaves[$i].prestige == 0)>>
	<<set $legendaryEntertainerID to $slaves[$i].ID>>
	<</if>>
	<<if ($legendaryWombID == 0) && ($slaves[$i].amp != 1) && ($slaves[$i].preg > 30) && ($slaves[$i].pregType < 50) && ($slaves[$i].births > 10) && ($slaves[$i].devotion > 50) && ($slaves[$i].prestige == 0)>>
	<<set $legendaryWombID to $slaves[$i].ID>>
	<</if>>
	<<silently>>
	<<display [[SA serve the public]]>>
	<<display "SA long term effects">>
	<<display "SA relationships">>
	<<display "SA rivalries">>
	<</silently>>
	<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust > -20)>>
	<<set $slaves[$i].devotion -= 5>>
	<<set $slaves[$i].trust -= 5>>
	<<elseif ($slaves[$i].devotion < 45)>>
	<<set $slaves[$i].devotion += 4>>
	<<elseif ($slaves[$i].devotion >= 50)>>
	<<set $slaves[$i].devotion -= 4>>
	<</if>>
	<<if ($slaves[$i].trust < 30)>>
	<<set $slaves[$i].trust += 5>>
	<</if>>
	<<if ($slaves[$i].health < -80)>>
	<<set $slaves[$i].health += 20>>
	<<elseif ($slaves[$i].health < -40)>>
	<<set $slaves[$i].health += 15>>
	<<elseif ($slaves[$i].health < 0)>>
	<<set $slaves[$i].health += 10>>
	<<elseif ($slaves[$i].health < 90)>>
	<<set $slaves[$i].health += 7>>
	<</if>>
<</if>>
<</for>>

	<<if $clubAdsSpending != 0>>
	An ad campaign is getting citizens into the club every night, and sluts that match it gratify patrons.
	<</if>>

	<<if ($arcologies[0].FSAssetExpansionist is "unset") && ($arcologies[0].FSSlimnessEnthusiast is "unset")>>
	<<if ($clubAdsSpending == 0) || ($clubAdsStacked == 0)>>
		<<set $possibleBonuses += 1>>
		<<if ($slim > 0) && ($stacked > 0) && (Math.abs($slim-$stacked) <= ($clubSlaves/3))>>
		<<set $repGain += $clubSlaves*random(5,10)>>
		<<set $clubBonuses += 1>>
		There is a @@color:green;wide@@ variety of slim and stacked slaves working the club.
		<</if>>
	<</if>>
	<</if>>
	<<if ($arcologies[0].FSDegradationist is "unset") && ($arcologies[0].FSBodyPurist is "unset")>>
	<<if ($clubAdsSpending == 0) || ($clubAdsModded == 0)>>
		<<set $possibleBonuses += 1>>
		<<if ($modded > 0) && ($unmodded > 0) && (Math.abs($modded-$unmodded) <= ($clubSlaves/3))>>
		<<set $repGain += $clubSlaves*random(5,10)>>
		<<set $clubBonuses += 1>>
		There are @@color:green;both@@ heavily pierced and tattooed slaves and slaves with more natural bodies filling the club.
		<</if>>
	<</if>>
	<</if>>
	<<if ($arcologies[0].FSTransformationFetishist is "unset") && ($arcologies[0].FSBodyPurist is "unset")>>
	<<if ($clubAdsSpending == 0) || ($clubAdsImplanted == 0)>>
		<<set $possibleBonuses += 1>>
		<<if ($implanted > 0) && ($pure > 0) && (Math.abs($implanted-$pure) <= ($clubSlaves/3))>>
		<<set $repGain += $clubSlaves*random(5,10)>>
		<<set $clubBonuses += 1>>
		Citizens in $clubName can easily find @@color:yellowgreen;both@@ all-natural girls, and slaves whose beauty has been improved by surgical means.
		<</if>>
	<</if>>
	<</if>>
	<<if ($seeDicks != 0)>>
	<<if ($clubAdsSpending == 0) || ($clubAdsXX == 0)>>
		<<set $possibleBonuses += 1>>
		<<if ($XX > 0) && ($XY > 0) && (Math.abs($XX-$XY) <= ($clubSlaves/3))>>
		<<set $repGain += $clubSlaves*random(5,10)>>
		<<set $clubBonuses += 1>>
		The club offers a @@color:green;mix@@ of sluts that can appeal to varied tastes in genitalia.
		<</if>>
	<</if>>
	<</if>>
	<<if ($arcologies[0].FSMaturityPreferentialist is "unset") && ($arcologies[0].FSYouthPreferentialist is "unset")>>
	<<if ($clubAdsSpending == 0) || ($clubAdsOld == 0)>>
		<<set $possibleBonuses += 1>>
		<<if ($young > 0) && ($old > 0) && (Math.abs($young-$old) <= ($clubSlaves/3))>>
		<<set $repGain += $clubSlaves*random(5,10)>>
		<<set $clubBonuses += 1>>
		There are girls @@color:green;both@@ young and mature in $clubName.
		<</if>>
	<</if>>
	<</if>>
	<<if ($arcologies[0].FSRepopulationFocus is "unset") && ($arcologies[0].FSRestart is "unset")>>
	<<if ($clubAdsSpending == 0) || ($clubAdsPreg == 0)>>
		<<set $possibleBonuses += 1>>
		<<if ($pregYes > 0) && ($pregNo > 0) && (Math.abs($pregYes-$pregNo) <= ($clubSlaves/3))>>
		<<set $repGain += $clubSlaves*random(5,10)>>
		<<set $clubBonuses += 1>>
		There is a @@color:green;wide@@ variety of slaves with swollen, round bellies and flat bellies working the club.
		<</if>>
	<</if>>
	<</if>>

	<<if ($possibleBonuses > 0)>>
	<<if ($clubBonuses >= $possibleBonuses)>>
		<<set $repGain += $clubSlaves*random(10,15)>>
		There is a ''@@color:green;perfect variety@@'' of slaves serving the public from the club.
	<</if>>
	<</if>>

	<<if ($club < $clubSlaves)>>
	<<set $clubSpots to 0>>
	<<else>>
	<<set $clubSpots to $club - $clubSlaves>>
	<</if>>

	<<if $clubDecoration != "standard">>
	$clubNameCaps's customers enjoy @@color:green;having sex in $clubDecoration surroundings.@@
	<</if>>

<<else>>
	''Business in $clubName is normal.''
	<<set $clubSpots to $club>>
<</if>>


code:
:: Complete Catalog

<<set $nextButton to "Back to Main">>\
<<set $nextLink to "Main">>\
<<set $returnTo to "Main">>\
//This is the complete catalog of slaves that you can acquire from other slaveowners. Most of these slaves are not for sale, so persuading their owners to part with them will be extremely expensive.//

<<nobr>>
<<for $i to 0; $i < $heroSlaves.length; $i++>>
<<print "[[$heroSlaves[$i].slaveName|Complete Catalog][$activeSlave to $heroSlaves[" + $i + "]]]">> |
<</for>>
<</nobr>>

<<set $specialSlavesPriceOverride = 1>>
<<display "Long Slave Description">>\
<<slaveCost $activeSlave>>\
<<set $slaveCost to (10*Math.trunc(($slaveCost/10)*2))>>
<<if $slaveCost < 40000>>
	<<set $slaveCost += random(20000,60000)>>
<</if>>
<<set $specialSlavesPriceOverride = 0>>

The offered price is ¤<<print $slaveCost>>.

[[Buy her slave contract|New Slave Intro][$cash -= $slaveCost, $activeSlave.weekAcquired to $week,$nextButton to "Continue",$nextLink to "AS Dump",$returnTo to "Main",$specialSlave to 1]]


code:
:: Concubine Select

<<nobr>>
<<set $nextButton to "Back">>
<<set $nextLink to "Master Suite">>
<<set $showEncyclopedia to 0>>

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

She will take the lead in seeing to your pleasure.
	<<break>>
<</if>>
<</for>>
<<if ($Concubine == 0)>>
	You have not selected a Concubine.
<</if>>

''Appoint a Concubine from your devoted slaves:''
<<display "Slave Summary">>

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


code:
:: Concubine Workaround

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

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

<<goto "Master Suite">>


code:
:: Confinement Workaround

<<set $activeSlave.assignment to "stay confined">>
<<set $activeSlave.choosesOwnAssignment to 0>>
<<for $i to 0; $i < $slaves.length; $i++>>
	<<if $activeSlave.ID == $slaves[$i].ID>>
	<<set $slaves[$i] to $activeSlave>>
	<<break>>
	<</if>>
<</for>>

<<goto "Main">>


code:
:: Corporation Developments [nobr]

__The Corporation__

<<set $seed to random(1,100)>>
<<set $corpPeopleEnslaved += 1>>

<<set $corpValue to ($generalAssets*$generalAssetPrice)+($slaveAssets*$slaveAssetPrice)+($entrapmentAssets*$entrapmentAssetPrice)+($captureAssets*$captureAssetPrice)+($trainingAssets*$trainingAssetPrice)+($surgicalAssets*$surgicalAssetPrice)+($drugAssets*$drugAssetPrice)>>
<<set $corpProfit = Math.trunc($corpValue*(random(7,15)/1000))>>
<<set $corpCash += $corpProfit>>
Your corporation made a profit of ¤$corpProfit last week.
<<if $mercenariesHelpCorp > 0>>
	The $mercenariesTitle assist it with difficult enslavement targets. Otherwise, it
	<<set $slaveAssets += $mercenaries*1000>>
	<<set $corpPeopleEnslaved += $mercenaries>>
<<else>>
	It
<</if>>
<<if $seed > 80>>
	was an outstanding week for corporate enslavement;
	<<set $slaveAssets += Math.trunc(($captureAssets+$entrapmentAssets)*0.09)>>
	<<set $corpPeopleEnslaved += Math.trunc(($captureAssets+$entrapmentAssets)*0.0009)>>
<<elseif $seed > 60>>
	was a great week for enslavement;
	<<set $slaveAssets += Math.trunc(($captureAssets+$entrapmentAssets)*0.07)>>
	<<set $corpPeopleEnslaved += Math.trunc(($captureAssets+$entrapmentAssets)*0.0007)>>
<<elseif $seed > 60>>
	was a good week for enslavement;
	<<set $slaveAssets += Math.trunc(($captureAssets+$entrapmentAssets)*0.05)>>
	<<set $corpPeopleEnslaved += Math.trunc(($captureAssets+$entrapmentAssets)*0.0005)>>
<<elseif $seed > 60>>
	was a mediocre week for enslavement;
	<<set $slaveAssets += Math.trunc(($captureAssets+$entrapmentAssets)*0.03)>>
	<<set $corpPeopleEnslaved += Math.trunc(($captureAssets+$entrapmentAssets)*0.0003)>>
<<else>>
	was a bad week for enslavement;
	<<set $slaveAssets += Math.trunc(($captureAssets+$entrapmentAssets)*0.01)>>
	<<set $corpPeopleEnslaved += Math.trunc(($captureAssets+$entrapmentAssets)*0.0001)>>
<</if>>
in total, the corporation has enslaved $corpPeopleEnslaved people.
<<if $slaveAssets < ($trainingAssets+$surgicalAssets+$drugAssets)>>
	The corporation has enough training and medical assets to rapidly improve its human holdings.
	<<set $slaveAssets = Math.trunc($slaveAssets*1.1)>>
<<elseif $slaveAssets < ($trainingAssets+$surgicalAssets+$drugAssets)*2>>
	The corporation uses its training and medical assets to improve its human holdings.
	<<set $slaveAssets = Math.trunc($slaveAssets*1.05)>>
<<else>>
	The corporation has only enough training and medical assets to maintain the value of its human holdings.
<</if>>
<<if $corpProfit*0.6 > ($personalShares+$publicShares)*3>>
	Since it is incredibly profitable, an massive dividend of ¤<<print Math.trunc(($corpProfit*0.6)/($personalShares+$publicShares))>> was paid out to stockholders; you received @@color:yellowgreen;¤<<print Math.trunc(($corpProfit*0.6)/($personalShares+$publicShares))*$personalShares>>.@@
	<<set $cash += Math.trunc(($corpProfit*0.6)/($personalShares+$publicShares))*$personalShares>>
	<<set $corpCash -= Math.trunc(($corpProfit*0.6)/($personalShares+$publicShares))*$personalShares>>
<<elseif $corpProfit > ($personalShares+$publicShares)*2.4>>
	Since it is extremely profitable, a huge dividend of ¤2/share was paid out to stockholders; you received @@color:yellowgreen;¤<<print $personalShares*2>>.@@
	<<set $cash += $personalShares*2>>
	<<set $corpCash -= ($personalShares+$publicShares)*2>>
<<elseif $corpProfit > ($personalShares+$publicShares)*1.5>>
	Since it is highly profitable, a large dividend of ¤1/share was paid out to stockholders; you received @@color:yellowgreen;¤$personalShares.@@
	<<set $cash += $personalShares>>
	<<set $corpCash -= ($personalShares+$publicShares)>>
<<elseif $corpProfit > ($personalShares+$publicShares)*0.8>>
	Since it is very profitable, a moderate dividend of ¤0.5/share was paid out to stockholders; you received @@color:yellowgreen;¤<<print $personalShares*0.5>>.@@
	<<set $cash += Math.trunc($personalShares*0.5)>>
	<<set $corpCash -= Math.trunc(($personalShares+$publicShares)*0.5)>>
<<elseif $corpProfit > ($personalShares+$publicShares)*0.4>>
	Since it is moderately profitable, a reasonable dividend of ¤0.2/share was paid out to stockholders; you received @@color:yellowgreen;¤<<print $personalShares*0.2>>.@@
	<<set $cash += Math.trunc($personalShares*0.2)>>
	<<set $corpCash -= Math.trunc(($personalShares+$publicShares)*0.2)>>
<<elseif $corpProfit > ($personalShares+$publicShares)*0.2>>
	Since it is acceptably profitable, a small dividend of ¤0.1/share was paid out to stockholders; you received @@color:yellowgreen;¤<<print $personalShares*0.1>>.@@
	<<set $cash += Math.trunc($personalShares*0.1)>>
	<<set $corpCash -= Math.trunc(($personalShares+$publicShares)*0.1)>>
<</if>>

<<set $seed to random(1,100)>>

<<if $corpValue > ($personalShares+$publicShares)*$sharePrice*1.1>>
	The market consensus is that your corporation is undervalued, driving share prices sharply up.
	<<set $sharePrice to (Math.trunc($sharePrice*random(115,125)))/100>>
<<elseif random(1,100) < $rep/30000>>
	Share prices in your corporation are driven up by your reputation.
	<<set $sharePrice to (Math.trunc($sharePrice*random(random(105,110),115)))/100>>
<<elseif $seed > 80>>
	Market volatility drives share prices up.
	<<set $sharePrice to (Math.trunc($sharePrice*random(random(105,110),115)))/100>>
<<elseif $seed < 20>>
	Market volatility drives share prices down.
	<<set $sharePrice to (Math.trunc($sharePrice*random(85,random(90,95))))/100>>
<<elseif $corpValue < ($personalShares+$publicShares)*$sharePrice*0.9>>
	The market consensus is that your corporation is overvalued, driving share prices sharply down.
	<<set $sharePrice to (Math.trunc($sharePrice*random(85,random(90,95))))/100>>
<</if>>

Shares in your corporation are trading at ¤$sharePrice:

<<if $oldSharePrice is $sharePrice>>
	no different from last week.
<<elseif $oldSharePrice > $sharePrice>>
	down <<print Math.trunc(($oldSharePrice-$sharePrice)*100)/100>> since last week.
<<else>>
	up <<print Math.trunc(($sharePrice - $oldSharePrice)*100)/100>> since last week.
<</if>>

<<set $oldSharePrice = Math.trunc($sharePrice)>>

You hold $personalShares shares personally while $publicShares are publicly held.

<<if $cash > 1000*$sharePrice>>
<<click "Purchase 1000 shares from the corporation">><<set $personalShares += 1000>><<set $cash -= 1000*$sharePrice>><<set $corpCash += 1000*$sharePrice>><<set $sharePrice to (Math.trunc($sharePrice*random(105,110)))/100>><<replace "#capitalize">><<print "You purchased 1000 shares from the corporation, driving the share price up slightly.">><</replace>><</click>> |
<</if>>
<<if $personalShares-1000 > $publicShares>>
	 <<click "Issue 1000 new shares">><<set $publicShares += 1000>><<set $corpCash += 1000*$sharePrice>><<set $sharePrice to (Math.trunc($sharePrice*random(90,95)))/100>><<replace "#capitalize">><<print "The corporation issued 1000 new shares, driving the share price down slightly.">><</replace>><</click>> |
<</if>>
<<if $personalShares-1000 > $publicShares>>
	 <<click "Sell 1000 of your shares">><<set $personalShares -= 1000>><<set $publicShares += 1000>><<set $cash += 1000*$sharePrice>><<set $sharePrice to (Math.trunc($sharePrice*random(90,95)))/100>><<replace "#capitalize">><<print "You sold 1000 shares, driving the share price down slightly.">><</replace>><</click>>
<<else>>
	 //You cannot give up majority control.//
<</if>>
<<if $publicShares > 1000>>
<<if $cash > 1000*$sharePrice>>
<<if $publicShares > $personalShares*0.2>>
	 | <<click "Buy 1000 publicly held shares">><<set $personalShares += 1000>><<set $publicShares -= 1000>><<set $cash -= 1000*$sharePrice>><<set $sharePrice to (Math.trunc($sharePrice*random(105,110)))/100>><<replace "#capitalize">><<print "You bought 1000 shares, driving the share price up slightly.">><</replace>><</click>>
<<else>>
	 | //You cannot make the corporation privately held.//
<</if>>
<</if>>
<</if>>

¤$corpCash in cash on hand.

<<if $generalAssetPrice > 10>>
	<<if random(1,100) > 50>>
	<<set $generalAssetPrice -= 1>>
	<<elseif random(1,100) > 50>>
	<<set $generalAssetPrice += 1>>
	<</if>>
<<elseif $generalAssetPrice < 4>>
	<<set $generalAssetPrice to 5>>
<<elseif $generalAssetPrice < 10>>
	<<if random(1,100) > 50>>
	<<set $generalAssetPrice += 1>>
	<<elseif random(1,100) > 50>>
	<<set $generalAssetPrice -= 1>>
	<</if>>
<<else>>
	<<if random(1,100) > 50>>
	<<set $generalAssetPrice += 1>>
	<<else>>
	<<set $generalAssetPrice -= 1>>
	<</if>>
<</if>>

¤<<print $generalAssetPrice*$generalAssets>> in general assets.
General asset prices are
<<if $generalAssetPrice > 12>>@@color:yellowgreen;very high@@<<elseif $generalAssetPrice > 10>>@@color:yellowgreen;high@@<<elseif $generalAssetPrice == 10>>average<<elseif $generalAssetPrice >= 8>>@@color:gold;low@@<<else>>@@color:gold;very low@@<</if>>.
| <<click "Buy">>
	<<if $generalAssetPrice*500 < $corpCash>>
		<<set $generalAssets += 500>>
		<<set $corpCash -= 500*$generalAssetPrice>>
		<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#genAssets">>
			¤<<print $generalAssetPrice*$generalAssets>>
		<</replace>>
		<<replace "#update">>
		<</replace>>
	<<else>>
	<<replace "#purchasing">>
		There are insufficient funds for additional purchases.
	<</replace>>
	<</if>>
<</click>>
| <<click "Massive investment">>
	 <<if $generalAssetPrice*1000 < $corpCash>>
		<<set $generalAssets += (Math.trunc($corpCash/($generalAssetPrice*500)))*500>>
		<<set $corpCash -= (Math.trunc($corpCash/($generalAssetPrice*500)))*($generalAssetPrice*500)>>
	 	<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#genAssets">>
			¤<<print $generalAssetPrice*$generalAssets>>
		<</replace>>
	<<else>>
	<<replace "#purchasing">>
		There are insufficient funds for additional purchases.
	<</replace>>
	<</if>>
<</click>>
| <<click "Sell">>
	<<if $generalAssets >= 1000>>
		<<set $generalAssets -= 500>>
		<<set $corpCash += 500*$generalAssetPrice>>
		<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#genAssets">>
			¤<<print $generalAssetPrice*$generalAssets>>
		<</replace>>
		<<replace "#update">>
		<</replace>>
	<<else>>
		<<replace "#update">>
			You cannot sell any more assets.
		<</replace>>
	<</if>>
<</click>>

<<set $slaveAssetPrice = Math.trunc(10*$slaveCostFactor)>>

¤<<print $slaveAssetPrice*$slaveAssets>> in slaves.
Slave prices are
<<if $slaveAssetPrice > 12>>@@color:yellowgreen;very high@@<<elseif $slaveAssetPrice > 10>>@@color:yellowgreen;high@@<<elseif $slaveAssetPrice == 10>>average<<elseif $slaveAssetPrice >= 8>>@@color:gold;low@@<<else>>@@color:gold;very low@@<</if>>.
| <<click "Buy">>
	 <<if $slaveAssetPrice*500 < $corpCash>>
		<<set $slaveAssets += 500>>
		<<set $corpPeopleEnslaved += Math.trunc((500*$slaveAssetPrice)/1000)>>
		<<set $corpCash -= 500*$slaveAssetPrice>>
		<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#slavAssets">>
			¤<<print $slaveAssetPrice*$slaveAssets>>
		<</replace>>
		<<replace "#update">>
		<</replace>>
	<<else>>
	<<replace "#purchasing">>
		There are insufficient funds for additional purchases.
	<</replace>>
	<</if>>
<</click>>
| <<click "Massive investment">>
	<<if $slaveAssetPrice*1000 < $corpCash>>
		<<set $slaveAssets += (Math.trunc($corpCash/($slaveAssetPrice*500)))*500>>
		<<set $corpPeopleEnslaved += Math.trunc(($corpCash/($slaveAssetPrice*2))/1000)>>
		<<set $corpCash -= (Math.trunc($corpCash/($slaveAssetPrice*500)))*($slaveAssetPrice*500)>>
	 	<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#slavAssets">>
			¤<<print $slaveAssetPrice*$slaveAssets>>
		<</replace>>
	<<else>>
		<<replace "#purchasing">>
			There are insufficient funds for additional purchases.
		<</replace>>
	<</if>>
<</click>>
| <<click "Sell">>
	<<if $slaveAssets >= 1000>>
		<<set $slaveAssets -= 500>>
		<<set $corpCash += 500*$slaveAssetPrice>>
		<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#slavAssets">>
			¤<<print $slaveAssetPrice*$slaveAssets>>
		<</replace>>
		<<replace "#update">>
		<</replace>>
	<<else>>
		<<replace "#update">>
			You cannot sell any more assets.
		<</replace>>
	<</if>>
<</click>>

<<if $entrapmentAssetPrice > 10>>
	<<if random(1,100) > 50>>
	<<set $entrapmentAssetPrice -= 1>>
	<<elseif random(1,100) > 50>>
	<<set $entrapmentAssetPrice += 1>>
	<</if>>
<<elseif $entrapmentAssetPrice < 4>>
	<<set $entrapmentAssetPrice to 5>>
<<elseif $entrapmentAssetPrice < 10>>
	<<if random(1,100) > 50>>
	<<set $entrapmentAssetPrice += 1>>
	<<elseif random(1,100) > 50>>
	<<set $entrapmentAssetPrice -= 1>>
	<</if>>
<<elseif $entrapmentAssetPrice == 10>>
	<<if random(1,100) > 50>>
	<<set $entrapmentAssetPrice += 1>>
	<<else>>
	<<set $entrapmentAssetPrice -= 1>>
	<</if>>
<<else>>
	<<set $entrapmentAssetPrice to 5>>
<</if>>

¤<<print $entrapmentAssetPrice*$entrapmentAssets>> in legal enslavement assets.
Legal enslavement asset prices are
<<if $entrapmentAssetPrice > 12>>@@color:yellowgreen;very high@@<<elseif $entrapmentAssetPrice > 10>>@@color:yellowgreen;high@@<<elseif $entrapmentAssetPrice == 10>>average<<elseif $entrapmentAssetPrice >= 8>>@@color:gold;low@@<<else>>@@color:gold;very low@@<</if>>.
| <<click "Buy">>
	<<if $entrapmentAssetPrice*500 < $corpCash>>
		<<set $entrapmentAssets += 500>>
		<<set $corpCash -= 500*$entrapmentAssetPrice>>
		<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#trapAssets">>
			¤<<print $entrapmentAssetPrice*$entrapmentAssets>>
		<</replace>>
		<<replace "#update">>
		<</replace>>
	<<else>>
		<<replace "#purchasing">>
			There are insufficient funds for additional purchases.
		<</replace>>
	<</if>>
<</click>>
| <<click "Massive investment">>
	<<if $entrapmentAssetPrice*1000 < $corpCash>>
		<<set $entrapmentAssets += (Math.trunc($corpCash/($entrapmentAssetPrice*500)))*500>>
		<<set $corpCash -= (Math.trunc($corpCash/($entrapmentAssetPrice*500)))*($entrapmentAssetPrice*500)>>
	 	<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#trapAssets">>
			¤<<print $entrapmentAssetPrice*$entrapmentAssets>>
		<</replace>>
	<<else>>
		<<replace "#purchasing">>
			There are insufficient funds for additional purchases.
		<</replace>>
	<</if>>
<</click>>
| <<click "Sell">>
	<<if $entrapmentAssets >= 1000>>
		<<set $entrapmentAssets -= 500>>
		<<set $corpCash += 500*$entrapmentAssetPrice>>
		<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#trapAssets">>
			¤<<print $entrapmentAssetPrice*$entrapmentAssets>>
		<</replace>>
		<<replace "#update">>
		<</replace>>
	<<else>>
		<<replace "#update">>
			You cannot sell any more assets.
		<</replace>>
	<</if>>
<</click>>

<<if $captureAssetPrice > 10>>
	<<if random(1,100) > 50>>
	<<set $captureAssetPrice -= 1>>
	<<elseif random(1,100) > 50>>
	<<set $captureAssetPrice += 1>>
	<</if>>
<<elseif $captureAssetPrice < 4>>
	<<set $captureAssetPrice to 5>>
<<elseif $captureAssetPrice < 10>>
	<<if random(1,100) > 50>>
	<<set $captureAssetPrice += 1>>
	<<elseif random(1,100) > 50>>
	<<set $captureAssetPrice -= 1>>
	<</if>>
<<elseif $captureAssetPrice == 10>>
	<<if random(1,100) > 50>>
	<<set $captureAssetPrice += 1>>
	<<else>>
	<<set $captureAssetPrice -= 1>>
	<</if>>
<<else>>
	<<set $captureAssetPrice to 5>>
<</if>>

¤<<print $captureAssetPrice*$captureAssets>> in conflict zone enslavement assets.
Extralegal enslavement asset prices are
<<if $captureAssetPrice > 12>>@@color:yellowgreen;very high@@<<elseif $captureAssetPrice > 10>>@@color:yellowgreen;high@@<<elseif $captureAssetPrice == 10>>average<<elseif $captureAssetPrice >= 8>>@@color:gold;low@@<<else>>@@color:gold;very low@@<</if>>.
| <<click "Buy">>
	<<if $captureAssetPrice*500 < $corpCash>>
		<<set $captureAssets += 500>>
		<<set $corpCash -= 500*$captureAssetPrice>>
		<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#capAssets">>
			¤<<print $captureAssetPrice*$captureAssets>>
		<</replace>>
		<<replace "#update">>
		<</replace>>
	<<else>>
		<<replace "#purchasing">>
			There are insufficient funds for additional purchases.
		<</replace>>
	<</if>>
<</click>>
| <<click "Massive investment">>
	<<if $captureAssetPrice*1000 < $corpCash>>
		<<set $captureAssets += (Math.trunc($corpCash/($captureAssetPrice*500)))*500>>
		<<set $corpCash -= (Math.trunc($corpCash/($captureAssetPrice*500)))*($captureAssetPrice*500)>>
	 	<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#capAssets">>
			¤<<print $captureAssetPrice*$captureAssets>>
		<</replace>>
	<<else>>
		<<replace "#purchasing">>
			There are insufficient funds for additional purchases.
		<</replace>>
	<</if>>
<</click>>
| <<click "Sell">>
	<<if $captureAssets >= 1000>>
		<<set $captureAssets -= 500>>
		<<set $corpCash += 500*$captureAssetPrice>>
		<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#capAssets">>
			¤<<print $captureAssetPrice*$captureAssets>>
		<</replace>>
		<<replace "#update">>
		<</replace>>
	<<else>>
		<<replace "#update">>
			You cannot sell any more assets.
		<</replace>>
	<</if>>
<</click>>

<<if $trainingAssetPrice > 10>>
	<<if random(1,100) > 50>>
	<<set $trainingAssetPrice -= 1>>
	<<elseif random(1,100) > 50>>
	<<set $trainingAssetPrice += 1>>
	<</if>>
<<elseif $trainingAssetPrice < 4>>
	<<set $trainingAssetPrice to 5>>
<<elseif $trainingAssetPrice < 10>>
	<<if random(1,100) > 50>>
	<<set $trainingAssetPrice += 1>>
	<<elseif random(1,100) > 50>>
	<<set $trainingAssetPrice -= 1>>
	<</if>>
<<elseif $trainingAssetPrice > 5>>
	<<if random(1,100) > 50>>
	<<set $trainingAssetPrice += 1>>
	<<else>>
	<<set $trainingAssetPrice -= 1>>
	<</if>>
<<else>>
	<<set $trainingAssetPrice to 5>>
<</if>>

¤<<print $trainingAssetPrice*$trainingAssets>> in slave training assets.
Slave training asset prices are
<<if $trainingAssetPrice > 12>>@@color:yellowgreen;very high@@<<elseif $trainingAssetPrice > 10>>@@color:yellowgreen;high@@<<elseif $trainingAssetPrice == 10>>average<<elseif $trainingAssetPrice >= 8>>@@color:gold;low@@<<else>>@@color:gold;very low@@<</if>>.
| <<click "Buy">>
	<<if $trainingAssetPrice*500 < $corpCash>>
		<<set $trainingAssets += 500>>
		<<set $corpCash -= 500*$trainingAssetPrice>>
		<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#trainAssets">>
			¤<<print $trainingAssetPrice*$trainingAssets>>
		<</replace>>
		<<replace "#update">>
		<</replace>>
	<<else>>
		<<replace "#purchasing">>
			There are insufficient funds for additional purchases.
		<</replace>>
	<</if>>
<</click>>
| <<click "Massive investment">>
	<<if $trainingAssetPrice*1000 < $corpCash>>
		<<set $trainingAssets += (Math.trunc($corpCash/($trainingAssetPrice*500)))*500>>
		<<set $corpCash -= (Math.trunc($corpCash/($trainingAssetPrice*500)))*($trainingAssetPrice*500)>>
	 	<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#trainAssets">>
			¤<<print $trainingAssetPrice*$trainingAssets>>
		<</replace>>
	<<else>>
		<<replace "#purchasing">>
			There are insufficient funds for additional purchases.
		<</replace>>
	<</if>>
<</click>>
| <<click "Sell">>
	<<if $trainingAssets >= 1000>>
		<<set $trainingAssets -= 500>>
		<<set $corpCash += 500*$trainingAssetPrice>>
		<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#trainAssets">>
			¤<<print $trainingAssetPrice*$trainingAssets>>
		<</replace>>
		<<replace "#update">>
		<</replace>>
	<<else>>
		<<replace "#update">>
			You cannot sell anymore assets.
		<</replace>>
	<</if>>
<</click>>

<<if $surgicalAssetPrice > 10>>
	<<if random(1,100) > 50>>
	<<set $surgicalAssetPrice -= 1>>
	<<elseif random(1,100) > 50>>
	<<set $surgicalAssetPrice += 1>>
	<</if>>
<<elseif $surgicalAssetPrice < 4>>
	<<set $surgicalAssetPrice to 5>>
<<elseif $surgicalAssetPrice < 10>>
	<<if random(1,100) > 50>>
	<<set $surgicalAssetPrice += 1>>
	<<elseif random(1,100) > 50>>
	<<set $surgicalAssetPrice -= 1>>
	<</if>>
<<elseif $surgicalAssetPrice == 10>>
	<<if random(1,100) > 50>>
	<<set $surgicalAssetPrice += 1>>
	<<else>>
	<<set $surgicalAssetPrice -= 1>>
	<</if>>
<<else>>
	<<set $surgicalAssetPrice to 5>>
<</if>>

¤<<print $surgicalAssetPrice*$surgicalAssets>> in surgical assets.
Surgical asset prices are
<<if $surgicalAssetPrice > 12>>@@color:yellowgreen;very high@@<<elseif $surgicalAssetPrice > 10>>@@color:yellowgreen;high@@<<elseif $surgicalAssetPrice == 10>>average<<elseif $surgicalAssetPrice >= 8>>@@color:gold;low@@<<else>>@@color:gold;very low@@<</if>>.
| <<click "Buy">>
	<<if $surgicalAssetPrice*500 < $corpCash>>
		<<set $surgicalAssets += 500>>
		<<set $corpCash -= 500*$surgicalAssetPrice>>
		<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#surgAssets">>
			¤<<print $surgicalAssetPrice*$surgicalAssets>>
		<</replace>>
		<<replace "#update">>
		<</replace>>
	<<else>>
		<<replace "#purchasing">>
			There are insufficient funds for additional purchases.
		<</replace>>
	<</if>>
<</click>>
| <<click "Massive investment">>
	<<if $surgicalAssetPrice*1000 < $corpCash>>
		<<set $surgicalAssets += (Math.trunc($corpCash/($surgicalAssetPrice*500)))*500>>
		<<set $corpCash -= (Math.trunc($corpCash/($surgicalAssetPrice*500)))*($surgicalAssetPrice*500)>>
	 	<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#surgAssets">>
			¤<<print $surgicalAssetPrice*$surgicalAssets>>
		<</replace>>
	<<else>>
		<<replace "#purchasing">>
			There are insufficient funds for additional purchases.
		<</replace>>
	<</if>>
<</click>>
| <<click "Sell">>
	<<if $surgicalAssets >= 1000>>
		<<set $surgicalAssets -= 500>>
		<<set $corpCash += 500*$surgicalAssetPrice>>
		<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#surgAssets">>
			¤<<print $surgicalAssetPrice*$surgicalAssets>>
		<</replace>>
		<<replace "#update">>
		<</replace>>
	<<else>>
		<<replace "#update">>
			You cannot sell any more assets.
		<</replace>>
	<</if>>
<</click>>

<<if $drugAssetPrice > 10>>
	<<if random(1,100) > 50>>
	<<set $drugAssetPrice -= 1>>
	<<elseif random(1,100) > 50>>
	<<set $drugAssetPrice += 1>>
	<</if>>
<<elseif $drugAssetPrice < 4>>
	<<set $drugAssetPrice to 5>>
<<elseif $drugAssetPrice < 10>>
	<<if random(1,100) > 50>>
	<<set $drugAssetPrice += 1>>
	<<elseif random(1,100) > 50>>
	<<set $drugAssetPrice -= 1>>
	<</if>>
<<elseif $drugAssetPrice == 10>>
	<<if random(1,100) > 50>>
	<<set $drugAssetPrice += 1>>
	<<else>>
	<<set $drugAssetPrice -= 1>>
	<</if>>
<<else>>
	<<set $drugAssetPrice to 5>>
<</if>>

¤<<print $drugAssetPrice*$drugAssets>> in pharmaceutical assets.
Drug asset prices are
<<if $drugAssetPrice > 12>>@@color:yellowgreen;very high@@<<elseif $drugAssetPrice > 10>>@@color:yellowgreen;high@@<<elseif $drugAssetPrice == 10>>average<<elseif $drugAssetPrice >= 8>>@@color:gold;low@@<<else>>@@color:gold;very low@@<</if>>.
| <<click "Buy">>
	<<if $drugAssetPrice*500 < $corpCash>>
		<<set $drugAssets += 500>>
		<<set $corpCash -= 500*$drugAssetPrice>>
		<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#drAssets">>
			¤<<print $drugAssetPrice*$drugAssets>>
		<</replace>>
		<<replace "#update">>
		<</replace>>
	<<else>>
		<<replace "#purchasing">>
			There are insufficient funds for additional purchases.
		<</replace>>
	<</if>>
<</click>>
| <<click "Massive investment">>
	<<if $drugAssetPrice*1000 < $corpCash>>
		<<set $drugAssets += (Math.trunc($corpCash/($drugAssetPrice*500)))*500>>
		<<set $corpCash -= (Math.trunc($corpCash/($drugAssetPrice*500)))*($drugAssetPrice*500)>>
	 	<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#drAssets">>
			¤<<print $drugAssetPrice*$drugAssets>>
		<</replace>>
	<<else>>
		<<replace "#purchasing">>
			There are insufficient funds for additional purchases.
		<</replace>>
	<</if>>
<</click>>
| <<click "Sell">><<set $drugAssets -= 500>>
	<<if $drugAssets >= 1000>>
		<<set $drugAssets -= 500>>
		<<set $corpCash += 500*$drugAssetPrice>>
		<<replace "#cashOnHand">>
			¤<<print $corpCash>>
		<</replace>>
		<<replace "#drAssets">>
			¤<<print $drugAssetPrice*$drugAssets>>
		<</replace>>
		<<replace "#update">>
		<</replace>>
	<<else>>
		<<replace "#update">>
			You cannot sell any more assets.
		<</replace>>
	<</if>>
<</click>>

<<if $generalAssets >= 2000>>
	<<if $generalUpgradeBreaking == "unselected">>

The corporation has enough general expertise to specialize. Focus on breaking slaves with
		<<click "Brutality">><<set $generalUpgradeBreaking = "brutality">><<replace "#direction">>
<<print "You directed the corporation to train slaves with brutal force.">><</replace>><</click>>
		| <<click "Care">><<set $generalUpgradeBreaking = "care">><<replace "#direction">>
<<print "You directed the corporation to train slaves with loving care.">><</replace>><</click>>
		| <<click "No focus">><<set $generalUpgradeBreaking = "none">><<replace "#direction">>
<<print "You directed the corporation to focus on whatever training methods work best.">><</replace>><</click>>
	<</if>>
<</if>>
<<if $generalAssets >= 5000>>
	<<if $generalUpgradeWeight == "unselected">>

The corporation has enough general expertise to specialize. Manage slaves' diets to an
		<<click "Attractive weight">><<set $generalUpgradeWeight = "attractive">><<replace "#direction">>
<<print "You directed the corporation to slim fat slaves and feed thin ones.">><</replace>><</click>>
		| <<click "No dieting">><<set $generalUpgradeWeight = "none">><<replace "#direction">>
<<print "You directed the corporation not to focus on slaves' weight.">><</replace>><</click>>
	<</if>>
<</if>>
<<if $generalAssets >= 10000>>
	<<if $generalUpgradeMuscle == "unselected">>

The corporation has enough general expertise to specialize. Train slaves until their muscles are
		<<click "Toned">><<set $generalUpgradeMuscle = "toned">><<replace "#direction">>
<<print "You directed the corporation to train slaves until they're toned.">><</replace>><</click>>
		| <<click "Ripped">><<set $generalUpgradeMuscle = "ripped">><<replace "#direction">>
<<print "You directed the corporation to train slaves until they're ripped.">><</replace>><</click>>
		| <<click "No training">><<set $generalUpgradeMuscle = "none">><<replace "#direction">>
<<print "You directed the corporation not to focus on slaves' fitness.">><</replace>><</click>>
	<</if>>
<</if>>
<<if $entrapmentAssets >= 2000>>
	<<if $entrapmentUpgradeDevotionOne == "unselected">>

The corporation is entrapping enough slaves to specialize. Focus on slaves with
		<<click "Obedience">><<set $entrapmentUpgradeDevotionOne = "obedience">><<replace "#direction">>
<<print "You directed the corporation to retain obedient slaves.">><</replace>><</click>>
		| <<click "No focus">><<set $entrapmentUpgradeDevotionOne = "none">><<replace "#direction">>
<<print "You directed the corporation to train slaves regardless of obedience.">><</replace>><</click>>
	<</if>>
<</if>>
<<if $entrapmentAssets >= 5000>>
	<<if $entrapmentUpgradeDevotionTwo == "unselected">>

The corporation is entrapping enough slaves to specialize. Focus on slaves with
		<<click "Devotion">><<set $entrapmentUpgradeDevotionTwo = "devotion">><<replace "#direction">>
<<print "You directed the corporation to retain devoted slaves.">><</replace>><</click>>
		| <<click "No focus">><<set $entrapmentUpgradeDevotionTwo = "none">><<replace "#direction">>
<<print "You directed the corporation to train slaves regardless of devotion.">><</replace>><</click>>
	<</if>>
<</if>>
<<if $entrapmentAssets >= 10000>>
	<<if $entrapmentUpgradeIntelligence == "unselected">>

The corporation is entrapping enough slaves to specialize. Focus on slaves who are
		<<click "Intelligent">><<set $entrapmentUpgradeIntelligence = "intelligent">><<replace "#direction">>
<<print "You directed the corporation to retain intelligent slaves.">><</replace>><</click>>
		| <<click "Stupid">><<set $entrapmentUpgradeIntelligence = "stupid">><<replace "#direction">>
<<print "You directed the corporation to retain stupid slaves.">><</replace>><</click>>
		| <<click "No focus">><<set $entrapmentUpgradeIntelligence = "none">><<replace "#direction">>
<<print "You directed the corporation to train slaves regardless of intelligence.">><</replace>><</click>>
	<</if>>
<</if>>
<<if $captureAssets >= 2000>>
	<<if $seeDicks != 0>>
	<<if $captureUpgradeGender == "unselected">>

The corporation captures enough slaves to specialize. Focus on training slaves with
		<<click "Pussies">><<set $captureUpgradeGender = "XX">><<replace "#direction">>
<<print "You directed the corporation to retain slaves with pussies for training.">><</replace>><</click>>
		| <<click "Dicks">><<set $captureUpgradeGender = "XY">><<replace "#direction">>
<<print "You directed the corporation to retain slaves with dicks for training.">><</replace>><</click>>
		| <<click "No focus">><<set $captureUpgradeGender = "none">><<replace "#direction">>
<<print "You directed the corporation to retain any promising slave for training.">><</replace>><</click>>
	<</if>>
	<</if>>
<</if>>
<<if $captureAssets >= 5000>>
	<<if $captureUpgradeAge == "unselected">>

The corporation captures enough slaves to specialize. Focus on training slaves who are
		<<click "Younger">><<set $captureUpgradeAge = "young">><<replace "#direction">>
<<print "You directed the corporation to retain younger slaves for training.">><</replace>><</click>>
		| <<click "Older">><<set $captureUpgradeAge = "old">><<replace "#direction">>
<<print "You directed the corporation to retain older slaves for training.">><</replace>><</click>>
		| <<click "No focus">><<set $captureUpgradeAge = "none">><<replace "#direction">>
<<print "You directed the corporation to retain any promising slave for training.">><</replace>><</click>>
	<</if>>
<</if>>
<<if $captureAssets >= 10000>>
	<<if $captureUpgradeRace == "unselected">>

The corporation captures enough slaves to specialize. Focus on training slaves who are
		<<click "White">><<set $captureUpgradeRace = "white">><<replace "#direction">>
<<print "You directed the corporation to retain white slaves for training.">><</replace>><</click>>
		| <<click "Asian">><<set $captureUpgradeRace = "asian">><<replace "#direction">>
<<print "You directed the corporation to retain asian slaves for training.">><</replace>><</click>>
		| <<click "Indo-aryan">><<set $captureUpgradeRace = "indo-aryan">><<replace "#direction">>
<<print "You directed the corporation to retain indo-aryan slaves for training.">><</replace>><</click>>
		| <<click "Latina">><<set $captureUpgradeRace = "latina">><<replace "#direction">>
<<print "You directed the corporation to retain latina slaves for training.">><</replace>><</click>>
		| <<click "middle eastern">><<set $captureUpgradeRace = "middle eastern">><<replace "#direction">>
<<print "You directed the corporation to retain Middle Eastern slaves for training.">><</replace>><</click>>
		| <<click "Black">><<set $captureUpgradeRace = "black">><<replace "#direction">>
<<print "You directed the corporation to retain black slaves for training.">><</replace>><</click>>
		| <<click "Pacific Islander">><<set $captureUpgradeRace = "pacific islander">><<replace "#direction">>
<<print "You directed the corporation to retain pacific islander slaves for training.">><</replace>><</click>>
		| <<click "Malay">><<set $captureUpgradeRace = "malay">><<replace "#direction">>
<<print "You directed the corporation to retain malay slaves for training.">><</replace>><</click>>
		| <<click "Amerindian">><<set $captureUpgradeRace = "amerindian">><<replace "#direction">>
<<print "You directed the corporation to retain amerindian slaves for training.">><</replace>><</click>>
		| <<click "Semitic">><<set $captureUpgradeRace = "semitic">><<replace "#direction">>
<<print "You directed the corporation to retain semitic slaves for training.">><</replace>><</click>>
		| <<click "Southern European">><<set $captureUpgradeRace = "southern European">><<replace "#direction">>
<<print "You directed the corporation to retain southern European slaves for training.">><</replace>><</click>>
		| <<click "Mixed Race">><<set $captureUpgradeRace = "mixed race">><<replace "#direction">>
<<print "You directed the corporation to retain mixed race slaves for training.">><</replace>><</click>>
		| <<click "No focus">><<set $captureUpgradeRace = "none">><<replace "#direction">>
<<print "You directed the corporation to retain any promising slave for training.">><</replace>><</click>>
	<</if>>
<</if>>
<<if $trainingAssets >= 2000>>
	<<if $trainingUpgradeAccent == "unselected">>

The corporation has enough training expertise to specialize. Focus on linguistic training to
		<<click "Teach language">><<set $trainingUpgradeAccent = "accents">><<replace "#direction">>
<<print "You directed the corporation to teach slaves the lingua franca.">><</replace>><</click>>
		| <<click "Eliminate accents">><<set $trainingUpgradeAccent = "eliminate">><<replace "#direction">>
<<print "You directed the corporation to teach slaves perfect, unaccented language.">><</replace>><</click>>
		| <<click "No training">><<set $trainingUpgradeAccent = "none">><<replace "#direction">>
<<print "You directed the corporation not to focus on linguistic training.">><</replace>><</click>>
	<</if>>
<</if>>
<<if $trainingAssets >= 5000>>
	<<if $trainingUpgradeEducation == "unselected">>

The corporation has enough training expertise to specialize. Train slaves with
		<<click "Basic educations">><<set $trainingUpgradeEducation = "basic">><<replace "#direction">>
<<print "You directed the corporation to focus on ensuring slaves are properly educated.">><</replace>><</click>>
		| <<click "No training">><<set $trainingUpgradeEducation = "none">><<replace "#direction">>
<<print "You directed the corporation to focus on getting slaves broken, not educated.">><</replace>><</click>>
	<</if>>
<</if>>
<<if $trainingAssets >= 10000>>
	<<if $trainingUpgradeSexEd == "unselected">>

The corporation has enough training expertise to specialize. Train slaves' sexual knowledge to
		<<click "Competence">><<set $trainingUpgradeSexEd = "competence">><<replace "#direction">>
<<print "You directed the corporation to ensure slaves know basic sexual skills.">><</replace>><</click>>
		| <<click "Highly Skilled">><<set $trainingUpgradeSexEd = "highly skilled">><<replace "#direction">>
<<print "You directed the corporation to ensure slaves are sexually proficient.">><</replace>><</click>>
		| <<click "No training">><<set $trainingUpgradeSexEd = "none">><<replace "#direction">>
<<print "You directed the corporation to focus on getting slaves trained rather than skilled.">><</replace>><</click>>
	<</if>>
<</if>>
<<if $surgicalAssets >= 2000>>
	<<if $surgicalUpgradeCosmetics == "unselected">>

The corporation has enough surgical expertise to specialize. Straightforward cosmetic procedures should be
		<<click "Applied">><<set $surgicalUpgradeCosmetics = "applied">><<replace "#direction">>
<<print "You directed the corporation to give slaves straightforward cosmetic surgeries.">><</replace>><</click>>
		| <<click "Not applied">><<set $surgicalUpgradeCosmetics = "none">><<replace "#direction">>
<<print "You directed the corporation to leave slaves surgically unaltered.">><</replace>><</click>>
	<</if>>
<</if>>
<<if $surgicalAssets >= 5000>>
	<<if $surgicalUpgradeImplants == "unselected">>

The corporation has enough surgical expertise to specialize. Implants should be
		<<click "Applied">><<set $surgicalUpgradeImplants = "applied">><<replace "#direction">>
<<print "You directed the corporation to give slaves basic implants.">><</replace>><</click>>
		| <<click "Absurd">><<set $surgicalUpgradeImplants = "absurd">><<replace "#direction">>
<<print "You directed the corporation to give slaves absurd implants.">><</replace>><</click>>
		| <<click "Not applied">><<set $surgicalUpgradeImplants = "none">><<replace "#direction">>
<<print "You directed the corporation to leave slaves without implants.">><</replace>><</click>>
	<</if>>
<</if>>
<<if $surgicalAssets >= 10000>>
	<<if $seeDicks != 0>>
	<<if $surgicalUpgradeGenitalia == "unselected">>

The corporation has enough surgical expertise to specialize. Slaves' genitals should be reconfigured to
		<<click "Futanari">><<set $surgicalUpgradeGenitalia = "futanari">><<replace "#direction">>
<<print "You directed the corporation to create futanari.">><</replace>><</click>>
		<<if $seeExtreme != 0>>
			| <<click "Remove balls">><<set $surgicalUpgradeGenitalia = "gelded">><<replace "#direction">>
<<print "You directed the corporation to remove slaves' balls.">><</replace>><</click>>
			| <<click "Mindbreak and remove limbs">><<set $surgicalUpgradeGenitalia = "fucknugget", $generalUpgradeBreaking = "none", $entrapmentUpgradeDevotionOne = "none", $entrapmentUpgradeDevotionTwo = "none", $trainingUpgradeAccent = "none", $trainingUpgradeEducation = "none", $trainingUpgradeSexEd = "none">><<replace "#direction">>
<<print "You directed the corporation to produce limbless, mindless slaves.">><</replace>><</click>>
		<</if>>
		| <<click "None">><<set $surgicalUpgradeGenitalia = "none">><<replace "#direction">>
<<print "You directed the corporation to leave slaves without major genital reconfiguration.">><</replace>><</click>>
	<</if>>
	<</if>>
<</if>>
<<if $drugAssets >= 2000>>
	<<if $drugUpgradeHormones == "unselected">>

The corporation has surplus pharmaceutical fabrication to specialize. Hormones should be applied to
		<<click "Feminize">><<set $drugUpgradeHormones = "XX">><<replace "#direction">>
<<print "You directed the corporation to treat slaves with female hormones.">><</replace>><</click>>
		| <<click "Masculinize">><<set $drugUpgradeHormones = "XY">><<replace "#direction">>
<<print "You directed the corporation to treat slaves with male hormones.">><</replace>><</click>>
		| <<click "Not applied">><<set $drugUpgradeHormones = "none">><<replace "#direction">>
<<print "You directed the corporation not to apply hormones.">><</replace>><</click>>
	<</if>>
<</if>>
<<if $drugAssets >= 5000>>
	<<if $drugUpgradeInjectionOne == "unselected">>

The corporation has surplus pharmaceutical fabrication to specialize. Growth injections should be applied until T&A are grown to a
		<<click "Tasteful size">><<set $drugUpgradeInjectionOne = "tasteful">><<replace "#direction">>
<<print "You directed the corporation to grow slaves' assets to a moderate size.">><</replace>><</click>>
		| <<click "Huge size">><<set $drugUpgradeInjectionOne = "huge">><<replace "#direction">>
<<print "You directed the corporation to grow slaves' assets to a huge size.">><</replace>><</click>>
		| <<click "Not applied">><<set $drugUpgradeInjectionOne = "none">><<replace "#direction">>
<<print "You directed the corporation not to apply growth injections.">><</replace>><</click>>
	<</if>>
<</if>>
<<if $drugAssets >= 10000>>
	<<if $drugUpgradeInjectionTwo == "unselected">>

The corporation has surplus pharmaceutical fabrication to specialize. Advanced growth injections should be
		<<click "Supermassive">><<set $drugUpgradeInjectionTwo = "supermassive">><<replace "#direction">>
<<print "You directed the corporation to apply supermassive growth injections.">><</replace>><</click>>
		| <<click "Pastoral">><<set $drugUpgradeInjectionTwo = "pastoral">><<replace "#direction">>
<<print "You directed the corporation to apply growth injections focused on milk<<if $seeDicks > 0>> and cum<</if>> production.">><</replace>><</click>>
		| <<click "Not applied">><<set $drugUpgradeInjectionTwo = "none">><<replace "#direction">>
<<print "You directed the corporation not to apply advanced growth injections.">><</replace>><</click>>
	<</if>>
<</if>>