code:
:: Child Interact [nobr]

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

<<set $nextButton = "Confirm changes", $nextLink = "AC Dump", $returnTo = "Nursery", _SL = $slaves.length, _CL = $cribs.length>>
<<setLocalPronouns $activeChild>>
<<run Enunciate($activeChild)>>
/* TODO: the encyclopedia will most likely need to be updated for children as well */
<<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 $activeChild.dick > 0>><<set $showEncyclopedia = 1, $encyclopedia = "Gender">><</if>>

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

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

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

__Take slave to another room:__
[[Wardrobe|Wardrobe Use][$degradation = 0]]
| [[Auto salon|Salon][$degradation = 0,$primaryHairColor = "",$secondaryHairColor = "",$artificialEyeColor = "",$artificialEyeShape = "",$artificialEyeFill = "",$tattooChoice = "",$piercingLevel = ""]]
| [[Body mod studio|Body Modification][$degradation = 0, $tattooChoice = undefined]]
| [[Remote surgery|Remote Surgery][$degradation = 0]]
<<if $cyberMod == 1>>| [[Configure cybernetics|cyberConfig][$temp = 0]]<</if>>
*/
/*TODO: These will most likely need to be reworked*/
<<if $extremeUnderage == 1>>

	//Or use $him here://

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

	<<if canDoAnal($activeChild)>>
		| <<link "Fuck $his ass">><<replace "#miniscene">><<set $childSex = 1>><<include "FAnus">>
    <</replace>><</link>>
	<<else>>
		| //Remove $his chastity belt if you wish to fuck $his ass//
	<</if>>

	| <<link "Use $his mouth">><<replace "#miniscene">><<set $childSex = 1>><<include "FLips">>
    <</replace>><</link>>
	| <<link "Kiss $him">><<replace "#miniscene">><<set $childSex = 1>><<include "FKiss">>
    <</replace>><</link>>
	| <<link "Play with $his tits">><<replace "#miniscene">><<set $childSex = 1>><<include "FBoobs">>
    <</replace>><</link>>
	| <<link "Caress $him">><<replace "#miniscene">><<set $childSex = 1>><<include "FCaress">>
    <</replace>><</link>>
	| <<link "Give $him a hug">><<replace "#miniscene">><<set $childSex = 1>><<include "FEmbrace">>
    <</replace>><</link>>
	<<if $cheatMode == 1>>
		| <<link "Pat $his head">><<replace "#miniscene">><<set $childSex = 1>><<include "FPat">>
    <</replace>><</link>>
	<</if>>
	| <<link "Grope $his boobs">><<replace "#miniscene">><<set $childSex = 1>><<include "FondleBoobs">>
    <</replace>><</link>>
	<<if $activeChild.nipples == "fuckable" && $PC.dick > 0>>
		| <<link "Fuck $his nipples">><<replace "#miniscene">><<set $childSex = 1>><<include "FNippleFuck">>
    <</replace>><</link>>
	<</if>>
	<<if $activeChild.lactation > 0 && $activeChild.boobs >= 2000 && $activeChild.belly < 60000>>
		| <<link "Drink $his milk">><<replace "#miniscene">><<set $childSex = 1>><<include "FSuckle">>
    <</replace>><</link>>
	<</if>>

	<<if canDoAnal($activeChild)>>
		| <<link "Grope $his butt">><<replace "#miniscene">><<set $childSex = 1>><<include "FondleButt">>
    <</replace>><</link>>
	<</if>>

	<<if ($activeChild.vagina > -1)>>
		<<if canDoVaginal($activeChild)>>
			| <<link "Grope $his pussy">><<replace "#miniscene">><<set $childSex = 1>><<include "FondleVagina">>
    <</replace>><</link>>
			| <<link "Eat $him out">><<replace "#miniscene">><<set $childSex = 1>><<include "FLickPussy">>
    <</replace>><</link>>
		<</if>>
	<</if>>

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

	<<if ($activeChild.amp == 0 || $activeChild.amp == -3 || $activeChild.amp == -5) && $PC.dick == 1>>
		| <<link "Get a footjob">><<replace "#miniscene">><<set $childSex = 1>><<include "FFeet">>
    <</replace>><</link>>
	<</if>>

	<<if $activeChild.assignment != "work in the dairy" && $activeChild.assignment != "be confined in the arcade" && $activeChild.assignment != "be confined in the cellblock">>
		<<if $enema == 1>>
			<<if ($activeChild.inflation < 3 && $activeChild.pregKnown == 0 && $activeChild.bellyImplant < 1500) || ($activeChild.inflation < 1)>>
				<<if $activeChild.inflationType == "water" || $activeChild.inflationType == "none">>
					| <<link "Fill $his ass with water">><<set $activeChild.inflationType = "water">><<set $activeChild.inflationMethod = 2>><<replace "#miniscene">><<set $childSex = 1>><<include "FillUpButt">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
				<</if>>
				<<if $medicalEnema == 1>>
					<<if $activeChild.inflationType == "aphrodisiac" || $activeChild.inflationType == "none">>
						| <<link "Fill $his ass with aphrodisiacs">><<set $activeChild.inflationType = "aphrodisiac">><<set $activeChild.inflationMethod = 2>><<replace "#miniscene">><<set $childSex = 1>><<include "FillUpButt">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
					<</if>>
					<<if $activeChild.inflationType == "curative" || $activeChild.inflationType == "none">>
						| <<link "Fill $his ass with curatives">><<set $activeChild.inflationType = "curative">><<set $activeChild.inflationMethod = 2>><<replace "#miniscene">><<set $childSex = 1>><<include "FillUpButt">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
					<</if>>
					<<if $activeChild.inflationType == "tightener" || $activeChild.inflationType == "none">>
						| <<link "Fill $his ass with rectal tighteners">><<set $activeChild.inflationType = "tightener">><<set $activeChild.inflationMethod = 2>><<replace "#miniscene">><<set $childSex = 1>><<include "FillUpButt">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
					<</if>>
				<</if>>
			<</if>>
		<</if>>
		<<if $dairyPiping == 1>>
			<<if ($milkPipeline > 88 && $milkPipeline != 0) || $arcologies[0].FSPastoralistLaw == 1>>
				<<if ($activeChild.inflation < 3 && $activeChild.pregKnown == 0 && $activeChild.bellyImplant < 1500) || ($activeChild.inflation < 1)>>
					<<if $activeChild.inflationType == "milk" || $activeChild.inflationType == "none">>
						| <<link "Fill $his ass with milk">><<set $activeChild.inflationType = "milk">><<set $activeChild.inflationMethod = 2>><<replace "#miniscene">><<set $childSex = 1>><<include "FillUpButt">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
						| <<link "Force-feed $him milk">><<set $activeChild.inflationType = "milk">><<set $activeChild.inflationMethod = 1>><<replace "#miniscene">><<set $childSex = 1>><<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 ($activeChild.inflation < 3 && $activeChild.pregKnown == 0 && $activeChild.bellyImplant < 1500) || ($activeChild.inflation < 1)>>
					<<if $activeChild.inflationType == "cum" || $activeChild.inflationType == "none">>
						| <<link "Fill $his ass with cum">><<set $activeChild.inflationType = "cum">><<set $activeChild.inflationMethod = 2>><<replace "#miniscene">><<set $childSex = 1>><<include "FillUpButt">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
						| <<link "Force-feed $him cum">><<set $activeChild.inflationType = "cum">><<set $activeChild.inflationMethod = 1>><<replace "#miniscene">><<set $childSex = 1>><<include "FillUpFace">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
					<</if>>
				<</if>>
			<<else>>
				| //$dairyNameCaps is not producing enough cum to pump through the pipes//
			<</if>>
		<</if>>
	<</if>>
	<<if $activeChild.inflation == 0 && $activeChild.bellyImplant < 1500>>
		<<if $activeChild.assignment != "work in the dairy" && $activeChild.assignment != "be confined in the arcade" && $activeChild.assignment != "be confined in the cellblock">>
			| <<link "Use another slave to force-feed $him" "SlaveOnSlaveFeedingWorkAround">><</link>>
			<<if $buckets == 1>>
				| <<link "Make $him consume two liters of slave food">><<set $activeChild.inflationType = "food">><<set $activeChild.inflationMethod = 1>><<set $activeChild.inflation = 1>><<replace "#miniscene">><<set $childSex = 1>><<include "forceFeeding">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
				<<if $activeChild.pregKnown == 0>>
					| <<link "Force $him to consume a gallon of slave food">><<set $activeChild.inflationType = "food">><<set $activeChild.inflationMethod = 1>><<set $activeChild.inflation = 2>><<replace "#miniscene">><<set $childSex = 1>><<include "forceFeeding">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
					| <<link "Force two gallons of slave food into $him">><<set $activeChild.inflationType = "food">><<set $activeChild.inflationMethod = 1>><<set $activeChild.inflation = 3>><<replace "#miniscene">><<set $childSex = 1>><<include "forceFeeding">>
<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
				<</if>>
			<</if>>
		<</if>>
	<</if>>
	<<if canDoVaginal($activeChild)>>
		| <<link "Have another slave fuck $his pussy" "FSlaveSlaveVag">><</link>>
	<</if>>
	<<if canPenetrate($activeChild)>>
		| <<link "Have another slave ride $his cock" "FSlaveSlaveDick">><</link>>
	<<elseif $activeChild.clit >= 4>>
		| <<link "Have another slave ride $his clit-dick" "FSlaveSlaveDick">><</link>>
	<</if>>
	<<if $seeBestiality == 1>>
		<<if $farmyardKennels > 0 && $activeCanine != 0>>
			| <<link "Have a $activeCanine.species mount $him">><<set $animalType = "canine">><<replace "#miniscene">><<set $childSex = 1>><<include "BeastFucked">>
    <</replace>><</link>>
		<</if>>
		<<if $farmyardStable > 0 && $activeHooved.species != 0>>
			| <<link "Let a $activeHooved.species mount $him">><<set $animalType = "hooved">><<replace "#miniscene">><<set $childSex = 1>><<include "BeastFucked">>
    <</replace>><</link>>
		<</if>>
		<<if $farmyardCages > 0 && $activeFeline != 0>>
			| <<link "Have a $activeFeline.species mount $him">><<set $animalType = "feline">><<replace "#miniscene">><<set $childSex = 1>><<include "BeastFucked">>
    <</replace>><</link>>
		<</if>>
	<</if>>
	<<if $cheatMode == 1>>
		| <<link "Check $his deadliness @@.red;FOR TESTING@@">><<replace "#miniscene">><<set $childSex = 1>><<include "Deadliness">>
    <</replace>><</link>>
	<</if>>
	| <<link "Abuse $him">><<replace "#miniscene">><<set $childSex = 1>><<include "FAbuse">><</replace>><</link>>
	<<if $familyTesting == 1>>
		<<for $i = 0; $i < _SL; $i++>>
			<<if $activeChild.mother == $slaves[$i].ID>>
				<<if isSlaveAvailable($slaves[$i])>>
					| <<link "Fuck $him with $his mother">><<replace "#miniscene">><<set $childSex = 1>><<set $partner = "mother">><<include "FRelation">>
    <</replace>><</link>>
				<<else>>
					//$His mother, $slaves[$i].slaveName, is unavailable//
				<</if>>
			<</if>>
		<</for>>
		<<if $activeChild.sisters > 0>>
			<<set $relation = 0>>
			<<for $i = 0; $i < _SL; $i++>>
				<<if areSisters($activeChild, $slaves[$i]) > 0 && !isSlaveAvailable($slaves[$i])>>
					<<set $relation++>>
				<</if>>
			<</for>>
			<<if $relation == $activeChild.sisters>>
				<<if $activeChild.sisters == 1>>
					//$His sister is unavailable//
				<<else>>
					//$His sisters are unavailable//
				<</if>>
			<<else>>
				<<if $activeChild.sisters == 1>>
					| <<link "Fuck $him with $his sister">><<replace "#miniscene">><<set $childSex = 1>><<set $partner = "sister">><<include "FRelation">>
    <</replace>><</link>>
				<<else>>
					| <<link "Fuck $him with one of $his sisters">><<replace "#miniscene">><<set $childSex = 1>><<set $partner = "sister">><<include "FRelation">>
    <</replace>><</link>>
				<</if>>
			<</if>>
		<</if>>
	<<else>>
		<<if ($activeChild.relation != 0)>>
			<<set _assayedSlave = getSlave($activeChild.relationTarget)>>
			<<if isSlaveAvailable(_assayedSlave)>>
				<<if ($activeChild.relation == "mother")>>
					| <<link "Fuck $him with $his daughter">><<replace "#miniscene">><<set $childSex = 1>><<set $partner = "relation">><<include "FRelation">>
    <</replace>><</link>>
				<<elseif ($activeChild.relation == "daughter")>>
					| <<link "Fuck $him with $his mother">><<replace "#miniscene">><<set $childSex = 1>><<set $partner = "relation">><<include "FRelation">>
    <</replace>><</link>>
				<<elseif ($activeChild.relation == "sister")>>
					| <<link "Fuck $him with $his sister">><<replace "#miniscene">><<set $childSex = 1>><<set $partner = "relation">><<include "FRelation">>
    <</replace>><</link>>
				<<elseif ($activeChild.relation == "twin")>>
					| <<link "Fuck $him with $his twin">><<replace "#miniscene">><<set $childSex = 1>><<set $partner = "relation">><<include "FRelation">>
    <</replace>><</link>>
				<</if>>
			<<else>>
				//_assayedSlave.slaveName is unavailable//
			<</if>>
		<</if>>
	<</if>>
	<<if ($activeChild.relationship > 0)>>
		<<set _si = $slaveIndices[$activeChild.relationshipTarget]>>
		<<if isSlaveAvailable($slaves[_si])>>
			<<if ($activeChild.relationship == 1)>>
				| <<link `"Fuck $him with $his friend <<= SlaveFullName($slaves[_si])>>"`>><<replace "#miniscene">><<set $childSex = 1>><<set $partner = "relationship">><<include "FRelation">>
    <</replace>><</link>>
			<<elseif ($activeChild.relationship == 2)>>
				| <<link `"Fuck $him with $his best friend <<= SlaveFullName($slaves[_si])>>"`>><<replace "#miniscene">><<set $childSex = 1>><<set $partner = "relationship">><<include "FRelation">>
    <</replace>><</link>>
			<<elseif ($activeChild.relationship == 3)>>
				| <<link `"Fuck $him with $his FWB <<= SlaveFullName($slaves[_si])>>"`>><<replace "#miniscene">><<set $childSex = 1>><<set $partner = "relationship">><<include "FRelation">>
    <</replace>><</link>>
			<<elseif ($activeChild.relationship == 4)>>
				| <<link `"Fuck $him with $his lover <<= SlaveFullName($slaves[_si])>>"`>><<replace "#miniscene">><<set $childSex = 1>><<set $partner = "relationship">><<include "FRelation">>
    <</replace>><</link>>
			<<else>>
				| <<link `"Fuck $him with $his slave wife <<= SlaveFullName($slaves[_si])>>"`>><<replace "#miniscene">><<set $childSex = 1>><<set $partner = "relationship">><<include "FRelation">>
    <</replace>><</link>>
			<</if>>
		<</if>>
	<</if>>
	<<if ($activeChild.rivalryTarget != 0) && canWalk($activeChild)>>
		| <<link "Abuse $his rival with $him">><<replace "#miniscene">><<set $childSex = 1>><<include "FRival">>
    <</replace>><</link>>
	<</if>>
	<<if ($activeChild.fetish != "mindbroken") && (($activeChild.amp != 1) || ($activeChild.voice != 0)) && $activeChild.accent != 4>>
		| <<link "Ask $him about $his feelings">><<replace "#miniscene">><<set $childSex = 1>><<include "FFeelings">>
    <</replace>><</link>>
	<</if>>
	<<if $activeChild.devotion >= 100 && $activeChild.relationship < 0 && $activeChild.relationship > -3>>
		| <<link "Talk to $him about relationships" "Matchmaking">><<set $subSlave = 0, $eventSlave = $activeChild>><</link>>
	<</if>>
<</if>>

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

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

<</if>>
/*pregmod end*/

/* TODO: the RA may need to be reworked to work with children in the Nursery */
<<if $activeChild.useRulesAssistant == 0>>
	@@.gray;''Not subject'' to the Rules Assistant.@@
	<<link "Include $him" "Child Interact">><<set $activeChild.useRulesAssistant = 1>><</link>>

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

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

			<<= $defaultRules.filter(x => ruleApplied($activeChild, x)).map(x => `<li>Rule "${x.name}" applied</li>`).join(" ") >>

	<</if>>
	| <<link "//Apply rules//">>
		<<silently>>
		<<run DefaultRules($activeChild)>>
		<</silently>>
		<<goto "Child Interact">>
	<</link>>
	| <<link "Exempt $him" "Child Interact">><<set $activeChild.useRulesAssistant = 0>><</link>>
<</if>>

<<if $showWardrobe == 1>>

__Appearance:__
/* TODO: have only a small list of children's clothing */

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

    //Nice://
<<link "Apron">><<set $activeChild.clothes = "an apron",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Ballgown">><<set $activeChild.clothes = "a ball gown",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Bangles">><<set $activeChild.clothes = "slutty jewelry",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Battlearmor">><<set $activeChild.clothes = "battlearmor",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Battledress">><<set $activeChild.clothes = "battledress",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Biyelgee costume">><<set $activeChild.clothes = "a biyelgee costume",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Bodysuit">><<set $activeChild.clothes = "a comfortable bodysuit",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Boyshorts">><<set $activeChild.clothes = "boyshorts",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Bra">><<set $activeChild.clothes = "a bra",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Burkini">><<set $activeChild.clothes = "a burkini",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Burqa">><<set $activeChild.clothes = "a burqa",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Button-up shirt and panties">><<set $activeChild.clothes = "a button-up shirt and panties",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Button-up shirt">><<set $activeChild.clothes = "a button-up shirt",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Cheerleader">><<set $activeChild.clothes = "a cheerleader outfit",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">><<print $activeChild.clothes>><</replace>><</link>>
|	<<link "Clubslut netting">><<set $activeChild.clothes = "clubslut netting",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Cutoffs and a t-shirt">><<set $activeChild.clothes = "cutoffs and a t-shirt",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Cutoffs">><<set $activeChild.clothes = "cutoffs",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Cybersuit">><<set $activeChild.clothes = "a cybersuit",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Dirndl">><<set $activeChild.clothes = "a dirndl",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Fallen nun">><<set $activeChild.clothes = "a fallen nuns habit",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Gothic lolita dress">><<set $activeChild.clothes = "a gothic lolita dress",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Haltertop dress">><<set $activeChild.clothes = "a halter top dress",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Hanbok">><<set $activeChild.clothes = "a hanbok",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Hijab and abaya">><<set $activeChild.clothes = "a hijab and abaya",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Hijab and blouse">><<set $activeChild.clothes = "a hijab and blouse",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Jeans">><<set $activeChild.clothes = "jeans",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Kitty lingerie">><<set $activeChild.clothes = "kitty lingerie",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Ku Klux Klan Robe (nice)">><<set $activeChild.clothes = "a klan robe",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Ku Klux Klan Robe (slutty)">><<set $activeChild.clothes = "a slutty klan robe",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Latex catsuit">><<set $activeChild.clothes = "a latex catsuit",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Leather pants and a tube top">><<set $activeChild.clothes = "leather pants and a tube top",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Leather pants and pasties">><<set $activeChild.clothes = "leather pants and pasties",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Leather pants">><<set $activeChild.clothes = "leather pants",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Lederhosen">><<set $activeChild.clothes = "lederhosen",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Leotard">><<set $activeChild.clothes = "a leotard",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Maid (nice)">><<set $activeChild.clothes = "a nice maid outfit",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Maid (slutty)">><<set $activeChild.clothes = "a slutty maid outfit",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Military uniform">><<set $activeChild.clothes = "a military uniform",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Mini dress">><<set $activeChild.clothes = "a mini dress",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Monokini">><<set $activeChild.clothes = "a monokini",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Mounty outfit">><<set $activeChild.clothes = "a mounty outfit",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Nice lingerie">><<set $activeChild.clothes = "attractive lingerie",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Niqab and abaya">><<set $activeChild.clothes = "a niqab and abaya",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Nurse (nice)">><<set $activeChild.clothes = "a nice nurse outfit",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Nurse (slutty)">><<set $activeChild.clothes = "a slutty nurse outfit",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "One-piece swimsuit">><<set $activeChild.clothes = "a one-piece swimsuit",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Overalls">><<set $activeChild.clothes = "overalls",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Oversized t-shirt and boyshorts">><<set $activeChild.clothes = "an oversized t-shirt and boyshorts",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Oversized t-shirt">><<set $activeChild.clothes = "an oversized t-shirt",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Panties and pasties">><<set $activeChild.clothes = "panties and pasties",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Panties">><<set $activeChild.clothes = "panties",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Police uniform">><<set $activeChild.clothes = "a police uniform",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Pony outfit (nice)">><<set $activeChild.clothes = "a nice pony outfit",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Pony outfit (slutty)">><<set $activeChild.clothes = "a slutty pony outfit",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Red Army uniform">><<set $activeChild.clothes = "a red army uniform",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Santa dress">><<set $activeChild.clothes = "a Santa dress",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Scalemail bikini">><<set $activeChild.clothes = "a scalemail bikini",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Schoolgirl">><<set $activeChild.clothes = "a schoolgirl outfit",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Schutzstaffel uniform (nice)">><<set $activeChild.clothes = "a schutzstaffel uniform",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Schutzstaffel uniform (slutty)">><<set $activeChild.clothes = "a slutty schutzstaffel uniform",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Skimpy loincloth">><<set $activeChild.clothes = "a skimpy loincloth",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Slave gown">><<set $activeChild.clothes = "a slave gown",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Slutty outfit">><<set $activeChild.clothes = "a slutty outfit",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Spats and a tank top">><<set $activeChild.clothes = "spats and a tank top",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Sport shorts and a sports bra">><<set $activeChild.clothes = "sport shorts and a sports bra",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Sport shorts and a t-shirt">><<set $activeChild.clothes = "sport shorts and a t-shirt",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Sport shorts">><<set $activeChild.clothes = "sport shorts",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Sports bra">><<set $activeChild.clothes = "a sports bra",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "String bikini">><<set $activeChild.clothes = "a string bikini",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Striped bra">><<set $activeChild.clothes = "a striped bra",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Striped panties">><<set $activeChild.clothes = "striped panties",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Striped underwear">><<set $activeChild.clothes = "striped underwear",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Succubus costume">><<set $activeChild.clothes = "a succubus outfit",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Suit (nice)">><<set $activeChild.clothes = "nice business attire",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Suit (slutty)">><<set $activeChild.clothes = "slutty business attire",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Sweater and cutoffs">><<set $activeChild.clothes = "a sweater and cutoffs",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Sweater and panties">><<set $activeChild.clothes = "a sweater and panties",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Sweater">><<set $activeChild.clothes = "a sweater",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "T-shirt and jeans">><<set $activeChild.clothes = "a t-shirt and jeans",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "T-shirt and panties">><<set $activeChild.clothes = "a t-shirt and panties",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "T-shirt and thong">><<set $activeChild.clothes = "a t-shirt and thong",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "T-shirt">><<set $activeChild.clothes = "a t-shirt",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Tank-top and panties">><<set $activeChild.clothes = "a tank-top and panties",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Tank-top">><<set $activeChild.clothes = "a tank-top",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Thong">><<set $activeChild.clothes = "a thong",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Tube top and thong">><<set $activeChild.clothes = "a tube top and thong",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>
|	<<link "Tube top">><<set $activeChild.clothes = "a tube top",$activeChild.choosesOwnClothes = 0>><<replace "#clothes">>$activeChild.clothes<</replace>><</link>>

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

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

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

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

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

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

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

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

Leg accessory: ''$activeChild.legAccessory.''
	<<link "None">><<set $activeChild.legAccessory = "none">><<replace "#legAccessory">>$activeChild.legAccessory<</replace>><</link>>
	| <<link "Short Stockings">><<set $activeChild.legAccessory = "short stockings">><<replace "#legAccessory">>$activeChild.legAccessory<</replace>><</link>>
	| <<link "Long Stockings">><<set $activeChild.legAccessory = "long stockings">><<replace "#legAccessory">>$activeChild.legAccessory<</replace>><</link>>
<</if>>

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

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

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

Dick accessory: ''$activeChild.dickAccessory.''
	<<link "None">><<set $activeChild.dickAccessory = "none">><<replace "#dickAccessory">>$activeChild.dickAccessory<</replace>><<SlaveInteractSexOption>><<SlaveInteractAnalSexOption>><<SlaveInteractGropeOption>><<SlaveInteractDickGropeOption>><<SlaveInteractAnalGropeOption>><</link>>
<</if>>

Chastity device: ''<<if $activeChild.chastityAnus == 1 && $activeChild.chastityPenis == 1 && $activeChild.chastityVagina == 1>>Full Chastity<<elseif $activeChild.chastityPenis == 1 && $activeChild.chastityVagina == 1>>Genital Chastity<<elseif $activeChild.chastityAnus == 1 && $activeChild.chastityPenis == 1>>Combined Chastity Cage<<elseif $activeChild.chastityAnus == 1 && $activeChild.chastityVagina == 1>>Combined Chastity Belt<<elseif $activeChild.chastityVagina == 1>>Chastity Belt<<elseif $activeChild.chastityPenis == 1>>Chastity Cage<<elseif $activeChild.chastityAnus == 1>>Anal Chastity<<elseif $activeChild.chastityAnus == 0 && $activeChild.chastityPenis == 0 && $activeChild.chastityVagina == 0>>None<<else>>THERE HAS BEEN AN ERROR<</if>>.''
	<<link "None">><<set $activeChild.chastityAnus = 0>><<set $activeChild.chastityPenis = 0>><<set $activeChild.chastityVagina = 0>><<replace "#chastity">>None<</replace>><<SlaveInteractAnalGropeOption>><<SlaveInteractAnalSexOption>><<SlaveInteractDickGropeOption>><<SlaveInteractFertility>><<SlaveInteractGropeOption>><<SlaveInteractImpreg>><<SlaveInteractSexOption>><</link>>
	| <<link "Anal Chastity">><<set $activeChild.choosesOwnChastity = 0>><<set $activeChild.chastityAnus = 1>><<set $activeChild.chastityPenis = 0>><<set $activeChild.chastityVagina = 0>><<replace "#chastity">>Anal Chastity<</replace>><<SlaveInteractAnalGropeOption>><<SlaveInteractAnalSexOption>><<SlaveInteractDickGropeOption>><<SlaveInteractFertility>><<SlaveInteractGropeOption>><<SlaveInteractImpreg>><<SlaveInteractSexOption>><</link>>
	<<if $activeChild.vagina > -1>>
		| <<link "Chastity Belt">><<set $activeChild.choosesOwnChastity = 0>><<set $activeChild.chastityAnus = 0>><<set $activeChild.chastityPenis = 0>><<set $activeChild.chastityVagina = 1>><<replace "#chastity">>Vaginal Chastity<</replace>><<SlaveInteractAnalGropeOption>><<SlaveInteractAnalSexOption>><<SlaveInteractDickGropeOption>><<SlaveInteractFertility>><<SlaveInteractGropeOption>><<SlaveInteractImpreg>><<SlaveInteractSexOption>><</link>>
		| <<link "Combined Chastity Belt">><<set $activeChild.choosesOwnChastity = 0>><<set $activeChild.chastityAnus = 0>><<set $activeChild.chastityPenis = 0>><<set $activeChild.chastityVagina = 0>><<replace "#chastity">>Combined Chastity Belt<</replace>><<SlaveInteractAnalGropeOption>><<SlaveInteractAnalSexOption>><<SlaveInteractDickGropeOption>><<SlaveInteractFertility>><<SlaveInteractGropeOption>><<SlaveInteractImpreg>><<SlaveInteractSexOption>><</link>>
	<</if>>
	<<if $activeChild.dick > 0>>
		| <<link "Chastity Cage">><<set $activeChild.choosesOwnChastity = 0>><<set $activeChild.chastityAnus = 0>><<set $activeChild.chastityPenis = 1>><<set $activeChild.chastityVagina = 0>><<replace "#chastity">>Chastity Cage<</replace>><<SlaveInteractAnalGropeOption>><<SlaveInteractAnalSexOption>><<SlaveInteractDickGropeOption>><<SlaveInteractFertility>><<SlaveInteractGropeOption>><<SlaveInteractImpreg>><<SlaveInteractSexOption>><</link>>
		| <<link "Combined Chastity Cage">><<set $activeChild.choosesOwnChastity = 0>><<set $activeChild.chastityAnus = 1>><<set $activeChild.chastityPenis = 1>><<set $activeChild.chastityVagina = 0>><<replace "#chastity">>Combined Chastity Cage<</replace>><<SlaveInteractAnalGropeOption>><<SlaveInteractAnalSexOption>><<SlaveInteractDickGropeOption>><<SlaveInteractFertility>><<SlaveInteractGropeOption>><<SlaveInteractImpreg>><<SlaveInteractSexOption>><</link>>
		<<if $activeChild.vagina > -1>>
			| <<link "Genital Chastity">><<set $activeChild.choosesOwnChastity = 0>><<set $activeChild.chastityAnus = 0>><<set $activeChild.chastityPenis = 1>><<set $activeChild.chastityVagina = 1>><<replace "#chastity">>Genital Chastity<</replace>><<SlaveInteractAnalGropeOption>><<SlaveInteractAnalSexOption>><<SlaveInteractDickGropeOption>><<SlaveInteractFertility>><<SlaveInteractGropeOption>><<SlaveInteractImpreg>><<SlaveInteractSexOption>><</link>>
			| <<link "Full Chastity">><<set $activeChild.choosesOwnChastity = 0>><<set $activeChild.chastityAnus = 1>><<set $activeChild.chastityPenis = 1>><<set $activeChild.chastityVagina = 1>><<replace "#chastity">>Full Chastity<</replace>><<SlaveInteractAnalGropeOption>><<SlaveInteractAnalSexOption>><<SlaveInteractDickGropeOption>><<SlaveInteractFertility>><<SlaveInteractGropeOption>><<SlaveInteractImpreg>><<SlaveInteractSexOption>><</link>>
		<</if>>
	<</if>>

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

	<<if $activeChild.choosesOwnChastity == 1>>
		$He is allowed to decide whether $he to wear chastity devices.
		[[Withdraw Privilege|Child Interact][$activeChild.choosesOwnChastity = 0]]
	<<else>>
		$He is not allowed to choose whether to wear chastity devices.
		[[Allow Choice|Child Interact][$activeChild.choosesOwnChastity = 1]]
	<</if>>
<</if>>

<</if>>	/* CLOSES WARDROBE CHECK */

__Physical Regimen:__

/* TODO: will children be able to be put on drugs? if so, which drugs? */

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

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

/* TODO: will children be able to be put on aphrodisiacs? */
Aphrodisiacs: <<if $activeChild.aphrodisiacs > 1>>extreme<<elseif $activeChild.aphrodisiacs > 0>>applied<<elseif $activeChild.aphrodisiacs === -1>>anaphrodisiacs<<else>>none<</if>>.
	<<link "None">><<set $activeChild.aphrodisiacs = 0>><<replace "#aphrodisiacs">>none<</replace>><</link>>
	| <<link "Apply">><<set $activeChild.aphrodisiacs = 1>><<replace "#aphrodisiacs">>applied<</replace>><</link>>
	| <<link "Extreme">><<set $activeChild.aphrodisiacs = 2>><<replace "#aphrodisiacs">>extreme<</replace>><</link>>
	| <<link "Anaphrodisiacs">><<set $activeChild.aphrodisiacs = -1>><<replace "#aphrodisiacs">>anaphrodisiacs<</replace>><</link>>

<<if $activeChild.inflation > 0>>

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

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

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

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

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

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

__Behavior__:

<<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>>
/* TODO: children's living standards will be based on the Nursery and its FS décor */
Living standard: ''$activeChild.livingRules.''
<<if setup.facilityCareers.includes($activeChild.assignment)>>
	//$His living conditions are managed by $his assignment.//
<<else>>
	<<link "Spare">><<set $activeChild.livingRules = "spare">><<replace "#livingRules">>$activeChild.livingRules<</replace>><</link>> |
	<<link "Normal">><<set $activeChild.livingRules = "normal">><<replace "#livingRules">>$activeChild.livingRules<</replace>><</link>> |
	<<if $roomsPopulation <= $rooms-0.5>><<link "Luxurious">><<set $activeChild.livingRules = "luxurious">><<replace "#livingRules">>$activeChild.livingRules<</replace>><</link>><<else>>//No luxurious rooms available//<</if>>
<</if>>

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

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

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

/* TODO: will children be able to have clit piercings? */
<<if $activeChild.clitPiercing == 3>>

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

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

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

/* TODO: will children be able to have relationships? */
Relationship rules: ''$activeChild.relationshipRules.''
<<link "Restrictive">><<set $activeChild.relationshipRules = "restrictive">><<replace "#relationshipRules">>$activeChild.relationshipRules<</replace>><</link>> |
<<link "Just friends">><<set $activeChild.relationshipRules = "just friends">><<replace "#relationshipRules">>$activeChild.relationshipRules<</replace>><</link>> |
<<link "Permissive">><<set $activeChild.relationshipRules = "permissive">><<replace "#relationshipRules">>$activeChild.relationshipRules<</replace>><</link>>

/*| <<link "Upload $him" "Upload Slave">><</link>>*/
| <<link "Export this slave" "Export Slave">><</link>>
<<if $cheatMode == 1>>
	| <<link "Import a slave" "Import Slave">><</link>>
<</if>>
<<if $cheatMode == 1>>

''Cheatmode:''
	<<link "Retrieve immediately" "Nursery Retrieval Workaround">>
		<<set $nurseryOldID = $cribs[$i].ID>>
		<<set $readySlave = $cribs.pluck([$i], [$i])>>
	<</link>>
<</if>>

<<if $activeChild.actualAge < $minimumSlaveAge>>
	<<link "Remove from $nurseryName" "Nursery Discard Workaround">><</link>>

//Children that are younger than <<print $minimumSlaveAge>> will be given to another arcology to be raised//
<<else>>
	<<link "Remove from $nurseryName" "Nursery Retrieval Workaround">><</link>>
<</if>>


code:
:: Child Summary [nobr]

<<set setup.passagePreFilters = setup.passagePreFilters || {
	"Main":						 c => (c.assignmentVisible == 1),
	"Nursery":					   c => (c.assignmentVisible == 1 && c.fuckdoll == 0),
	"Personal Attention Select":	c => (c.assignmentVisible == 1 && c.fuckdoll <= 0) && (
			($Flag == 0 && c.assignment != "be a child")
		|| ($Flag == 1 && c.assignment == "be a child")
	),
	"New Game Plus":				c => (($Flag == 0 && c.assignment != "be imported") || ($Flag != 0 && c.assignment == "be imported")),
	"Rules Slave Select":		   c => (($Flag == 0 && !ruleSlaveSelected(s, $currentRule)) || ($Flag != 0 && ruleSlaveSelected(s, $currentRule))),
	"Rules Slave Exclude":		  c => (($Flag == 0 && !ruleSlaveExcluded(s, $currentRule)) || ($Flag != 0 && ruleSlaveExcluded(s, $currentRule))),
}>>
<<set _Pass = passage(), _CL = $cribs.length, $assignTo = _Pass, _indexed = 0,
	_passagePreFilter = (c => c.assignment != "be your agent" && c.assignment != "live with your agent" && (!setup.passagePreFilters.hasOwnProperty(_Pass) || setup.passagePreFilters[_Pass](c))),
	_filteredSlaveIdxs = $cribs.map(function(slave, idx) { return _passagePreFilter(slave) ? idx : null; }).filter(function(idx) { return idx != null; }),
	_indexSlavesIdxs = $cribs.map(function(slave, idx) { return _passagePreFilter(slave) ? idx : null; }).filter(function(idx) { return idx != null; })>>
<<for !_.isUndefined(_csi = _filteredSlaveIdxs.shift())>>
<<set _Child = $cribs[_csi]>>
<<set _childName = SlaveFullName(_Child);>>

<<capture _csi>>

<<if $useSlaveListInPageJSNavigation == 1>>
	<<set _Count = _indexSlavesIdxs.length>>
	/* Useful for finding weird combinations — usages of this passage that don't yet generate the quick index.
	*	<<print 'pass/count/indexed/flag::[' + _Pass + '/' + _Count + '/' + _indexed + '/' + $Flag + ']'>>
	*/
	<<if ((_Count > 1) && (_indexed == 0) && (((_Pass == 'Main') && (ndef $Flag) && (($useSlaveSummaryTabs == 0) || ($childAssignmentTab == "all"))) || ($Flag == 1)))>>
		<<set _indexed = 1, _counter = 0, _buttons = [], _offset = -50>>
		<<if (/Select/i.test(_Pass))>>
			<<set _offset = -25>>
		<</if>>

		<<set _tableCount = _tableCount || 0>>
		<<set _tableCount++>>
		/*
		*  we want <button data-quick-index="<<= _tableCount>>"> ...
		*/
		<<set _buttonAttributes = { 'data-quick-index': _tableCount }>>
		<<htag _buttonAttributes 'button'>>Quick Index<</htag>>
		/*
		*  we want
...
		*/
		<<set _divAttributes = { id: 'list_index' + _tableCount, class: 'hidden'}>>
		<<htag _divAttributes>>
			<<for !_.isUndefined(_csii = _indexSlavesIdxs.shift())>>
				<<set _IndexSlave = $cribs[_csii]>>
				<<set _indexSlaveName = SlaveFullName(_IndexSlave);>>
				<<set _devotionClass = getSlaveDevotionClass(_IndexSlave);>>
				<<set _trustClass = getSlaveTrustClass(_IndexSlave);>>
				<<set _buttons.push({'data-name': _indexSlaveName, 'data-scroll-to': '#slave-' + _IndexSlave.ID, 'data-scroll-offset': _offset, 'data-devotion': _IndexSlave.devotion, 'data-trust': _IndexSlave.trust, class: _devotionClass + ' ' + _trustClass });>>
			<</for>>
			<<if !_.isUndefined(_buttons[0])>>
				<<set $sortQuickList = $sortQuickList || 'Devotion'>>
				//Sorting:// ''$sortQuickList.''
				<<link "Sort by Devotion">>
					<<set $sortQuickList = 'Devotion'>>
					<<replace "#qlSort">>$sortQuickList<</replace>>
					<>
				<</link>> |
				<<link "Sort by Trust">>
					<<set $sortQuickList = 'Trust'>>
					<<replace "#qlSort">>$sortQuickList<</replace>>
					<>
				<</link>>

					<<for !_.isUndefined(_buttons[0])>>
						<<set _button = _buttons.shift()>>
						<<if !_.isUndefined(_button)>>
							<<set _buttonSlaveName = _button['data-name'];>>
							<<htag _button 'button'>>_buttonSlaveName<</htag>>
						<</if>>
					<</for>>

			<</if>>
		<</htag>>
	<</if>>
<</if>>
<<switch _Pass>>
<<case "Main">>

	<<if (_Child.choosesOwnClothes == 1) && (_Child.clothes == "choosing her own clothes")>>
		<<set _oldDevotion = _Child.devotion>>
		<<set _chosenClothes = saChoosesOwnClothes(_Child)>>
		<<set $cribs[_csi].devotion = _oldDevotion, _Child = $cribs[_csi]>> /* restore devotion value so repeatedly changing clothes isn't an exploit */
	<</if>>

<<if $lineSeparations == 0>>
<<else>>
<</if>><<if ($seeImages == 1) && ($seeSummaryImages == 1)>>
<<SlaveArt _Child 1>>
<</if>>
	<<if "be your Head Girl" == _Child.assignment>>''@@.lightcoral;HG@@''
	<<elseif "recruit girls" == _Child.assignment>>''@@.lightcoral;RC@@''
	<<elseif "guard you" == _Child.assignment>>''@@.lightcoral;BG@@''
	<</if>>
	<<if Array.isArray($personalAttention) && $personalAttention.findIndex(function(s) { return s.ID == _Child.ID; }) != -1>>''@@.lightcoral;PA@@''<</if>>
	[[_childName|Child Interact][$activeSlave = $cribs[_csi]]] /* lists their names */

/* TODO: will the PC be able to give children PA? */
<<case "Personal Attention Select">>

<<if $lineSeparations == 0>>
<<else>>
<</if>><<if ($seeImages == 1) && ($seeSummaryImages == 1)>>
<<SlaveArt _Child 1>>
<</if>>
	<<link _childName>>
		<<if !Array.isArray($personalAttention)>> /* first PA target */
			<<set $personalAttention = [{ID: $cribs[_csi].ID, trainingRegimen: "undecided"}]>>
		<<else>>
			<<set _pai = $personalAttention.findIndex(function(s) { return s.ID == $cribs[_csi].ID; })>>
			<<if _pai == -1>> /* not already a PA target; add */
				<<set $activeSlave = $cribs[_csi], $personalAttention.push({ID: $cribs[_csi].ID, trainingRegimen: "undecided"})>>
			<<else>> /* already a PA target; remove */
				<<set $personalAttention.deleteAt(_pai)>>
				<<if $personalAttention.length == 0>>
					<<set $personalAttention = "sex">>
				<</if>>
			<</if>>
		<</if>>
		<<goto "Personal Attention Select">>
	<</link>>

<<case "New Game Plus">>
	<<if $Flag == 0>>

__''@@.pink;_Child.slaveName@@''__
	<<else>>

__''@@.pink;_Child.slaveName@@''__
	<</if>>
<<case "Rules Slave Select">>
	<<if $Flag == 0>>

__''
		[[_childName|Rules Slave Select Workaround][$activeSlave = $cribs[_csi]]]''__
	<<else>>

__''
		[[_childName|Rules Slave Deselect Workaround][$activeSlave = $cribs[_csi]]]''__
	<</if>>
<<case "Rules Slave Exclude">>
	<<if $Flag == 0>>

__''
		[[_childName|Rules Slave Exclude Workaround][$activeSlave = $cribs[_csi]]]''__
	<<else>>

__''
		[[_childName|Rules Slave NoExclude Workaround][$activeSlave = $cribs[_csi]]]''__
	<</if>>
<</switch>>

<<run SlaveStatClamp(_Child)>>

<<set _Child.trust = Math.trunc(_Child.trust), _Child.devotion = Math.trunc(_Child.devotion), _Child.health = Math.trunc(_Child.health)>>

<<set $cribs[_csi] = _Child>>

will
<<if (_Child.assignment == "rest") && (_Child.health >= -20)>>
	''__@@.lawngreen;rest.@@__''
<<elseif (_Child.assignment == "stay confined") && ((_Child.devotion > 20) || ((_Child.trust < -20) && (_Child.devotion >= -20)) || ((_Child.trust < -50) && (_Child.devotion >= -50)))>>
	''__@@.lawngreen;stay confined.@@__''<<if _Child.sentence > 0>> (_Child.sentence weeks)<</if>>
<<else>>
	<<if _Child.choosesOwnAssignment == 1>>choose her own job<<else>>_Child.assignment<<if _Child.sentence > 0>> (_Child.sentence weeks)<</if>><</if>>.
<</if>>

<<if ($displayAssignments == 1) && (_Pass == "Main") && (_Child.ID != $HeadGirl.ID) && (_Child.ID != $Recruiter.ID) && (_Child.ID != $Bodyguard.ID)>>
	<<if _Child.assignment != "rest">>
		<<link "Rest" "Main">><<= removeJob($cribs[_csi], $cribs[_csi].assignment)>><</link>>
	<<else>>
		Rest
	<</if>>
	<<if _Child.fuckdoll == 0>> /* NON-FUCKDOLL ASSIGNMENTS */
		<<if (_Child.assignment != "take classes")>>
			<<if (_Child.intelligenceImplant < 15) && ((_Child.devotion >= -20) || ((_Child.trust < -20) && (_Child.devotion >= -50)) || (_Child.trust < -50)) && (_Child.fetish != "mindbroken")>>
				| <<link "Classes" "Main">><<= assignJob($cribs[_csi], "take classes")>><</link>>
			<</if>>
		<<else>>
			| Classes
		<</if>>
		<<if (_Child.assignment != "choose her own job")>>
			| <<link "Let _Child.object choose" "Main">><<= assignJob($cribs[_csi], "choose her own job")>><</link>>
		<<else>>
			| Let _Child.object choose
		<</if>>
	<</if>> /* CLOSES FUCKDOLL CHECK */
<</if>>

<<set _numFacilities = $nursery>> /* more subfacilities may be added down the line */

<<if _numFacilities > 0>>

	<<if _Pass == "Main">>
		<<set $returnTo=_Pass >>

Transfer to:

		<<if _Child.assignment != "rest" && _Child.assignment != "be a child">>
			<<link "Nursery" "Nursery">><<= removeJob($cribs[_csi], $cribs[_csi].assignment)>><</link>> |
		<<else>>
			Nursery
		<</if>>

	<</if>> /* Closes transfer options check */

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

<<if ((_Pass != 'Main') || (def $Flag) || ($useSlaveSummaryTabs == 0) || ($childAssignmentTab == "all"))>>
	<<print ' '>>
<</if>>

<<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>    <</if>>

<<run clearSummaryCache()>>
<<= SlaveSummary(_Child)>>

<<set $cribs[_csi] = _Child>>

<<switch _Pass>>
<<case "Main">>
	<<continue>>
<<case "New Game Plus">>

<<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>    <</if>>
	<<if $Flag === 0>>
		<<link "Add to import list" "New Game Plus">>
			<<set $cribsToImport += 1,$Flag = 1>>
			<<= assignJob($cribs[_csi], "be imported")>>
		<</link>>
	<<else>>
		<<link "Remove from import list" "New Game Plus">>
			<<set $cribsToImport -= 1,$Flag = 0>>
			<<= removeJob($cribs[_csi], $cribs[_csi].assignment)>>
		<</link>>
	<</if>>
<</switch>>

<</capture>>

<</for>>
<<set $activeSlave = 0, _Child = 0>>

repo_name: ddongsanda/fc


code:
:: Children Report [nobr]

<<set $nurserySlaves = 0>>

<<for _nur = 0; _nur < $cribs.length; _nur++>>
	<<set $cribs[_nur].birthWeek += 1>>
	<<if $cribs[_nur].birthWeek >= 52>>
		<<set $cribs[_nur].birthWeek = 0>>
		<<if $seeAge == 1>>
			<<set $cribs[_nur].actualAge++, $cribs[_nur].ovaryAge++>>
		<</if>>
	<</if>>
	<<set $nurserySlaves += 1>>
	<<if $cribs[_nur].growTime > 0>>
		<<set $cribs[_nur].growTime -= 1>>

@@.pink;<<print $cribs[_nur].slaveName>>@@ is growing steadily. $He <<if $cribs[_nur].growTime <= 0>>is @@.lime;ready for release.@@ $He will be ejected from $his crib upon your approach<<else>>will be ready for release in about <<print $cribs[_nur].growTime>> weeks<</if>>.
	<<else>>
		@@.pink;$cribs[_nur].slaveName@@ is @@.lime;ready for release.@@ $He will be removed from $nurseryName upon your approach.
	<</if>>

	<<if $nurseryWeight == 1>>

		<<if $nurseryWeightSetting == 1>>
			<<if $cribs[_nur].weight < 200>>
				<<set $cribs[_nur].weight += 5>>
			<</if>>
			The weight monitoring systems are overloading $his intake causing @@.red;rapid weight gain.@@
		<<elseif $nurseryWeightSetting == 2>>
			<<if $cribs[_nur].weight > 10>>
				<<set $cribs[_nur].weight -= 1>>
				The weight monitoring systems detect $he is overweight and @@.green;decrease $his caloric intake.@@
			<<elseif $cribs[_nur].weight < -10>>
				<<set $cribs[_nur].weight += 1>>
				The weight monitoring systems detect $he is underweight and @@.green;increase $his caloric intake.@@
			<<else>>
				$He is @@.lime;currently a healthy weight;@@ efforts will be made to maintain it.
			<</if>>
		<<elseif $nurseryWeightSetting == 0>>
			<<if $cribs[_nur].weight > -100>>
				$His developing body @@.red;quickly sheds its gained weight.@@
				<<set $cribs[_nur].weight -= 40>>
			<</if>>
		<</if>>
	<<else>>
		<<if $cribs[_nur].weight > -100>>
			$His developing body @@.red;quickly sheds its gained weight.@@
			<<set $cribs[_nur].weight -= 40>>
		<</if>>
	<</if>>

	<<if $nurseryMuscles == 1>>

		<<if $nurseryMusclesSetting == 2>>
			<<if $cribs[_nur].muscles < 100>>
				<<set $cribs[_nur].muscles += 5>>
			<</if>>
			The strength monitoring systems are overloading $him with steroids causing @@.green;rapid muscle development.@@
		<<elseif $nurseryMusclesSetting == 1>>
			<<if $cribs[_nur].muscles > 10>>
				<<set $cribs[_nur].muscles-->>
				The strength monitoring systems detect $he is overly muscular and @@.green;decrease $his steroid dosage.@@
			<<elseif $cribs[_nur].muscles < -10>>
				<<set $cribs[_nur].muscles++>>
				The strength monitoring systems detect $he is weak and @@.green;increase $his steroid dosage.@@
			<<else>>
				$He has @@.lime;a healthy musculature;@@ efforts will be made to maintain it.
			<</if>>
		<<elseif $nurseryMusclesSetting == 0>>
			<<if $cribs[_nur].muscles > -100>>
				$His developing body @@.red;quickly loses its gained muscle.@@
				<<set $cribs[_nur].muscles -= 40>>
			<</if>>
		<</if>>
	<<else>>
		<<if $cribs[_nur].muscles > -100>>
			$His developing body @@.red;quickly loses its gained muscle.@@
			<<set $cribs[_nur].muscles -= 40>>
		<</if>>
	<</if>>

<</for>>
/*
<<if $nurserySlaves == 0>>
$nurseryNameCaps is currently unused.
<</if>>
*/