code:
:: Personal assistant options [nobr]

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

<<if $marketAssistantLimit>><<set $marketAssistantLimit to Math.clamp($marketAssistantLimit, 10000, 10000000)>><</if>>

<<if $seeImages == 1>><<= assistantArt(3)>><</if>>
<<setAssistantPronouns>>

Seated at your desk, you glance at the visual representation of $assistantName, down in one corner of your desk's glass top.

<<set $masturbationAllowed = 0>>
<<set $i = $slaves.findIndex(function(s) { return s.releaseRules == "permissive" || s.releaseRules == "masturbation"; })>>
<<if $i != -1>>
	<<set $masturbationAllowed = 1>>
<</if>>

<<include "Personal Assistant Appearance">>

<<if $assistantPower > 0>>

	Though _heA remains short of a true AI, the arcology's upgraded computer core allows _himA to use brute force to simulate sentient behavior quite well. _HeA is not truly self aware, but _heA is able to predict what a sentient being with a certain character might say or do in common situations. The increased power has other applications; for example, it has improved the accuracy of your estimates of economic activity in the Free City.
<<else>>
	_HeA is well short of a true AI, but with extensive access to information on past human behavior and the processing power to query that information quickly, _heA can often seem self aware by modeling _himselfA after others' past behavior.
<</if>>

__Computer Core Upgrades__

<<if $assistantPower == 0>>
	The first upgrade needed is a switch to a holographic memory core to store the immense quantity of data $assistantName gathers.
	//Will cost <<print cashFormat(Math.trunc(20000*$upgradeMultiplierArcology*$HackingSkillMultiplier))>>//
	[[Install holographic memory core|Personal assistant options][cashX(forceNeg(Math.trunc(20000*$upgradeMultiplierArcology*$HackingSkillMultiplier)), "capEx"), $assistantPower += 1, $PC.engineering += 1, $PC.hacking += 1]]
<<elseif $assistantPower == 1>>
	The next upgrade needed is a liquid nitrogen cooling system to allow for extensive overclocking.
	//Will cost <<print cashFormat(Math.trunc(35000*$upgradeMultiplierArcology*$HackingSkillMultiplier))>> and will allow you to upgrade the smart piercings in $arcologies[0].name//
	[[Install upgraded cooling system|Personal assistant options][cashX(forceNeg(Math.trunc(35000*$upgradeMultiplierArcology*$HackingSkillMultiplier)), "capEx"), $assistantPower += 1, $PC.engineering += 1, $PC.hacking += 1]]
<<elseif $assistantPower == 2>>
	The final upgrade needed is a transition to optical RAM.
	//Will cost <<print cashFormat(Math.trunc(50000*$upgradeMultiplierArcology*$HackingSkillMultiplier))>>//
	[[Install optical RAM|Personal assistant options][cashX(forceNeg(Math.trunc(50000*$upgradeMultiplierArcology*$HackingSkillMultiplier)), "capEx"), $assistantPower += 1, $PC.engineering += 1, $PC.hacking += 1]]
<<else>>
	The arcology's computer core is fully upgraded.
<</if>>

<<if $assistantOptions>>

__Behavior settings:__

<<if $assistant == 0>>
	Your assistant is using _hisA default settings, and is not behaving as though _heA has a libido. [["Instruct " + _himA + " to simulate a sex drive"|Personal assistant options][$assistant = 1]]
<<else>>
	Your assistant is simulating preferences and a sex drive. [["Revert " + _himA + " to normal settings"|Personal assistant options][$assistant = 0, $assistantAppearance = "normal"]]
<</if>>

<<if $assistant != 0>>

__Appearance settings:__

_HeA is currently using the ''$assistantAppearance'' avatar.
<<if $PAPublic == 1>>
<<set _seed = []>>
<<switch $assistantAppearance>>
	<<case "businesswoman">>
		<<if $arcologies[0].FSSubjugationist != "unset">> <<set _seed.push($arcologies[0].FSSubjugationistRace + " subjugation")>> <</if>>
		<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
		<<if $arcologies[0].FSTransformationFetishist != "unset">> <<set _seed.push("transformation fetishism")>> <</if>>
		<<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set _seed.push("maturity preferentialism")>> <</if>>
		<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
		<<if $arcologies[0].FSRomanRevivalist != "unset">> <<set _seed.push("Roman revivalism")>> <</if>>
		<<if $arcologies[0].FSArabianRevivalist != "unset">> <<set _seed.push("Arabian revivalism")>> <</if>>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("eugenics")>> <</if>>
	<<case "goddess">>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set _seed.push("maturity preferentialism")>> <</if>>
		<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
		<<if $arcologies[0].FSHedonisticDecadence != "unset">> <<set _seed.push("hedonistic decadence")>> <</if>>
		<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
		<<if $arcologies[0].FSAztecRevivalist != "unset">> <<set _seed.push("Aztec revivalism")>> <</if>>
		<<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<set _seed.push("Egyptian revivalism")>> <</if>>
		<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("repopulationism")>> <</if>>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("eugenics")>> <</if>>
	<<case "amazon">>
		<<if $arcologies[0].FSSupremacist != "unset">> <<set _seed.push($arcologies[0].FSSupremacistRace + " supremacy")>> <</if>>
		<<if $arcologies[0].FSSubjugationist != "unset">> <<set _seed.push($arcologies[0].FSSubjugationistRace + " subjugation")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSPhysicalIdealist != "unset">> <<set _seed.push("physical idealism")>> <</if>>
		<<if $arcologies[0].FSRomanRevivalist != "unset">> <<set _seed.push("Roman revivalism")>> <</if>>
		<<if $arcologies[0].FSAztecRevivalist != "unset">> <<set _seed.push("Aztec revivalism")>> <</if>>
		<<if $arcologies[0].FSEdoRevivalist != "unset">> <<set _seed.push("Edo revivalism")>> <</if>>
	<<case "schoolgirl">>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
		<<if $arcologies[0].FSArabianRevivalist != "unset">> <<set _seed.push("Arabian revivalism")>> <</if>>
		<<if $arcologies[0].FSChineseRevivalist != "unset">> <<set _seed.push("Chinese revivalism")>> <</if>>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("eugenics")>> <</if>>
	<<case "monstergirl">>
		<<if $arcologies[0].FSSupremacist != "unset">> <<set _seed.push($arcologies[0].FSSupremacistRace + " supremacy")>> <</if>>
		<<if $arcologies[0].FSGenderRadicalist != "unset">> <<set _seed.push("gender radicalism")>> <</if>>
		<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
		<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
		<<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<set _seed.push("Egyptian revivalism")>> <</if>>
		<<if $arcologies[0].FSEdoRevivalist != "unset">> <<set _seed.push("Edo revivalism")>> <</if>>
		<<if $arcologies[0].FSChineseRevivalist != "unset">> <<set _seed.push("Chinese revivalism")>> <</if>>
	<<case "shemale">>
		<<if $arcologies[0].FSGenderRadicalist != "unset">> <<set _seed.push("gender radicalism")>> <</if>>
		<<if $arcologies[0].FSTransformationFetishist != "unset">> <<set _seed.push("transformation fetishism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
		<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
		<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
		<<if $arcologies[0].FSPhysicalIdealist != "unset">> <<set _seed.push("physical idealism")>> <</if>>
	<<case "hypergoddess">>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
		<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
		<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("repopulationism")>> <</if>>
		<<if $arcologies[0].FSHedonisticDecadence != "unset">> <<set _seed.push("hedonistic decadence")>> <</if>>
	<<case "loli">>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
		<<if $arcologies[0].FSEdoRevivalist != "unset">> <<set _seed.push("Edo revivalism")>> <</if>>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("eugenics")>> <</if>>
	<<case "preggololi">>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("repopulationism")>> <</if>>
		<<if $arcologies[0].FSHedonisticDecadence != "unset">> <<set _seed.push("hedonistic decadence")>> <</if>>
	<<case "fairy">>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
	<<case "pregnant fairy">>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("repopulationism")>> <</if>>
	<<case "angel">>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("eugenics")>> <</if>>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set _seed.push("maturity preferentialism")>> <</if>>
		<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
	<<case "cherub">>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
		<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
	<<case "incubus">>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("eugenics")>> <</if>>
		<<if $arcologies[0].FSGenderRadicalist != "unset">> <<set _seed.push("gender radicalism")>> <</if>>
		<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSTransformationFetishist != "unset">> <<set _seed.push("transformation fetishism")>> <</if>>
		<<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set _seed.push("maturity preferentialism")>> <</if>>
		<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
		<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
		<<if $arcologies[0].FSPhysicalIdealist != "unset">> <<set _seed.push("physical idealism")>> <</if>>
		<<if $arcologies[0].FSHedonisticDecadence != "unset">> <<set _seed.push("hedonistic decadence")>> <</if>>
		<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
		<<if $arcologies[0].FSRomanRevivalist != "unset">> <<set _seed.push("Roman revivalism")>> <</if>>
		<<if $arcologies[0].FSAztecRevivalist != "unset">> <<set _seed.push("Aztec revivalism")>> <</if>>
		<<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<set _seed.push("Egyptian revivalism")>> <</if>>
		<<if $arcologies[0].FSEdoRevivalist != "unset">> <<set _seed.push("Edo revivalism")>> <</if>>
		<<if $arcologies[0].FSArabianRevivalist != "unset">> <<set _seed.push("Arabian revivalism")>> <</if>>
		<<if $arcologies[0].FSChineseRevivalist != "unset">> <<set _seed.push("Chinese revivalism")>> <</if>>
	<<case "succubus">>
		<<if $arcologies[0].FSSupremacist != "unset">> <<set _seed.push($arcologies[0].FSSupremacistRace + " supremacy")>> <</if>>
		<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("repopulationism")>> <</if>>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("eugenics")>> <</if>>
		<<if $arcologies[0].FSGenderRadicalist != "unset">> <<set _seed.push("gender radicalism")>> <</if>>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSTransformationFetishist != "unset">> <<set _seed.push("transformation fetishism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set _seed.push("maturity preferentialism")>> <</if>>
		<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
		<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
		<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
		<<if $arcologies[0].FSPhysicalIdealist != "unset">> <<set _seed.push("physical idealism")>> <</if>>
		<<if $arcologies[0].FSHedonisticDecadence != "unset">> <<set _seed.push("hedonistic decadence")>> <</if>>
		<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
		<<if $arcologies[0].FSRomanRevivalist != "unset">> <<set _seed.push("Roman revivalism")>> <</if>>
		<<if $arcologies[0].FSAztecRevivalist != "unset">> <<set _seed.push("Aztec revivalism")>> <</if>>
		<<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<set _seed.push("Egyptian revivalism")>> <</if>>
		<<if $arcologies[0].FSEdoRevivalist != "unset">> <<set _seed.push("Edo revivalism")>> <</if>>
		<<if $arcologies[0].FSArabianRevivalist != "unset">> <<set _seed.push("Arabian revivalism")>> <</if>>
		<<if $arcologies[0].FSChineseRevivalist != "unset">> <<set _seed.push("Chinese revivalism")>> <</if>>
	<<case "imp">>
		<<if $arcologies[0].FSSubjugationist != "unset">> <<set _seed.push($arcologies[0].FSSubjugationistRace + " subjugation")>> <</if>>
		<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
		<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
		<<if $arcologies[0].FSHedonisticDecadence != "unset">> <<set _seed.push("hedonistic decadence")>> <</if>>
	<<case "witch">>
		<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("repopulationism")>> <</if>>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("eugenics")>> <</if>>
		<<if $arcologies[0].FSGenderRadicalist != "unset">> <<set _seed.push("gender radicalism")>> <</if>>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSTransformationFetishist != "unset">> <<set _seed.push("transformation fetishism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set _seed.push("maturity preferentialism")>> <</if>>
		<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
		<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
		<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
		<<if $arcologies[0].FSPhysicalIdealist != "unset">> <<set _seed.push("physical idealism")>> <</if>>
		<<if $arcologies[0].FSHedonisticDecadence != "unset">> <<set _seed.push("hedonistic decadence")>> <</if>>
		<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
	<<case "ERROR_1606_APPEARANCE_FILE_CORRUPT">>
		<<if $arcologies[0].FSTransformationFetishist != "unset">> <<set _seed.push("transformation fetishism")>> <</if>>
<</switch>>
<<if _seed.length > 0>>
	<<set _desc = "">>
	<<for _i = 0; _i < _seed.length; _i++>>
		<<set _desc = (_desc + _seed[_i])>>
		<<if (_i < _seed.length-2)>>
			<<set _desc = (_desc + ", ")>>
		<<elseif (_seed.length > 2) && (_i == _seed.length-2)>>
			<<set _desc = (_desc + ", and ")>>
		<<elseif (_seed.length == 2) && (_i == 0)>>
			<<set _desc = (_desc + " and ")>>
		<</if>>
	<</for>>
	This appearance bolsters _desc.
<<else>>
	It has no impact on public opinion.
<</if>>
<</if>>

<<if $assistantAppearance != "normal">> [[Normal|Personal assistant options][$assistantAppearance = "normal"]]

<</if>>
<<if $assistantAppearance != "businesswoman">> [[Businesswoman|Personal assistant options][$assistantAppearance = "businesswoman"]]
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if $arcologies[0].FSSubjugationist != "unset">> <<set _seed.push($arcologies[0].FSSubjugationistRace + " subjugation")>> <</if>>
		<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
		<<if $arcologies[0].FSTransformationFetishist != "unset">> <<set _seed.push("transformation fetishism")>> <</if>>
		<<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set _seed.push("maturity preferentialism")>> <</if>>
		<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
		<<if $arcologies[0].FSRomanRevivalist != "unset">> <<set _seed.push("Roman revivalism")>> <</if>>
		<<if $arcologies[0].FSAztecRevivalist != "unset">> <<set _seed.push("Aztec revivalism")>> <</if>>
		<<if $arcologies[0].FSArabianRevivalist != "unset">> <<set _seed.push("Arabian revivalism")>> <</if>>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("eugenics")>> <</if>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<<if $seePreg != 0>>
	<<if $assistantAppearance != "goddess">> [[Goddess|Personal assistant options][$assistantAppearance = "goddess"]]
		<<if $PAPublic == 1>>
			<<set _seed = []>>
			<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
			<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
			<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
			<<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set _seed.push("maturity preferentialism")>> <</if>>
			<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
			<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
			<<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<set _seed.push("Egyptian revivalism")>> <</if>>
			<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("repopulationism")>> <</if>>
			<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("eugenics")>> <</if>>
			<<if $arcologies[0].FSHedonisticDecadence != "unset">> <<set _seed.push("hedonistic decadence")>> <</if>>
			<<if _seed.length > 0>>
				<<set _desc = "">>
				<<for _i = 0; _i < _seed.length; _i++>>
					<<set _desc = (_desc + _seed[_i])>>
					<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
					<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
					<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
					<</if>>
				<</for>>
				A good emblem for _desc
			<</if>>
		<</if>>

	<</if>>
<</if>>
<<if $assistantAppearance != "amazon">> [[Amazon|Personal assistant options][$assistantAppearance = "amazon"]]
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if $arcologies[0].FSSupremacist != "unset">> <<set _seed.push($arcologies[0].FSSupremacistRace + " supremacy")>> <</if>>
		<<if $arcologies[0].FSSubjugationist != "unset">> <<set _seed.push($arcologies[0].FSSubjugationistRace + " subjugation")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSPhysicalIdealist != "unset">> <<set _seed.push("physical idealism")>> <</if>>
		<<if $arcologies[0].FSRomanRevivalist != "unset">> <<set _seed.push("Roman revivalism")>> <</if>>
		<<if $arcologies[0].FSAztecRevivalist != "unset">> <<set _seed.push("Aztec revivalism")>> <</if>>
		<<if $arcologies[0].FSEdoRevivalist != "unset">> <<set _seed.push("Edo revivalism")>> <</if>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "schoolgirl">> [[Schoolgirl|Personal assistant options][$assistantAppearance = "schoolgirl"]]
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
		<<if $arcologies[0].FSArabianRevivalist != "unset">> <<set _seed.push("Arabian revivalism")>> <</if>>
		<<if $arcologies[0].FSChineseRevivalist != "unset">> <<set _seed.push("Chinese revivalism")>> <</if>>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("eugenics")>> <</if>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<<if $seeDicks != 0>>
	<<if $assistantAppearance != "monstergirl">> [[Monstergirl|Personal assistant options][$assistantAppearance = "monstergirl"]]
		<<if $PAPublic == 1>>
			<<set _seed = []>>
			<<if $arcologies[0].FSSupremacist != "unset">> <<set _seed.push($arcologies[0].FSSupremacistRace + " supremacy")>> <</if>>
			<<if $arcologies[0].FSGenderRadicalist != "unset">> <<set _seed.push("gender radicalism")>> <</if>>
			<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
			<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
			<<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<set _seed.push("Egyptian revivalism")>> <</if>>
			<<if $arcologies[0].FSEdoRevivalist != "unset">> <<set _seed.push("Edo revivalism")>> <</if>>
			<<if $arcologies[0].FSChineseRevivalist != "unset">> <<set _seed.push("Chinese revivalism")>> <</if>>
			<<if _seed.length > 0>>
				<<set _desc = "">>
				<<for _i = 0; _i < _seed.length; _i++>>
					<<set _desc = (_desc + _seed[_i])>>
					<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
					<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
					<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
					<</if>>
				<</for>>
				A good emblem for _desc
			<</if>>
		<</if>>

	<</if>>
	<<if $assistantAppearance != "shemale">> [[Shemale|Personal assistant options][$assistantAppearance = "shemale"]]
		<<if $PAPublic == 1>>
			<<set _seed = []>>
			<<if $arcologies[0].FSGenderRadicalist != "unset">> <<set _seed.push("gender radicalism")>> <</if>>
			<<if $arcologies[0].FSTransformationFetishist != "unset">> <<set _seed.push("transformation fetishism")>> <</if>>
			<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
			<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
			<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
			<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
			<<if $arcologies[0].FSPhysicalIdealist != "unset">> <<set _seed.push("physical idealism")>> <</if>>
			<<if _seed.length > 0>>
				<<set _desc = "">>
				<<for _i = 0; _i < _seed.length; _i++>>
					<<set _desc = (_desc + _seed[_i])>>
					<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
					<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
					<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
					<</if>>
				<</for>>
				A good emblem for _desc
			<</if>>
		<</if>>

	<</if>>
<</if>>
<<if $seePreg != 0>>
	<<if $assistantAppearance != "hypergoddess" && $seeHyperPreg == 1>> [[Hyper Goddess|Personal assistant options][$assistantAppearance = "hypergoddess"]]
		<<if $PAPublic == 1>>
			<<set _seed = []>>
			<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
			<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
			<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
			<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
			<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("repopulationism")>> <</if>>
			<<if $arcologies[0].FSHedonisticDecadence != "unset">> <<set _seed.push("hedonistic decadence")>> <</if>>
			<<if _seed.length > 0>>
				<<set _desc = "">>
				<<for _i = 0; _i < _seed.length; _i++>>
					<<set _desc = (_desc + _seed[_i])>>
					<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
					<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
					<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
					<</if>>
				<</for>>
				A good emblem for _desc
			<</if>>
		<</if>>

	<</if>>
<</if>>
<<if $assistantAppearance != "loli" && $minimumSlaveAge < 13>> [[Loli|Personal assistant options][$assistantAppearance = "loli"]]
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
		<<if $arcologies[0].FSEdoRevivalist != "unset">> <<set _seed.push("Edo revivalism")>> <</if>>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("eugenics")>> <</if>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<<if $seePreg != 0>>
	<<if $assistantAppearance != "preggololi" && $fertilityAge < 13 && $minimumSlaveAge < 13>> [[Preggololi|Personal assistant options][$assistantAppearance = "preggololi"]]
		<<if $PAPublic == 1>>
			<<set _seed = []>>
			<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
			<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
			<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
			<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
			<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("repopulationism")>> <</if>>
			<<if $arcologies[0].FSHedonisticDecadence != "unset">> <<set _seed.push("hedonistic decadence")>> <</if>>
			<<if _seed.length > 0>>
				<<set _desc = "">>
				<<for _i = 0; _i < _seed.length; _i++>>
					<<set _desc = (_desc + _seed[_i])>>
					<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
					<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
					<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
					<</if>>
				<</for>>
				A good emblem for _desc
			<</if>>
		<</if>>

	<</if>>
<</if>>
<<if $assistantAppearance != "fairy">> [[Fairy|Personal assistant options][$assistantAppearance = "fairy"]]
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<<if $seePreg != 0>>
	<<if $assistantAppearance != "pregnant fairy">> [[Pregnant Fairy|Personal assistant options][$assistantAppearance = "pregnant fairy"]]
		<<if $PAPublic == 1>>
			<<set _seed = []>>
			<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
			<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
			<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
			<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("repopulationism")>> <</if>>
			<<if _seed.length > 0>>
				<<set _desc = "">>
				<<for _i = 0; _i < _seed.length; _i++>>
					<<set _desc = (_desc + _seed[_i])>>
					<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
					<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
					<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
					<</if>>
				<</for>>
				A good emblem for _desc
			<</if>>
		<</if>>

	<</if>>
<</if>>
<<if $assistantExtra1 == 1>>
<<if $assistantAppearance != "slimegirl">> [[Slime Girl|Personal assistant options][$assistantAppearance = "slimegirl"]]
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "cowgirl">> [[Cow Girl|Personal assistant options][$assistantAppearance = "cowgirl"]]
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "harpygirl">> [[Harpy Girl|Personal assistant options][$assistantAppearance = "harpygirl"]]
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "kitsunegirl">> [[Kitsune|Personal assistant options][$assistantAppearance = "kitsunegirl"]]
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "lamiagirl">> [[Lamia|Personal assistant options][$assistantAppearance = "lamiagirl"]]
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "spidergirl">> [[Spider Girl|Personal assistant options][$assistantAppearance = "spidergirl"]]
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<</if>>
<<if $assistantExtra2 == 1>>
<<if $assistantAppearance != "angel">> [[Angel|Personal assistant options][$assistantAppearance = "angel"]]
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("eugenics")>> <</if>>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set _seed.push("maturity preferentialism")>> <</if>>
		<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "cherub">> [[Cherub|Personal assistant options][$assistantAppearance = "cherub"]]
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSPaternalist != "unset">> <<set _seed.push("paternalism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
		<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<<if $seeDicks != 0>>
	<<if $assistantAppearance != "incubus">> [[Incubus|Personal assistant options][$assistantAppearance = "incubus"]]
		<<if $PAPublic == 1>>
			<<set _seed = []>>
			<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("eugenics")>> <</if>>
			<<if $arcologies[0].FSGenderRadicalist != "unset">> <<set _seed.push("gender radicalism")>> <</if>>
			<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
			<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
			<<if $arcologies[0].FSTransformationFetishist != "unset">> <<set _seed.push("transformation fetishism")>> <</if>>
			<<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set _seed.push("maturity preferentialism")>> <</if>>
			<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
			<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
			<<if $arcologies[0].FSPhysicalIdealist != "unset">> <<set _seed.push("physical idealism")>> <</if>>
			<<if $arcologies[0].FSHedonisticDecadence != "unset">> <<set _seed.push("hedonistic decadence")>> <</if>>
			<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
			<<if $arcologies[0].FSRomanRevivalist != "unset">> <<set _seed.push("Roman revivalism")>> <</if>>
			<<if $arcologies[0].FSAztecRevivalist != "unset">> <<set _seed.push("Aztec revivalism")>> <</if>>
			<<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<set _seed.push("Egyptian revivalism")>> <</if>>
			<<if $arcologies[0].FSEdoRevivalist != "unset">> <<set _seed.push("Edo revivalism")>> <</if>>
			<<if $arcologies[0].FSArabianRevivalist != "unset">> <<set _seed.push("Arabian revivalism")>> <</if>>
			<<if $arcologies[0].FSChineseRevivalist != "unset">> <<set _seed.push("Chinese revivalism")>> <</if>>
			<<if _seed.length > 0>>
				<<set _desc = "">>
				<<for _i = 0; _i < _seed.length; _i++>>
					<<set _desc = (_desc + _seed[_i])>>
					<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
					<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
					<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
					<</if>>
				<</for>>
				A good emblem for _desc
			<</if>>
		<</if>>

	<</if>>
<</if>>
<<if $assistantAppearance != "succubus">> [[Succubus|Personal assistant options][$assistantAppearance = "succubus"]]
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if $arcologies[0].FSSupremacist != "unset">> <<set _seed.push($arcologies[0].FSSupremacistRace + " supremacy")>> <</if>>
		<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("repopulationism")>> <</if>>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("eugenics")>> <</if>>
		<<if $arcologies[0].FSGenderRadicalist != "unset">> <<set _seed.push("gender radicalism")>> <</if>>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSTransformationFetishist != "unset">> <<set _seed.push("transformation fetishism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set _seed.push("maturity preferentialism")>> <</if>>
		<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
		<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
		<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
		<<if $arcologies[0].FSPhysicalIdealist != "unset">> <<set _seed.push("physical idealism")>> <</if>>
		<<if $arcologies[0].FSHedonisticDecadence != "unset">> <<set _seed.push("hedonistic decadence")>> <</if>>
		<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
		<<if $arcologies[0].FSRomanRevivalist != "unset">> <<set _seed.push("Roman revivalism")>> <</if>>
		<<if $arcologies[0].FSAztecRevivalist != "unset">> <<set _seed.push("Aztec revivalism")>> <</if>>
		<<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<set _seed.push("Egyptian revivalism")>> <</if>>
		<<if $arcologies[0].FSEdoRevivalist != "unset">> <<set _seed.push("Edo revivalism")>> <</if>>
		<<if $arcologies[0].FSArabianRevivalist != "unset">> <<set _seed.push("Arabian revivalism")>> <</if>>
		<<if $arcologies[0].FSChineseRevivalist != "unset">> <<set _seed.push("Chinese revivalism")>> <</if>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "imp">> [[Imp|Personal assistant options][$assistantAppearance = "imp"]]
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if $arcologies[0].FSSubjugationist != "unset">> <<set _seed.push($arcologies[0].FSSubjugationistRace + " subjugation")>> <</if>>
		<<if $arcologies[0].FSDegradationist != "unset">> <<set _seed.push("degradationism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
		<<if $arcologies[0].FSHedonisticDecadence != "unset">> <<set _seed.push("hedonistic decadence")>> <</if>>
		<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "witch">> [[Bonus: Witch|Personal assistant options][$assistantAppearance = "witch"]]
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if $arcologies[0].FSRepopulationFocus != "unset">> <<set _seed.push("repopulationism")>> <</if>>
		<<if $arcologies[0].FSRestart != "unset">> <<set _seed.push("eugenics")>> <</if>>
		<<if $arcologies[0].FSGenderRadicalist != "unset">> <<set _seed.push("gender radicalism")>> <</if>>
		<<if $arcologies[0].FSGenderFundamentalist != "unset">> <<set _seed.push("gender fundamentalism")>> <</if>>
		<<if $arcologies[0].FSBodyPurist != "unset">> <<set _seed.push("body purism")>> <</if>>
		<<if $arcologies[0].FSTransformationFetishist != "unset">> <<set _seed.push("transformation fetishism")>> <</if>>
		<<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set _seed.push("youth preferentialism")>> <</if>>
		<<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set _seed.push("maturity preferentialism")>> <</if>>
		<<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set _seed.push("slimness enthusiasm")>> <</if>>
		<<if $arcologies[0].FSAssetExpansionist != "unset">> <<set _seed.push("asset expansionism")>> <</if>>
		<<if $arcologies[0].FSPastoralist != "unset">> <<set _seed.push("pastoralism")>> <</if>>
		<<if $arcologies[0].FSPhysicalIdealist != "unset">> <<set _seed.push("physical idealism")>> <</if>>
		<<if $arcologies[0].FSHedonisticDecadence != "unset">> <<set _seed.push("hedonistic decadence")>> <</if>>
		<<if $arcologies[0].FSChattelReligionist != "unset">> <<set _seed.push("chattel religionism")>> <</if>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<<if $assistantAppearance != "ERROR_1606_APPEARANCE_FILE_CORRUPT">> @@.link;WARNING! File c@@[[o|Personal assistant options][$assistantAppearance = "ERROR_1606_APPEARANCE_FILE_CORRUPT"]]@@.link;rrupt!@@
	<<if $PAPublic == 1>>
		<<set _seed = []>>
		<<if $arcologies[0].FSTransformationFetishist != "unset">> <<set _seed.push("transformation fetishism")>> <</if>>
		<<if _seed.length > 0>>
			<<set _desc = "">>
			<<for _i = 0; _i < _seed.length; _i++>>
				<<set _desc = (_desc + _seed[_i])>>
				<<if (_i < _seed.length-2)>> <<set _desc = (_desc + ", ")>>
				<<elseif (_seed.length > 2) && (_i == _seed.length-2)>> <<set _desc = (_desc + ", and ")>>
				<<elseif (_seed.length == 2) && (_i == 0)>> <<set _desc = (_desc + " and ")>>
				<</if>>
			<</for>>
			A good emblem for _desc
		<</if>>
	<</if>>

<</if>>
<</if>>

<<if $assistant != 0>>

__Downloadable Appearances:__

	/*
	<<if $assistantExtra1 == 0>>
		[[Purchase a set of monstergirl appearances|Assistant Events][$event = "", cashX(forceNeg(Math.trunc(10000*$upgradeMultiplier)), "capEx"), $assistantExtra1 = 1]]
		//Costs <<print cashFormat(Math.trunc(6000*$upgradeMultiplier))>>//
	<<else>>
		You have downloaded a set of monstergirl appearances for your avatar.
	<</if>>
	*/
	<<if $assistantExtra2 == 0>>
		<<if $PC.hacking < 75>>
			<<link "Purchase a set of heaven and hell themed appearances">>
				<<set $assistantExtra2 = 1, $nextLink = "Personal assistant options">>
				<<run cashX(forceNeg(Math.trunc(10000*$upgradeMultiplierArcology)), "capEx")>>
				<<goto "Assistant Appearance Pack Two">>
			<</link>> //Costs <<print cashFormat(Math.trunc(10000*$upgradeMultiplierArcology))>>//
		<<else>>
			<<link "Acquire a set of heaven and hell themed appearances">>
				<<set $assistantExtra2 = 1, $nextLink = "Personal assistant options">>
				<<goto "Assistant Appearance Pack Two">>
			<</link>> //Unencrypted files, ripe for the taking//
		<</if>>
	<<else>>
		You have downloaded a set of heavenly and hellish appearances for your avatar.
	<</if>>
<</if>>

/* Choose _hisA FS appearance */
<<if $assistantFSOptions != 0 && $assistantAppearance != "normal">>

__Society-specific appearance settings:__

_HeA can further refine _hisA avatar to match the arcology's social profile<<if $assistantFSAppearance != "default">>; _hisA current variation shows ''$assistantFSAppearance'' touches.<<else>>, though no details stand out right now.<</if>>

<<if $assistantFSAppearance != "default">>
	[[Default|Personal assistant options][$assistantFSAppearance = "default"]]

<</if>>
<<if $assistantFSAppearance != "gender radicalist" && $arcologies[0].FSGenderRadicalistDecoration > 20>>
	[[Gender Radicalist|Personal assistant options][$assistantFSAppearance = "gender radicalist"]]

<</if>>
<<if $assistantFSAppearance != "gender fundamentalist" && $arcologies[0].FSGenderFundamentalistDecoration > 20>>
	[[Gender Fundamentalist|Personal assistant options][$assistantFSAppearance = "gender fundamentalist"]]

<</if>>
<<if $assistantFSAppearance != "paternalist" && $arcologies[0].FSPaternalistDecoration > 20>>
	[[Paternalist|Personal assistant options][$assistantFSAppearance = "paternalist"]]

<</if>>
<<if $assistantFSAppearance != "degradationist" && $arcologies[0].FSDegradationistDecoration > 20>>
	[[Degradationist|Personal assistant options][$assistantFSAppearance = "degradationist"]]

<</if>>
<<if $assistantFSAppearance != "repopulation focus" && $arcologies[0].FSRepopulationFocusDecoration > 20>>
	[[Repopulation Focus|Personal assistant options][$assistantFSAppearance = "repopulation focus"]]

<</if>>
<<if $assistantFSAppearance != "eugenics" && $arcologies[0].FSRestartDecoration > 20>>
	[[Eugenics|Personal assistant options][$assistantFSAppearance = "eugenics"]]

<</if>>
<<if $assistantFSAppearance != "body purist" && $arcologies[0].FSBodyPuristDecoration > 20>>
	[[Body Purist|Personal assistant options][$assistantFSAppearance = "body purist"]]

<</if>>
<<if $assistantFSAppearance != "transformation fetishist" && $arcologies[0].FSTransformationFetishistDecoration > 20>>
	[[Transformation Fetishist|Personal assistant options][$assistantFSAppearance = "transformation fetishist"]]

<</if>>
<<if $assistantFSAppearance != "youth preferentialist" && $arcologies[0].FSYouthPreferentialistDecoration > 20>>
	[[Youth Preferentialist|Personal assistant options][$assistantFSAppearance = "youth preferentialist"]]

<</if>>
<<if $assistantFSAppearance != "maturity preferentialist" && $arcologies[0].FSMaturityPreferentialistDecoration > 20>>
	[[Maturity Preferentialist|Personal assistant options][$assistantFSAppearance = "maturity preferentialist"]]

<</if>>
<<if $assistantFSAppearance != "slimness enthusiast" && $arcologies[0].FSSlimnessEnthusiastDecoration > 20>>
	[[Slimness Enthusiast|Personal assistant options][$assistantFSAppearance = "slimness enthusiast"]]

<</if>>
<<if $assistantFSAppearance != "asset expansionist" && $arcologies[0].FSAssetExpansionistDecoration > 20>>
	[[Asset Expansionist|Personal assistant options][$assistantFSAppearance = "asset expansionist"]]

<</if>>
<<if $assistantFSAppearance != "pastoralist" && $arcologies[0].FSPastoralistDecoration > 20>>
	[[Pastoralist|Personal assistant options][$assistantFSAppearance = "pastoralist"]]

<</if>>
<<if $assistantFSAppearance != "physical idealist" && $arcologies[0].FSPhysicalIdealistDecoration > 20>>
	[[Physical Idealist|Personal assistant options][$assistantFSAppearance = "physical idealist"]]

<</if>>
<<if $assistantFSAppearance != "hedonistic decadence" && $arcologies[0].FSHedonisticDecadenceDecoration > 20>>
	[[Hedonistic Decadence|Personal assistant options][$assistantFSAppearance = "hedonistic decadence"]]

<</if>>
<<if $assistantFSAppearance != "supremacist" && $arcologies[0].FSSupremacistDecoration > 20>>
	[[Supremacist|Personal assistant options][$assistantFSAppearance = "supremacist"]]

<</if>>
<<if $assistantFSAppearance != "subjugationist" && $arcologies[0].FSSubjugationistDecoration > 20>>
	[[Subjugationist|Personal assistant options][$assistantFSAppearance = "subjugationist"]]

<</if>>
<<if $assistantFSAppearance != "chattel religionist" && $arcologies[0].FSChattelReligionistDecoration > 20>>
	[[Chattel Religionist|Personal assistant options][$assistantFSAppearance = "chattel religionist"]]

<</if>>
<<if $assistantFSAppearance != "roman revivalist" && $arcologies[0].FSRomanRevivalistDecoration > 20>>
	[[Roman Revivalist|Personal assistant options][$assistantFSAppearance = "roman revivalist"]]

<</if>>
<<if $assistantFSAppearance != "aztec revivalist" && $arcologies[0].FSAztecRevivalistDecoration > 20>>
	[[Aztec Revivalist|Personal assistant options][$assistantFSAppearance = "aztec revivalist"]]

<</if>>
<<if $assistantFSAppearance != "egyptian revivalist" && $arcologies[0].FSEgyptianRevivalistDecoration > 20>>
	[[Egyptian Revivalist|Personal assistant options][$assistantFSAppearance = "egyptian revivalist"]]

<</if>>
<<if $assistantFSAppearance != "edo revivalist" && $arcologies[0].FSEdoRevivalistDecoration > 20>>
	[[Edo Revivalist|Personal assistant options][$assistantFSAppearance = "edo revivalist"]]

<</if>>
<<if $assistantFSAppearance != "arabian revivalist" && $arcologies[0].FSArabianRevivalistDecoration > 20>>
	[[Arabian Revivalist|Personal assistant options][$assistantFSAppearance = "arabian revivalist"]]

<</if>>
<<if $assistantFSAppearance != "chinese revivalist" && $arcologies[0].FSChineseRevivalistDecoration > 20>>
	[[Chinese Revivalist|Personal assistant options][$assistantFSAppearance = "chinese revivalist"]]

<</if>>
<</if>>

<</if>> /* CLOSES PERSONALITY ACTIVE REQUIREMENT */

<<if ($assistantNameAnnounced != 0)>>

	__Name:__
	<<textbox "$assistantName" $assistantName "Personal assistant options">>
	<<if $assistantName != "your personal assistant">>

		[[Stop using a custom name|Personal assistant options][$assistantName = "your personal assistant"]]
	<</if>>
<</if>>

<</if>>/* CLOSES ASSISTANT OPTIONS AVAILABILITY */

<<if $marketAssistantAnnounced>>

__Business Assistant settings:__

The arcology's upgraded computers support advanced business analysis.
<<if $assistantAppearance != "normal">>
	These capabilities are represented by an avatar styled after $assistantName's, with which _heA simulates a ''$marketAssistantRelationship'' relationship.

	<<if $marketAssistantRelationship != "cute">>
		[[Cute|Personal assistant options][$marketAssistantRelationship = "cute"]]

	<</if>>
	<<if $marketAssistantRelationship != "romantic">>
		[[Romantic|Personal assistant options][$marketAssistantRelationship = "romantic"]]

	<</if>>
	<<if $marketAssistantRelationship != "nonconsensual">>
		[[Nonconsensual|Personal assistant options][$marketAssistantRelationship = "nonconsensual"]]

	<</if>>
	<<if $marketAssistantRelationship != "incestuous">>
		[[Incestuous|Personal assistant options][$marketAssistantRelationship = "incestuous"]]

	<</if>>
<<else>>
	Although technically an expanded subroutine within the same app, $assistantName uses a distinct icon to identify these alerts and improve your workflow.

<</if>>

_HeA is
<<if $marketAssistantLimit>>
	''allowed'' to use excess liquid assets over <<print cashFormat($marketAssistantLimit)>> to play the menial slave market. [[Disallow|Personal assistant options][$marketAssistantLimit = 0]]

	//Define custom cash limit://<<textbox "$marketAssistantLimit" $marketAssistantLimit "Personal assistant options">>

	_HeA will be
	<<if $marketAssistantAggressiveness>>
		''aggressive'' about buying and selling. [[Be conservative|Personal assistant options][$marketAssistantAggressiveness = 0]]
	<<else>>
		''conservative'' about buying and selling. [[Be aggressive|Personal assistant options][$marketAssistantAggressiveness = 100]]
	<</if>>
<<else>>
	''not allowed'' to use excess liquid assets to play the menial slave market. [[Allow|Personal assistant options][$marketAssistantLimit = 10000]]
<</if>>

<</if>>

repo_name: Fekenol/fc


code:
:: Personal Attention Select [nobr]

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

<<if $PC.career == "escort">>
	[[Focus on "connecting"|Main][$personalAttention = "whoring"]]
<<elseif $PC.career == "servant">>
	[[Maintain your home|Main][$personalAttention = "upkeep"]]
<<else>>
	[[Focus on business|Main][$personalAttention = "business"]]
	<<if $PC.career == "gang">>
		| [[Help people "pass" things around|Main][$personalAttention = "smuggling"]]
	<</if>>
	<<if $PC.hacking > 25>>

[[Sell your intrusion services to the highest bidder|Main][$personalAttention = "technical accidents"]]
	<</if>>
<</if>>
<<if $HeadGirl != 0>>

[[Support your Head Girl|Main][$personalAttention = "HG"]]
<</if>>

[[Have as much sex with your slaves as possible|Main][$personalAttention = "sex"]]
<<if $proclamationsCooldown == 0 && $secExp == 1>>

[[Issue a proclamation|proclamations]]

<<elseif $secExp == 1>>

It's too early to issue another proclamation. Another will be available in <<if $proclamationsCooldown == 1>> one week.<<else>> $proclamationsCooldown weeks.<</if>>

<<else>>

<</if>>

<<if $PC.actualAge >= $IsInPrimePC>>
<<set _cost = 10000*$AgeEffectOnTrainerPricingPC>>

<<if $PC.trading >= 100>>

//You are a master trader.//
<<else>>
	<<if $PC.trading > 60>>
		//You are an expert trader.//
	<<elseif $PC.trading > 30>>
		//You have some skill as a trader.//
	<<elseif $PC.trading > 10>>
		//You have basic knowledge as a trader.//
	<<else>>
		//You have no knowledge as a trader.//
	<</if>>
	<<if $personalAttention == "trading">>
		You are training in venture capitalism.
	<<elseif $PC.trading < 100 && $PC.actualAge < $IsPastPrimePC>>
		[[Hire a merchant to train you in commerce|Main][$personalAttention = "trading"]]
	<</if>>
<</if>>

<<if $PC.warfare >= 100>>
	//You are a master tactician.//
<<else>>
	<<if $PC.warfare > 60>>
		//You are an expert tactician.//
	<<elseif $PC.warfare > 30>>
		//You have some skill as a tactician.//
	<<elseif $PC.warfare > 10>>
		//You have basic knowledge as a tactician.//
	<<else>>
		//You have no knowledge as a tactician.//
	<</if>>
	<<if $personalAttention == "warfare">>
		You are training in tactics.
	<<elseif $PC.warfare < 100 && $PC.actualAge < $IsPastPrimePC>>
		[[Hire a mercenary to train you in warfare|Main][$personalAttention = "warfare"]]
	<</if>>
<</if>>

<<if $PC.slaving >= 100>>
	//You are a master slaver.//
<<else>>
	<<if $PC.slaving > 60>>
		//You are an expert slaver.//
	<<elseif $PC.slaving > 30>>
		//You have some skill as a slaver.//
	<<elseif $PC.slaving > 10>>
		//You have basic knowledge as a slaver.//
	<<else>>
		//You have no knowledge as a slaver.//
	<</if>>
	<<if $personalAttention == "slaving">>
		You are training in slaving.
	<<elseif $PC.slaving < 100 && $PC.actualAge < $IsPastPrimePC>>
		[[Hire a slaver to train you in slaving|Main][$personalAttention = "slaving"]]
	<</if>>
<</if>>

<<if $PC.engineering >= 100>>
	//You are a master arcology engineer.//
<<else>>
	<<if $PC.engineering > 60>>
		//You are an expert arcology engineer.//
	<<elseif $PC.engineering > 30>>
		//You have some skill as an arcology engineer.//
	<<elseif $PC.engineering > 10>>
		//You have basic knowledge as an arcology engineer.//
	<<else>>
		//You have no knowledge as an arcology engineer.//
	<</if>>
	<<if $personalAttention == "engineering">>
		You are training in arcology engineering.
	<<elseif $PC.engineering < 100 && $PC.actualAge < $IsPastPrimePC>>
		[[Hire an engineer to train you in engineering|Main][$personalAttention = "engineering"]]
	<</if>>
<</if>>

<<if $PC.medicine >= 100>>
	//You are a master surgeon.//
<<else>>
	<<if $PC.medicine > 60>>
		//You are an expert surgeon.//
	<<elseif $PC.medicine > 30>>
		//You have some skill as a surgeon.//
	<<elseif $PC.medicine > 10>>
		//You have basic knowledge as a surgeon.//
	<<else>>
		//You have no knowledge as a surgeon.//
	<</if>>
	<<if $personalAttention == "medicine">>
		You are training in slave surgery.
	<<elseif $PC.medicine < 100 && $PC.actualAge < $IsPastPrimePC>>
		[[Hire a doctor to train you in medicine|Main][$personalAttention = "medicine"]]
	<</if>>
<</if>>

<<if $PC.hacking >= 100>>
	//You are a master hacker.//
<<else>>
	<<if $PC.hacking > 60>>
		//You are an expert hacker.//
	<<elseif $PC.hacking > 30>>
		//You have some skill as a hacker.//
	<<elseif $PC.hacking > 10>>
		//You have basic knowledge as a hacker.//
	<<else>>
		//You have no knowledge as a hacker.//
	<</if>>
	<<if $personalAttention == "hacking">>
		You are training in hacking and data manipulation.
	<<elseif $PC.hacking < 100 && $PC.actualAge < $IsPastPrimePC>>
		[[Hire a specialist to train you in hacking|Main][$personalAttention = "hacking"]]
	<</if>>
<</if>>
<</if>>
<<if $PC.actualAge >= $IsInPrimePC && $PC.actualAge < $IsPastPrimePC && ($PC.medicine < 100 || $PC.engineering < 100 || $PC.slaving < 100 || $PC.warfare < 100 || $PC.trading < 100 || $PC.hacking < 100)>>
//Training will cost <<print cashFormat(_cost)>> per week.//<</if>>

<<if typeof $personalAttention != "object" || $personalAttention.length == 0>>
	You have not selected a slave for your personal attention.
<<else>>
	<<if $personalAttention.length > ($PC.slaving >= 100 ? 2 : 1)>>
		<<set $personalAttention.deleteAt(0)>>
	<</if>>

	<<for _i = 0; _i < $personalAttention.length; _i++>>
		<<set $activeSlave = getSlave($personalAttention[_i].ID)>>
		/* duplicate check — should not happen if slaveSummary is doing its job */
		<<if $personalAttention.map(function(s) { return s.ID; }).count($activeSlave.ID) > 1>>
			<<set $personalAttention.deleteAt(_i), $personalAttention.deleteAt(_i), _i-->>
			<<continue>>
		<</if>>

		<<if $personalAttention[_i].trainingRegimen == "undecided">>
			<<if ($activeSlave.health < -20)>>
				<<set $personalAttention[_i].trainingRegimen = "look after her">>
			<<elseif ($activeSlave.behavioralFlaw != "none")>>
				<<if ($activeSlave.devotion >= -20)>>
					<<set $personalAttention[_i].trainingRegimen = "soften her behavioral flaw">>
				<<else>>
					<<set $personalAttention[_i].trainingRegimen = "fix her behavioral flaw">>
				<</if>>
			<<elseif ($activeSlave.sexualFlaw != "none")>>
				<<if ($activeSlave.devotion >= -20)>>
					<<set $personalAttention[_i].trainingRegimen = "soften her sexual flaw">>
				<<else>>
					<<set $personalAttention[_i].trainingRegimen = "fix her sexual flaw">>
				<</if>>
			<<elseif ($activeSlave.fetishKnown != 1)>>
				<<set $personalAttention[_i].trainingRegimen = "explore her sexuality">>
			<<elseif ($activeSlave.devotion <= 20) && ($activeSlave.trust >= -20)>>
				<<set $personalAttention[_i].trainingRegimen = "break her will">>
			<<else>>
				<<set $personalAttention[_i].trainingRegimen = "build her devotion">>
			<</if>>
		<</if>>

		<<capture $activeSlave, _i>>

		<<if _i > 0>>

<</if>>

		<<setLocalPronouns $activeSlave>>

		You will give ''__@@.pink;<<= SlaveFullName($activeSlave)>>@@__'' your personal attention this week.

		Your training will seek to <>$personalAttention[_i].trainingRegimen<>.

Change training objective:

		<<if ($activeSlave.devotion <= 20) && ($activeSlave.trust >= -20)>>
			<<link "Break $his will">><<set $personalAttention[_i].trainingRegimen = "break her will">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
			| <<link "Use enhanced breaking techniques">><<set $personalAttention[_i].trainingRegimen = "harshly break her will">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<<else>>
			<<link "Build $his devotion">><<set $personalAttention[_i].trainingRegimen = "build her devotion">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>

		<<if $activeSlave.fetishKnown == 0 || $activeSlave.attrKnown == 0>>
			<<link "Explore $his sexuality and fetishes">><<set $personalAttention[_i].trainingRegimen = "explore her sexuality">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<<else>>
			//You already understand $his sexuality//
		<</if>>

		<<if ($activeSlave.behavioralFlaw != "none")>>

			<<link "Remove $his behavioral flaw">><<set $personalAttention[_i].trainingRegimen = "fix her behavioral flaw">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
			<<if ($activeSlave.devotion < -20)>>
				| //$He must be broken before $his flaws can be softened//
			<<else>>
				| <<link "Soften $his behavioral flaw">><<set $personalAttention[_i].trainingRegimen = "soften her behavioral flaw">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
			<</if>>
		<</if>>

		<<if ($activeSlave.sexualFlaw != "none")>>

			<<link "Remove $his sexual flaw">><<set $personalAttention[_i].trainingRegimen = "fix her sexual flaw">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
			<<if ($activeSlave.devotion < -20)>>
				<<if ($activeSlave.behavioralFlaw == "none")>>
				| //$He must be broken before $his flaws can be softened//
				<</if>>
			<<elseif ["abusive", "anal addict", "attention whore", "breast growth", "breeder", "cum addict", "malicious", "neglectful", "self hating"].includes($activeSlave.sexualFlaw)>>
				| //Paraphilias cannot be softened//
			<<else>>
				| <<link "Soften $his sexual flaw">><<set $personalAttention[_i].trainingRegimen = "soften her sexual flaw">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
			<</if>>
		<</if>>

		<<if ($activeSlave.skill.anal >= 100) && ($activeSlave.skill.oral >= 100) && ($activeSlave.skill.vaginal >= 100) && ($activeSlave.skill.whoring > 0) && ($activeSlave.skill.entertainment > 0)>>
			//$He knows all the skills you can teach//
		<<elseif ($activeSlave.skill.anal >= 100) && ($activeSlave.skill.oral >= 100) && ($activeSlave.skill.whoring > 0) && ($activeSlave.skill.entertainment > 0) && ($activeSlave.vagina == -1) && ($activeSlave.balls == 0)>>
			//$He knows all the skills you can teach a gelded slave//
		<<elseif ($activeSlave.skill.anal >= 100) && ($activeSlave.skill.oral >= 100) && ($activeSlave.skill.whoring > 0) && ($activeSlave.skill.entertainment > 0) && ($activeSlave.vagina == -1)>>
			//$He knows all the skills you can teach a shemale slave//
		<<elseif ($activeSlave.skill.anal >= 100) && ($activeSlave.skill.oral >= 100) && ($activeSlave.skill.whoring > 0) && ($activeSlave.skill.entertainment > 0) && ($activeSlave.chastityVagina)>>
			//$He knows all the skills you can teach while $he's wearing a chastity belt//
		<<elseif ($activeSlave.devotion <= 20) && ($activeSlave.trust >= -20)>>
			//$He's too disobedient to learn sex skills//
		<<else>>
			<<link "Teach $him">><<set $personalAttention[_i].trainingRegimen = "learn skills">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>

		<<link "Care for $him">><<set $personalAttention[_i].trainingRegimen = "look after her">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>

		Induce a flaw:
		<<if $activeSlave.behavioralQuirk != "confident" && $activeSlave.behavioralFlaw != "arrogant">>
			<<link "Arrogance">><<set $personalAttention[_i].trainingRegimen = "induce arrogance">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.behavioralQuirk != "cutting" && $activeSlave.behavioralFlaw != "bitchy">>
			| <<link "Bitchiness">><<set $personalAttention[_i].trainingRegimen = "induce bitchiness">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.behavioralQuirk != "funny" && $activeSlave.behavioralFlaw != "odd">>
			| <<link "Odd behavior">><<set $personalAttention[_i].trainingRegimen = "induce odd behavior">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.behavioralQuirk != "adores women" && $activeSlave.behavioralFlaw != "hates men">>
			| <<link "Hatred of men">><<set $personalAttention[_i].trainingRegimen = "induce hatred of men">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.behavioralQuirk != "adores men" && $activeSlave.behavioralFlaw != "hates women">>
			| <<link "Hatred of women">><<set $personalAttention[_i].trainingRegimen = "induce hatred of women">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.behavioralQuirk != "fitness" && $activeSlave.behavioralFlaw != "gluttonous">>
			| <<link "Gluttony">><<set $personalAttention[_i].trainingRegimen = "induce gluttony">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.behavioralQuirk != "insecure" && $activeSlave.behavioralFlaw != "anorexic">>
			| <<link "Anorexia">><<set $personalAttention[_i].trainingRegimen = "induce anorexia">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.behavioralQuirk != "sinful" && $activeSlave.behavioralFlaw != "devout">>
			| <<link "Religious devotion">><<set $personalAttention[_i].trainingRegimen = "induce religious devotion">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.behavioralQuirk != "advocate" && $activeSlave.behavioralFlaw != "liberated">>
			| <<link "Liberation">><<set $personalAttention[_i].trainingRegimen = "induce liberation">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.sexualQuirk != "gagfuck queen" && $activeSlave.sexualFlaw != "hates oral">>
			| <<link "Hatred of oral">><<set $personalAttention[_i].trainingRegimen = "induce hatred of oral">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.sexualQuirk != "painal queen" && $activeSlave.sexualFlaw != "hates anal">>
			| <<link "Hatred of anal">><<set $personalAttention[_i].trainingRegimen = "induce hatred of anal">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.sexualQuirk != "strugglefuck queen" && $activeSlave.sexualFlaw != "hates penetration">>
			| <<link "Hatred of penetration">><<set $personalAttention[_i].trainingRegimen = "induce hatred of penetration">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.sexualQuirk != "tease" && $activeSlave.sexualFlaw != "shamefast">>
			| <<link "Shame">><<set $personalAttention[_i].trainingRegimen = "induce shame">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.sexualQuirk != "romantic" && $activeSlave.sexualFlaw != "idealistic">>
			| <<link "Sexual idealism">><<set $personalAttention[_i].trainingRegimen = "induce sexual idealism">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.sexualQuirk != "perverted" && $activeSlave.sexualFlaw != "repressed">>
			| <<link "Sexual repression">><<set $personalAttention[_i].trainingRegimen = "induce sexual repression">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.sexualQuirk != "caring" && $activeSlave.sexualFlaw != "apathetic">>
			| <<link "Sexual apathy">><<set $personalAttention[_i].trainingRegimen = "induce sexual apathy">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.sexualQuirk != "unflinching" && $activeSlave.sexualFlaw != "crude">>
			| <<link "Crudity">><<set $personalAttention[_i].trainingRegimen = "induce crudity">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.sexualQuirk != "size queen" && $activeSlave.sexualFlaw != "judgemental">>
			| <<link "Judgment">><<set $personalAttention[_i].trainingRegimen = "induce judgement">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.fetishStrength > 95>>
		<<if $activeSlave.fetish == "cumslut" && $activeSlave.sexualFlaw != "cum addict">>
			| <<link "Cum addiction">><<set $personalAttention[_i].trainingRegimen = "induce cum addiction">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.fetish == "buttslut" && $activeSlave.sexualFlaw != "anal addict">>
			| <<link "Anal addiction">><<set $personalAttention[_i].trainingRegimen = "induce anal addiction">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.fetish == "humiliation" && $activeSlave.sexualFlaw != "attention whore">>
			| <<link "Attention whoring">><<set $personalAttention[_i].trainingRegimen = "induce attention whoring">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.fetish == "boobs" && $activeSlave.sexualFlaw != "breast growth">>
			| <<link "Breast growth obsession">><<set $personalAttention[_i].trainingRegimen = "induce breast growth obsession">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.fetish == "dom" && $activeSlave.sexualFlaw != "abusive">>
			| <<link "Abusiveness">><<set $personalAttention[_i].trainingRegimen = "induce abusiveness">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.fetish == "sadist" && $activeSlave.sexualFlaw != "malicious">>
			| <<link "Maliciousness">><<set $personalAttention[_i].trainingRegimen = "induce maliciousness">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.fetish == "masochist" && $activeSlave.sexualFlaw != "self hatred">>
			| <<link "Self hatred">><<set $personalAttention[_i].trainingRegimen = "induce self hatred">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.fetish == "submissive" && $activeSlave.sexualFlaw != "neglectful">>
			| <<link "Sexual self neglect">><<set $personalAttention[_i].trainingRegimen = "induce sexual self neglect">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<if $activeSlave.fetish == "pregnancy" && $activeSlave.sexualFlaw != "breeder">>
			| <<link "Breeding obsession">><<set $personalAttention[_i].trainingRegimen = "induce breeding obsession">><<replace `"#training"+_i`>>$personalAttention[_i].trainingRegimen<</replace>><</link>>
		<</if>>
		<<else>>
			| //Paraphilias can only be induced from a strong fetish//
		<</if>>

    //Inducing flaws is difficult and bad for slaves' obedience.//

		<</capture>> /* $activeSlave, _i */
	<</for>>
<</if>> /* CLOSES NO SLAVE SELECTED */

__Select a slave to train:__ <<if $PC.slaving >= 100>>//Your @@.springgreen;slaving experience@@ allows you to divide your attention between more than one slave each week, with slightly reduced efficiency//<</if>>
<<include "Slave Summary">>


code:
:: Pit [nobr]

<<set $nextButton = "Back to Main", $nextLink = "Main", $returnTo = "Pit", $showEncyclopedia = 1, $encyclopedia = "Pit", _DL = $fighterIDs.length, _SL = $slaves.length, _CL = $canines.length, _HL = $hooved.length, _FL = $felines.length>>
<<showallAssignmentFilter>>
<<if $pitName != "the Pit">>
	<<set $pitNameCaps = $pitName.replace("the ", "The ")>>
<</if>>
<<if $pitBG == 1 && $fighterIDs.includes($Bodyguard.ID)>>
	<<set $fighterIDs.delete($Bodyguard.ID), _DL-->>
<</if>>

$pitNameCaps is clean and ready,
<<if _DL > 2>>
	with a pool of slaves assigned to fight in the week's bout.
<<elseif _DL == 1>>
	but only one slave is assigned to the week's bout.
<<elseif _DL > 0>>
	with slaves assigned to the week's bout.
<<else>>
	but no slaves are assigned to fight.
	<<link "Decommission the pit" "Main">>
		<<set $pit = 0, $pitAnimal = 0, $pitAnimalType = 0>>
		<<set _pit = $sectors.findIndex(function(s) { return s.type == "Pit"; })>>
		<<if _pit != -1>>
			<<set $sectors[_pit].type = "Markets">>
		<</if>>
	<</link>>
<</if>>

//<<= properTitle()>>, slaves assigned here can continue their usual duties.//

<<if $pitAudience == "none">>
	Fights here are strictly private. [[Open them for free|Pit][$pitAudience = "free"]] | [[Open them and charge admission|Pit][$pitAudience = "paid"]]
<<elseif $pitAudience == "free">>
	Fights here are free and open to the public. [[Close them|Pit][$pitAudience = "none"]] | [[Charge admission|Pit][$pitAudience = "paid"]]
<<else>>
	Admission is charged to the fights here. [[Close them|Pit][$pitAudience = "none"]] | [[Stop charging|Pit][$pitAudience = "free"]]
<</if>>

<<if $killChoice != 2>>
	<<if $Bodyguard != 0 || (_CL > 0 && $activeCanine != 0) || (_HL > 0 && $activeHooved != 0) || (_FL > 0 && $activeFeline != 0)>>

		<<if $pitBG == 0>>
			<<if $pitAnimal == 0>>
				Two fighters will be selected from the pool at random.
				<<if $Bodyguard != 0>>[[Guarantee your Bodyguard a slot|Pit][$pitBG = 1, $pitAnimal = 0]]<</if>>
				<<if $Bodyguard != 0 && ($activeCanine != 0 || $activeHooved != 0 || $activeFeline != 0)>> | <</if>>
				<<if $activeCanine != 0 || $activeHooved != 0 || $activeFeline != 0>>[[Have a slave fight an animal|Pit][$pitBG = 0, $pitAnimal = 1]]<</if>>
			<<else>>
				A random slave will fight an animal. [[Have them fight another slave|Pit][$pitBG = 0, $pitAnimal = 0]]<<if $Bodyguard != 0>> | [[Have them fight your Bodyguard|Pit][$pitBG = 1, $pitAnimal = 0]]<</if>>
			<</if>>
		<<else>>
			Your Bodyguard will fight a slave selected from the pool at random. [[Make both slots random|Pit][$pitBG = 0, $pitAnimal = 0]]
			<<if _CL > 0 || _HL > 0 || _FL > 0>> | [[Have a slave fight an animal|Pit][$pitBG = 0, $pitAnimal = 1]]<</if>>
		<</if>>
	<</if>>

	<<if $pitLethal == 1>>
		<<if $pitAnimal == 1>>
			The fighter will be armed with a sword and will fight to the death. [[Nonlethal|Pit][$pitLethal = 0]]
		<<else>>
			Fighters will be armed with swords, and fights will be to the death. [[Nonlethal|Pit][$pitLethal = 0]]
		<</if>>
	<<else>>
		<<if $pitAnimal == 0>>
			Fighters will use their fists and feet, and fights will be to submission. [[Lethal|Pit][$pitLethal = 1]]

			<<if $pitVirginities == 0>>
				''No'' virginities of the loser will be respected.
				[[Vaginal|Pit][$pitVirginities = 1]] |
				[[Anal|Pit][$pitVirginities = 2]] |
				[[All|Pit][$pitVirginities = 3]]
			<<elseif $pitVirginities == 1>>
				''Vaginal'' virginity of the loser will be respected.
				[[Neither|Pit][$pitVirginities = 0]] |
				[[Anal|Pit][$pitVirginities = 2]] |
				[[All|Pit][$pitVirginities = 3]]
			<<elseif $pitVirginities == 2>>
				''Anal'' virginity of the loser will be respected.
				[[Neither|Pit][$pitVirginities = 0]] |
				[[Vaginal|Pit][$pitVirginities = 1]] |
				[[All|Pit][$pitVirginities = 3]]
			<<elseif $pitVirginities == 3>>
				''All'' virginities of the loser will be respected.
				[[Neither|Pit][$pitVirginities = 0]] |
				[[Vaginal|Pit][$pitVirginities = 1]] |
				[[Anal|Pit][$pitVirginities = 2]]
			<</if>>

		<<else>>
			The slave will be restrained and will try to avoid being used by the animal. [[Lethal|Pit][$pitLethal = 1]]
		<</if>>
	<</if>>

	<<if $activeCanine != 0 || $activeHooved != 0 || $activeFeline != 0>>

	<<switch $activeCanine.breed>>
	<<case "French Bulldog" "Beagle" "Poodle" "Yorkshire Terrier">>
		<<set _animalEligible = 0>>
	<<default>>
		<<set _animalEligible = 1>>
	<</switch>>

	<<if $pitAnimal == 1>>

		<<if $pitLethal == 1>>
			<<if $pitAnimalType == $activeCanine.type>>
				<<if $activeCanine.species != "dog">>
					Your slave will fight a ''$activeCanine.species''.
					$activeCanine.speciesCap
					<<if _HL > 0>> | [["" + $activeHooved.speciesCap + ""|Pit][$pitAnimalType = "hooved"]]<</if>>
					<<if _FL > 0>> |
						<<if $activeFeline.species != "cat">>
							[["" + $activeFeline.speciesCap + ""|Pit][$pitAnimalType = "feline"]]
						<<else>>
							//House cats are too small for your slave to fight//
						<</if>>
					<</if>>
				<<else>>
					<<if _animalEligible == 1>>
						Your slave will fight a ''$activeCanine.breed''.
						$activeCanine.breed
						<<if _HL > 0>> | [["" + $activeHooved.speciesCap + ""|Pit][$pitAnimalType = "hooved"]]<</if>>
						<<if _FL > 0>> |
							<<if $activeFeline.species != "cat">>
								[["" + $activeFeline.speciesCap + ""|Pit][$pitAnimalType = "feline"]]
							<<else>>
								//House cats are too small for your slave to fight//
							<</if>>
						<</if>>
					<<else>>
						//<<print $activeCanine.breed>>s are too small for your slave to fight//
						<<if _HL > 0>> | [["" + $activeHooved.speciesCap + ""|Pit][$pitAnimalType = "hooved"]]<</if>>
						<<if _FL > 0>> |
							<<if $activeFeline.species != "cat">>
								[["" + $activeFeline.speciesCap + ""|Pit][$pitAnimalType = "feline"]]
							<<else>>
								//House cats are too small for your slave to fight//
							<</if>>
						<</if>>
					<</if>>
				<</if>>
			<<elseif $pitAnimalType == $activeHooved.type>>
				Your slave will fight a ''$activeHooved.species''.
				<<if _CL > 0>>
					<<if $activeCanine.species != "dog">>
						[["" + $activeCanine.speciesCap + ""|Pit][$pitAnimalType = "canine"]] |
					<<else>>
						<<if _animalEligible == 1>>
							[["" + $activeCanine.breed + ""|Pit][$pitAnimalType = "canine"]] |
						<<else>>
							//<<print $activeCanine.breed>>s are too small for your slave to fight// |
						<</if>>
					<</if>>
				<</if>>
				$activeHooved.speciesCap
				<<if _FL > 0>> |
					<<if $activeFeline.species != "cat">>
						[["" + $activeFeline.speciesCap + ""|Pit][$pitAnimalType = "feline"]]
					<<else>>
						//House cats are too small for your slave to fight//
					<</if>>
				<</if>>
			<<elseif $pitAnimalType == $activeFeline.type>>
				<<if $activeFeline.species != "cat">>
					Your slave will fight a ''$activeFeline.species''.
			<<else>>
					//House cats are too small for your slave to fight//
			<</if>>
				<<if _CL > 0>>
					<<if $activeCanine.species != "dog">>
						[["" + $activeCanine.speciesCap + ""|Pit][$pitAnimalType = "canine"]]
					<<else>>
						<<if _animalEligible == 1>>
							[["" + $activeCanine.breed + ""|Pit][$pitAnimalType = "canine"]]
						<<else>>
							//<<print $activeCanine.breed>>s are too small for your slave to fight//
						<</if>>
					<</if>>
				<</if>>
				<<if _HL > 0>> | [["" + $activeHooved.speciesCap + ""|Pit][$pitAnimalType = "hooved"]] | <</if>>
				<<if $activeFeline.species != "cat">>
					$activeFeline.speciesCap
				<<else>>
					//House cats are too small for your slave to fight//
				<</if>>
			<<else>>
				Select an animal for your slave to fight.
				<<if _CL > 0>>
					<<if $activeCanine.species != "dog">>
						[["" + $activeCanine.speciesCap + ""|Pit][$pitAnimalType = "canine"]]
					<<else>>
						<<if _animalEligible == 1>>
							[["" + $activeCanine.breed + ""|Pit][$pitAnimalType = "canine"]]
						<<else>>
							//<<print $activeCanine.breed>>s are too small for your slave to fight//
						<</if>>
					<</if>>
				<</if>>
				<<if (_CL > 0 && _HL > 0) || (_CL > 0 && _FL > 0) || (_HL > 0 && _FL > 0)>> | <</if>>
				<<if _HL > 0>>
					[["" + $activeHooved.speciesCap + ""|Pit][$pitAnimalType = "hooved"]]
				<</if>>
				<<if (_HL > 0 && _FL > 0)>> | <</if>>
				<<if _FL > 0>>
					<<if $activeFeline.species != "cat">>
						[["" + $activeFeline.speciesCap + ""|Pit][$pitAnimalType = "feline"]]
					<<else>>
						//House cats are too small for your slave to fight//
					<</if>>
				<</if>>

			<</if>>
		<<elseif $pitLethal == 0>>
			<<if $pitAnimalType == $activeCanine.type>>
				<<if $activeCanine.species != "dog">>
					Your slave will try to avoid being used by a ''$activeCanine.species''.
					$activeCanine.speciesCap
				<<else>>
					<<if _animalEligible == 1>>
						Your slave will try to avoid being used by a ''$activeCanine.breed''.
						$activeCanine.breed
						<<if _HL > 0>> | [["" + $activeHooved.speciesCap + ""|Pit][$pitAnimalType = "hooved"]]<</if>>
						<<if _FL > 0>> |
							<<if $activeFeline.species != "cat">>
								[["" + $activeFeline.speciesCap + ""|Pit][$pitAnimalType = "feline"]]
							<<else>>
								//House cats are too small to use your slave//
							<</if>>
						<</if>>
					<<else>>
						//<<print $activeCanine.breed>>s are too small to use your slave//
						<<if _HL > 0>> | [["" + $activeHooved.speciesCap + ""|Pit][$pitAnimalType = "hooved"]]<</if>>
						<<if _FL > 0>> |
							<<if $activeFeline.species != "cat">>
								[["" + $activeFeline.speciesCap + ""|Pit][$pitAnimalType = "feline"]]
							<<else>>
								//House cats are too small to use your slave//
							<</if>>
						<</if>>
					<</if>>
				<</if>>
				<<if _HL > 0>> | [["" + $activeHooved.speciesCap + ""|Pit][$pitAnimalType = "hooved"]]<</if>>
				<<if _FL > 0>> |
					<<if $activeFeline.species != "cat">>
						[["" + $activeFeline.speciesCap + ""|Pit][$pitAnimalType = "feline"]]
					<<else>>
						//House cats are too small to use your slave//
					<</if>>
				<</if>>
			<<elseif $pitAnimalType == $activeHooved.type>>
				Your slave will try to avoid being used by a ''$activeHooved.species''.
				<<if _CL > 0>>
					<<if $activeCanine.species != "dog">>
						[["" + $activeCanine.speciesCap + ""|Pit][$pitAnimalType = "canine"]] |
					<<else>>
						<<if _animalEligible == 1>>
							[["" + $activeCanine.breed + ""|Pit][$pitAnimalType = "canine"]] |
						<<else>>
							//<<print $activeCanine.breed>>s are too small for your slave to fight// |
						<</if>>
					<</if>>
				<</if>>
				$activeHooved.speciesCap
				<<if _FL > 0>> |
					<<if $activeFeline.species != "cat">>
						[["" + $activeFeline.speciesCap + ""|Pit][$pitAnimalType = "feline"]]
					<<else>>
						//House cats are too small to use your slave//
					<</if>>
				<</if>>
			<<elseif $pitAnimalType == $activeFeline.type>>
				<<if $activeFeline.species != "cat">>
					Your slave will try to avoid being used by a ''$activeFeline.species''.
			<<else>>
					//House cats are too small to use your slave//
			<</if>>
				<<if _CL > 0>>
					<<if $activeCanine.species != "dog">>
						[["" + $activeCanine.speciesCap + ""|Pit][$pitAnimalType = "canine"]]
					<<else>>
						<<if _animalEligible == 1>>
							[["" + $activeCanine.breed + ""|Pit][$pitAnimalType = "canine"]]
						<<else>>
							//<<print $activeCanine.breed>>s are too small for your slave to fight//
						<</if>>
					<</if>>
				<</if>>
				<<if _HL > 0>> | [["" + $activeHooved.speciesCap + ""|Pit][$pitAnimalType = "hooved"]] | <</if>>
				<<if $activeFeline.species != "cat">>
					$activeFeline.speciesCap
				<<else>>
					//House cats are too small to use your slave//
				<</if>>
			<<else>>
				Select an animal for your slave to try to avoid.
				<<if _CL > 0>>
					<<if $activeCanine.species != "dog">>
						[["" + $activeCanine.speciesCap + ""|Pit][$pitAnimalType = "canine"]]
					<<else>>
						<<if _animalEligible == 1>>
							[["" + $activeCanine.breed + ""|Pit][$pitAnimalType = "canine"]]
						<<else>>
							//<<print $activeCanine.breed>>s are too small for your slave to fight//
						<</if>>
					<</if>>
				<</if>>
				<<if (_CL > 0 && _HL > 0) || (_CL > 0 && _FL > 0) || (_HL > 0 && _FL > 0)>> | <</if>>
				<<if _HL > 0>>
					[["" + $activeHooved.speciesCap + ""|Pit][$pitAnimalType = "hooved"]]
				<</if>>
				<<if (_HL > 0 && _FL > 0)>> | <</if>>
				<<if _FL > 0>>
					<<if $activeFeline.species != "cat">>
						[["" + $activeFeline.speciesCap + ""|Pit][$pitAnimalType = "feline"]]
					<<else>>
						//House cats are too small to use your slave//
					<</if>>
				<</if>>
			<</if>>
		<</if>>
	<<else>> /* if animal fight is unselected */
		<<set $pitAnimalType = 0>>
	<</if>>
	<</if>>

<<else>>	/* if $killChoice != 2 */

	You have scheduled a fight to the death this week. [[Cancel it|Pit][$killChoice = -1]]
<</if>>

	<button class="tablinks" onclick="opentab(event, 'assign')" id="tab assign">Select a slave to fight</button>
	<button class="tablinks" onclick="opentab(event, 'remove')" id="tab remove">Cancel a slave's fight</button>

		<<if _DL > 0>>
			<<set $Flag = 1>>
			<<include "Slave Summary">>
		<<else>>

//$pitNameCaps is empty for the moment//
		<</if>>

		<<if (_SL > _DL)>>
			<<set $Flag = 0>>
			<<include "Slave Summary">>
		<</if>>

<<if ($tabChoice.Pit == "assign")>>

<<else>>

<</if>>

Rename $pitName: <<textbox "$pitName" $pitName "Pit">> //Use a noun or similar short phrase//


code:
:: Place In Line

<<silently>>

<<set $slavesInLine = []>>
<<set _activeSlaveIndex = $slaveIndices[$activeSlave.ID]>>
<<set _SL = $slaves.length>>

<<if ($activeSlave.assignmentVisible == 1)>>
	<<for _pil = _activeSlaveIndex - 1; _pil != _activeSlaveIndex; _pil-->> /* loops backwards through the $slaves array */
		<<if _pil < 0>>
			<<set _pil = _SL>>
			<<continue>>
		<</if>>
		<<if $slaves[_pil].assignmentVisible == 1>>
			<<set $slavesInLine.push(_pil)>> /* index of the previous slave in line */
			<<break>>
		<</if>>
	<</for>>
	<<for _pil = _activeSlaveIndex + 1; _pil != _activeSlaveIndex; _pil++>> /* this loops forwards through the $slaves array */
		<<if _pil == _SL>>
			<<set _pil = -1>>
			<<continue>>
		<</if>>
		<<if $slaves[_pil].assignmentVisible == 1>>
			<<set $slavesInLine.push(_pil)>> /* index of the next slave in line */
			<<break>>
		<</if>>
	<</for>>
<<else>>
	<<for _pil = _activeSlaveIndex - 1; _pil != _activeSlaveIndex; _pil-->> /* loops backwards through the $slaves array */
		<<if _pil < 0>>
			<<set _pil = _SL>>
			<<continue>>
		<</if>>
		<<if ($slaves[_pil].assignment == $activeSlave.assignment)>>
			<<set $slavesInLine.push(_pil)>> /* index of the previous slave in line */
			<<break>>
		<</if>>
	<</for>>
	<<for _pil = _activeSlaveIndex + 1; _pil != _activeSlaveIndex; _pil++>> /* this loops forwards through the $slaves array */
		<<if _pil == _SL>>
			<<set _pil = -1>>
			<<continue>>
		<</if>>
		<<if ($slaves[_pil].assignment == $activeSlave.assignment)>>
			<<set $slavesInLine.push(_pil)>> /* index of the next slave in line */
			<<break>>
		<</if>>
	<</for>>
<</if>>

<<if $slavesInLine.length == 0>> /* if there are no other slaves available, set previous/next slave to self */
	<<set $slavesInLine[0] = _activeSlaveIndex>>
	<<set $slavesInLine[1] = _activeSlaveIndex>>
<</if>>

<</silently>>