code:
:: Slave Interact [nobr]

<<if $cheatMode == 1>>
	//[[Cheat Edit Slave|MOD_Edit Slave Cheat][$cheater = 1]] | [[Cheat Edit Slave Alternative|MOD_Edit Slave Cheat New][$cheater = 1]]//
<</if>>

<<set $nextButton = "Confirm changes", $nextLink = "AS Dump", $returnTo = "Main", _SL = $slaves.length>>

<<if ($activeSlave.assignmentVisible == 0)>>
<<switch $activeSlave.assignment>>
<<case "work in the brothel" "be the Madam">>
	<<set $returnTo = "Brothel">>
<<case "be confined in the arcade">>
	<<set $returnTo = "Arcade">>
<<case "serve in the club" "be the DJ">>
	<<set $returnTo = "Club">>
<<case "work in the dairy" "be the Milkmaid">>
	<<set $returnTo = "Dairy">>
<<case "rest in the spa" "be the Attendant">>
	<<set $returnTo = "Spa">>
<<case "learn in the schoolroom" "be the Schoolteacher">>
	<<set $returnTo = "Schoolroom">>
<<case "work as a servant" "be the Stewardess">>
	<<set $returnTo = "Servants' Quarters">>
<<case "serve in the master suite" "be your Concubine">>
	<<set $returnTo = "Master Suite">>
<<case "be confined in the cellblock" "be the Wardeness">>
	<<set $returnTo = "Cellblock">>
<<case "get treatment in the clinic" "be the Nurse">>
	<<set $returnTo = "Clinic">>
<</switch>>
<</if>>

<<set $encyclopedia = either("Drugs and Their Effects", "From Rebellious to Devoted", "Costs Summary", "Disease in the Free Cities", "Slave Couture", "Nymphomania", "Gender", "Independent Slaves", "Modern Anal")>>
<<if $activeSlave.dick > 0>><<set $showEncyclopedia = 1, $encyclopedia = "Gender">><</if>>

<<include "Place In Line">>

@@.cyan;[←,Q] @@<<link "Prev">><<goto "Previous Slave In Line">><</link>>    ''__@@.pink;$activeSlave.slaveName@@__''    <<link "Next">><<goto "Next Slave In Line">><</link>>@@.cyan; [E,→]@@

<<if $seeDetails == 1>>
	<<set $saleDescription = 0>>
	<<include "Long Slave Description">>

//[[Options][$nextLink = passage()]] | [[Hide descriptions|Slave Interact][$seeDetails = 0]] | [[Customize|Add custom descriptors]] | ''<<link "Update">><<replace "#LSD">><<include "Long Slave Description">><</replace>><</link>>''//
<<else>>
	//[[Show descriptions|Slave Interact][$seeDetails = 1]]//
<</if>>

__Take slave to another room:__
[[Wardrobe|Wardrobe Use][$degradation = 0]]
| [[Auto salon|Salon][$degradation = 0,$primaryHairColor = "",$secondaryHairColor = "",$artificialEyeColor = "",$artificialEyeShape = "",$tattooChoice = "",$piercingLocation = "",$piercingLevel = ""]]
| [[Body mod studio|Body Modification][$degradation = 0]]
| [[Remote surgery|Remote Surgery][$degradation = 0]]
<<if $cyberMod == 1>>| [[Configure cybernetics|cyberConfig][$temp = 0]]<</if>>

//Or use her here://
<<if $activeSlave.fuckdoll == 0>>

	<<if ($activeSlave.vagina > -1)>>
		<<if canDoVaginal($activeSlave)>>
		<<link "Fuck her">><<replace "#miniscene">><<include "FVagina">>
<</replace>><</link>>
			<<if canDoAnal($activeSlave)>>
			| <<link "Use her holes">><<replace "#miniscene">><<include "FButt">>
    <</replace>><</link>>
			<</if>>
		<<else>>
		//Remove her chastity belt if you wish to fuck her//
		<</if>>
	<</if>>

	<<if canDoAnal($activeSlave)>>
	| <<link "Fuck her ass">><<replace "#miniscene">><<include "FAnus">>
    <</replace>><</link>>
	<<else>>
	| //Remove her chastity belt if you wish to fuck her ass//
	<</if>>

	| <<link "Use her mouth">><<replace "#miniscene">><<include "FLips">>
    <</replace>><</link>>
	| <<link "Kiss her">><<replace "#miniscene">><<include "FKiss">>
    <</replace>><</link>>
	| <<link "Play with her tits">><<replace "#miniscene">><<include "FBoobs">>
    <</replace>><</link>>
	| <<link "Caress her">><<replace "#miniscene">><<include "FCaress">>
    <</replace>><</link>>
	| <<link "Give her a hug">><<replace "#miniscene">><<include "FEmbrace">>
    <</replace>><</link>>
	<<if $cheatMode == 1>>
		| <<link "Pat her head">><<replace "#miniscene">><<include "FPat">>
    <</replace>><</link>>
	<</if>>
	| <<link "Grope her boobs">><<replace "#miniscene">><<include "FondleBoobs">>
    <</replace>><</link>>

	<<if canDoAnal($activeSlave)>>
	| <<link "Grope her butt">><<replace "#miniscene">><<include "FondleButt">>
    <</replace>><</link>>
	<</if>>

	<<if ($activeSlave.vagina > -1)>>
		<<if canDoVaginal($activeSlave)>>
		| <<link "Grope her pussy">><<replace "#miniscene">><<include "FondleVagina">>
    <</replace>><</link>>
		<</if>>
	<</if>>

	<<if ($activeSlave.dick > 0)>>
		<<if ($activeSlave.dickAccessory != "chastity") && ($activeSlave.dickAccessory != "combined chastity")>>
		| <<link "Grope her dick">><<replace "#miniscene">><<include "FondleDick">>
    <</replace>><</link>>
			<<if canPenetrate($activeSlave) && $sexualOpeness == 1>>
				| <<link "Ride her dick">><<replace "#miniscene">><<include "FDick">>
    <</replace>><</link>>
			<</if>>
		<<else>>
		| //Remove her dick chastity belt if you wish to play with her cock//
		<</if>>
	<</if>>

	<<if $activeSlave.amp == 0 && $PC.dick == 1>>
		| <<link "Get a footjob">><<replace "#miniscene">><<include "FFeet">>
    <</replace>><</link>>
	<</if>>

	<<if (canGetPregnant($activeSlave)) && ($activeSlave.clothes != "a Fuckdoll suit")>>
		<<if ($PC.dick != 0 && $activeSlave.eggType == "human")>>
		| <<link "Impregnate her yourself">><<replace "#miniscene">><<include "FPCImpreg">>
    <</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
		<</if>>
		<<if canImpreg($activeSlave, $activeSlave)>>
		| <<link "Use her own seed to impregnate her">><<replace "#miniscene">><<include "FSlaveSelfImpreg">>
    <</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
		<</if>>
		| [[Use another slave to impregnate her|FSlaveImpreg]]
	<</if>>
	<<if $activeSlave.assignment != "work in the dairy" && $activeSlave.assignment != "be confined in the arcade" && $activeSlave.assignment != "be confined in the cellblock">>
		<<if $enema == 1>>
			<<if ($activeSlave.inflation < 3 && $activeSlave.pregKnown == 0 && $activeSlave.bellyImplant < 1500) || ($activeSlave.inflation < 1)>>
				<<if $activeSlave.inflationType == "water" || $activeSlave.inflationType == "none">>
					| <<link "Fill her ass with water">><<set $activeSlave.inflationType to "water">><<set $activeSlave.inflationMethod to 2>><<replace "#miniscene">><<include "FillUpButt">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
				<</if>>
				<<if $medicalEnema == 1>>
					<<if $activeSlave.inflationType == "aphrodisiac" || $activeSlave.inflationType == "none">>
						| <<link "Fill her ass with aphrodisiacs">><<set $activeSlave.inflationType = "aphrodisiac">><<set $activeSlave.inflationMethod = 2>><<replace "#miniscene">><<include "FillUpButt">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
					<</if>>
					<<if $activeSlave.inflationType == "curative" || $activeSlave.inflationType == "none">>
						| <<link "Fill her ass with curatives">><<set $activeSlave.inflationType = "curative">><<set $activeSlave.inflationMethod = 2>><<replace "#miniscene">><<include "FillUpButt">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
					<</if>>
					<<if $activeSlave.inflationType == "tightener" || $activeSlave.inflationType == "none">>
						| <<link "Fill her ass with rectal tighteners">><<set $activeSlave.inflationType = "tightener">><<set $activeSlave.inflationMethod = 2>><<replace "#miniscene">><<include "FillUpButt">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
					<</if>>
				<</if>>
			<</if>>
		<</if>>
		<<if $dairyPiping == 1>>
			<<if ($milkPipeline > 88 && $milkPipeline != 0) || $arcologies[0].FSPastoralistLaw == 1>>
				<<if ($activeSlave.inflation < 3 && $activeSlave.pregKnown == 0 && $activeSlave.bellyImplant < 1500) || ($activeSlave.inflation < 1)>>
					<<if $activeSlave.inflationType == "milk" || $activeSlave.inflationType == "none">>
						| <<link "Fill her ass with milk">><<set $activeSlave.inflationType = "milk">><<set $activeSlave.inflationMethod = 2>><<replace "#miniscene">><<include "FillUpButt">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
						| <<link "Force feed her milk">><<set $activeSlave.inflationType = "milk">><<set $activeSlave.inflationMethod = 1>><<replace "#miniscene">><<include "FillUpFace">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
					<</if>>
				<</if>>
			<<else>>
				| //$dairyNameCaps is not producing enough milk to pump through the pipes//
			<</if>>
			<<if ($cumPipeline > 88 && $cumPipeline != 0) || $arcologies[0].FSPastoralistLaw == 1>>
				<<if ($activeSlave.inflation < 3 && $activeSlave.pregKnown == 0 && $activeSlave.bellyImplant < 1500) || ($activeSlave.inflation < 1)>>
					<<if $activeSlave.inflationType == "cum" || $activeSlave.inflationType == "none">>
						| <<link "Fill her ass with cum">><<set $activeSlave.inflationType = "cum">><<set $activeSlave.inflationMethod = 2>><<replace "#miniscene">><<include "FillUpButt">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
						| <<link "Force feed her cum">><<set $activeSlave.inflationType = "cum">><<set $activeSlave.inflationMethod = 1>><<replace "#miniscene">><<include "FillUpFace">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
					<</if>>
				<</if>>
			<<else>>
				| //$dairyNameCaps is not producing enough cum to pump through the pipes//
			<</if>>
		<</if>>
	<</if>>
	<<if $activeSlave.inflation == 0 && $activeSlave.bellyImplant < 1500>>
		<<if $activeSlave.assignment != "work in the dairy" && $activeSlave.assignment != "be confined in the arcade" && $activeSlave.assignment != "be confined in the cellblock">>
			| [[Use another slave to forcefeed her|SlaveOnSlaveFeedingWorkAround]]
			<<if $buckets == 1>>
				| <<link "Make her consume two liters of slave food">><<set $activeSlave.inflationType = "food">><<set $activeSlave.inflationMethod = 1>><<set $activeSlave.inflation = 1>><<replace "#miniscene">><<include "forceFeeding">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
				<<if $activeSlave.pregKnown == 0>>
					| <<link "Force her to consume a gallon of slave food">><<set $activeSlave.inflationType = "food">><<set $activeSlave.inflationMethod = 1>><<set $activeSlave.inflation = 2>><<replace "#miniscene">><<include "forceFeeding">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
					| <<link "Force two gallons of slave food into her">><<set $activeSlave.inflationType = "food">><<set $activeSlave.inflationMethod = 1>><<set $activeSlave.inflation = 3>><<replace "#miniscene">><<include "forceFeeding">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
				<</if>>
			<</if>>
		<</if>>
	<</if>>

	<<if canDoVaginal($activeSlave)>>
		| [[Have another slave fuck her pussy|FSlaveSlaveVag]]
	<</if>>
	<<if canPenetrate($activeSlave)>>
		| [[Have another slave ride her cock|FSlaveSlaveDick]]
	<<elseif $activeSlave.clit >= 4>>
		| [[Have another slave ride her clit-dick|FSlaveSlaveDick]]
	<</if>>
	| <<link "Abuse her">><<replace "#miniscene">><<include "FAbuse">><</replace>><</link>>
	<<if $familyTesting == 1>>
		<<for $i = 0; $i < _SL; $i++>>
			<<if $activeSlave.mother == $slaves[$i].ID>>
				<<if isSlaveAvailable($slaves[$i])>>
					| <<link "Fuck her with her mother">><<replace "#miniscene">><<set $partner = "mother">><<include "FRelation">>
    <</replace>><</link>>
				<<else>>
					//Her mother, $slaves[$i].slaveName, is unavailable//
				<</if>>
			<</if>>
			/*
			<<if $activeSlave.father == $slaves[$i].ID>>
				<<if isSlaveAvailable($slaves[$i])>>
					| <<link "Fuck her with her father">><<replace "#miniscene">><<set $partner = "father">><<include "FRelation">>
    <</replace>><</link>>
				<<else>>
					//Her father, $slaves[$i].slaveName, is unavailable//
				<</if>>
			<</if>>
			*/
		<</for>>
		<<if $activeSlave.daughters > 0>>
			<<set $relation = 0>>
			<<for $i = 0; $i < _SL; $i++>>
				<<if ($activeSlave.ID == $slaves[$i].father || $activeSlave.ID == $slaves[$i].mother) && !isSlaveAvailable($slaves[$i])>>
					<<set $relation++>>
				<</if>>
			<</for>>
			<<if $relation == $activeSlave.daughters>>
				<<if $activeSlave.daughters == 1>>
					//Her daughter is unavailable//
				<<else>>
					//Her daughters are unavailable//
				<</if>>
			<<else>>
				<<if $activeSlave.daughters == 1>>
					| <<link "Fuck her with her daughter">><<replace "#miniscene">><<set $partner = "daughter">><<include "FRelation">>
    <</replace>><</link>>
				<<else>>
					| <<link "Fuck her with one of her daughters">><<replace "#miniscene">><<set $partner = "daughter">><<include "FRelation">>
    <</replace>><</link>>
				<</if>>
			<</if>>
		<</if>>
		/*
		<<if $activeSlave.daughters > 1>>
			| <<link "Fuck her with her daughters">><<replace "#miniscene">><<set $partner to "daughters">><<include "FRelation">>
    <</replace>><</link>>
		<</if>>
		*/
		<<if $activeSlave.sisters > 0>>
			<<set $relation = 0>>
			<<for $i = 0; $i < _SL; $i++>>
				<<if areSisters($activeSlave, $slaves[$i]) > 0 && isSlaveAvailable($slaves[$i]) == false>>
					<<set $relation++>>
				<</if>>
			<</for>>
			<<if $relation == $activeSlave.sisters>>
				<<if $activeSlave.sisters == 1>>
					//Her sister is unavailable//
				<<else>>
					//Her sisters are unavailable//
				<</if>>
			<<else>>
				<<if $activeSlave.sisters == 1>>
					| <<link "Fuck her with her sister">><<replace "#miniscene">><<set $partner = "sister">><<include "FRelation">>
    <</replace>><</link>>
				<<else>>
					| <<link "Fuck her with one of her sisters">><<replace "#miniscene">><<set $partner = "sister">><<include "FRelation">>
    <</replace>><</link>>
				<</if>>
			<</if>>
		<</if>>
		/*
		<<if $activeSlave.sisters > 1>>
			| <<link "Fuck her with her sisters">><<replace "#miniscene">><<set $partner = "sisters">><<include "FRelation">>
    <</replace>><</link>>
		<</if>>
		*/
	<<else>>
		<<if ($activeSlave.relation != 0)>>
			<<for $i = 0; $i < _SL; $i++>>
				<<if $slaves[$i].ID == $activeSlave.relationTarget>>
					<<set $assayedSlave = $slaves[$i]>>
					<<AssayedSlaveAvailable>>
				<</if>>
			<</for>>
			<<if $assayedSlaveAvailable == 1>>
				<<if ($activeSlave.relation is "mother")>>
					| <<link "Fuck her with her daughter">><<replace "#miniscene">><<set $partner = "relation">><<include "FRelation">>
    <</replace>><</link>>
				<<elseif ($activeSlave.relation is "daughter")>>
					| <<link "Fuck her with her mother">><<replace "#miniscene">><<set $partner = "relation">><<include "FRelation">>
    <</replace>><</link>>
				<<elseif ($activeSlave.relation is "sister")>>
					| <<link "Fuck her with her sister">><<replace "#miniscene">><<set $partner = "relation">><<include "FRelation">>
    <</replace>><</link>>
				<<elseif ($activeSlave.relation is "twin")>>
					| <<link "Fuck her with her twin">><<replace "#miniscene">><<set $partner = "relation">><<include "FRelation">>
    <</replace>><</link>>
				<</if>>
			<<else>>
				//$assayedSlave.slaveName is unavailable//
			<</if>>
		<</if>>
	<</if>>
	<<if ($activeSlave.relationship > 0)>>
		<<for _i = 0; _i < _SL; _i++>>
			<<if $slaves[_i].ID == $activeSlave.relationshipTarget>>
				<<set $assayedSlave = $slaves[_i]>>
				<<AssayedSlaveAvailable>>
			<</if>>
		<</for>>
		<<if $assayedSlaveAvailable == 1>>
			<<if ($activeSlave.relationship == 1)>>
			| <<link "Fuck her with her friend">><<replace "#miniscene">><<set $partner = "relationship">><<include "FRelation">>
    <</replace>><</link>>
			<<elseif ($activeSlave.relationship == 2)>>
			| <<link "Fuck her with her best friend">><<replace "#miniscene">><<set $partner = "relationship">><<include "FRelation">>
    <</replace>><</link>>
			<<elseif ($activeSlave.relationship == 3)>>
			| <<link "Fuck her with her FWB">><<replace "#miniscene">><<set $partner = "relationship">><<include "FRelation">>
    <</replace>><</link>>
			<<elseif ($activeSlave.relationship == 4)>>
			| <<link "Fuck her with her lover">><<replace "#miniscene">><<set $partner = "relationship">><<include "FRelation">>
    <</replace>><</link>>
			<<else>>
			| <<link "Fuck her with her slave wife">><<replace "#miniscene">><<set $partner = "relationship">><<include "FRelation">>
    <</replace>><</link>>
			<</if>>
		<<else>>
			| //$assayedSlave.slaveName is unavailable//
			<<if $assayedSlave.assignment == "be your agent">>
				[[Send her to live with your agent|Agent Company][$subSlave = $assayedSlave]]
			<</if>>
		<</if>>
	<</if>>
	<<if ($activeSlave.rivalryTarget != 0) && canWalk($activeSlave)>>
		| <<link "Abuse her rival with her">><<replace "#miniscene">><<include "FRival">>
    <</replace>><</link>>
	<</if>>
	<<if ($activeSlave.fetish != "mindbroken") && (($activeSlave.amp != 1) || ($activeSlave.voice != 0)) && $activeSlave.accent != 4>>
		| <<link "Ask her about her feelings">><<replace "#miniscene">><<include "FFeelings">>
    <</replace>><</link>>
	<</if>>
	<<if $activeSlave.devotion >= 100 && $activeSlave.relationship < 0 && $activeSlave.relationship > -3>>
		| [[Talk to her about relationships|Matchmaking][$subSlave = 0, $eventSlave = $activeSlave]]
	<</if>>
	<<if $MixedMarriage == 1 && $activeSlave.relationship != 5 && $activeSlave.relationship != -3>>
		<<if ($weddingPlanned != 0)>>
			| You already have a wedding planned this week.
		<<else>>
			| [[Marry her|FMarry]]
		<</if>>
	<</if>>
<<else>> /* IS A FUCKDOLL */
	<<link "Fuck its face hole">><<replace "#miniscene">><<FFuckdollOral>>
<</replace>><</link>>
	<<if canDoVaginal($activeSlave)>>
		| <<link "Fuck its front hole">><<replace "#miniscene">><<FFuckdollVaginal>>
<</replace>><</link>>
	<</if>>
	<<if canDoAnal($activeSlave)>>
		| <<link "Fuck its rear hole">><<replace "#miniscene">><<FFuckdollAnal>>
<</replace>><</link>>
	<</if>>
<</if>>
<<if _activeSlaveRepSacrifice > 0 && $arcologies[0].FSPaternalist == "unset" && $activeSlave.breedingMark == 0>>
	<<set _activeSlaveRepSacrifice = repGainSacrifice()>>
	| [[Sacrifice her on the altar|Aztec Slave Sacrifice][$sacrificeType = "life"]] //This will kill her and gain you _activeSlaveRepSacrifice reputation//
<</if>>

/* pregmod start */
<<if $familyTesting == 1>>

			<<link "Pull up the file on her family tree.">>
				<<replace #familyTreeLink>>
					<<run renderFamilyTree($slaves, $activeSlave.ID)>>
				<</replace>>
			<</link>>

	/* Old version

	<<link "Pull up the file on her family tree.">>
		<<replace #family>>

				<<run updateFamilyTree($activeSlave, $slaves, $PC)>>

		<</replace>>
		<</link>>

	*/
<</if>>

<<if $universalRulesImpregnation == "HG">>

	<<if $activeSlave.HGExclude == 0>>
		Will be bred by the head girl when fertile. [[Exempt her|Slave Interact][$activeSlave.HGExclude = 1]]
	<<else>>
		Will not be bred by the head girl when fertile. [[Include her|Slave Interact][$activeSlave.HGExclude = 0]]
	<</if>>
<</if>>
/* pregmod end */

<<if $activeSlave.useRulesAssistant == 0>>
	@@.gray;''Not subject'' to the Rules Assistant.@@
	[[Include her|Slave Interact][$activeSlave.useRulesAssistant = 1]]

<<else>>
	__Rules Assistant:__ [[Rules Assistant Options|Rules Assistant]]

	<<if (def $activeSlave.currentRules) && ($activeSlave.currentRules.length > 0)>>

		<<for _r = 0; _r < $defaultRules.length; _r++>>
			<<if ruleApplied($activeSlave, $defaultRules[_r].ID)>>

Rule <<print (_r+1)>>: $defaultRules[_r].name applied.

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

	<</if>>
	<<link "//Apply rules//">>
		<<silently>>
		<<CheckAutoRulesActivate $activeSlave>>
		<<DefaultRules $activeSlave>>
		<</silently>>
		<<goto "Slave Interact">>
	<</link>>
	| [[Exempt her|Slave Interact][$activeSlave.useRulesAssistant = 0]]
<</if>>

<<if $cyberMod == 0>>/* CyberMod Toggle */
/* START hotswap prosthetics */
<<if ndef $activeSlave.readyLimbs>>
	<<set $activeSlave.readyLimbs = []>>
<</if>>
<<if $activeSlave.amp < 0 && $activeSlave.readyLimbs.includes($activeSlave.amp) <0>> /* imports current P-limbs to array for vanilla slaves */
	<<set $activeSlave.readyLimbs.push($activeSlave.amp)>>
<</if>>
<<if $activeSlave.readyLimbs.length > -1 && $activeSlave.amp != 0>>
<<include "Hotswap Prosthetics">>
<</if>>
/* END hotswap prosthetics */
<</if>>/* CyberMod Toggle */

	<<if ($activeSlave.assignment == "please you") || ($activeSlave.assignment == "serve in the master suite") || ($activeSlave.assignment == "be your Concubine")>>
		Fucktoy use preference: $activeSlave.toyHole.
		  <<link "Mouth">><<set $activeSlave.toyHole = "mouth">><<replace "#hole">>$activeSlave.toyHole<</replace>><</link>>
		| <<link "Tits">><<set $activeSlave.toyHole = "boobs">><<replace "#hole">>$activeSlave.toyHole<</replace>><</link>>
		<<if ($activeSlave.vagina > 0) && canDoVaginal($activeSlave)>>
		| <<link "Pussy">><<set $activeSlave.toyHole = "pussy">><<replace "#hole">>$activeSlave.toyHole<</replace>><</link>>
		<<elseif ($activeSlave.vagina == 0)>>
		| //Take her virginity before giving her pussy special attention//
		<</if>>
		<<if ($activeSlave.anus > 0) && canDoAnal($activeSlave)>>
		| <<link "Ass">><<set $activeSlave.toyHole = "ass">><<replace "#hole">>$activeSlave.toyHole<</replace>><</link>>
		<<else>>
		| //Take her anal virginity before giving her ass special attention//
		<</if>>
		/*check*/
		<<if ($activeSlave.dick > 0) && canPenetrate($activeSlave)>>
		| <<link "Dick">><<set $activeSlave.toyHole = "dick">><<replace "#hole">>$activeSlave.toyHole<</replace>><</link>>
		<</if>>
		| <<link "No Preference">><<set $activeSlave.toyHole = "all her holes">><<replace "#hole">>$activeSlave.toyHole<</replace>><</link>>

	<</if>>

<<switch $activeSlave.assignment>>
	<<case "recover from surgery">>
		//She is recovering from surgery this week//
	<<case "guard you">>
		//She is your bodyguard and is not available for other work//
	<<case "be the Madam">>
		//She is the Madam and is not available for other work//
	<<case "be the DJ">>
		//She is the DJ and is not available for other work//
	<<case "be the Milkmaid">>
		//She is the Milkmaid and is not available for other work//
	<<case "be the Stewardess">>
		//She is the Stewardess and is not available for other work//
	<<case "be your Head Girl">>
		//She is your Head Girl and is not available for other work//
	<<case "recruit girls">>
		//She is recruiting girls and is not available for other work//
	<<case "be the Nurse">>
		//She is the Nurse and is not available for other work//
	<<case "be the Attendant">>
		//She is the Attendant of the spa and is not available for other work//
	<<case "be the Schoolteacher">>
		//She is the school teacher and is not available for other work//
	<<case "be your Concubine">>
		//She is your concubine and is not available for other work//
	<<case "be the Wardeness">>
		//She is the Wardeness and is not available for other work//
	<<default>>

	/* CAN BE REASSIGNED */

	Assignment: $activeSlave.assignment<<if $activeSlave.sentence>> ($activeSlave.sentence weeks)<</if>>.
	  <<link "Rest">>                   <<removeJob $activeSlave $activeSlave.assignment>><<replace "#assign">>$activeSlave.assignment<</replace>><<SlaveInteractFucktoy>><</link>>
	| <<link "Fucktoy">>                <<assignJob $activeSlave "please you">><<replace "#assign">>$activeSlave.assignment<</replace>><<SlaveInteractFucktoy>><</link>>

	<<if ($activeSlave.indentureRestrictions <= 0) && $activeSlave.breedingMark != 1>>
	| <<link "Gloryhole">>              <<assignJob $activeSlave "work a glory hole">><<replace "#assign">>$activeSlave.assignment<</replace>><<SlaveInteractFucktoy>><</link>>
	<</if>>

	<<if $activeSlave.fuckdoll == 0>> /* NON-FUCKDOLL ASSIGNMENTS */

	<<if ($activeSlave.devotion >= -20) || (($activeSlave.devotion >= -50) && ($activeSlave.trust < -20)) || ($activeSlave.trust < -50)>>
	<<if $activeSlave.intelligenceImplant < 1 && $activeSlave.fetish != "mindbroken">>
	| <<link "Classes">>                <<assignJob $activeSlave "take classes">><<replace "#assign">>$activeSlave.assignment<</replace>><<SlaveInteractFucktoy>><</link>>
	<<else>>
	| Classes
	<</if>>
	<<else>>
	/*| //Too resistant to take classes// */
	<</if>>

	<<if (($activeSlave.devotion >= -20) || (($activeSlave.trust < -20) && ($activeSlave.devotion >= -50)) || ($activeSlave.trust < -50))>>
	| <<link "Subordinate Slave">>      <<assignJob $activeSlave "be a subordinate slave">><<goto "Subordinate Targeting">><</link>>
	<<if canSee($activeSlave) && canWalk($activeSlave)>>
	| <<link "House Servant">>          <<assignJob $activeSlave "be a servant">><<replace "#assign">>$activeSlave.assignment<</replace>><<SlaveInteractFucktoy>><</link>>
	<<else>>
	/*| //Blind or immobile slaves cannot be servants// */
	<</if>>
	<<else>>
	/*| //Too resistant to be a servant// */
	<</if>>

	<<if $activeSlave.breedingMark != 1>>
	| <<link "Whore">>                  <<assignJob $activeSlave "whore">><<replace "#assign">>$activeSlave.assignment<</replace>><<SlaveInteractFucktoy>><</link>>
	| <<link "Public Servant">>         <<assignJob $activeSlave "serve the public">><<replace "#assign">>$activeSlave.assignment<</replace>><<SlaveInteractFucktoy>><</link>>
	<</if>>

	<<if ($activeSlave.lactation > 0) || ($activeSlave.balls > 0 && $activeSlave.ballType == "human")>>
	| <<link "Milked">>                 <<assignJob $activeSlave "get milked">><<replace "#assign">>$activeSlave.assignment<</replace>><<SlaveInteractFucktoy>><</link>>
	<<else>>
	/*| //Not lactating// */
	<</if>>

	| <<link "Confinement">>            <<assignJob $activeSlave "stay confined">><<replace "#assign">>$activeSlave.assignment<</replace>><<SlaveInteractFucktoy>><</link>>
	| <<link "Let her choose">>         <<assignJob $activeSlave "choose her own job">><<replace "#assign">>$activeSlave.assignment<</replace>><<SlaveInteractFucktoy>><</link>>
	| <<link "Stay on this assignment for another month">><<if $activeSlave.assignment != "choose her own job">><<set $activeSlave.sentence += 4>><<replace "#assign">>$activeSlave.assignment ($activeSlave.sentence weeks)<</replace>><</if>><</link>>

	<</if>>/* CLOSES FUCKDOLL CHECK */

	<<set _numFacilities = $brothel+$club+$dairy+$servantsQuarters+$masterSuite+$spa+$clinic+$schoolroom+$cellblock+$arcade+$HGSuite>>

	<<if _numFacilities > 0>>

Transfer to:

	<<if $arcade != 0>>
		<<if $arcade > $arcadeSlaves && ($activeSlave.indentureRestrictions <= 0) && $activeSlave.breedingMark != 1>>
			[[Arcade|Assign][$assignTo = "Arcade", $i = -1]] /* $i = -1 tells Assign to use $activeSlave as-is */
		<<else>>Arcade<</if>>
		<<if _numFacilities-- > 1>>|<</if>>
	<</if>>

	<<if $activeSlave.fuckdoll == 0>> /* NON-FUCKDOLL FACILITIES */

	<<if $clinic != 0>>
		<<if $clinic > $clinicSlaves && ($activeSlave.health < 20 || ($Nurse != 0 && ($activeSlave.chem > 15 && $clinicUpgradeFilters == 1) || ($bellyImplants == 1 && $activeSlave.bellyImplant > -1) || ($activeSlave.pregKnown == 1 && ($clinicSpeedGestation >= 0 || $activeSlave.pregControl == "speed up"))))>>
			[[Clinic|Assign][$assignTo = "Clinic", $i = -1]] /* $i = -1 tells Assign to use $activeSlave as-is */
		<<else>>Clinic<</if>>
		<<if _numFacilities-- > 1>>|<</if>>
	<</if>>

	<<if $masterSuite != 0>>
		<<if $masterSuite > $masterSuiteSlaves && (($activeSlave.devotion > 20) || (($activeSlave.devotion >= -50) && ($activeSlave.trust < -20)) || ($activeSlave.trust < -50))>>
			[[Master Suite|Assign][$assignTo = "Master Suite", $i = -1]] /* $i = -1 tells Assign to use $activeSlave as-is */
		<<else>>Master Suite<</if>>
		<<if _numFacilities-- > 1>>|<</if>>
	<</if>>

	<<if $cellblock != 0>>
		<<if $cellblock > $cellblockSlaves && (($activeSlave.devotion < -20 && $activeSlave.trust >= -20) || ($activeSlave.devotion < -50 && $activeSlave.trust >= -50))>>
			[[Cellblock|Assign][$assignTo = "Cellblock", $i = -1]] /* $i = -1 tells Assign to use $activeSlave as-is */
		<<else>>Cellblock<</if>>
		<<if _numFacilities-- > 1>>|<</if>>
	<</if>>

	<<if $schoolroom != 0>>
		<<if $schoolroom > $schoolroomSlaves && ($activeSlave.fetish != "mindbroken" && ($activeSlave.devotion >= -20 || ($activeSlave.devotion >= -50 && $activeSlave.trust < -20) || $activeSlave.trust < -50) && (($activeSlave.intelligenceImplant < 1) || ($activeSlave.voice != 0 && $activeSlave.accent+$schoolroomUpgradeLanguage > 2) || ($activeSlave.oralSkill <= 10+$schoolroomUpgradeSkills*20) || ($activeSlave.whoreSkill <= 10+$schoolroomUpgradeSkills*20) || ($activeSlave.entertainSkill <= 10+$schoolroomUpgradeSkills*20) || ($activeSlave.analSkill < 10+$schoolroomUpgradeSkills*20) || ($activeSlave.vagina >= 0 && $activeSlave.vaginalSkill < 10+$schoolroomUpgradeSkills*20)))>>
			[[Schoolroom|Assign][$assignTo = "Schoolroom", $i = -1]] /* $i = -1 tells Assign to use $activeSlave as-is */
		<<else>>Schoolroom<</if>>
		<<if _numFacilities-- > 1>>|<</if>>
	<</if>>

	<<if $servantsQuarters != 0>>
		<<if $servantsQuarters > $servantsQuartersSlaves && (canWalk($activeSlave) && canSee($activeSlave) && ($activeSlave.devotion >= -20 || ($activeSlave.devotion >= -50 && $activeSlave.trust <= 20) || $activeSlave.trust < -20))>>
			[[Servants' Quarters|Assign][$assignTo = "Servants' Quarters", $i = -1]] /* $i = -1 tells Assign to use $activeSlave as-is */
		<<else>>Servants' Quarters<</if>>
		<<if _numFacilities-- > 1>>|<</if>>
	<</if>>

	<<if $brothel != 0>>
		<<if $brothel > $brothelSlaves && ((($activeSlave.devotion > 50) || (($activeSlave.devotion >= -50) && ($activeSlave.trust < -20)) || ($activeSlave.trust < -50) || ($activeSlave.trust > 50)) && $activeSlave.breedingMark != 1)>>
			[[Brothel|Assign][$assignTo = "Brothel", $i = -1]] /* $i = -1 tells Assign to use $activeSlave as-is */
		<<else>>Brothel<</if>>
		<<if _numFacilities-- > 1>>|<</if>>
	<</if>>

	<<if $club != 0>>
		<<if $club > $clubSlaves && ((($activeSlave.devotion > 50) || (($activeSlave.devotion >= -50) && ($activeSlave.trust < -20)) || ($activeSlave.trust < -50) || ($activeSlave.trust > 50)) && $activeSlave.breedingMark != 1)>>
			[[Club|Assign][$assignTo = "Club", $i = -1]] /* $i = -1 tells Assign to use $activeSlave as-is */
		<<else>>Club<</if>>
		<<if _numFacilities-- > 1>>|<</if>>
	<</if>>

	<<if $dairy != 0>>
		<<if $dairy > $dairySlaves && ((($activeSlave.indentureRestrictions > 0) && ($dairyRestraintsSetting > 1)) || (($activeSlave.indentureRestrictions > 1) && ($dairyRestraintsSetting > 0)) || ($activeSlave.breedingMark == 1 && $dairyRestriantsSettings > 0) || (($dairyPregSetting > 0) && (($activeSlave.bellyImplant != -1) || ($activeSlave.pregType >= 50))))>>
			Dairy
		<<elseif (($activeSlave.lactation > 0) || ($activeSlave.balls > 0)) || (($dairyFeedersUpgrade == 1) && ($dairyFeedersSetting > 0) && ($dairySlimMaintainUpgrade == 0))>>
			 [[Dairy|Assign][$assignTo = "Dairy", $i = -1]] /* $i = -1 tells Assign to use $activeSlave as-is */
		<<else>>Dairy<</if>>
		<<if _numFacilities-- > 1>>|<</if>>
	<</if>>

	<<if $spa != 0>>
		<<if $spa > $spaSlaves && (($activeSlave.devotion >= -20 || $activeSlave.fetish == "mindbroken") && ($activeSlave.health < 20 || $activeSlave.trust < 60 || $activeSlave.devotion <= 60 || $activeSlave.fetish == "mindbroken" || $activeSlave.sexualFlaw !== "none" || $activeSlave.behavioralFlaw !== "none"))>>
			[[Spa|Assign][$assignTo = "Spa", $i = -1]] /* $i = -1 tells Assign to use $activeSlave as-is */
		<<else>>Spa<</if>>
	<</if>>

	<</if>> /* CLOSES FUCKDOLL CHECK */

	<</if>> /* closes _numFacilities */

<</switch>> /* END CAN BE REASSIGNED */

__Appearance:__

<<if $activeSlave.fuckdoll == 0>>

Clothes: ''$activeSlave.clothes.''
	| <<link "Let her choose">><<set $activeSlave.clothes = "choosing her own clothes",$activeSlave.choosesOwnClothes = 1>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>

    //Nice://
	 <<link "Bangles">><<set $activeSlave.clothes = "slutty jewelry",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Bodysuit">><<set $activeSlave.clothes = "a comfortable bodysuit",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Cheerleader outfit">><<set $activeSlave.clothes = "a cheerleader outfit",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>>
	| <<link "Clubslut netting">><<set $activeSlave.clothes = "clubslut netting",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Cutoffs and a t-shirt">><<set $activeSlave.clothes = "cutoffs and a t-shirt",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Fallen nun">><<set $activeSlave.clothes = "a fallen nuns habit",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Haltertop dress">><<set $activeSlave.clothes = "a halter top dress",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Hijab and abaya">><<set $activeSlave.clothes = "a hijab and abaya",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Latex catsuit">><<set $activeSlave.clothes = "a latex catsuit",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Leotard">><<set $activeSlave.clothes = "a leotard",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Maid (nice)">><<set $activeSlave.clothes = "a nice maid outfit",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Maid (slutty)">><<set $activeSlave.clothes = "a slutty maid outfit",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Military uniform">><<set $activeSlave.clothes = "a military uniform",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Mini dress">><<set $activeSlave.clothes = "a mini dress",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Nice lingerie">><<set $activeSlave.clothes = "attractive lingerie",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Nurse (nice)">><<set $activeSlave.clothes = "a nice nurse outfit",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Nurse (slutty)">><<set $activeSlave.clothes = "a slutty nurse outfit",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Scalemail bikini">><<set $activeSlave.clothes = "a scalemail bikini",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Schoolgirl">><<set $activeSlave.clothes = "a schoolgirl outfit",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Silken ballgown">><<set $activeSlave.clothes = "a ball gown",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Skimpy battledress">><<set $activeSlave.clothes = "battledress",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Slave gown">><<set $activeSlave.clothes = "a slave gown",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Slutty outfit">><<set $activeSlave.clothes = "a slutty outfit",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Spats and a tank top">><<set $activeSlave.clothes = "spats and a tank top",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "String bikini">><<set $activeSlave.clothes = "a string bikini",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Succubus costume">><<set $activeSlave.clothes = "a succubus outfit",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Suit (nice)">><<set $activeSlave.clothes = "nice business attire",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Suit (slutty)">><<set $activeSlave.clothes = "slutty business attire",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>

	<<if isItemAccessible("attractive lingerie for a pregnant woman")>>
		| //FS// <<link "Attractive lingerie for a pregnant woman">><<set $activeSlave.clothes = "attractive lingerie for a pregnant woman",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	<</if>>
	<<if isItemAccessible("a bunny outfit")>>
		| //FS// <<link "Bunny outfit">><<set $activeSlave.clothes = "a bunny outfit",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	<</if>>
	<<if isItemAccessible("body oil")>>
		| //FS// <<link "Body oil">><<set $activeSlave.clothes = "body oil",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	<</if>>
	<<if isItemAccessible("chains")>>
		| //FS// <<link "Chains">><<set $activeSlave.clothes = "chains",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	<</if>>
	<<if isItemAccessible("a chattel habit")>>
		| //FS// <<link "Chattel habit">><<set $activeSlave.clothes = "a chattel habit",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	<</if>>
	<<if isItemAccessible("conservative clothing")>>
		| //FS// <<link "Conservative clothing">><<set $activeSlave.clothes = "conservative clothing",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	<</if>>
	<<if isItemAccessible("harem gauze")>>
		| //FS// <<link "Harem gauze">><<set $activeSlave.clothes = "harem gauze",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	<</if>>
	<<if isItemAccessible("a huipil")>>
		| //FS// <<link "Huipil">><<set $activeSlave.clothes = "a huipil",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	<</if>>
	<<if isItemAccessible("a kimono")>>
		| //FS// <<link "Kimono">><<set $activeSlave.clothes = "a kimono",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	<</if>>
	<<if isItemAccessible("a maternity dress")>>
		| //FS// <<link "Maternity dress">><<set $activeSlave.clothes = "a maternity dress",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	<</if>>
	<<if isItemAccessible("a slutty qipao")>>
		| //FS// <<link "Slutty qipao">><<set $activeSlave.clothes = "a slutty qipao",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	<</if>>
	<<if isItemAccessible("stretch pants and a crop-top")>>
		| //FS// <<link "Stretch pants and a crop-top">><<set $activeSlave.clothes = "stretch pants and a crop-top",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	<</if>>
	<<if isItemAccessible("a toga")>>
		| //FS// <<link "Toga">><<set $activeSlave.clothes = "a toga",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	<</if>>
	<<if isItemAccessible("Western clothing")>>
		| //FS// <<link "Western clothing">><<set $activeSlave.clothes = "Western clothing",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	<</if>>

    //Harsh://
	 <<link "Go naked">><<set $activeSlave.clothes = "no clothing", $activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Penitent nun">><<set $activeSlave.clothes = "a penitent nuns habit",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Restrictive latex">><<set $activeSlave.clothes = "restrictive latex",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Shibari ropes">><<set $activeSlave.clothes = "shibari ropes",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>
	| <<link "Uncomfortable straps">><<set $activeSlave.clothes = "uncomfortable straps",$activeSlave.choosesOwnClothes = 0>><<replace "#clothes">>$activeSlave.clothes<</replace>><</link>>

Collar: ''$activeSlave.collar.''
	<<link "None">><<set $activeSlave.collar = "none">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>

    //Nice://
	<<link "Stylish leather">><<set $activeSlave.collar = "stylish leather">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	| <<link "Satin choker">><<set $activeSlave.collar = "satin choker">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	| <<link "Silken ribbon">><<set $activeSlave.collar = "silk ribbon">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	| <<link "Heavy gold">><<set $activeSlave.collar = "heavy gold">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	| <<link "Pretty jewelry">><<set $activeSlave.collar = "pretty jewelry">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	 <<if ($seeAge != 0)>>
		| <<link "Nice retirement counter">><<set $activeSlave.collar = "nice retirement counter">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	<</if>>
	| <<link "Cowbell">><<set $activeSlave.collar = "leather with cowbell">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	<<if isItemAccessible("bowtie")>>
		| //FS// <<link "Bowtie collar">><<set $activeSlave.collar = "bowtie">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	<</if>>
	<<if isItemAccessible("ancient Egyptian")>>
		| //FS// <<link "Ancient Egyptian">><<set $activeSlave.collar = "ancient Egyptian">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	<</if>>

    //Harsh://
	<<link "Tight steel">><<set $activeSlave.collar = "tight steel">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	<<if ($seeAge != 0)>>
		| <<link "Cruel retirement counter">><<set $activeSlave.collar = "cruel retirement counter">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	<</if>>
	| <<link "Uncomfortable leather">><<set $activeSlave.collar = "uncomfortable leather">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	<<if $activeSlave.preg > -1>>
	| <<link "Pregnancy biometrics">><<set $activeSlave.collar = "preg biometrics">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	<</if>>
	| <<link "Shock punishment">><<set $activeSlave.collar = "shock punishment">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	| <<link "Dildo gag">><<set $activeSlave.collar = "dildo gag">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	<<if isItemAccessible("massive dildo gag") && $activeSlave.oralSkill > 50>>
	| <<link "Massive dildo gag">><<set $activeSlave.collar = "massive dildo gag">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	<</if>>
	| <<link "Ball gag">><<set $activeSlave.collar = "ball gag">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	| <<link "Bit gag">><<set $activeSlave.collar = "bit gag">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>
	| <<link "Neck corset">><<set $activeSlave.collar = "neck corset">><<replace "#collar">>$activeSlave.collar<</replace>><</link>>

	<<if $activeSlave.amp != 1>>

Shoes: ''$activeSlave.shoes.''
	<<link "Go barefoot">><<set $activeSlave.shoes = "none">><<replace "#shoes">>$activeSlave.shoes<</replace>><</link>>
	| <<link "Flats">><<set $activeSlave.shoes = "flats">><<replace "#shoes">>$activeSlave.shoes<</replace>><</link>>
	| <<link "Heels">><<set $activeSlave.shoes = "heels">><<replace "#shoes">>$activeSlave.shoes<</replace>><</link>>
	| <<link "Thigh boots">><<set $activeSlave.shoes = "boots">><<replace "#shoes">>$activeSlave.shoes<</replace>><</link>>
	| <<link "Painfully extreme heels">><<set $activeSlave.shoes = "extreme heels">><<replace "#shoes">>$activeSlave.shoes<</replace>><</link>>
	<</if>>

Torso accessory: ''$activeSlave.bellyAccessory.''
	<<link "None">><<set $activeSlave.bellyAccessory = "none">><<replace "#bellyAccessory">>$activeSlave.bellyAccessory<</replace>><</link>>
	| <<link "Tight corset">><<set $activeSlave.bellyAccessory = "a corset">><<replace "#bellyAccessory">>$activeSlave.bellyAccessory<</replace>><</link>>
	<<if $activeSlave.breedingMark != 1>>
	| <<link "Extreme corset">><<set $activeSlave.bellyAccessory = "an extreme corset">><<replace "#bellyAccessory">>$activeSlave.bellyAccessory<</replace>><</link>>
	<</if>>
	<<if isItemAccessible("a small empathy belly")>> /* works for all of them */
	<<if $activeSlave.belly < 1500 && $activeSlave.weight < 130>>
	| <<link "1st Trimester belly">><<set $activeSlave.bellyAccessory = "a small empathy belly">><<replace "#bellyAccessory">>$activeSlave.bellyAccessory<</replace>><</link>>
	| <<link "2nd Trimester belly">><<set $activeSlave.bellyAccessory = "a medium empathy belly">><<replace "#bellyAccessory">>$activeSlave.bellyAccessory<</replace>><</link>>
	| <<link "3rd Trimester belly">><<set $activeSlave.bellyAccessory = "a large empathy belly">><<replace "#bellyAccessory">>$activeSlave.bellyAccessory<</replace>><</link>>
	| <<link "3rd Trimester twins belly">><<set $activeSlave.bellyAccessory = "a huge empathy belly">><<replace "#bellyAccessory">>$activeSlave.bellyAccessory<</replace>><</link>>
	<<else>>
		| Her stomach is too big to fit an empathy belly around.
	<</if>>
	<</if>>

Anal accessory: ''$activeSlave.buttplug.''
	<<link "None">><<set $activeSlave.buttplug = "none", $activeSlave.buttplugAttachment = "none">><<replace "#buttplug">>$activeSlave.buttplug<</replace>><</link>>
	| <<link "Normal">><<set $activeSlave.buttplug = "plug">><<replace "#buttplug">>$activeSlave.buttplug<</replace>><</link>>
	<<if isItemAccessible("long plug") && $activeSlave.breedingMark != 1>>
	| <<link "Long">><<set $activeSlave.buttplug = "long plug">><<replace "#buttplug">>$activeSlave.buttplug<</replace>><</link>>
	<</if>>
	| <<link "Large">><<set $activeSlave.buttplug = "large plug">><<replace "#buttplug">>$activeSlave.buttplug<</replace>><</link>>
	<<if isItemAccessible("long, large plug") && $activeSlave.breedingMark != 1>>
	| <<link "Long and large">><<set $activeSlave.buttplug = "long, large plug">><<replace "#buttplug">>$activeSlave.buttplug<</replace>><</link>>
	<</if>>
	<<if $activeSlave.anus >= 2>>| <<link "Huge">><<set $activeSlave.buttplug = "huge plug">><<replace "#buttplug">>$activeSlave.buttplug<</replace>><</link>><</if>>
	<<if isItemAccessible("long, huge plug")>>
	<<if $activeSlave.breedingMark != 1 && $activeSlave.anus >= 2>>
	| <<link "Long and huge">><<set $activeSlave.buttplug = "long, huge plug">><<replace "#buttplug">>$activeSlave.buttplug<</replace>><</link>>
	<</if>>
	<</if>>
	<<if isItemAccessible("tail") && $activeSlave.buttplug != "none">>
		    Anal accessory attachment: ''$activeSlave.buttplugAttachment.''
		<<link "None">><<set $activeSlave.buttplugAttachment = "none">><<replace "#buttplugAttach">>$activeSlave.buttplugAttachment<</replace>><</link>>
		<<if $toysBoughtButtPlugTails == 1>> | <<link "Tail">><<set $activeSlave.buttplugAttachment = "tail">><<replace "#buttplugAttach">>$activeSlave.buttplugAttachment<</replace>><</link>><</if>>
	<</if>>
	<<if $activeSlave.vagina > -1>>

Vaginal accessory: ''$activeSlave.vaginalAccessory.''
	<<link "None">><<set $activeSlave.vaginalAccessory = "none">><<replace "#vaginalAccessory">>$activeSlave.vaginalAccessory<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><<SlaveInteractSexOption>><<SlaveInteractAnalSexOption>><<SlaveInteractGropeOption>><<SlaveInteractDickGropeOption>><<SlaveInteractAnalGropeOption>><</link>>
	| <<link "Dildo">><<set $activeSlave.vaginalAccessory = "dildo">><<replace "#vaginalAccessory">>$activeSlave.vaginalAccessory<</replace>><</link>>
	<<if isItemAccessible("long dildo") && $activeSlave.breedingMark != 1>>
	| <<link "Long dildo">><<set $activeSlave.vaginalAccessory = "long dildo">><<replace "#vaginalAccessory">>$activeSlave.vaginalAccessory<</replace>><</link>>
	<</if>>
	| <<link "Large dildo">><<set $activeSlave.vaginalAccessory = "large dildo">><<replace "#vaginalAccessory">>$activeSlave.vaginalAccessory<</replace>><</link>>
	<<if isItemAccessible("long, large dildo") && $activeSlave.breedingMark != 1>>
	| <<link "Large and long dildo">><<set $activeSlave.vaginalAccessory = "long, large dildo">><<replace "#vaginalAccessory">>$activeSlave.vaginalAccessory<</replace>><</link>>
	<</if>>
	<<if $activeSlave.vagina >= 2>>| <<link "Huge dildo">><<set $activeSlave.vaginalAccessory = "huge dildo">><<replace "#vaginalAccessory">>$activeSlave.vaginalAccessory<</replace>><</link>><</if>>
	<<if isItemAccessible("long, huge dildo") && $activeSlave.breedingMark != 1>>
	<<if $activeSlave.vagina >= 2>>| <<link "Huge and long dildo">><<set $activeSlave.vaginalAccessory = "long, huge dildo">><<replace "#vaginalAccessory">>$activeSlave.vaginalAccessory<</replace>><</link>><</if>>
	<</if>>
	| <<link "Chastity belt">><<set $activeSlave.vaginalAccessory = "chastity belt",$activeSlave.choosesOwnChastity = 0>><<replace "#vaginalAccessory">>$activeSlave.vaginalAccessory<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><<SlaveInteractSexOption>><<SlaveInteractAnalSexOption>><<SlaveInteractGropeOption>><<SlaveInteractDickGropeOption>><<SlaveInteractAnalGropeOption>><</link>>
	| <<link "Anal chastity belt">><<set $activeSlave.vaginalAccessory = "anal chastity",$activeSlave.choosesOwnChastity = 0>><<replace "#vaginalAccessory">>$activeSlave.vaginalAccessory<</replace>><<SlaveInteractSexOption>><<SlaveInteractAnalSexOption>><<SlaveInteractGropeOption>><<SlaveInteractDickGropeOption>><<SlaveInteractAnalGropeOption>><</link>>
	| <<link "Combined chastity belt">><<set $activeSlave.vaginalAccessory = "combined chastity",$activeSlave.choosesOwnChastity = 0>><<replace "#vaginalAccessory">>$activeSlave.vaginalAccessory<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><<SlaveInteractSexOption>><<SlaveInteractAnalSexOption>><<SlaveInteractGropeOption>><<SlaveInteractDickGropeOption>><<SlaveInteractAnalGropeOption>><</link>>
	<</if>>
	<<if $activeSlave.dick > 0>>

Dick accessory: ''$activeSlave.dickAccessory.''
	<<link "None">><<set $activeSlave.dickAccessory = "none">><<replace "#dickAccessory">>$activeSlave.dickAccessory<</replace>><<SlaveInteractSexOption>><<SlaveInteractAnalSexOption>><<SlaveInteractGropeOption>><<SlaveInteractDickGropeOption>><<SlaveInteractAnalGropeOption>><</link>>
	| <<link "Chastity cage">><<set $activeSlave.dickAccessory = "chastity",$activeSlave.choosesOwnChastity = 0>><<replace "#dickAccessory">>$activeSlave.dickAccessory<</replace>><<SlaveInteractSexOption>><<SlaveInteractAnalSexOption>><<SlaveInteractGropeOption>><<SlaveInteractDickGropeOption>><<SlaveInteractAnalGropeOption>><</link>>
	| <<link "Anal chastity belt">><<set $activeSlave.dickAccessory = "anal chastity",$activeSlave.choosesOwnChastity = 0>><<replace "#dickAccessory">>$activeSlave.dickAccessory<<SlaveInteractSexOption>><<SlaveInteractAnalSexOption>><<SlaveInteractGropeOption>><<SlaveInteractDickGropeOption>><<SlaveInteractAnalGropeOption>><</replace>><</link>>
	| <<link "Combined chastity belt">><<set $activeSlave.dickAccessory = "combined chastity",$activeSlave.choosesOwnChastity = 0>><<replace "#dickAccessory">>$activeSlave.dickAccessory<</replace>><<SlaveInteractSexOption>><<SlaveInteractAnalSexOption>><<SlaveInteractGropeOption>><<SlaveInteractDickGropeOption>><<SlaveInteractAnalGropeOption>><</link>>
	<</if>>

	<<if $arcologies[0].FSRestart != "unset" && $activeSlave.devotion > 20 && $activeSlave.trust > 0 && $activeSlave.choosesOwnClothes == 1>>

		<<if $activeSlave.choosesOwnChastity == 1>>
			She is allowed to decide whether she to wear chastity devices.
			[[Withdraw Privilege|Slave Interact][$activeSlave.choosesOwnChastity = 0]]
		<<else>>
			She is not allowed to choose whether to wear chastity devices.
			[[Allow Choice|Slave Interact][$activeSlave.choosesOwnChastity = 1]]
		<</if>>
	<</if>>

<</if>> /* CLOSES FUCKDOLL CHECK */

__Physical Regimen:__

Drugs: $activeSlave.drugs.
<<link "None">><<set $activeSlave.drugs = "no drugs">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<if $activeSlave.indentureRestrictions < 2>>
<<if $activeSlave.drugs == "intensive breast injections" || $activeSlave.drugs == "intensive butt injections" || $activeSlave.drugs == "intensive penis enhancement" || $activeSlave.drugs == "intensive testicle enhancement">>
	| <<link "Moderate">>
		<<switch $activeSlave.drugs>>
		<<case "intensive breast injections">>
			<<set $activeSlave.drugs = "breast injections">>
		<<case "intensive butt injections">>
			<<set $activeSlave.drugs = "butt injections">>
		<<case "intensive penis enhancement">>
			<<set $activeSlave.drugs = "penis enhancement">>
		<<case "intensive testicle enhancement">>
			<<set $activeSlave.drugs = "testicle enhancement">>
		<</switch>>
		<<goto "Slave Interact">>
	<</link>>
<<elseif $activeSlave.drugs == "breast injections" || $activeSlave.drugs == "butt injections" || $activeSlave.drugs == "penis enhancement" || $activeSlave.drugs == "testicle enhancement">>
	| <<link "Intensify">>
		<<set $activeSlave.drugs = "intensive " + $activeSlave.drugs>>
		<<goto "Slave Interact">>
	<</link>>
<</if>>
<<if ($activeSlave.intelligence > -2)>>
	| <<link "Psychosuppressants">><<set $activeSlave.drugs = "psychosuppressants">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<else>>
	| Psychosuppressants
<</if>>
<<if ($activeSlave.boobs < 48000)>>
	| <<link "Breasts">><<set $activeSlave.drugs = "breast injections">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<else>>
	| Breasts
<</if>>
<<if $arcologies[0].FSAssetExpansionistResearch == 1>>
<<if ($activeSlave.boobs < 25000)>>
  | <<link "Hyper-Breasts">><<set $activeSlave.drugs = "hyper breast injections">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<else>>
  | Hyper Breasts
<</if>>
<</if>>
<<if $arcologies[0].FSSlimnessEnthusiastResearch == 1>>
<<if ($activeSlave.boobs-$activeSlave.boobsImplant > 100)>>
  | <<link "Breast reducers">><<set $activeSlave.drugs = "breast redistributors">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<else>>
  | Breast reducers
<</if>>
<<if ($activeSlave.nipples == "huge" || $activeSlave.nipples == "puffy" || $activeSlave.nipples == "cute")>>
  | <<link "Nipple reducers">><<set $activeSlave.drugs = "nipple atrophiers">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<else>>
  | Nipple reducers
<</if>>
<</if>>
<<if ($activeSlave.butt < 9)>>
	| <<link "Buttocks">><<set $activeSlave.drugs = "butt injections">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<else>>
	| Buttocks
<</if>>
<<if $arcologies[0].FSAssetExpansionistResearch == 1>>
<<if ($activeSlave.butt < 20)>>
	| <<link "Hyper-Buttocks">><<set $activeSlave.drugs = "hyper butt injections">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<else>>
	| Hyper Buttocks
<</if>>
<</if>>
<<if $arcologies[0].FSSlimnessEnthusiastResearch == 1>>
<<if ($activeSlave.butt-$activeSlave.buttImplant > 0)>>
  | <<link "Butt reducers">><<set $activeSlave.drugs = "butt redistributors">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<else>>
  | Butt reducers
<</if>>
<</if>>
<<if ($activeSlave.lips <= 95) || (($activeSlave.lips <= 85) && ($seeExtreme != 1))>>
	| <<link "Lips">><<set $activeSlave.drugs = "lip injections">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<else>>
	| Lips
<</if>>
<<if $arcologies[0].FSSlimnessEnthusiastResearch == 1>>
<<if ($activeSlave.lips-$activeSlave.lipsImplant > 0)>>
  | <<link "Lip reducers">><<set $activeSlave.drugs = "lip atrophiers">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<else>>
  | Lip reducers
<</if>>
<</if>>
<<if $growthStim == 1>>
<<if $activeSlave.height < 274 && $activeSlave.height < Math.clamp((Height.mean($activeSlave) * 1.25),0,274)>>
	| <<link "Growth Stimulants">><<set $activeSlave.drugs = "growth stimulants">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<else>>
	| Growth Stimulants
<</if>>
<</if>>
| <<link "Fertility">><<set $activeSlave.drugs = "fertility drugs">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<if ($seeHyperPreg == 1) && ($activeSlave.indentureRestrictions < 1) && ($superFertilityDrugs == 1) && $activeSlave.breedingMark != 1>>
 | <<link "Fertility+">><<set $activeSlave.drugs = "super fertility drugs">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<</if>>
<<if ($activeSlave.dick > 0)>>
	<<if ($activeSlave.dick < 10)>>
		| <<link "Penis enhancement">><<set $activeSlave.drugs = "penis enhancement">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
	<<else>>
		| Penis enhancement
	<</if>>
<<else>>
	<<if ($activeSlave.clit < 5)>>
		| <<link "Clitoris enhancement">><<set $activeSlave.drugs = "penis enhancement">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
	<<else>>
		| Clitoris enhancement
	<</if>>
<</if>>
<<if $arcologies[0].FSAssetExpansionistResearch == 1>>
	<<if ($activeSlave.dick > 0)>>
		<<if ($activeSlave.dick < 31)>>
			| <<link "Hyper penis enhancement">><<set $activeSlave.drugs = "hyper penis enhancement">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
		<<else>>
			| Hyper penis enhancement
		<</if>>
	<<else>>
		<<if ($activeSlave.clit < 5)>>
			| <<link "Hyper clitoris enhancement">><<set $activeSlave.drugs = "penis enhancement">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
		<<else>>
			| Hyper clitoris enhancement
		<</if>>
	<</if>>
<</if>>
<<if $arcologies[0].FSSlimnessEnthusiastResearch == 1>>
<<if ($activeSlave.dick > 1)>>
  | <<link "Penis reducers">><<set $activeSlave.drugs = "penis atrophiers">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<elseif $activeSlave.dick == 1>>
  | Penis reducers
<</if>>
<</if>>
<<if ($activeSlave.balls > 0)>>
	| <<link "Testicle enhancement">><<set $activeSlave.drugs = "testicle enhancement">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<</if>>
<<if $arcologies[0].FSAssetExpansionistResearch == 1>>
<<if ($activeSlave.balls > 0)>>
	| <<link "Hyper testicle enhancement">><<set $activeSlave.drugs = "hyper testicle enhancement">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<</if>>
<</if>>
<<if $arcologies[0].FSSlimnessEnthusiastResearch == 1>>
<<if ($activeSlave.balls > 1)>>
  | <<link "Testicle reducers">><<set $activeSlave.drugs = "testicle atrophiers">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<elseif $activeSlave.balls == 1>>
  | Testicle reducers
<</if>>
<<if ($activeSlave.clit > 0)>>
  | <<link "Clitoris reducers">><<set $activeSlave.drugs = "clitoris atrophiers">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<</if>>
<<if ($activeSlave.labia > 0)>>
  | <<link "Labia reducers">><<set $activeSlave.drugs = "labia atrophiers">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<</if>>
<</if>>
<<if $arcologies[0].FSYouthPreferentialistResearch == 1>>
<<if ($activeSlave.visualAge > 18)>>
	| <<link "Anti-aging cream">><<set $activeSlave.drugs = "anti-aging cream">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<else>>
  | Anti-aging cream
<</if>>
<</if>>
	| <<link "Steroids">><<set $activeSlave.drugs = "steroids">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<if $arcologies[0].FSSlimnessEnthusiastResearch == 1>>
<<if ($activeSlave.weight > -95)>>
  | <<link "Weight loss pills">><<set $activeSlave.drugs = "appetite suppressors">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<else>>
  | Weight loss pills
<</if>>
<</if>>
<<if $precociousPuberty == 1>>
<<if $pubertyHormones == 1>>
<<if $activeSlave.breedingMark != 1>>
<<if ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1) && $activeSlave.pubertyXX == 0>>
	| <<link "Female hormone injections">><<set $activeSlave.drugs = "female hormone injections">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<</if>>
<<if $activeSlave.balls > 0 && $activeSlave.pubertyXY == 0>>
	| <<link "Male hormone injections">><<set $activeSlave.drugs = "male hormone injections">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<</if>>
<</if>>
<</if>>
<</if>>
	| <<link "Hormone enhancers">><<set $activeSlave.drugs = "hormone enhancers">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
	| <<link "Hormone blockers">><<set $activeSlave.drugs = "hormone blockers">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<<if $activeSlave.boobs > 250 && $activeSlave.boobShape != "saggy" && $purchasedSagBGone == 1>>
	| <<link "Sag-B-Gone breast lifting cream">><<set $activeSlave.drugs = "sag-B-gone">><<replace "#drugs">>$activeSlave.drugs<</replace>><</link>>
<</if>>
<</if>>

Health: <<if $activeSlave.curatives > 1>>curatives<<elseif $activeSlave.curatives > 0>>preventatives<<else>>none<</if>>.
	<<link "None">><<set $activeSlave.curatives = 0>><<replace "#curatives">>none<</replace>><</link>>
	| <<link "Preventatives">><<set $activeSlave.curatives = 1>><<replace "#curatives">>preventatives<</replace>><</link>>
	| <<link "Curatives">><<set $activeSlave.curatives = 2>><<replace "#curatives">>curatives<</replace>><</link>>

Aphrodisiacs: <<if $activeSlave.aphrodisiacs > 1>>extreme<<elseif $activeSlave.aphrodisiacs > 0>>applied<<elseif $activeSlave.aphrodisiacs === -1>>anaphrodisiacs<<else>>none<</if>>.
	<<link "None">><<set $activeSlave.aphrodisiacs = 0>><<replace "#aphrodisiacs">>none<</replace>><</link>>
	| <<link "Apply">><<set $activeSlave.aphrodisiacs = 1>><<replace "#aphrodisiacs">>applied<</replace>><</link>>
	| <<link "Extreme">><<set $activeSlave.aphrodisiacs = 2>><<replace "#aphrodisiacs">>extreme<</replace>><</link>>
	| <<link "Anaphrodisiacs">><<set $activeSlave.aphrodisiacs = -1>><<replace "#aphrodisiacs">>anaphrodisiacs<</replace>><</link>>

<<if $activeSlave.fuckdoll == 0 && ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1)>>
<<if ($activeSlave.preg < -1)>>
	//She is sterile//
<<elseif ($activeSlave.pubertyXX == 0) && $activeSlave.preg < 1>>
	//She is not yet fertile//
<<elseif $activeSlave.physicalAge >= 47 && $activeSlave.preg < 1>>
	//She is too old to become pregnant//
	<<if $activeSlave.preg == -1>>
		<<set $activeSlave.preg = 0>>
		<<SetBellySize $activeSlave>>
	<</if>>
<<elseif $activeSlave.preg >= -1>>
Contraception: <<if $activeSlave.preg == -1>><<print "using contraceptives">><<elseif $activeSlave.preg == 0>><<print "fertile">><<elseif $activeSlave.preg < 4>><<print "may be pregnant">><<else>><<print $activeSlave.preg>><<print " weeks pregnant">><</if>>.
<<if ($activeSlave.preg == 0)>>
	<<link "Use contraceptives">><<set $activeSlave.preg = -1>>
	<<SlaveInteractFertility>>
	<<SlaveInteractImpreg>>
	<</link>>
<<elseif $activeSlave.preg == -1>>
	<<link "Let her get pregnant">><<set $activeSlave.preg = 0>>
	<<SlaveInteractFertility>>
	<<SlaveInteractImpreg>>
	<</link>>
<<elseif $activeSlave.induce == 1>>
	//Hormones are being slipped into her food, she will give birth suddenly and rapidly this week//
<<elseif ($activeSlave.preg > 38) && ($activeSlave.pregType < 50) && ($activeSlave.labor == 0)>>
	[[Induce labor|Slave Interact][$activeSlave.labor = 1,$activeSlave.induce = 1,$birthee = 1]]
<<elseif ($activeSlave.pregType == 50) && ($activeSlave.preg > 38)>>
	[[Induce mass childbirth|BirthStorm]]
<<elseif ($activeSlave.preg > 0) && ($activeSlave.pregType < 50) && $activeSlave.breedingMark == 1 && $activeSlave.pregSource == -1>>
	//You are forbidden from aborting an elite child//
<<elseif ($activeSlave.preg > 0) && ($activeSlave.pregType < 50)>>
	[[Abort her pregnancy|Abort]]
<</if>>
<</if>>
<<elseif ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1)>>
<<if ($activeSlave.preg < -1)>>
	//It is sterile//
<<elseif ($activeSlave.pubertyXX == 0)>>
	//It is not yet fertile//
<<elseif $activeSlave.physicalAge >= 47>>
	//It is too old to become pregnant//
<<elseif ($activeSlave.preg >= -1)>>
__Contraception__: <<if $activeSlave.preg == -1>><<print "using contraceptives">><<elseif $activeSlave.preg == 0>><<print "fertile">><<elseif $activeSlave.preg < 4>><<print "may be pregnant">><<else>><<print $activeSlave.preg>><<print " weeks pregnant">><</if>>.
<<if ($activeSlave.preg == 0)>>
	<<link "Use contraceptives">><<set $activeSlave.preg = -1>>
	<<SlaveInteractFertility>>
	<</link>>
<<elseif ($activeSlave.preg == -1)>>
	<<link "Let her get pregnant">><<set $activeSlave.preg = 0>>
	<<SlaveInteractFertility>>
	<</link>>
<<elseif ($activeSlave.pregType == 50) && ($activeSlave.preg > 38)>>
	[[Induce mass childbirth|BirthStorm]]
<<elseif ($activeSlave.preg > 0) && ($activeSlave.pregType < 50)>>
	[[Abort her pregnancy|Abort]]
<</if>>
<</if>>
<</if>>
<<if ($activeSlave.pregKnown == 1) && ($pregSpeedControl == 1) && ($activeSlave.breedingMark != 1) && ($activeSlave.indentureRestrictions < 1) && ($activeSlave.pregType < 50)>>

	__Pregnancy control__: <<if $activeSlave.pregControl == "labor supressors">>Labor is suppressed<<elseif $activeSlave.pregControl == "slow gestation">>Slowed gestation<<elseif $activeSlave.pregControl == "speed up">>Faster gestation<<else>>Normal gestation<</if>>
	<<if ($activeSlave.preg >= 38)>>

		<<if $activeSlave.pregControl == "labor supressors">>
			<<link "Normal Birth">><<set $activeSlave.pregControl = "none">><<replace "#pregControl">>natural birth<</replace>><</link>>
		<<else>>
			<<link "Supress Labor">><<set $activeSlave.pregControl = "labor supressors">><<replace "#pregControl">>labor will be suppressed<</replace>><</link>>
		<</if>>
	<<elseif ($activeSlave.preg < 40)>>

		<<if $activeSlave.pregControl != "none">>
			<<link "Normal Gestation">><<set $activeSlave.pregControl = "none">><<replace "#pregControl">>normal gestation speed<</replace>><</link>> |
		<</if>>
		<<if $activeSlave.pregControl != "slow Gestation">>
			<<link "Slow Gestation">><<set $activeSlave.pregControl = "slow gestation">><<replace "#pregControl">>slowed gestation speed<</replace>><</link>> |
		<</if>>
		<<if $activeSlave.pregControl != "speed up">>
			<<link "Fast Gestation">><<set $activeSlave.pregControl = "speed up">><<replace "#pregControl">>fast gestation speed, staffed clinic recommended<</replace>><</link>>
		<</if>>
	<</if>>
<</if>>

<<if $incubator > 0>>
<<if $activeSlave.preg > 0 && $activeSlave.pregType < 50 && $activeSlave.pregKnown == 1 && $activeSlave.eggType == "human">>
<<if $activeSlave.assignment == "work in the dairy" && $dairyPregSetting > 0>>
<<else>>

	<<set $freeTanks = ($incubator-$tanks.length)>>
	<<if $activeSlave.reservedChildren > 0>>
	    <<if $activeSlave.pregType == 1>>
			Her child will be placed in $incubatorName.
		<<elseif $activeSlave.reservedChildren < $activeSlave.pregType>>
			$activeSlave.reservedChildren of her children will be placed in $incubatorName.
		<<elseif $activeSlave.pregType == 2>>
			Both of her children will be placed in $incubatorName.
		<<else>>
			All $activeSlave.reservedChildren of her children will be placed in $incubatorName.
		<</if>>
		<<if ($activeSlave.reservedChildren < $activeSlave.pregType) && ($reservedChildren < $freeTanks)>>
			[[Keep another child|Slave Interact][$activeSlave.reservedChildren += 1, $reservedChildren += 1]]
			<<if $activeSlave.reservedChildren > 0>>
				| [[Keep one less child|Slave Interact][$activeSlave.reservedChildren -= 1, $reservedChildren -= 1]]
			<</if>>
			<<if $activeSlave.reservedChildren > 1>>
				| [[Keep none of her children|Slave Interact][$reservedChildren -= $activeSlave.reservedChildren, $activeSlave.reservedChildren = 0]]
			<</if>>
			<<if ($reservedChildren + $activeSlave.pregType - $activeSlave.reservedChildren) <= $freeTanks>>
				| [[Keep the rest of her children|Slave Interact][$reservedChildren += ($activeSlave.pregType - $activeSlave.reservedChildren), $activeSlave.reservedChildren += ($activeSlave.pregType - $activeSlave.reservedChildren)]]
			<</if>>
	<<elseif ($activeSlave.reservedChildren == $activeSlave.pregType) || ($reservedChildren == $freeTanks)>>
			[[Keep one less child|Slave Interact][$activeSlave.reservedChildren -= 1, $reservedChildren -= 1]]
			<<if $activeSlave.reservedChildren > 1>>
				| [[Keep none of her children|Slave Interact][$reservedChildren -= $activeSlave.reservedChildren, $activeSlave.reservedChildren = 0]]
			<</if>>
		<</if>>
	<<elseif $reservedChildren < $freeTanks>>
		She is pregnant and you have <<if $freeTanks == 1>>an<</if>> @@.lime;available aging tank<<if $freeTanks > 1>>s<</if>>.@@
		<<print "[[Keep "+ (($activeSlave.pregType > 1) ? "a" : "the") +" child|Slave Interact][$activeSlave.reservedChildren += 1, $reservedChildren += 1]]">>
		<<if ($activeSlave.pregType > 1) && ($reservedChildren + $activeSlave.pregType) <= $freeTanks>>
			| [[Keep all of her children|Slave Interact][$reservedChildren += $activeSlave.pregType, $activeSlave.reservedChildren += $activeSlave.pregType]]
		<</if>>
	<<elseif $reservedChildren == $freeTanks>>
		You have no available tanks for her children.
	<</if>>
<</if>>
<</if>>
<</if>>

<<if $propOutcome == 1>>
	<<if $activeSlave.breedingMark == 0 && $activeSlave.fuckdoll == 0 && $activeSlave.eggType == "human" && isFertile($activeSlave)>>

		[[Breeder Eligibility Exam|BreedingTest]]
	<</if>>
<</if>>

<<if $activeSlave.inflation > 0>>

__Required Bloating__: <<if $activeSlave.inflation is 3>><<print "She is required to keep 2 gallons of $activeSlave.inflationType in her at all times">><<elseif $activeSlave.inflation is 2>><<print "She is required to keep 4 liters of $activeSlave.inflationType in her at all times">><<elseif $activeSlave.inflation is 1>><<print "She is required to keep 2 liters of $activeSlave.inflationType in her at all times">><</if>>.
<<if $activeSlave.inflationMethod == 3>>
	<<link "Let her deflate">><<set $activeSlave.inflation = 0,$activeSlave.inflationType = "none",$activeSlave.inflationMethod = 0,$activeSlave.cumSource = 0,$activeSlave.milkSource = 0>><<SetBellySize $activeSlave>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
<<elseif $activeSlave.inflationType == "milk">>
	<<link "Let her deflate">><<set $activeSlave.inflation = 0,$activeSlave.inflationType = "none",$activeSlave.inflationMethod = 0>><<SetBellySize $activeSlave>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
<<elseif $activeSlave.inflationType == "cum">>
	<<link "Let her deflate">><<set $activeSlave.inflation = 0,$activeSlave.inflationType = "none",$activeSlave.inflationMethod = 0>><<SetBellySize $activeSlave>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
<<else>>
	<<link "Let her deflate">><<set $activeSlave.inflation = 0,$activeSlave.inflationType = "none",$activeSlave.inflationMethod = 0>><<SetBellySize $activeSlave>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
<</if>>
<</if>>

Hormones:
<<if $activeSlave.hormones == -2>>intensive male<<elseif $activeSlave.hormones == -1>>male<<elseif $activeSlave.hormones == 2>>intensive female<<elseif $activeSlave.hormones == 1>>female<<else>>none<</if>>.
<<link "Intensive Female">><<set $activeSlave.hormones = 2>><<replace "#hormones">>intensive female<</replace>><</link>> |
<<link "Female">><<set $activeSlave.hormones = 1>><<replace "#hormones">>female<</replace>><</link>> |
<<link "None">><<set $activeSlave.hormones = 0>><<replace "#hormones">>none<</replace>><</link>> |
<<link "Male">><<set $activeSlave.hormones = -1>><<replace "#hormones">>male<</replace>><</link>> |
<<link "Intensive Male">><<set $activeSlave.hormones = -2>><<replace "#hormones">>intensive male<</replace>><</link>>

Diet: $activeSlave.diet.
<<link "Healthy">><<set $activeSlave.diet = "healthy">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
<<if ($activeSlave.health < 90) && ($activeSlave.health < 90) && ($dietCleanse == 1)>>
| <<link "Cleanse">><<set $activeSlave.diet = "cleansing">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
<<elseif ($dietCleanse == 1)>>
| //She is already healthy//
<</if>>
<<if ($activeSlave.balls > 0) && ($cumProDiet == 1)>>
| <<link "Cum production">><<set $activeSlave.diet = "cum production">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
<</if>>
<<if ($activeSlave.weight >= -95)>>
| <<link "Lose weight">><<set $activeSlave.diet = "restricted">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
<<else>>
| //She is already underweight//
<</if>>
<<if $activeSlave.weight <= 200>>
| <<link "Fatten">><<set $activeSlave.diet = "fattening">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
<<else>>
| //She is already extremely overweight//
<</if>>
<<if $feeder == 1>>
| <<link "Estrogen enriched">><<set $activeSlave.diet = "XX">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
| <<link "Testosterone enriched">><<set $activeSlave.diet = "XY">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
<<if $dietXXY == 1 && $activeSlave.balls > 0 && ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1)>>
| <<link "Herm hormone blend">><<set $activeSlave.diet = "XXY">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
<</if>>
<</if>>
<<if ($activeSlave.muscles <= 95) && $activeSlave.amp != 1>>
| <<link "Build muscle">><<set $activeSlave.diet = "muscle building">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
<<elseif $activeSlave.muscles > 95 && $activeSlave.amp != 1>>
| //She is maintaining her enormous musculature//
<<else>>
| //She has no limbs and thus can't effectively build muscle//
<</if>>
<<if $activeSlave.muscles > 5 && canWalk($activeSlave)>>
| <<link "Slim down">><<set $activeSlave.diet = "slimming">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
<<elseif !canWalk($activeSlave)>>
| //She can't move and thus can't trim down//
<<else>>
| //She has no muscles left to lose//
<</if>>

Diet Base: <<if $activeSlave.dietCum == 2>>Cum Based<<elseif ($activeSlave.dietCum == 1) && ($activeSlave.dietMilk == 0)>>Cum Added<<elseif ($activeSlave.dietCum == 1) && ($activeSlave.dietMilk == 1)>>Cum and Milk Added<<elseif ($activeSlave.dietMilk == 1) && ($activeSlave.dietCum == 0)>>Milk Added<<elseif ($activeSlave.dietMilk == 2)>>Milk Based<<elseif ($activeSlave.dietCum == 0) && ($activeSlave.dietMilk == 0)>>Normal<<else>>THERE HAS BEEN AN ERROR<</if>>
<<link "Normal">><<set $activeSlave.dietCum = 0>><<set $activeSlave.dietMilk = 0>><<replace "#dietBase">>Normal<</replace>><</link>> |
<<link "Cum Added">><<set $activeSlave.dietCum = 1>><<set $activeSlave.dietMilk = 0>><<replace "#dietBase">>Cum Added<</replace>><</link>> |
<<link "Milk Added">><<set $activeSlave.dietCum = 0>><<set $activeSlave.dietMilk = 1>><<replace "#dietBase">>Milk Added<</replace>><</link>> |
<<link "Cum & Milk Added">><<set $activeSlave.dietCum = 1>><<set $activeSlave.dietMilk = 1>><<replace "#dietBase">>Cum & Milk Added<</replace>><</link>> |
<<link "Cum Based">><<set $activeSlave.dietCum = 2>><<set $activeSlave.dietMilk = 0>><<replace "#dietBase">>Cum Based<</replace>><</link>> |
<<link "Milk Based">><<set $activeSlave.dietCum = 0>><<set $activeSlave.dietMilk = 2>><<replace "#dietBase">>Milk Based<</replace>><</link>>

<<if $arcologies[0].FSHedonisticDecadenceResearch == 1>>

Solid Slave Food Access: <<if $activeSlave.onDiet == 0>>Free to stuff herself.<<else>>On a strict diet.<</if>>
	<<link "No Access">><<set $activeSlave.onDiet = 1>><<replace "#snacks">>On a strict diet.<</replace>><</link>> |
	<<link "Full Access">><<set $activeSlave.onDiet = 0>><<replace "#snacks">>Free to stuff herself.<</replace>><</link>>
<</if>>

__Behavior__:

<<if $activeSlave.fuckdoll > 0>>
	//Rules have little meaning for living sex toys//
<<else>>
	<<set $dormitoryPopulation = 0, $roomsPopulation = 0>>
	<<for $i = 0; $i < _SL; $i++>>
		<<if $slaves[$i].assignmentVisible == 1 && ($slaves[$i].assignment != "be your Head Girl" || $HGSuite != 1) && ($slaves[$i].assignment != "guard you" || $dojo <= 1)>>
			<<if $slaves[$i].livingRules == "luxurious">>
				<<if $slaves[$i].relationship >= 4>>
					<<set $roomsPopulation += 0.5>>
				<<else>>
					<<set $roomsPopulation++>>
				<</if>>
			<<else>>
				<<set $dormitoryPopulation++>>
			<</if>>
		<</if>>
	<</for>>
	Living standard: ''$activeSlave.livingRules.''
	<<if setup.facilityCareers.includes($activeSlave.assignment)>>
		//Her living conditions are managed by her assignment.//
	<<elseif ($activeSlave.assignment == "be your Head Girl") && ($HGSuite == 1)>>
		//She has her own little luxurious room in the penthouse with everything she needs to be a proper Head Girl.//
	<<elseif ($activeSlave.assignment == "guard you") && ($dojo > 1)>>
		//She has a comfortable room in the armory to call her own.//
	<<else>>
		<<link "Spare">><<set $activeSlave.livingRules = "spare">><<replace "#livingRules">>$activeSlave.livingRules<</replace>><</link>> |
		<<link "Normal">><<set $activeSlave.livingRules = "normal">><<replace "#livingRules">>$activeSlave.livingRules<</replace>><</link>> |
		<<if $roomsPopulation <= $rooms-0.5>><<link "Luxurious">><<set $activeSlave.livingRules = "luxurious">><<replace "#livingRules">>$activeSlave.livingRules<</replace>><</link>><<else>>//No luxurious rooms available//<</if>>
	<</if>>

Typical punishment: ''$activeSlave.standardPunishment.''
	<<link "Confinement">><<set $activeSlave.standardPunishment = "confinement">><<replace "#standardPunishment">>$activeSlave.standardPunishment<</replace>><</link>> |
	<<link "Whipping">><<set $activeSlave.standardPunishment = "whipping">><<replace "#standardPunishment">>$activeSlave.standardPunishment<</replace>><</link>> |
	<<link "Chastity">><<set $activeSlave.standardPunishment = "chastity">><<replace "#standardPunishment">>$activeSlave.standardPunishment<</replace>><</link>> |
	<<link "Situational">><<set $activeSlave.standardPunishment = "situational">><<replace "#standardPunishment">>$activeSlave.standardPunishment<</replace>><</link>>

	Typical reward: ''$activeSlave.standardReward.''
	<<link "Relaxation">><<set $activeSlave.standardReward = "relaxation">><<replace "#standardReward">>$activeSlave.standardReward<</replace>><</link>> |
	<<link "Drugs">><<set $activeSlave.standardReward = "drugs">><<replace "#standardReward">>$activeSlave.standardReward<</replace>><</link>> |
	<<link "Orgasm">><<set $activeSlave.standardReward = "orgasm">><<replace "#standardReward">>$activeSlave.standardReward<</replace>><</link>> |
	<<link "Situational">><<set $activeSlave.standardReward = "situational">><<replace "#standardReward">>$activeSlave.standardReward<</replace>><</link>>

Non-assignment orgasm rules: ''$activeSlave.releaseRules.''
	<<link "Permit masturbation and interslave sex">><<set $activeSlave.releaseRules = "permissive">><<replace "#releaseRules">>$activeSlave.releaseRules<</replace>><</link>> |
	<<link "Let her get off with other slaves">><<set $activeSlave.releaseRules = "sapphic">><<replace "#releaseRules">>$activeSlave.releaseRules<</replace>><</link>> |
	<<if $activeSlave.amp != 1 && $activeSlave.fuckdoll == 0 && $activeSlave.fetish != "mindbroken">>
		<<link "Restrict her to masturbation only">><<set $activeSlave.releaseRules = "masturbation">><<replace "#releaseRules">>$activeSlave.releaseRules<</replace>><</link>> |
	<</if>>
	<<link "Only with you">><<set $activeSlave.releaseRules = "restrictive">><<replace "#releaseRules">>$activeSlave.releaseRules<</replace>><</link>>
<</if>>

<<if $activeSlave.clitPiercing == 3>>

	<<if $activeSlave.dick < 1>>
		Her smart clit piercing is set to
	<<else>>Her smart frenulum piercing is set to
	<</if>>
	$activeSlave.clitSetting.
	<<link "Vanilla">><<set $activeSlave.clitSetting = "vanilla">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
	| <<link "Oral">><<set $activeSlave.clitSetting = "oral">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
	| <<link "Anal">><<set $activeSlave.clitSetting = "anal">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
	| <<link "Boobs">><<set $activeSlave.clitSetting = "boobs">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
	| <<link "Sub">><<set $activeSlave.clitSetting = "submissive">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
	| <<link "Dom">><<set $activeSlave.clitSetting = "dom">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
	| <<link "Humiliation">><<set $activeSlave.clitSetting = "humiliation">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
	| <<link "Preg">><<set $activeSlave.clitSetting = "pregnancy">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
	| <<link "Pain">><<set $activeSlave.clitSetting = "masochist">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
	| <<link "Sadism">><<set $activeSlave.clitSetting = "sadist">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
	| <<link "Men">><<set $activeSlave.clitSetting = "men">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
	| <<link "Anti-men">><<set $activeSlave.clitSetting = "anti-men">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
	| <<link "Women">><<set $activeSlave.clitSetting = "women">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
	| <<link "Anti-women">><<set $activeSlave.clitSetting = "anti-women">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
	| <<link "All sex">><<set $activeSlave.clitSetting = "all">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
	| <<link "No sex">><<set $activeSlave.clitSetting = "none">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
<</if>>

<<if $activeSlave.voice != 0>>

Speech rules: ''$activeSlave.speechRules.''
	<<link "Restrictive">><<set $activeSlave.speechRules = "restrictive">><<replace "#speechRules">>$activeSlave.speechRules<</replace>><</link>> |
	<<link "Permissive">><<set $activeSlave.speechRules = "permissive">><<replace "#speechRules">>$activeSlave.speechRules<</replace>><</link>>
	<<if $activeSlave.accent > 0 && $activeSlave.accent < 4>>| <<link "Accent elimination">><<set $activeSlave.speechRules = "accent elimination">><<replace "#speechRules">>$activeSlave.speechRules<</replace>><</link>>
	<<elseif $activeSlave.accent > 3>>| <<link "Language lessons">><<set $activeSlave.speechRules = "language lessons">><<replace "#speechRules">>$activeSlave.speechRules<</replace>><</link>>
	<</if>>
<</if>>

Relationship rules: ''$activeSlave.relationshipRules.''
<<link "Restrictive">><<set $activeSlave.relationshipRules = "restrictive">><<replace "#relationshipRules">>$activeSlave.relationshipRules<</replace>><</link>> |
<<link "Just friends">><<set $activeSlave.relationshipRules = "just friends">><<replace "#relationshipRules">>$activeSlave.relationshipRules<</replace>><</link>> |
<<link "Permissive">><<set $activeSlave.relationshipRules = "permissive">><<replace "#relationshipRules">>$activeSlave.relationshipRules<</replace>><</link>>

<<if $studio == 1>>

	<<if $activeSlave.pornFameSpending == -1>>
		The media hub is not releasing highlights of her sex life. [[Release|Slave Interact][$activeSlave.pornFameSpending = 0]]
	<<else>>
		<<if $activeSlave.prestige < 3>>
			The media hub is releasing
			<<if $activeSlave.pornFameSpending  < 500>>
				minimal
			<</if>> highlights of her sex life.
			<<if $activeSlave.pornFameSpending == 0>>
				[[Begin publicizing?|Slave Interact][$activeSlave.pornFameSpending += 1000]]
				//Will cost <<print cashFormat(1000)>> weekly.//
			<<else>>
				<<print cashFormat($activeSlave.pornFameSpending)>> weekly is spent to publicize them.
				<<if $activeSlave.pornFameSpending < 5000>>
					[[Increase|Slave Interact][$activeSlave.pornFameSpending += 1000]] |
				<</if>>
				[[Decrease|Slave Interact][$activeSlave.pornFameSpending -= 1000]]
			<</if>>
		<<else>>
			//She is so prestigious that subsidizing coverage of her sex life will not increase her fame.//
		<</if>>
	<</if>>

<</if>>

<<if ($slaveCostFactor > 1)>>
	@@.yellow;The slave market is bullish; the price of slaves is high.@@
<<elseif ($slaveCostFactor < 1)>>
	@@.yellow;The slave market is bearish; the price of slaves is low.@@
<</if>>

<<if (_SL > 1)>>
	<<if $activeSlave.origin == "You bought her from a body dump, completely broken." && ($week-$activeSlave.weekAcquired <= 8)>>
	//A discarded slave must be kept for at least two months to ensure health before being sold.//
	<<elseif $activeSlave.accent > 3>>
	//Her lack of language and basic life skills is a red sign to most slave appraisers. She must not act like a child to be sold without raising suspicion.//
	<<else>>
	[[Sell her|Sell Slave][$cash -= 500]] //Listing her for sale will cost <<print cashFormat(500)>>// |
	<<if ($seeAge != 0) && ($activeSlave.indenture < 1)>>
	<<if ($retiree == 0)>>
		[[Retire her|Slave Interact][$retiree = $activeSlave, $manuallyRetired = 1]] |
	<<else>>
		//A slave has been manually retired this turn.//
	<</if>>
	<</if>>
	<</if>>
	[[Discard her|Discard Confirm]]
<<else>>
	//You cannot sell or discard your last slave.//
<</if>>

/*| [[Upload her|Upload Slave]]*/
| [[Export this slave|Export Slave]]
<<if $cheatMode>>
	| [[Import a slave|Import Slave]]
<</if>>


code:
:: Slave Markets [nobr]

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

You visit the slave markets off the arcology plaza. It's always preferable to examine merchandise in person.

<<if $slaveMarket == "heap">>

	You're in the corner of the slave market occupied by "The Flesh Heap", a dumping ground, of sorts, for broken slaves. Be it braindeath, drug overdose, coma or anything else, this market is willing to buy and sell them. Most of the worthwhile slaves have already been picked clean by pharmaceutical companies for drug testing, and the rest are practically nothing more than vegetables, but a handful remain just conscious enough to be profitable with effort as slaves. One should go in expecting only the worst quality possible, though if anything catches your eye, it will be rather cheap to purchase.

	<<set $seed to random(1,4)>>
	<<if $seed == 1>>
		"Looking for a warm body to use as furniture? Perhaps as a decorative, living sculpture? We got what you want!"
	<<elseif $seed == 2>>
		"I guarantee they are all alive, maybe not healthy but alive. Well, except that one, just ignore that one."
	<<elseif $seed == 3>>
		"We ask that you don't use this merchandise for organ harvesting, we have plenty of nonfuctional ones for that."
	<<else>>
		"If you are looking for a body to do unmentionable things to, you came to the right place! Though these in particular just barely fall under slave laws."
	<</if>>
	<<GenerateMarketSlave "heap">>

<<elseif $slaveMarket == "kidnappers">>
	You're in the area of the slave market populated by slave kidnappers, though of course they prefer more polite titles. The slaves here are cheap, and they look it. They're almost all recent catches from bad parts of the old world, and most of them have seen considerable abuse between the moment of their capture and entering your arcology.
	<<if $arcologies[0].FSPaternalistSMR == 1>>
		Fortunately for them, such behavior is not permitted here. Though they remain frightened and angry, they are safe from rape, for now.
	<<else>>
		<<set $seed = random(1,4)>>
		There's more merchandise out of sight in the holding areas. To go by what you can hear,
		<<if ($seed == 1) && (random(0,99) < $seeDicks)>>
		muffled insistence that the speaker is not a girl followed by struggling and then shrieks as a resistant dickgirl takes anal rape,
		<<elseif ($seed == 2) && (random(1,100) > $seeDicks)>>
		muffled begging followed by struggling and then crying as a new slave learns how it feels to have a slave's cunt,
		<<elseif ($seed == 3)>>
		muffled gagging followed gasping and sobbing as a new slave tries to get her breath back after oral rape,
		<<else>>
		the unmistakable slap of flesh on flesh,
		<</if>>
		at least one of the slavers is amusing himself<<if $arcologies[0].FSGenderFundamentalist == "unset">> (or herself)<</if>> back there.
	<</if>>
	<<GenerateMarketSlave "kidnappers">>

<<elseif $slaveMarket == "indentures">>
	You're in the area of the slave market that deals in indentured servants. The people sold here are slaves, but they are temporary slaves, and many of them have clauses in their indentures that prohibit some of the most severe practices. They exhibit a strange variety, with some looking more frightened than the most downtrodden slave and some looking almost cheerful.
	<<if $arcologies[0].FSPaternalistSMR == 1>>
		The generous protections for slaves in your arcology lend this last group extra confidence.
	<<else>>
		<<set $seed = random(1,4)>>
		The area is crowded, and more indentured servants are packed together in the holding areas. To go by what you can hear,
		<<if ($seed == 1) && (random(0,99) < $seeDicks)>>
		the unmistakable mixed shrieks, sobs, and slaps of anal rape,
		<<elseif ($seed == 2) && (random(1,100) > $seeDicks)>>
		the characteristic crying and gasping of an unwilling girl giving up her cunt,
		<<elseif ($seed == 3)>>
		the gagging and expectoration of someone who has just gotten a mouthful of unwelcome cum,
		<<else>>
		disconsolate sobbing interrupted by a gasp as something is stuffed inside someone's mouth, and followed by muffled screams,
		<</if>>
		one of them is learning exactly what her indenture allows.
	<</if>>
	<<GenerateMarketSlave "indentures">>

<<elseif $slaveMarket == "hunters">>
	You're in the area of the slave market populated by runaway slave catchers, a proud group. The slaves here know their way around Free Cities slavery already, and their eyes are watchful. Most of them probably harbor thoughts of another attempt at escape, though the slavers to their best to disabuse them of these notions.
	<<if $arcologies[0].FSPaternalistSMR == 1>>
		Their methods are somewhat limited, as the rules in your arcology preclude the more effective methods of punishment.
	<<else>>
		<<set $seed = random(1,4)>>
		The slave catchers consider their catches fair game, though they usually confine their amusements to the holding areas out of sight. Not out of earshot, though; to go by what you can hear,
		<<if ($seed == 1) && (random(0,99) < $seeDicks)>>
		vehement insistence that the speaker is not a girl followed by a beating and then shrieks as a rebellious dickgirl takes anal rape,
		<<elseif ($seed == 2) && (random(1,100) > $seeDicks)>>
		vehement protestations followed by a beating and then crying as a slave's cunt takes her punishment for her,
		<<elseif ($seed == 3)>>
		struggling and gagging followed gasping and angry swearing as a rebellious slave tries to get her breath back after oral rape,
		<<else>>
		struggling followed by the slap of flesh on flesh,
		<</if>>
		at least one of the runaway hunters is amusing himself<<if $arcologies[0].FSGenderFundamentalist == "unset">> (or herself)<</if>> back there.
	<</if>>
	<<GenerateMarketSlave "hunters">>

<<elseif $slaveMarket == "underage raiders">>
	You're in the seediest area of the slave market populated by the cradle robbers, a despised group of slavers known for raiding elementary schools, orphanages and even preschools. They specifically target girls who have yet to experience their first period. The extreme risk of these raids makes the slavers here aggressive and confident,
	<<if $arcologies[0].FSPaternalistSMR == 1>>
		though they do obey the rules of your arcology that restrain them from abusing the girls.
	<<else>>
		<<set $seed = random(1,4)>>
		though they restrain themselves from reducing the value of their captures by taking virginities. They do have their fun, though; to go by what you can hear from the holding area where they keep underage girls who can be sold,
		<<if ($seed == 1) && (random(0,99) < $seeDicks)>>
		a muffled but obviously sadistic description of feminization, and the desperate sobbing in response,
		<<elseif ($seed == 2) && (random(1,100) > $seeDicks)>>
		a muffled but obviously sadistic description of breeding, and the desperate sobbing in response,
		<<elseif ($seed == 3)>>
		faint struggling and crying that suggests that someone is being thoroughly groped and pinched,
		<<else>>
		the lewd, lubricated noise of someone giving a reluctant handjob,
		<</if>>
		at least one of the raiders is amusing himself<<if $arcologies[0].FSGenderFundamentalist == "unset">> (or herself)<</if>> back there.
	<</if>>
	<<GenerateMarketSlave "underage raiders">>

<<elseif $slaveMarket == "raiders">>
	You're in the area of the slave market populated by girl raiders, that daredevil subset of slave kidnappers that specifically target old world schools, preparatory institutions, religious groups, and other sources of slaves that can soon be sold right after they reach their majorities. The extreme risk of these raids makes the slavers here aggressive and confident,
	<<if $arcologies[0].FSPaternalistSMR == 1>>
		though they do obey the rules of your arcology that restrain them from abusing the girls.
	<<else>>
		<<set $seed = random(1,4)>>
		though they restrain themselves from reducing the value of their captures by taking virginities. They do have their fun, though; to go by what you can hear from the holding area where they keep slaves of age who can be sold,
		<<if ($seed == 1) && (random(0,99) < $seeDicks)>>
		a muffled but obviously sadistic description of feminization, and the desperate sobbing in response,
		<<elseif ($seed == 2) && (random(1,100) > $seeDicks)>>
		a muffled but obviously sadistic description of breeding, and the desperate sobbing in response,
		<<elseif ($seed == 3)>>
		faint struggling and crying that suggests that someone is being thoroughly groped and pinched,
		<<else>>
		the lewd, lubricated noise of someone giving a reluctant handjob,
		<</if>>
		at least one of the raiders is amusing himself<<if $arcologies[0].FSGenderFundamentalist == "unset">> (or herself)<</if>> back there.
	<</if>>
	<<GenerateMarketSlave "raiders">>

<<elseif $slaveMarket == "neighbor">>
	You're in the area of the slave market that specializes in slaves from within the Free City, viewing slaves from ''<<print "$arcologies["+$numArcology+"].name">>''. Some were trained there, specifically for sale, while others are simply being sold.
	<<GenerateMarketSlave "neighbor">>

<<else>>
	You're in the area of the slave market populated by slave trainers, easily the wealthiest vendors. The slaves here have received obedience training and medical care, and many have had some basic sexual skills forced on them.
	<<if $arcologies[0].FSPaternalistSMR == 1>>
		Though the rules of your arcology protected them from the worst excesses of the training profession, many of the slaves on sale have the haunted look of people still coming to terms with the idea that they no longer have any bodily autonomy.
	<<else>>
		<<set $seed = random(1,4)>>
		The trainers are a competitive bunch, and to go by what you can hear,
		<<if ($seed == 1) && ($seeDicks != 0) && (random(0,100) > $seeDicks)>>
		moaning interspersed with lewd, well-lubricated noises coming from both anal sex and vigorous masturbation,
		<<elseif ($seed == 2) && ($seeDicks != 100) && (random(0,100) > $seeDicks)>>
		moaning and the distinctive slap of feminine buttocks on thighs beneath them as a girl rides a dick,
		<<elseif ($seed == 3)>>
		the lush, lewd sounds of diligent oral sex,
		<<else>>
		the call-and-response of a trainer and a slave running through a memorized obedience exercise,
		<</if>>
		at least one of them is applying some last-minute training to a slave in the holding pens nearby.
	<</if>>
	<<GenerateMarketSlave "trainers">>

<</if>>

<<slaveCost $activeSlave>>
<<if $slavesSeen > $slaveMarketLimit>><<set $slaveCost += $slaveCost*(($slavesSeen-$slaveMarketLimit)*0.1)>><</if>>

<<if $slaveMarket == "neighbor">>
	<<if $opinion != 0>>
		<<set $slaveCost -= Math.trunc($slaveCost*$opinion*0.05)>>
		<<if $opinion > 2>>
			Your cultural ties with ''$arcologies[$numArcology].name'' helps keep the price reasonable.
		<<elseif $opinion < -2>>
			Your social misalignment with ''$arcologies[$numArcology].name'' drives up the price.
		<</if>>
	<</if>>
<</if>>

<<set $slaveCost = 500*Math.trunc($slaveCost/500)>>
The offered price is <<print cashFormat($slaveCost)>>.<<if $slavesSeen > $slaveMarketLimit>> You have cast such a wide net for slaves this week that it is becoming more expensive to find more for sale. Your reputation helps determine your reach within the slave market.<</if>>

<<if $cash >= $slaveCost>>

[[Buy her and check out other slaves to order|Slave Markets][$cash -= $slaveCost, $newSlaves.push($activeSlave), $introType = "multi", $slavesSeen+=1]]
	<<if $newSlaves.length == 0>>

[[Buy her slave contract|New Slave Intro][$cash -= $slaveCost,$nextButton = "Continue",$nextLink = "AS Dump",$returnTo = "Main"]]
	<<else>>

[[Buy her and Finish your order of slaves|Bulk Slave Intro][$cash -= $slaveCost, $newSlaves.push($activeSlave)]]
	<</if>>
<<else>>
	//You lack the necessary funds to buy this slave.//
<</if>>

[[Decline to purchase her and check out another slave|Slave Markets][$slavesSeen += 1]]
<<if $newSlaves.length > 0>>

[[Finish your order of slaves|Bulk Slave Intro]]
<</if>>

<<if $slaveMarket != "indentures" && $slaveMarket != "neighbor" && $slaveMarket != "heap">>
	<<set $applyLaw = 1>>
<</if>>
<<set $saleDescription = 1>><<include "Long Slave Description">>

repo_name: weresmilodon/fc

license: mit