code:
:: FondleDick

<<nobr>>
You call her over so you can fondle her
<<if $activeSlave.dick == 1>>
	tiny dick.
<<elseif $activeSlave.dick == 2>>
	cute dick.
<<elseif $activeSlave.dick == 3>>
	dick
<<elseif $activeSlave.dick == 4>>
	big dick
<<elseif $activeSlave.dick == 5>>
	impressive dick
<<elseif $activeSlave.dick == 6>>
	huge dick
<<elseif $activeSlave.dick == 7>>
	gigantic dick
<<elseif $activeSlave.dick == 8>>
	titanic dick
<<elseif $activeSlave.dick == 9>>
	absurd dick
<<elseif $activeSlave.dick == 10>>
	inhuman dick
<<else>>
	hypertrophied dick
<</if>>

<<if $activeSlave.scrotum > 0>>
	and
	<<if $activeSlave.balls == 0>>
		soft scrotum.
	<<elseif $activeSlave.balls == 1>>
		tiny balls.
	<<elseif $activeSlave.balls == 2>>
		cute balls.
	<<elseif $activeSlave.balls == 3>>
		balls.
	<<elseif $activeSlave.balls == 4>>
		large balls.
	<<elseif $activeSlave.balls == 5>>
		huge balls.
	<<else>>
		monstrous balls.
	<</if>>
<<else>>
	and soft perineum.
<</if>>

<<if ($activeSlave.vaginaTat == "tribal patterns")>>
	The tattoos on her abdomen certainly draw attention there.
<</if>>

<<if ($activeSlave.vaginaPiercing > 1) && ($activeSlave.dick != 0)>>
	Metal glints all up and down her cock.
<<elseif ($activeSlave.vaginaPiercing == 1) && ($activeSlave.dick != 0)>>
	Metal glints at the head of her cock.
<</if>>

<<if ($activeSlave.fetish == "mindbroken")>>
	Like a doll, she dumbly remains still, watching your hands move towards her without any real interest. You gently trace your fingers along her
	<<if $activeSlave.dick == 1>>
		tiny dick
	<<elseif $activeSlave.dick == 2>>
		cute dick
	<<elseif $activeSlave.dick == 3>>
		dick
	<<elseif $activeSlave.dick == 4>>
		big dick
	<<elseif $activeSlave.dick == 5>>
		impressive dick
	<<elseif $activeSlave.dick == 6>>
		huge dick
	<<elseif $activeSlave.dick == 7>>
		gigantic dick
	<<elseif $activeSlave.dick == 8>>
		titanic dick
	<<elseif $activeSlave.dick == 9>>
		absurd dick
	<<elseif $activeSlave.dick == 10>>
		inhuman dick
	<<else>>
		hypertrophied dick
	<</if>> before taking it gently in one hand and tenderly stroking your hand along its shaft,
	<<if $activeSlave.balls > 0>>
		while simultaneously cupping her
	<<if $activeSlave.scrotum == 0>>
		soft skin beneath her base and her butthole
	<<elseif $activeSlave.balls == 1>>
		tiny balls
	<<elseif $activeSlave.balls == 2>>
		small balls
	<<elseif $activeSlave.balls == 3>>
		balls
	<<elseif $activeSlave.balls == 4>>
		big balls
	<<elseif $activeSlave.balls == 5>>
		lemon-sized balls
	<<elseif $activeSlave.balls < 10>>>>
		fist-sized balls
	<<else>>
		hypertrophied balls
	<</if>>
		with your other hand
	<</if>>. You firmly wrap your fingers, thumb and palm around her dick, rhythmically stroking along with both hands, starting slow but gradually increasing the speed of your movements. You occasionally squeeze the tip and head of her dick between your fingers and thumb.
	<<if !canAchieveErection($activeSlave)>>
		Her dick remains flaccid as it cannot get stiff and you continue tenderly stroking her soft dick but, she does not respond.
	<<else>>
		Her prick stiffens like a rod in your hands and you continue your expert strokes along the erect shaft but, except for the cockmilk leaking out of her dick, she does not respond.
	<</if>>
	Since she is mindbroken, her responses to you are purely physiological and your actions have no affect on her mentally. You leave your toy for one of your other slaves to clean and maintain.
<<elseif ($activeSlave.amp == 1)>>
	Since she's a quadruple amputee, she's yours to use as a human finger toy. While she's lying there helpless, you move your hands towards her. You gently trace your fingers along her
	<<if $activeSlave.dick == 1>>
		tiny dick
	<<elseif $activeSlave.dick == 2>>
		cute dick
	<<elseif $activeSlave.dick == 3>>
		dick
	<<elseif $activeSlave.dick == 4>>
		big dick
	<<elseif $activeSlave.dick == 5>>
		impressive dick
	<<elseif $activeSlave.dick == 6>>
		huge dick
	<<elseif $activeSlave.dick == 7>>
		gigantic dick
	<<elseif $activeSlave.dick == 8>>
		titanic dick
	<<elseif $activeSlave.dick == 9>>
		absurd dick
	<<elseif $activeSlave.dick == 10>>
		inhuman dick
	<<else>>
		hypertrophied dick
	<</if>> before taking it gently in one hand and tenderly stroking your hand along its shaft,
	<<if $activeSlave.balls > 0>>
		while simultaneously cupping her
	<<if $activeSlave.scrotum == 0>>
		soft skin beneath her base and her butthole
	<<elseif $activeSlave.balls == 1>>
		tiny balls
	<<elseif $activeSlave.balls == 2>>
		small balls
	<<elseif $activeSlave.balls == 3>>
		balls
	<<elseif $activeSlave.balls == 4>>
		big balls
	<<elseif $activeSlave.balls == 5>>
		lemon-sized balls
	<<elseif $activeSlave.balls < 10>>>>
		fist-sized balls
	<<else>>
		hypertrophied balls
	<</if>>
		with your other hand
		<</if>>. You firmly wrap your fingers, thumb and palm around her dick, rhythmically stroking along with both hands, starting slow but gradually increasing the speed of your movements. You occasionally squeeze the tip and head of her dick between your fingers and thumb.
	<<if !canAchieveErection($activeSlave)>>
		Her dick remains flaccid as it cannot get stiff and you continue tenderly stroking her soft dick but, except for the cockmilk leaking out of her dick, she does not respond.
	<<else>>
		Her prick stiffens like a rod in your hands and you continue your expert strokes along the erect shaft but, except for the cockmilk leaking out of her dick, she does not respond.
	<</if>> Soon, her movements indicate that she is orgasming. She shudders and leaks her cockmilk as she orgasms in your hand, looking at you as you stop moving your hands. You leave your toy for one of your other slaves to clean and maintain.
<<elseif ($activeSlave.fetish == "submissive") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>>
	She comes submissively over, smiling a little submissive smile, and points her dick towards you. You gently trace your fingers along her
	<<if $activeSlave.dick == 1>>
		tiny dick
	<<elseif $activeSlave.dick == 2>>
		cute dick
	<<elseif $activeSlave.dick == 3>>
		dick
	<<elseif $activeSlave.dick == 4>>
		big dick
	<<elseif $activeSlave.dick == 5>>
		impressive dick
	<<elseif $activeSlave.dick == 6>>
		huge dick
	<<elseif $activeSlave.dick == 7>>
		gigantic dick
	<<elseif $activeSlave.dick == 8>>
		titanic dick
	<<elseif $activeSlave.dick == 9>>
		absurd dick
	<<elseif $activeSlave.dick == 10>>
		inhuman dick
	<<else>>
		hypertrophied dick
	<</if>> before taking it gently in one hand and tenderly stroking your hand along its shaft,
	<<if $activeSlave.balls > 0>>
		while simultaneously cupping her
	<<if $activeSlave.scrotum == 0>>
		soft skin beneath her base and her butthole
	<<elseif $activeSlave.balls == 1>>
		tiny balls
	<<elseif $activeSlave.balls == 2>>
		small balls
	<<elseif $activeSlave.balls == 3>>
		balls
	<<elseif $activeSlave.balls == 4>>
		big balls
	<<elseif $activeSlave.balls == 5>>
		lemon-sized balls
	<<elseif $activeSlave.balls < 10>>>>
		fist-sized balls
	<<else>>
		hypertrophied balls
	<</if>>
		with your other hand
	<</if>>. You firmly wrap your fingers, thumb and palm around her dick, rhythmically stroking along with both hands, starting slow but gradually increasing the speed of your movements. You occasionally squeeze the tip and head of her dick between your fingers and thumb.
	<<if !canAchieveErection($activeSlave)>>
		Her dick remains flaccid as it cannot get stiff and you continue tenderly stroking her soft dick.
	<<else>>
		Her prick stiffens like a rod in your hands and you continue your expert strokes along the erect shaft.
	<</if>> Soon, her movements indicate that she is orgasming. She shudders and leaks her cockmilk as she orgasms in your hands and get cleaned up.
<<elseif  $activeSlave.devotion < -20>>
	She clearly dislikes the thought of getting her dick fondled by you. Her lower lip quivers with trepidation as she watches your hands move towards her. She has no choice but to obey if she wants to avoid punishment. She gasps and shakes as you gently trace along her
	<<if $activeSlave.dick == 1>>
		tiny dick
	<<elseif $activeSlave.dick == 2>>
		cute dick
	<<elseif $activeSlave.dick == 3>>
		dick
	<<elseif $activeSlave.dick == 4>>
		big dick
	<<elseif $activeSlave.dick == 5>>
		impressive dick
	<<elseif $activeSlave.dick == 6>>
		huge dick
	<<elseif $activeSlave.dick == 7>>
		gigantic dick
	<<elseif $activeSlave.dick == 8>>
		titanic dick
	<<elseif $activeSlave.dick == 9>>
		absurd dick
	<<elseif $activeSlave.dick == 10>>
		inhuman dick
	<<else>>
		hypertrophied dick
	<</if>> before taking it gently in one hand and tenderly stroking your hand along its shaft,
	<<if $activeSlave.balls > 0>>
		while simultaneously cupping her
	<<if $activeSlave.scrotum == 0>>
		soft skin beneath her base and her butthole
	<<elseif $activeSlave.balls == 1>>
		tiny balls
	<<elseif $activeSlave.balls == 2>>
		small balls
	<<elseif $activeSlave.balls == 3>>
		balls
	<<elseif $activeSlave.balls == 4>>
		big balls
	<<elseif $activeSlave.balls == 5>>
		lemon-sized balls
	<<elseif $activeSlave.balls < 10>>>>
		fist-sized balls
	<<else>>
		hypertrophied balls
	<</if>>
		with your other hand
	<</if>>. You firmly wrap your fingers, thumb and palm around her dick, rhythmically stroking along with both hands, starting slow but gradually increasing the speed of your movements. You occasionally squeeze the tip and head of her dick between your fingers and thumb.
	<<if !canAchieveErection($activeSlave)>>
		Her dick remains flaccid as it cannot get stiff and you continue tenderly stroking her soft dick.
	<<else>>
		Her prick stiffens like a rod in your hand and you continue your expert strokes along the erect shaft.
	<</if>> She grabs your wrist with her hands and tries to stop it from moving but is unable to and despite her resistant pulling against you. She bites her lip but she cannot help but moan. Soon she shudders and leaks her cockmilk as she orgasms in your hands. She looks at you shamefully as you stop moving your hands and get cleaned up.
<<elseif ($activeSlave.fetish == "masochist") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>>
	She hurriedly comes over to you, to stand between you and your desk. You lean over while she lies down upon it, face up, with her dick pointed towards you. She gasps when you slap her
	<<if $activeSlave.dick == 1>>
		tiny dick
	<<elseif $activeSlave.dick == 2>>
		cute dick
	<<elseif $activeSlave.dick == 3>>
		dick
	<<elseif $activeSlave.dick == 4>>
		big dick
	<<elseif $activeSlave.dick == 5>>
		impressive dick
	<<elseif $activeSlave.dick == 6>>
		huge dick
	<<elseif $activeSlave.dick == 7>>
		gigantic dick
	<<elseif $activeSlave.dick == 8>>
		titanic dick
	<<elseif $activeSlave.dick == 9>>
		absurd dick
	<<elseif $activeSlave.dick == 10>>
		inhuman dick
	<<else>>
		hypertrophied dick
	<</if>> with your hand. You firmly grab it and tightly squeeze it with your fingers, stroking your hand along its shaft,
	<<if $activeSlave.balls > 0>>
		while simultaneously slapping her
	<<if $activeSlave.balls == 1>>
		tiny balls
	<<elseif $activeSlave.balls == 2>>
		small balls
	<<elseif $activeSlave.balls == 3>>
		balls
	<<elseif $activeSlave.balls == 4>>
		big balls
	<<elseif $activeSlave.balls == 5>>
		lemon-sized balls
	<<elseif $activeSlave.balls < 10>>>>
		fist-sized balls
	<<else>>
		hypertrophied balls
	<</if>>
		with your other hand
	<</if>>. You firmly wrap your fingers, thumb and palm around her dick, rhythmically stroking along with both hands, starting slow but gradually increasing the speed of your movements. You occasionally squeeze and pinch the tip and head of her dick between your fingers and thumb.
	<<if !canAchieveErection($activeSlave)>>
		Her dick remains flaccid as it cannot get stiff and you continue tenderly stroking her soft dick.
	<<else>>
		Her prick stiffens like a rod in your hands and you continue your expert strokes along the erect shaft.
	<</if>> Your rough play leaves red marks on her breasts and nipples and she becomes even more aroused. Soon, her movements indicate that she is orgasming. She shudders and leaks her cockmilk as she orgasms in your hands and get cleaned up. She rubs the marks on her dick and balls with her hands, an ecstatic look on her $activeSlave.skin face. She looks at you longingly, hungry for more.
<<elseif  $activeSlave.devotion <= 20>>
	She obeys silently, standing in front of you as you move your hands towards her. You gently trace your fingers along her
	<<if $activeSlave.dick == 1>>
		tiny dick
	<<elseif $activeSlave.dick == 2>>
		cute dick
	<<elseif $activeSlave.dick == 3>>
		dick
	<<elseif $activeSlave.dick == 4>>
		big dick
	<<elseif $activeSlave.dick == 5>>
		impressive dick
	<<elseif $activeSlave.dick == 6>>
		huge dick
	<<elseif $activeSlave.dick == 7>>
		gigantic dick
	<<elseif $activeSlave.dick == 8>>
		titanic dick
	<<elseif $activeSlave.dick == 9>>
		absurd dick
	<<elseif $activeSlave.dick == 10>>
		inhuman dick
	<<else>>
		hypertrophied dick
	<</if>> before taking it gently in one hand and tenderly stroking your hand along its shaft,
	<<if $activeSlave.balls > 0>>
		while simultaneously cupping her
	<<if $activeSlave.scrotum == 0>>
		soft skin beneath her base and her butthole
	<<elseif $activeSlave.balls == 1>>
		tiny balls
	<<elseif $activeSlave.balls == 2>>
		small balls
	<<elseif $activeSlave.balls == 3>>
		balls
	<<elseif $activeSlave.balls == 4>>
		big balls
	<<elseif $activeSlave.balls == 5>>
		lemon-sized balls
	<<elseif $activeSlave.balls < 10>>>>
		fist-sized balls
	<<else>>
		hypertrophied balls
	<</if>>
		with your other hand
	<</if>>. You firmly wrap your fingers, thumb and palm around her dick, rhythmically stroking along with both hands, starting slow but gradually increasing the speed of your movements. You occasionally squeeze the tip and head of her dick between your fingers and thumb.
	<<if !canAchieveErection($activeSlave)>>
		Her dick remains flaccid as it cannot get stiff and you continue tenderly stroking her soft dick.
	<<else>>
		Her prick stiffens like a rod in your hands and you continue your expert strokes along the erect shaft.
	<</if>> She looks into your eyes furtively while she grabs your wrists with her hands, moving to match your hand movements. She moans and shudders, leaking her cockmilk as she orgasms in your hands. She dutifully looks at you as you stop moving your hands and get cleaned up.
<<else>>
	She devotedly comes over and gives you an impassioned kiss. She smiles and points her dick towards you. You gently trace your fingers along her
	<<if $activeSlave.dick == 1>>
		tiny dick
	<<elseif $activeSlave.dick == 2>>
		cute dick
	<<elseif $activeSlave.dick == 3>>
		dick
	<<elseif $activeSlave.dick == 4>>
		big dick
	<<elseif $activeSlave.dick == 5>>
		impressive dick
	<<elseif $activeSlave.dick == 6>>
		huge dick
	<<elseif $activeSlave.dick == 7>>
		gigantic dick
	<<elseif $activeSlave.dick == 8>>
		titanic dick
	<<elseif $activeSlave.dick == 9>>
		absurd dick
	<<elseif $activeSlave.dick == 10>>
		inhuman dick
	<<else>>
		hypertrophied dick
	<</if>> before taking it gently in one hand and tenderly stroking your hand along its shaft,
	<<if $activeSlave.balls > 0>>
		while simultaneously cupping her
	<<if $activeSlave.scrotum == 0>>
		soft skin beneath her base and her butthole
	<<elseif $activeSlave.balls == 1>>
		tiny balls
	<<elseif $activeSlave.balls == 2>>
		small balls
	<<elseif $activeSlave.balls == 3>>
		balls
	<<elseif $activeSlave.balls == 4>>
		big balls
	<<elseif $activeSlave.balls == 5>>
		lemon-sized balls
	<<elseif $activeSlave.balls < 10>>>>
		fist-sized balls
	<<else>>
		hypertrophied balls
	<</if>>
		with your other hand
	<</if>>. You firmly wrap your fingers, thumb and palm around her dick, rhythmically stroking along with both hands, starting slow but gradually increasing the speed of your movements. You occasionally squeeze the tip and head of her dick between your fingers and thumb.
	<<if !canAchieveErection($activeSlave)>>
		Her dick remains flaccid as it cannot get stiff and you continue tenderly stroking her soft dick.
	<<else>>
		Her prick stiffens like a rod in your hands and you continue your expert strokes along the erect shaft.
	<</if>> She begs you not to stop. Soon, she moans and her movements indicate that she is about to orgasm. She shudders and leaks her cockmilk as she orgasms in your hands. She looks at you passionately as you stop moving your hands and get cleaned up.
<</if>>
<</nobr>>


code:
:: Basenationalities Controls [nobr]

<<if $nationalities.length < 1>>
	//You cannot be a slave owner without a slave trade. Please add nationalities to continue.//
<<else>>
	<<link "Confirm customization">>
		<<unset $baseControlsFilter>>
		<<if $customWA == 0>>
			<<goto "Intro Summary">>
		<<else>>
			<<goto "Extreme Intro">>
		<</if>>
	<</link>>
<</if>>

/* Generates cloned array of $nationalities, removing duplicates */
<<set $nationalitiescheck = clone($nationalities)>>
<<for _i = 0; _i < $nationalitiescheck.length; _i++>>
	<<set _nation = $nationalitiescheck[_i]>>
		<<if $nationalitiescheck.count(_nation)>>
			<<set $nationalitiescheck.delete(_nation),$nationalitiescheck.push(_nation),$nationalitiescheck.sort()>>
		<</if>>
<</for>>

/* Prints distribution of $nationalities, using $nationalitiescheck to render array */
<<for _i = 0; _i < $nationalitiescheck.length; _i++>>
	<<set _nation = $nationalitiescheck[_i]>>
	<<print _nation>> @@color:orange;<<print (($nationalities.count(_nation)/$nationalities.length)*100).toFixed(2)>>%@@
<<if _i < $nationalitiescheck.length-1>> | <</if>>
<</for>>

/* Fine control tweaking of populations */
Adjust slave populations:

/* Filter controls */
Filter by Race:
<<for _i = 0; _i < $filterRaces.length; _i++>>
	<<set _race = $filterRaces[_i]>>
	<<if $baseControlsFilter == _race.toLowerCase().replace(/[ -]/g, '')>>
		<<print _race>>
	<<else>>
		<<print "
			<<link _race>>
				<<set $baseControlsFilter to $filterRaces[" + _i + "].toLowerCase().replace(/[ -]/g, '')>>
				<<replace '#PopControl'>><<include 'Basenationalities Controls'>><</replace>>
			<</link>>
		">>
	<</if>>
	<<if _i < $filterRaces.length-1>>
	|
	<</if>>
<</for>>

Filter by Region:
<<for _i = 0; _i < $filterRegions.length; _i++>>
	<<set _region = $filterRegions[_i]>>
	<<if $baseControlsFilter == _region.toLowerCase().replace(/[ -]/g, '')>>
		<<print _region>>
	<<else>>
		<<print "
			<<link _region>>
				<<set $baseControlsFilter to $filterRegions[" + _i + "].toLowerCase().replace(/[ -]/g, '')>>
				<<replace '#PopControl'>><<include 'Basenationalities Controls'>><</replace>>
			<</link>>
		">>
	<</if>>
	<<if _i < $filterRegions.length-1>>
	|
	<</if>>
<</for>>

/* Unfiltered pop controls */
<<if $baseControlsFilter == "all">>
	<<for _i = 0; _i < $basenationalities.length; _i++>>
		<<set _nation = $basenationalities[_i]>>
		<<print "
		_nation
			<<link '+'>>
				<<set $nationalities.push($basenationalities[" + _i + "])>>
				<<replace '#PopControl'>><<include 'Basenationalities Controls'>><</replace>>
			<</link>>
		">>
	<<if $nationalitiescheck.includes(_nation) > 0 >>
		<<print "
			<<link '–'>>
				<<set $nationalities.deleteAt(($nationalities.indexOf($basenationalities[" + _i + "])))>>
				<<replace '#PopControl'>><<include 'Basenationalities Controls'>><</replace>>
			<</link>>
		">>
		<</if>>
	<<if $nationalities.count(_nation) > 1 >>
		<<print "
			<<link '0'>>
				<<set $nationalities.delete($basenationalities[" + _i + "])>>
				<<replace '#PopControl'>><<include 'Basenationalities Controls'>><</replace>>
			<</link>>
		">>
	<</if>>
	<<if _i < $basenationalities.length-1>>
	|
	<</if>>
	<</for>>
<<else>>
/* Filtered pop controls */
	<<set _controlsNationality = State.variables[$baseControlsFilter+'Nationalities']>>
	<<for _i = 0; _i < _controlsNationality.length; _i++>>
		<<set _nation = _controlsNationality[_i]>>
		<<print "
		_nation
			<<link '+'>>
				<<set $nationalities.push(_controlsNationality[" + _i + "])>>
				<<replace '#PopControl'>><<include 'Basenationalities Controls'>><</replace>>
			<</link>>
		">>
	<<if $nationalitiescheck.includes(_nation) > 0 >>
		<<print "
			<<link '–'>>
				<<set $nationalities.deleteAt(($nationalities.indexOf(_controlsNationality[" + _i + "])))>>
				<<replace '#PopControl'>><<include 'Basenationalities Controls'>><</replace>>
			<</link>>
		">>
		<</if>>
	<<if $nationalities.count(_nation) > 1 >>
		<<print "
			<<link '0'>>
				<<set $nationalities.delete(_controlsNationality[" + _i + "])>>
				<<replace '#PopControl'>><<include 'Basenationalities Controls'>><</replace>>
			<</link>>
		">>
	<</if>>
	<<if _i < _controlsNationality.length-1>>
	|
	<</if>>
	<</for>>
<</if>>

repo_name: TheBoi/fc


code:
:: BirthStorm

<<set $nextButton = "Back">>\
<<set $nextLink = "Slave Interact">>\
<<nobr>>
The remote surgery allows the removal of the pregnancy generator through conventional means, an injection to induce labor and the resulting birthing of the womb's contents. $activeSlave.slaveName's massive pregnant belly begins to shudder and writhe moments after being injected with the drug.  She drops to the ground with her legs spread to either side of her spasming bulk with a loud moan.  Her vaginal lips part as the first of her brood is born, followed by another, and another. After nearly a day of constant birthing
<<if $activeSlave.sexualFlaw == "breeder">>
	and the realization that you are taking away her ideal body, her perfect existance; her mind @@color:red;fundamentally breaks. The ordeal of constant birthing has had a massive effect on her health as well as completely destroyed her vagina@@.
    <<set $activeSlave.fetish = "mindbroken">>
<<elseif $activeSlave.fetish == "pregnancy" && $Nurse != 0>>
	and orgasming each time, $activeSlave.slaveName's mind would have broken. However, $Nurse.slaveName had the forsight to sedate her after witnessing her constant orgasming.  She awakes to find her belly deflated, no longer crammed full of life. She is @@color:mediumorchid;disappointed@@ that you would forbid her from such a pleasure, but @@color:mediumaquamarine;understands@@ why it was done. @@color:red;The ordeal of constant birthing has had a massive effect on her health as well as completely destroyed her vagina@@.
    <<set $activeSlave.trust += 5>>
    <<set $activeSlave.devotion -= 5>>
<<elseif $activeSlave.fetish == "pregnancy">>
	and orgasming each time $activeSlave.slaveName's mind is @@color:red;fundamentally broken.@@ Being under constant pleasure for so long has destroyed all but the part of her that feels pleasure.  With one final push the breeding device is expelled from her womb as the last spark of what was her mind is extinguished. @@color:red;The ordeal of constant birthing has had a massive effect on her health as well as completely destroyed her vagina@@.
    <<set $activeSlave.fetish to "mindbroken">>
<<elseif $activeSlave.devotion <= 20>>
	@@color:mediumorchid;she hates you for destroying her body like this@@. She is @@color:gold;terrified of your power@@ over her body. @@color:red;The ordeal of constant birthing has had a massive effect on her health as well as completely destroyed her vagina@@.
    <<set $activeSlave.trust -= 40>>
    <<set $activeSlave.devotion -= 50>>
<<elseif $activeSlave.devotion <= 50>>
	she is dully obedient. She has been broken to slave life so thoroughly that even this is neither surprising nor affecting. She is @@color:gold;terrified of your power@@ over her body.  @@color:red;The ordeal of constant birthing has had a massive effect on her health as well as completely destroyed her vagina@@.
    <<set $activeSlave.trust -= 40>>
<<else>>
	@@color:hotpink;pleased by this stark development@@, since she is so attentive to your will. She also expects she'll be able to fuck better now without a massive belly getting in the way.  @@color:red;The ordeal of constant birthing has had a massive effect on her health as well as completely destroyed her vagina@@.
    <<set $activeSlave.devotion += 4>>
<</if>>
<<set _seed = random(-20,20)>>
<<if $Cash4Babies == 1>>
	Her babies sold for a total of @@color:yellowgreen;¤<<print 50*(50+$seed)>>@@.
	<<set $cash += 50*(50+$seed)>>
<</if>>
<<set $activeSlave.health -= 80>>
<<set $activeSlave.vagina = 10>>
<<set $activeSlave.preg = -3>>
<<set $activeSlave.pregType = 0>>
<<set $activeSlave.pregSource = 0>>
<<set $activeSlave.births += 50>>
<<set $activeSlave.birthsTotal += 50>>
<<set $birthsTotal += 50>>
<</nobr>>


code:
:: Breeder Proposal [nobr]

<<set $propPass = 0>>

You draft a proposal to the Societal Elite proposing the use of specially tested slaves as breeding stock. If they can pass the tests required to join the societal elite; even as slaves, their bodies can prove valuable to furthering eugenics. They will gain no additional rights, but their wombs will be used to birth elite children; helping stave off potential threats of inbreeding and adding possible missed beneficial traits into the Elite's gene pool.

Within the hour, you are called before The Societal Elite.

<<if $PC.dick == 0>>
	"Do you really think you are in any position to make such a request? You, a fertile woman and member of the Elite, who has not taken even the slightest interest in carrying one of our children, dares to even suggest using slaves as breeding stock? Well?"

<<link "Agree to being used as a breeder and save face">>
	<<replace "#result">>
		"Good choice girl. A selection of men will be provided to you, take your pick and bear our children."
		<<set $playerBred = 1>>
		<<set $propOutcome = -1>>
	<</replace>>
	<</link>>

<<link "Decline being used as a breeder and face the Societal Elites' wrath">>
	<<replace "#result">>
		"You'll regret this decision. We'll have our way one way or another."
		<<set $failedElite += 275>>
		<<set $propOutcome to -1>>
	<</replace>>
	<</link>>

<<else>>
	<<if $PC.dick == 1 && $PC.vagina == 1 && $failedElite > 50>>
		"We have read your proposal and propose the following: You are not well liked amoung us, and your medical records show you are quite capable of carrying a child. If you will carry our children, we will grant your proposal, otherwise, leave and never ask us this again."

<<link "Agree to being used as a breeder to complete the deal">>
	<<replace "#result">>
		"Your contributions will be appreciated. We shall convene to decide the qualifications for a slave to become a breeder. We will inform you of them when we send the list of eligible males to breed you."
		<<set $failedElite -= 50>>
		<<set $playerBred = 1>>
		<<set $propOutcome = 1>>
		<<InitStandards>>
	<</replace>>
	<</link>>

<<link "Decline being used as a breeder and withdraw your proposal">>
	<<replace "#result">>
		"Very well, if your masculinity is more valuable to you than your proposal, then so be it."
		<<set $propOutcome to -1>>
	<</replace>>
	<</link>>

	<<elseif $PC.dick == 1 && $PC.vagina == 1>>
		"We have read your proposal and agree. However, we shall set the standards for what shall qualify as breeding stock, not you. Our standards will be delivered to you shortly.

		Your medical records say you have working female sex organs, and we respect your choice to not use them. But have you considered carrying another member's child? It will be extremely lucrative for you and go a long way to furthering our objectives."

<<link "Agree to being used as a breeder">>
	<<replace "#result">>
		"Your contributions will be appreciated. We shall convene to decide the qualifications for a slave to become a breeder. We will inform you of them when we send the list of eligible males to breed you."
		<<set $playerBred = 1>>
		<<set $propOutcome = 1>>
		<<InitStandards>>
	<</replace>>
	<</link>>

<<link "Decline being used as a breeder">>
	<<replace "#result">>
		"Very well, if you wish to waste your gift, it is your prerogative.  We shall convene to decide the qualifications for a slave to become a breeder and inform you upon completion."
		<<set $propOutcome = 1>>
		<<InitStandards>>
	<</replace>>
	<</link>>

	<<else>>
		"We have read your proposal and agree. However, we shall set the standards for what shall qualify as breeding stock, not you. Our standards will be delivered to you shortly."
		<<set $propOutcome = 1>>
		<<InitStandards>>
	<</if>>
<</if>>


code:
:: BreedingTest [nobr]

<<set $nextButton = "Back">>
<<set $nextLink = "Slave Interact">>

<<UpdateStandards>>
<<BreedingStandards>>

<<BreedingEligibility>>


code:
:: FDick

/*CHECK*/
<<nobr>>
/*NON-AMPUTEE*/
<<if ($activeSlave.amp < 1)>>
	You direct $activeSlave.slaveName to lie down and ready herself as you step over to her an align your <<if $PC.vagina == 1>> vagina <<else>> ass <</if>> with the
	<<if ($activeSlave.vaginaPiercing > 1) && ($activeSlave.dick != 0)>>
		her pierced cock-head.
	<<elseif ($activeSlave.vaginaPiercing == 1) && ($activeSlave.dick != 0)>>
		her pierced cock .
	<<else>>
		her cock.
	<</if>>
	and lower yourself onto her

	<<if $activeSlave.dick == 1>>
		tiny dick.
	<<elseif $activeSlave.dick == 2>>
		cute dick.
	<<elseif $activeSlave.dick == 3>>
		dick
	<<elseif $activeSlave.dick == 4>>
		big dick
	<<elseif $activeSlave.dick == 5>>
		impressive dick
	<<elseif $activeSlave.dick == 6>>
		huge dick
	<<elseif $activeSlave.dick == 7>>
		gigantic dick
	<<elseif $activeSlave.dick == 8>>
		titanic dick
	<<elseif $activeSlave.dick == 9>>
		absurd dick
	<<elseif $activeSlave.dick == 10>>
		inhuman dick
	<<else>>
		hypertrophied dick
	<</if>>
	<<if $activeSlave.dick <= 6>>
	until you are sitting on her loins.
	<<else>>
	until feel that you can't take more of her inside you.
	<</if>>

	You reach back
	<<if $activeSlave.scrotum > 0>>
		and stroke her
		<<if $activeSlave.balls == 0>>
			soft scrotum.
		<<elseif $activeSlave.balls == 1>>
			tiny balls.
		<<elseif $activeSlave.balls == 2>>
			cute balls.
		<<elseif $activeSlave.balls == 3>>
			balls.
		<<elseif $activeSlave.balls == 4>>
			large balls.
		<<elseif $activeSlave.balls == 5>>
			huge balls.
		<<else>>
			monstrous balls.
		<</if>>
	<<else>>
		soft perineum.
	<</if>>

	<<if ($activeSlave.fetish == "mindbroken")>>
		Like a doll, she dumbly remains still, watching you without interest.
		You start moving up and on her shaft, until you climax and notice that so did $activeSlave.slaveName.
		Since she is mindbroken, her responses to you are purely physiological and your actions have no affect on her mentally. You leave your toy for one of your other slaves to clean and maintain.
	<<elseif $activeSlave.trust < -20>>
	Having followed your instructions as quickly as she could she lies as still as she can beneath you while you start moving on top of her. While she is too afraid to be an active participant on her, do her best to follow your instructions.
	She warns you that she is about to cum when feel yourself aproaching an orgasm and soon after, you can feel her unload inside of you, despite her fear.
	<<else>>
	You spend some time riding your slave and you both climax together.
	<</if>>
	/*AMPUTEE*/
<<else>>
	You step over to pick up $activeSlave.slaveName, lie her down and get her ready. Then you align your <<if $PC.vagina == 1>> vagina <<else>> ass <</if>> with
	<<if ($activeSlave.vaginaPiercing > 1) && ($activeSlave.dick != 0)>>
		her pierced cock-head.
	<<elseif ($activeSlave.vaginaPiercing == 1) && ($activeSlave.dick != 0)>>
		her pierced cock .
	<<else>>
		her cock.
	<</if>>
	and lower yourself onto her

	<<if $activeSlave.dick == 1>>
		tiny dick.
	<<elseif $activeSlave.dick == 2>>
		cute dick.
	<<elseif $activeSlave.dick == 3>>
		dick
	<<elseif $activeSlave.dick == 4>>
		big dick
	<<elseif $activeSlave.dick == 5>>
		impressive dick
	<<elseif $activeSlave.dick == 6>>
		huge dick
	<<elseif $activeSlave.dick == 7>>
		gigantic dick
	<<elseif $activeSlave.dick == 8>>
		titanic dick
	<<elseif $activeSlave.dick == 9>>
		absurd dick
	<<elseif $activeSlave.dick == 10>>
		inhuman dick
	<<else>>
		hypertrophied dick
	<</if>>
	<<if $activeSlave.dick <= 6>>
	until you are sitting on her loins.
	<<else>>
	until feel that you can't take more of her inside you.
	<</if>>

	You reach back

	<<if $activeSlave.scrotum > 0>>
		and stroke her
		<<if $activeSlave.balls == 0>>
			soft scrotum.
		<<elseif $activeSlave.balls == 1>>
			tiny balls.
		<<elseif $activeSlave.balls == 2>>
			cute balls.
		<<elseif $activeSlave.balls == 3>>
			balls.
		<<elseif $activeSlave.balls == 4>>
			large balls.
		<<elseif $activeSlave.balls == 5>>
			huge balls.
		<<else>>
			monstrous balls.
		<</if>>
	<<else>>
		soft perineum.
	<</if>>
	<<if ($activeSlave.fetish == "mindbroken")>>
		Like a broken doll, she dumbly remains still, watching you without interest.
		You start moving up and on her shaft, until you climax and notice that so did $activeSlave.slaveName.
		Since she is mindbroken, her responses to you are purely physiological and your actions have no affect on her mentally. You leave your toy for one of your other slaves to clean and maintain.
	<<else>>
		You ride Your helpless slave until you both climax.
	<</if>>
<</if>>
<<if ($PC.vagina == 1) && ($PC.preg == 0) && ($activeSlave.ballType == "human")>>
	<<if $activeSlave.diet == "cum production">>
		<<if random(1,100) < ($activeSlave.balls * 15 * 1.2)>>
			<<set $PC.preg = 1>>
			<<set $PC.pregSource = $activeSlave.ID>>
		<</if>>
	<<else>>
		<<if random(1,100) < ($activeSlave.balls * 15)>>
			<<set $PC.preg = 1>>
			<<set $PC.pregSource = $activeSlave.ID>>
		<</if>>
	<</if>>
<</if>>
Rumors spread that you @@color:red;enjoy taking it from slaves.@@
<<set $PC.degeneracy += 2>>
<</nobr>>


code:
:: FSelf [nobr]

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

<<set $CumSources = 0>>
<<set $CumSources = []>>

<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].assignment == "work in the dairy">>
		<<if $slaves[$i].balls > 0>>
			<<if ($slaves[$i].ballType == "human")>>
				<<set $CumSources.push($slaves[$i].ID)>>
			<</if>>
		<</if>>
	<</if>>
<</for>>
<<if $arcologies[0].FSPastoralistLaw == 1>>
	<<set $CumSources.push(0),$CumSources.push(0),$CumSources.push(0),$CumSources.push(0),$CumSources.push(0),$CumSources.push(0)>>
<</if>>

<<if $PC.cumTap == 0>>

Taking the hose and attaching the delectable cockhead to it, you drag it over to your bed and make yourself comfortable. Teasing your pussylips with the perfect sized cock quickly gets you moist<<if $PC.dick == 1>> and hard<</if>>, itching for the fake dick inside you. You know yourself well, and it fits perfectly; as you thrust it into your cunt you can't help but buck with pleasure. Just as you reach your climax, you accidentally kick the tap on. Needless to say, you are quite surprised when your "lover" orgasms and begins releasing inside you, forcing you to lose your grip on the nozzle allowing it to free itself from you along with a torrent of cum. Panting and rubbing your tender belly, you quickly pull your clothes back on and head to clean yourself out. You can't help but notice your waist feels rather tight, it shot so much into you; that cum wasn't virile, right?
<<set $PC.preg = 1, $PC.pregSource = $CumSources.random(), $PC.cumTap++>>

<<elseif $PC.cumTap < 5>>

Taking the hose and attaching your favorite cockhead to it, you drag it over to your bed and make yourself comfortable. Teasing your pussylips with the dildo, even going as far as spurting a touch of cum across your belly, you drive it into your aching cunt. With every thrust, you jet a little more cum into your empty womb, bulging you more and more as your pleasure rises, until you reach your climax and unleash your lover's pent up load into yourself. Patting your bloated belly, you stagger to your feet and make for your private bath to relax while you drain. You giggle as you imagine you belly swelling even larger, be it with child or more cum.
<<set $PC.preg = 1, $PC.pregSource = $CumSources.random(), $PC.cumTap++>>

<<elseif $PC.cumTap < 10>>

Taking the hose and attaching your favorite cockhead to it, you drag it over to your bed and make yourself comfortable. Teasing your pussylips with the dildo, even going as far as spurting a touch of cum across your belly, you drive it into your aching cunt. With every thrust, you jet more cum into your empty womb, bulging you more and more as your pleasure rises, until you reach your climax and unleash your lover's pent up load into yourself. Patting your rounded belly, you stagger to your feet and make for your private bath to relax while you drain. You giggle as you cradle your bloated middle, you practically look pregnant already!
<<set $PC.preg = 1, $PC.pregSource = $CumSources.random(), $PC.cumTap++>>

<<elseif $PC.cumTap < 15>>

Taking the hose and attaching your favorite cockhead to it, you eagerly drag it to your bed and make yourself comfortable. You waste no time driving it into your aching cunt. With every thrust, you jet huge bursts of cum into your empty womb, swelling yourself more and more as your pleasure rises, until you reach your climax and unleash your lover's pent up load into yourself. Patting your huge belly, you struggle to your feet and waddle towards your private bath to relax while you drain. You giggle as you cradle your round middle, anyone who saw you like this would certainly say you were heavily pregnant!
<<set $PC.preg = 1, $PC.pregSource = $CumSources.random(), $PC.cumTap++>>

<<elseif $PC.cumTap < 20>>

Taking the hose and attaching your favorite cockhead to it, you eagerly drag it to your bed and make yourself comfortable. You waste no time driving it into your aching cunt. With every thrust, you jet huge bursts of cum into your empty womb, swelling yourself more and more as your pleasure rises, until you reach your climax and unleash your lover's pent up load into yourself. Patting your enormous belly, you struggle to even get off the bed, eventually making it to your feet so that you may slowly stagger to the bath. You moan lewdly as the pressure within your full belly sets another orgasm coursing through your body, making it jiggle delightfully. Anyone who saw you like this would swear you were about to give birth!
<<set $PC.preg = 1, $PC.pregSource = $CumSources.random(), $PC.cumTap++>>

<<elseif $PC.cumTap < 25>>

Taking the hose and attaching your favorite cockhead to it, you eagerly drag it to your bed and make yourself comfortable. You waste no time driving it into your aching cunt. With every thrust, you jet massive bursts of cum into your empty womb, swelling yourself more and more as your pleasure rises, until you reach your climax and unleash your lover's pent up load into yourself. Patting your taut, overfilled belly, you struggle to even get off the bed. After minutes of effort, several attempts ruined by aftershock orgasms, you manage to get on your feet. Cradling your massive cum-belly, you gingerly waddle to your waiting bath. You look like you are ready to burst with triplets, imagine what the public would say if they way you in this state.
<<set $PC.preg = 1, $PC.pregSource = $CumSources.random(), $PC.cumTap++>>

<<else>>

Taking the hose and attaching your favorite cockhead to it, you eagerly drag it to your bed and make yourself comfortable. You waste no time driving it into your aching cunt. With every thrust, you jet massive bursts of cum into your empty womb, swelling yourself more and more as your pleasure rises, until you reach your climax and unleash your lover's pent up load into yourself. Patting your taut, overfilled belly, you roll over onto your back so that you may tease your<<if $PC.boobs > 0>> breasts,<</if>><<if $PC.dick > 0>> dick,<</if>> belly and pussy. If anyone saw you, they would swear your were on the verge of delivering sextuplets. You made sure to schedule this block for absolute privacy, so no one should disturb you while you play with your bloated body. Once you are exhausted and drained of your contents, you head for the showers and to get a servant to clean up your bed; from the slave you enjoyed with the cum hose, of course.
<<set $PC.preg = 1, $PC.pregSource = $CumSources.random()>>

<</if>>

<<set $CumSources = 0>>


code:
:: FSlaveSlaveDick

<<nobr>>

<<set $nextButton = "Back">>
<<set $nextLink = "Slave Interact">>

<<set $slaverapistx = 0>>
<<set $eligibility = 0>>

//Select a slave that will ride $activeSlave.slaveName.//

<</nobr>>

__Select an eligible slave:__
<<for $i = 0; $i < $slaves.length; $i++>>\
	<<if ($slaves[$i].pussy > -1)>>\

	<<if ($slaves[$i].vaginalAccessory != "chastity belt") {)>>\
	<<if ($slaves[$i].ID != $activeSlave.ID)>>\
		<<print "[[$slaves[$i].slaveName|FSlaveSlaveDick Consummate][$slaverapistx = $slaves[" + $i + "]]]">>
		<<set $eligibility = 1>>\
	<</if>>\
	<</if>>\
	<</if>>\
<</for>>\
<<if ($eligibility == 0)>>\
	//You have no slaves capable of this act.//
<</if>>\


code:
:: FSlaveSlaveDick Consummate

/% Needs work. A lot of fucking work %/

<<nobr>>

You take a look at the bound toy.

<<if $activeSlave.mother == $slaverapistx.ID>>
	<<if ($activeSlave.fetish == "perverted">>
		$activeSlave.slaveName seems paralyzed, looking at her mother standing above her with fascination with disbelief.
	<<else>>
		$activeSlave.slaveName looks with horror at her mother, knowing what will soon happen.
	<</if>>
<</if>>

<<if $slaverapistx.mother == $activeSlave.ID>>
	<<if ($activeSlave.fetish == "perverted">>
		$activeSlave.slaveName seems paralyzed, looking at her daughter with fascination with disbelief.
	<<else>>
		$activeSlave.slaveName looks with horror at her daughter, knowing what will soon happen.
	<</if>>
<</if>>

<<set $slaverapistx.vaginalCount += 1>>
<<set $vaginalTotal += 1>>

<<if ($activeSlave.fetish == "submissive") && ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60) && ($activeSlave.devotion >= -20)>>
	Since $activeSlave.slaveName loves to submit to others it's not hard to get her ready.
	<<set  $activeSlave.devotion += 4>>
	<<if ($activeSlave.sub == -3)>>Her member remains limp despite the prospect of being dominated and abused, but a direct injection of vasodilators quickly fixes that for this special occasion.
	<<else>>Her helpless situation causes her member to spring instantly to attention.
	<</if>>

<<elseif ($activeSlave.attrXX > 65) && ($slaverapistx.attrKnown == 1) && ($slaverapistx.devotion >= -20)>>
	Since $activeSlave.slaveName likes pussy, she doesn't take much convincing.
	<<if ($activeSlave.sub == -3)>>Her member remains limp despite the prospect of pussy, but a direct injection of vasodilators quickly fixes that for this special occasion.
	<<else>>Her member springs instantly to attention at the prospect of pussy.
	<</if>>

<<elseif ($activeSlave.devotion > 50)>>
	Since $activeSlave.slaveName is devoted to you, she'll eagerly fuck anything you tell her to fuck.
	<<if ($activeSlave.sub == -3)>>She accepts a direct injection of vasodilators to counteract the hormones keeping her soft,
	<<else>>She quickly gets herself hard,
	<</if>>
	eying $slaverapistx.slaveName with an expression you can't exactly decypher.

<<elseif ($activeSlave.devotion > 20)>>
	Since $activeSlave.slaveName is broken to obedience, she accepts being tied down quietly.
	<<if ($activeSlave.sub == -3)>>She accepts a direct injection of vasodilators to counteract the hormones keeping her soft.
	<<else>>you hurriedly stroke her to get her hard.
	<</if>>

<<elseif ($activeSlave.devotion >= -20)>>
	Since $activeSlave.slaveName does not resist your will, she should comply reasonably well.
	<<if ($activeSlave.sub == -3)>>She accepts a direct injection of vasodilators to counteract the hormones keeping her soft,
	<<else>>You have to work hard to get her member up,
	<</if>>
	fear and disgust showing on her face as she absorbs the perversion of the natural order of things she's about to experience.

<<else>>
	Since $activeSlave.slaveName is unlikely to comply willingly, you simply restrain her and administer a massive dose of vasodilators, directly where they will do the most good. $activeSlave.slaveName writhes with the pain of the injection, which is compounded as she springs agonizingly erect.

<</if>>

<</nobr>>

<<nobr>>

Next, you see to $slaverapistx.slaveName.

<<if $activeSlave.mother == $slaverapistx.ID>>
	<<if ($slaverapistx.fetish == "perverted">>
		$slaverapistx.slaveName is well aware that she is about to rape her own daughter, but despite that seems to feel some arousal at the thought.
	<<else>>
		$slaverapistx.slaveName is well aware that she is about to rape her own daughter and is understandingly distrurbed.
	<</if>>
<</if>>

<<if $slaverapistx.mother == $activeSlave.ID>>
	<<if ($slaverapistx.fetish == "perverted">>
		$activeSlave.slaveName is well aware that she is about to rape her own mother, but despite that seems to feel some arousal at the thought.
	<<else>>
		$slaverapistx.slaveName is well aware that she is about to rape her own mother and is understandingly distrurbed.
	<</if>>
<</if>>

<<set $activeSlave.penetrativeCount += 1>>
<<set $penetrativeTotal += 1>>

<<if ($slaverapistx.fetish == "dom") && ($slaverapistx.fetishStrength > 60) && ($slaverapistx.fetishKnown == 1) && (($slaverapistx.vagina == 0)>>
	She lowers her virgin pussy onto $activeSlave.slaveName waiting member, impaling herself slowly. This act @@color:lime; breaks in her pussy.@@
	<<set $slaverapistx.vagina to 1>>
	<<set  $slaverapistx.devotion += 4>>
	<<set  $slaverapistx.fetishStrength += 1>>

<<elseif  $slaverapistx.devotion > 20) && (($activeSlave.vagina == 0) >>
	She accepts your orders without comment and presents her virgin pussy to $slaverapistx.slaveName for fertilization. She gasps in shock when she feels her hot seed. @@color:hotpink;She is broken to slavery@@ by this application of her body, which naturally @@color:lime;will break in her pussy.@@
	<<set $activeSlave.vagina to 1>>
	<<set  $activeSlave.devotion += 10>>
<<elseif ($activeSlave.devotion >= -20) && (($activeSlave.vagina == 0)>>
	She is clearly unhappy at the idea of losing her pearl of great price to $slaverapistx.slaveName; this probably isn't what she imagined her first real sex would be like. Worse, she knows she's fertile and realizes she'll likely get pregnant. Nevertheless, @@color:hotpink;she is broken to slavery@@ by this application of her body, which naturally @@color:lime;will break in her pussy.@@
	<<set $activeSlave.vagina to 1>>
	<<set  $activeSlave.devotion += 4>>
<<elseif (($activeSlave.vagina == 0)>>
	As you anticipated, she refuses to give $slaverapistx.slaveName her virginity. You restrain her despite her @@color:mediumorchid;horrified tears@@ and @@color:gold;frightened begging.@@ Naturally, this cruel act @@color:lime;will break in her pussy.@@
	<<set  $activeSlave.devotion -= 5>>
	<<set  $activeSlave.trust -= 5>>
	<<set $activeSlave.vagina to 1>>

<<elseif ($activeSlave.amp == 1)>>
	You set her limbless torso lies on the bed, ready for $slaverapistx.slaveName.
<<elseif tooBigBreasts($activeSlave)>>
	She is lying on her back, with arms and legs tied. The weight of her tits pins her helplessly in place.
<<elseif tooBigButt($activeSlave)>>
	She is lying on her back, with arms and legs tied. Her huge ass pushes her pelivs further up, making it look as if she's trying to fuck air.
<<elseif tooBigDick($activeSlave)>>
	She is lying on her back, with arms and legs tied. Her huge cock is cleary going to be a challenge.
<<elseif tooBigBalls($activeSlave)>>
	She is lying on her back, with arms and legs tied. Her huge balls might get a bit in the way in this position.
<<else>>
	She is lying on her back, with arms and legs tied and her cock standing in attention.
<</if>>

<<if ($activeSlave.devotion < -20) && ($slaverapistx.devotion < -20)>>
	Since you have two restrained slaves, it's up to you to do all the work. Since $activeSlave.slaveName is already lying on the bed, you maneuver $slaverapistx.slaveName's pussy into place. The two slaves make no further moves until you deal $slaverapistx.slaveName a terrific swat across the ass and promise to give her more of the same until she gets going. $slaverapistx.slaveName starts lowering herself very slowly, pulling back every time $activeSlave.slaveName's dick prodding her womanhood. After watching the sad display for a while, you use your own weight to suddely push her onto $activeSlave.slaveName, hilting her in one, scream-enducing move. $slaverapistx.slaveName seems more cooperative after that and you only have to occasionaly prod them with an electrial jolt to keep them going at a faster pace. Both slaves @@color:mediumorchid;resent@@ what you made them do and @@color:gold;fear you@@ as a result.
	<<set  $activeSlave.devotion -= 5>>
	<<set  $slaverapistx.devotion -= 5>>
	<<set  $activeSlave.trust -= 5>>
	<<set  $slaverapistx.trust -= 5>>

<<elseif ($slaverapistx.devotion < -20)>>
	Since your dick slave is restrained, you order $slaverapistx.slaveName to kneel on the bed on top of $activeSlave.slaveName, and then maneuver her pussy into place. $slaverapistx.slaveName is uncooperative, so you push her down yourself and prod and slap her untill she starts to ride the cock with urgency. It doesn't take long for $activeSlave.slaveName to orgasm. She @@color:mediumorchid;resents@@ what you made her do and @@color:gold;fears you@@ as a result.
	<<set  $slaverapistx.devotion -= 5>>
	<<set  $slaverapistx.trust -= 5>>

<<elseif ($slaverapistx.fetish == "dom") && ($slaverapistx.fetishStrength > 60) && ($slaverapistx.devotion > 20) && ($activeSlave.devotion < -20)>>
	You tie $activeSlave.slaveName on the bed with her dick defenseless and available, and then tell the randy $slaverapistx.slaveName that it's all hers. The slave life has so affected $slaverapistx.slaveName that she is quite eager to rape another slave for her pleasure. She begins playing with her immediately, fondling, pinching and licking while bouncing on the meaty shaft. Occasionaly she stops, denying $activeSlave.slaveName the immediate orgasm and teasing her, fully enjoying her dominant role. By the end of the day $activeSlave.slaveName's abused, pent-up penis has shot a massive load, to her @@color:gold;horror@@ and @@color:mediumorchid;resentment,@@ while $slaverapistx.slaveName is lying next to her on the bed in a state of obvious @@color:hotpink;satiation and bliss.@@
	<<set  $activeSlave.devotion -= 5>>
	<<set  $activeSlave.trust -= 5>>
	<<set  $slaverapistx.devotion += 4>>

<<elseif ($slaverapistx.energy > 95) && ($slaverapistx.devotion > 20) && ($activeSlave.devotion < -20)>>
	You arrange $activeSlave.slaveName on the bed with her cock defenseless and available, and then tell the randy $slaverapistx.slaveName that it's all hers. The slave life has so affected $slaverapistx.slaveName that she is quite eager to rape another slave, just for the perverted novelty of the act. She rides the hepless cock trough seveal orgasms. By the end of the day $slaverapistx.slaveName's cunt is dripping cum, to her obvious @@color:hotpink;satiation and bliss.@@  $activeSlave.slaveName is lying next to her on the bed in a state of @@color:gold;horror@@ and @@color:mediumorchid;resentment,@@
	<<set  $activeSlave.devotion -= 5>>
	<<set  $activeSlave.trust -= 5>>
	<<set  $slaverapistx.devotion += 4>>

<<elseif ($activeSlave.devotion <= 20) || ($slaverapistx.devotion <= 20)>>
	You tie $activeSlave.slaveName onto the bed and tell $slaverapistx.slaveName to get on with it. They fuck mechanically, gazing with roiling emotions into each others' eyes. They do seem to come to some sort of a nonverbal understanding on the necessity of getting it done, and there is no real unhappiness in either of them when they finish and disentangle themselves. As they clean themelves and exit, you notice $slaverapistx.slaveName's looking a little more longignly at $activeSlave.slaveName.

<<elseif ($activeSlave.devotion <= 50) || ($slaverapistx.devotion <= 50)>>
	You order $activeSlave.slaveName and $slaverapistx.slaveName to get on with it. They fuck mechanically at first, gazing with roiling emotions into each others' eyes. Eventually, they begin to enjoy the intimacy of the act, finding the shared pleasure between them comforting. They finish and resume life as slaves, the light of this intimacy diminishing, softening with $activeSlave.slaveName's dick and dripping away with the contents of $slaverapistx.slaveName's cum-filled pussy.

<<else>>
	The two slaves turn eagerly to the business of vanilla sex. They take their time, humping slowly and gazing into each others' eyes, chaning position often. After a little while, while in doggy position, $activeSlave.slaveName looks over $slaverapistx.slaveName's shoulder to where you're sitting, the invitation clear in her eyes. You come over and penetrate $activeSlave.slaveName with your <<if $PC.dick ==1>>dick<<else>>strap-on<</if>>. With the double stimulus of penetrating a tight vagina and being penetrated, she comes indecently hard. The two of them collapse into an exhausted, @@color:hotpink;happy@@ pile of slave flesh.
	<<set  $activeSlave.devotion += 8>>
	<<set  $slaverapistx.devotion += 4>>

<</if>>

Throughout the week, you keep $activeSlave.slaveName's dick intimate with $slaverapistx.slaveName's pussy. In the end, you are certain they got closer.

				/% Add pregnancy test? %/

<</nobr>>

<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaverapistx.ID == $slaves[$i].ID>>
		<<set $slaves[$i] = $slaverapistx>>
		<<break>>
	<</if>>
<</for>>


code:
:: FSlaveSlaveVag

<<nobr>>

<<set $nextButton = "Back">>
<<set $nextLink = "Slave Interact">>

<<set $slaverapistx = 0>>
<<set $eligibility = 0>>

//Select a slave that will fuck $activeSlave.slaveName.//

<</nobr>>

__Select an eligible slave:__
<<for $i = 0; $i < $slaves.length; $i++>>\
	<<if canPenetrate($slaves[$i])>>\
	<<if ($slaves[$i].ID != $activeSlave.ID)>>\
		<<print "[[$slaves[$i].slaveName|FSlaveSlaveVag Consummate][$slaverapistx = $slaves[" + $i + "]]]">>
		<<set $eligibility = 1>>\
	<</if>>\
	<</if>>\
<</for>>\
<<if ($eligibility == 0)>>\
	//You have no slaves capable of this act.//
<</if>>\


code:
:: FSlaveSlaveVag Consummate

<<nobr>>

The first necessary step is to prepare the slave doing the act.

<<set $activeSlave.penetrativeCount += 1>>
<<set $penetrativeTotal += 1>>

<<if ($slaverapistx.fetish is "pregnancy") && ($slaverapistx.fetishKnown == 1) && ($slaverapistx.fetishStrength > 60) && ($slaverapistx.devotion >= -20)>>
	This is very easy, since $slaverapistx.slaveName has an impregnation fetish and loves the pure act of vaginal sex.
	<<set  $slaverapistx.devotion += 4>>
	<<if ($slaverapistx.preg is -3)>>Her member remains limp despite the prospect of getting another slave pregnant, but a direct injection of vasodilators quickly fixes that for this special occasion.
	<<else>>Her member springs instantly to attention at the prospect of getting another slave pregnant.
	<</if>>

<<elseif ($slaverapistx.attrXX > 65) && ($slaverapistx.attrKnown == 1) && ($slaverapistx.devotion >= -20)>>
	Since $slaverapistx.slaveName likes sticking her cock in girls, she doesn't take much convincing.
	<<if ($slaverapistx.preg is -3)>>Her member remains limp despite the prospect of <<if $activeSlave.mpreg == 1>>ass<<else>>pussy<</if>>, but a direct injection of vasodilators quickly fixes that for this special occasion.
	<<else>>Her member springs instantly to attention at the prospect of pussy.
	<</if>>

<<elseif ($slaverapistx.devotion > 50)>>
	Since $slaverapistx.slaveName is devoted to you, she'll eagerly fuck anything you tell her to fuck.
	<<if ($slaverapistx.preg is -3)>>She accepts a direct injection of vasodilators to counteract the hormones keeping her soft,
	<<else>>She quickly gets herself hard,
	<</if>>
	only a certain confusion in her look betraying that she realizes how special an occasion this is.

<<elseif ($slaverapistx.devotion > 20)>>
	Since $slaverapistx.slaveName is obedient, she'll fuck anything you tell her to fuck.
	<<if ($slaverapistx.preg is -3)>>She accepts a direct injection of vasodilators to counteract the hormones keeping her soft,
	<<else>>She hurriedly gets herself hard,
	<</if>>
	only a slight hesitation betraying her realization that this is a special occasion.

<<elseif ($slaverapistx.devotion >= -20)>>
	Since $slaverapistx.slaveName does not resist your will, she should comply reasonably well.
	<<if ($slaverapistx.preg is -3)>>She accepts a direct injection of vasodilators to counteract the hormones keeping her soft,
	<<else>>She has to work to get herself hard despite her doubts,
	<</if>>
	fear and disgust showing on her face as she absorbs the perversion of the natural order of things she's about to experience.

<<else>>
	Since $slaverapistx.slaveName is unlikely to comply willingly, you simply restrain her and administer a massive dose of vasodilators, directly where they will do the most good. $slaverapistx.slaveName writhes with the pain of the injection, which is compounded as she springs agonizingly erect.

<</if>>

<</nobr>>

<<nobr>>

Next, you see to $activeSlave.slaveName.

<<set $activeSlave.vaginalCount += 1>>
<<set $vaginalTotal += 1>>

<<if ($activeSlave.fetish == "submissive") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1) && ($activeSlave.vagina == 0)>>
	She presents her virgin pussy to $slaverapistx.slaveName without protest. This act @@color:lime; breaks in her pussy.@@
	<<set $activeSlave.vagina to 1>>
	<<set  $activeSlave.devotion += 4>>
	<<set  $activeSlave.fetishStrength += 1>>

<<elseif ($activeSlave.fetish == "submissive") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60)>>
	She smiles and presents her pussy to $slaverapistx.slaveName. @@color:hotpink;She is grateful@@ for this fulfillment of her fondest wish.
	<<set  $activeSlave.devotion += 4>>

<<elseif  ($activeSlave.devotion > 20) && ($activeSlave.vagina == 0) >>
	She accepts your orders without comment and presents her virgin pussy to $slaverapistx.slaveName for fertilization. She gasps in shock when she feels her hot seed. @@color:hotpink;She is broken to slavery@@ by this application of her body, which naturally @@color:lime;will break in her pussy.@@
	<<set $activeSlave.vagina to 1>>
	<<set  $activeSlave.devotion += 10>>
<<elseif ($activeSlave.devotion >= -20) && ($activeSlave.vagina == 0)>>
	She is clearly unhappy at the idea of losing her pearl of great price to $slaverapistx.slaveName; this probably isn't what she imagined her first real sex would be like. Worse, she knows she's fertile and realizes she'll likely get pregnant. Nevertheless, @@color:hotpink;she is broken to slavery@@ by this application of her body, which naturally @@color:lime;will break in her pussy.@@
	<<set $activeSlave.vagina to 1>>
	<<set  $activeSlave.devotion += 4>>
<<elseif ($activeSlave.vagina == 0)>>
	As you anticipated, she refuses to give $slaverapistx.slaveName her virginity. You restrain her despite her @@color:mediumorchid;horrified tears@@ and @@color:gold;frightened begging.@@ Naturally, this cruel act @@color:lime;will break in her pussy.@@
	<<set  $activeSlave.devotion -= 5>>
	<<set  $activeSlave.trust -= 5>>
	<<set $activeSlave.vagina to 1>>

<<elseif ($activeSlave.amp == 1)>>
	You set her limbless torso up for $slaverapistx.slaveName.
<<elseif tooBigBreasts($activeSlave)>>
	You set her up for $slaverapistx.slaveName, face down so the weight of her tits pins her helplessly in place.
<<elseif tooBigButt($activeSlave)>>
	You set her up for $slaverapistx.slaveName, face down so the weight of her giant ass pins her helplessly in place and gives $slaverapistx.slaveName a lovely cushion to thrust against.
<<elseif tooBigDick($activeSlave)>>
	You set her up for $slaverapistx.slaveName, face up so she is pinned under the weight of her giant cock.
<<elseif tooBigBalls($activeSlave)>>
	You set her up for $slaverapistx.slaveName, face down so the weight of her giant balls anchor her helplessly in place.
<<elseif ($activeSlave.fetish is "submissive") && ($activeSlave.fetishStrength > 60) and ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>>
	She is accustomed to submit to you, but as a natural submissive she doesn't have much trouble submitting to $slaverapistx.slaveName's seed instead.
<<elseif  $activeSlave.devotion < -20>>
	She tries to refuse, so you restrain her despite her resistance to the idea of being raped by another slave.
<<elseif  $activeSlave.devotion <= 20>>
	She obeys your orders reluctantly, arranging herself for vaginal sex despite her obvious hesitation to be raped by another slave.
<<elseif  $activeSlave.devotion < 10>>
	She obeys your orders, arranging herself for vaginal sex despite her slight hesitation at the idea of being anothers slave sex toy.
<<else>>
	She happily obeys your orders, getting ready to serve another slave.
<</if>>

<<if ($activeSlave.devotion < -20) && ($slaverapistx.devotion < -20)>>
	Since you have two restrained slaves, it's up to you to do all the work. You put $activeSlave.slaveName on the couch with her pussy available, and then maneuver $slaverapistx.slaveName's dick into place. The two slaves make no further moves until you deal $slaverapistx.slaveName a terrific swat across the ass and promise to give her more of the same until she gets going. $slaverapistx.slaveName starts moving very slowly, barely prodding. After watching them mechanically go at it for a while, you use your own weight to suddely push her deep into $activeSlave.slaveName. You occasionaly prod them with an electrial jolt to keep them going at a faster pace. Both slaves @@color:mediumorchid;resent@@ what you made them do and @@color:gold;fear you@@ as a result.
	<<set  $activeSlave.devotion -= 5>>
	<<set  $slaverapistx.devotion -= 5>>
	<<set  $activeSlave.trust -= 5>>
	<<set  $slaverapistx.trust -= 5>>

<<elseif ($slaverapistx.devotion < -20)>>
	Since your dick slave is restrained, you order $activeSlave.slaveName to present herself on the couch, and then maneuver $slaverapistx.slaveName's dick into place. $activeSlave.slaveName does her best to hump herself against the unwilling cock until you deal $slaverapistx.slaveName a terrific swat across the ass and promise to give her more of the same until she gets going. She is still unenthusiastic, so you have her lie down and have $activeSlave.slaveName ride her to orgasm. She @@color:mediumorchid;resents@@ what you made her do and @@color:gold;fears you@@ as a result.. Though $activeSlave.slaveName accepts the situation, she looks into $slaverapistx.slaveName's eyes with obvious apology.
	<<set  $slaverapistx.devotion -= 5>>
	<<set  $slaverapistx.trust -= 5>>

<<elseif ($slaverapistx.fetish == "dom") && ($slaverapistx.fetishStrength > 60) && ($slaverapistx.devotion > 20) && ($activeSlave.devotion < -20)>>
	You arrange $activeSlave.slaveName on the couch with her pussy defenseless and available, and then tell the randy $slaverapistx.slaveName that it's all hers. The slave life has so affected $slaverapistx.slaveName that she is quite eager to rape another slave for her pleasure. She penetrates her immediately, fondling, pinching and licking while pistoning away, fully enjoying her dominant role. By the end of the day $activeSlave.slaveName's abused cunt is dripping cum, to her @@color:gold;horror@@ and @@color:mediumorchid;resentment,@@ while $slaverapistx.slaveName is lying next to her on the couch in a state of obvious @@color:hotpink;satiation and bliss.@@
	<<set  $activeSlave.devotion -= 5>>
	<<set  $activeSlave.trust -= 5>>
	<<set  $slaverapistx.devotion += 4>>

<<elseif ($slaverapistx.energy > 95) && ($slaverapistx.devotion > 20) && ($activeSlave.devotion < -20)>>
	You arrange $activeSlave.slaveName on the couch with her pussy defenseless and available, and then tell the randy $slaverapistx.slaveName that it's all hers. The slave life has so affected $slaverapistx.slaveName that she is quite eager to rape another slave, just for the perverted novelty of the act. She blows her load with indecent speed and looks crushed until you tell her to take her time and be thorough. By the end of the day $activeSlave.slaveName's cunt is dripping cum, to her @@color:gold;horror@@ and @@color:mediumorchid;resentment,@@ while $slaverapistx.slaveName is lying next to her on the couch in a state of obvious @@color:hotpink;satiation and bliss.@@
	<<set  $activeSlave.devotion -= 5>>
	<<set  $activeSlave.trust -= 5>>
	<<set  $slaverapistx.devotion += 4>>

<<elseif ($activeSlave.devotion <= 20) || ($slaverapistx.devotion <= 20)>>
	You order $activeSlave.slaveName onto the couch and tell $slaverapistx.slaveName to get on with it. They fuck mechanically, gazing with roiling emotions into each others' eyes. They do seem to come to some sort of a nonverbal understanding on the necessity of getting it done, and there is no real unhappiness in either of them when they finish and disentangle themselves. As they clean themelves and exit, you notice $slaverapistx.slaveName's looking a little more longignly at $activeSlave.slaveName.

<<elseif ($activeSlave.devotion <= 50) || ($slaverapistx.devotion <= 50)>>
	You order $activeSlave.slaveName and $slaverapistx.slaveName to get on with it. They fuck mechanically at first, gazing with roiling emotions into each others' eyes. Eventually, they begin to enjoy the intimacy of the act, finding the shared pleasure between them comforting. They finish and resume life as slaves, the light of this intimacy diminishing, softening with $slaverapistx.slaveName's dick and dripping away with the contents of $activeSlave.slaveName's cum-filled pussy.

<<else>>
	The two slaves embrace happily and turn eagerly to the business of vanilla sex. They take their time, humping slowly and gazing into each others' eyes, chaning position often. After a little while, while in doggy position, $activeSlave.slaveName looks over $slaverapistx.slaveName's shoulder to where you're sitting, the invitation clear in her eyes. You come over and penetrate $slaverapistx.slaveName with your <<if $PC.dick ==1>>dick<<else>>strap-on<</if>>. With the double stimulus of penetrating a tight vagina and being penetrated, she comes indecently hard. The two of them collapse into an exhausted, @@color:hotpink;happy@@ pile of slave flesh.
	<<set  $activeSlave.devotion += 4>>
	<<set  $slaverapistx.devotion += 8>>

<</if>>

Throughout the week, you keep $activeSlave.slaveName's pussy intimate with $slaverapistx.slaveName's cock. In the end, you are certain they got closer.

<</nobr>>

<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaverapistx.ID == $slaves[$i].ID>>
		<<set $slaves[$i] = $slaverapistx>>
		<<break>>
	<</if>>
<</for>>


code:
:: Generate Child [nobr]

<<if $mom != 0>>
	<<set $mergeMom = 0>>
	<<set $mergeDad = 0>>
	<<for $m = 0; $m < $genePool.length; $m++>>
		<<if $mom.ID == $genePool[$m].ID>>
			<<set $mergeMom = $genePool[$m]>>
		<</if>>
		<<if $mom.pregSource == $genePool[$m].ID>>
			<<set $mergeDad = $genePool[$m]>>
		<</if>>
	<</for>>
	<<if $mom.pregSource == -1>>
		<<set $mergeDad = $PC>>
	<<elseif $mom.pregSource == 0 || $mom.pregSource < -1>>
		<<set $mergeDad = $mergeMom>>
	<</if>>
<</if>>

<<set $activeSlaveOneTimeMinAge = $targetAge>>
<<set $activeSlaveOneTimeMaxAge = $targetAge>>
<<set $one_time_age_overrides_pedo_mode = 1>>

<<if $babyGender == 1>>
	<<include "Generate XX Slave">>
	<<if $PC.pregSource < 1>>
		<<set $activeSlave.slaveName = "My daughter">>
		<<set $activeSlave.mother = -1>>
		<<set $activeSlave.father = $missingParentID>>
		<<set $missingParentID-->>
		<<set $activeSlave.nationality = "Stateless">>
		<<if $PC.pregSource == -2 && $arcologies[0].FSSupremacist != "unset">>
			<<set $activeSlave.race = either($PC.race, $arcologies[0].FSSubjugationistRace, $arcologies[0].FSSubjugationistRace)>>
			<<if $PC.race != $arcologies[0].FSSubjugationistRace>>
				<<if random(1,100) > 50>>
					<<set $activeSlave.race = "mixed race">>
				<</if>>
			<</if>>
		<<else>>
			<<set $activeSlave.race = $PC.race>>
		<</if>>
		<<set $activeSlave.skin = $PC.skin>>
		<<set $activeSlave.eyeColor = either($PC.origEye, "brown", "blue", "brown", "green", "hazel", "green")>>
		<<set $activeSlave.hColor = either($PC.origHColor, "brown", "blonde", "black", "brown")>>
		<<set $activeSlave.pubicHColor = $activeSlave.hColor>>
		<<set $activeSlave.underArmHColor = $activeSlave.hColor>>
		<<set $activeSlave.sexualFlaw = "none">>
		<<set $activeSlave.sexualQuirk = "none">>
		<<set $activeSlave.behavioralFlaw = "none">>
		<<set $activeSlave.behavioralQuirk = "none">>
		<<set $activeSlave.fetish = "none">>
	<<else>>
		<<for $m = 0; $m < $genePool.length; $m++>>
			<<if $PC.pregSource == $genePool[$m].ID>>
				<<set $mergeDad == $genePool[$m]>>
				<<break>>
			<</if>>
		<</for>>
		<<set $activeSlave.slaveName = String("My and " + $mergeDad.slaveName + "'s daughter")>>
		<<set $activeSlave.mother = -1>>
		<<set $activeSlave.father = $mergeDad.ID>>
		<<if $PC.nationality == $mergeDad.nationality>>
			<<set $activeSlave.nationality = $mergeDad.nationality>>
		<<else>>
			<<set $activeSlave.nationality = "Stateless">>
		<</if>>
		<<if $PC.race == $mergeDad.race>>
			<<set $activeSlave.race = $mergeDad.race>>
		<<elseif random(1,4) == 4>>
			<<set $activeSlave.race = either($PC.race, $mergeDad.race)>>
		<<else>>
			<<set $activeSlave.race = "mixed race">>
		<</if>>
		<<if $PC.skin == $mergeDad.skin>>
			<<set $activeSlave.skin = $PC.skin>>
		<<else>>
			<<GenSkinTone $PC $mergeDad>>
		<</if>>
		<<if $PC.origEye == $mergeDad.origEye>>
			<<set $activeSlave.eyeColor = $PC.origEye>>
		<<elseif $PC.origEye == "red" || $PC.origEye == "pale red" || $PC.origEye == "light red" || $PC.origEye == "pale gray">>
			<<set $activeSlave.eyeColor = $mergeDad.origEye>>
		<<elseif $mergeDad.origEye == "red" || $mergeDad.origEye == "pale red" || $mergeDad.origEye == "light red" || $mergeDad.origEye == "pale gray" || $mergeDad.origEye == "milky white">>
			<<set $activeSlave.eyeColor = $PC.origEye>>
		<<elseif $PC.origEye == "blue">>
			<<if random(1,4) == 2>>
				<<set $activeSlave.eyeColor = $PC.origEye>>
			<<else>>
				<<set $activeSlave.eyeColor = $mergeDad.origEye>>
			<</if>>
		<<elseif $mergeDad.origEye == "blue">>
			<<if random(1,4) == 2>>
				<<set $activeSlave.eyeColor = $mergeDad.origEye>>
			<<else>>
				<<set $activeSlave.eyeColor = $PC.origEye>>
			<</if>>
		<<else>>
			<<set $activeSlave.eyeColor = either($PC.origEye, $mergeDad.origEye)>>
		<</if>>
		<<if $PC.origHColor == $mergeDad.origHColor>>
			<<set $activeSlave.hColor = $PC.origHColor>>
		<<elseif $PC.origHColor == "black">>
			<<set $activeSlave.hColor = $PC.origHColor>>
		<<elseif $mergeDad.origHColor == "black">>
			<<set $activeSlave.hColor = $mergeDad.origHColor>>
		<<elseif $PC.origHColor == "brown">>
			<<set $activeSlave.hColor = $PC.origHColor>>
		<<elseif $mergeDad.origHColor == "brown">>
			<<set $activeSlave.hColor = $mergeDad.origHColor>>
		<<elseif $PC.origHColor == "white">>
			<<if random(1,100) == 69>>
				<<set $activeSlave.hColor = $PC.origHColor>>
			<<else>>
				<<set $activeSlave.hColor = $mergeDad.origHColor>>
			<</if>>
		<<elseif $mergeDad.origHColor == "white">>
			<<if random(1,100) == 69>>
				<<set $activeSlave.hColor = $PC.origHColor>>
			<<else>>
				<<set $activeSlave.hColor = $mergeDad.origHColor>>
			<</if>>
		<<else>>
			<<set $activeSlave.hColor = either($PC.origHColor, $mergeDad.origHColor)>>
		<</if>>
		<<set $activeSlave.pubicHColor = $activeSlave.hColor>>
		<<set $activeSlave.underArmHColor = $activeSlave.hColor>>
		<<if $mergeDad.underArmHStyle == "hairless">>
			<<if random(1,5) == 3>>
				<<set $activeSlave.underArmHStyle = "hairless">>
			<</if>>
		<</if>>
		<<if $mergeDad.pubicHStyle == "hairless">>
			<<if random(1,5) == 3>>
				<<set $activeSlave.pubicHStyle = "hairless">>
			<</if>>
		<</if>>
		<<set $activeSlave.sexualFlaw = either("none", "none", "none", "none", "none", $mergeDad.sexualFlaw)>>
		<<set $activeSlave.sexualQuirk = either("none", "none", "none", "none", "none", $mergeDad.sexualFlaw)>>
		<<set $activeSlave.behavioralFlaw = either("none", "none", "none", "none", "none", $mergeDad.sexualFlaw)>>
		<<set $activeSlave.behavioralQuirk = either("none", "none", "none", "none", "none", $mergeDad.sexualFlaw)>>
		<<set $activeSlave.fetish = either("none", "none", "none", "none", "none", $mergeDad.fetish)>>
	<</if>>
<<elseif $babyGender == 2>>
	<<include "Generate XY Slave">>
	<<if $PC.pregSource < 1>>
		<<set $activeSlave.slaveName = "My son">>
		<<set $activeSlave.mother = -1>>
		<<set $activeSlave.father = $missingParentID>>
		<<set $missingParentID-->>
		<<set $activeSlave.nationality = "Stateless">>
		<<if $PC.pregSource == -2 && $arcologies[0].FSSupremacist != "unset">>
			<<set $activeSlave.race = either($PC.race, $arcologies[0].FSSubjugationistRace, $arcologies[0].FSSubjugationistRace)>>
			<<if $PC.race != $arcologies[0].FSSubjugationistRace>>
				<<if random(1,100) > 50>>
					<<set $activeSlave.race = "mixed race">>
				<</if>>
			<</if>>
		<<else>>
			<<set $activeSlave.race = $PC.race>>
		<</if>>
		<<set $activeSlave.skin = $PC.skin>>
		<<set $activeSlave.eyeColor = either($PC.origEye, "brown", "blue", "brown", "green", "hazel", "green")>>
		<<set $activeSlave.hColor = either($PC.origHColor, "brown", "blonde", "black", "brown")>>
		<<set $activeSlave.pubicHColor = $PC.origHColor>>
		<<set $activeSlave.underArmHColor = $PC.origHColor>>
		<<set $activeSlave.sexualFlaw = "none">>
		<<set $activeSlave.sexualQuirk = "none">>
		<<set $activeSlave.behavioralFlaw = "none">>
		<<set $activeSlave.behavioralQuirk = "none">>
		<<set $activeSlave.fetish = "none">>
	<<else>>
		<<for $m = 0; $m < $genePool.length; $m++>>
			<<if $PC.pregSource == $genePool[$m].ID>>
				<<set $mergeDad == $genePool[$m]>>
				<<break>>
			<</if>>
		<</for>>
		<<set $activeSlave.slaveName = String("My and " + $mergeDad.slaveName + "'s son")>>
		<<set $activeSlave.mother = -1>>
		<<set $activeSlave.father = $mergeDad.ID>>
		<<if $PC.nationality == $mergeDad.nationality>>
			<<set $activeSlave.nationality = $mergeDad.nationality>>
		<<else>>
			<<set $activeSlave.nationality = "Stateless">>
		<</if>>
		<<if $PC.race == $mergeDad.race>>
			<<set $activeSlave.race = $mergeDad.race>>
		<<elseif random(1,4) == 4>>
			<<set $activeSlave.race = either($PC.race, $mergeDad.race)>>
		<<else>>
			<<set $activeSlave.race = "mixed race">>
		<</if>>
		<<if $PC.skin == $mergeDad.skin>>
			<<set $activeSlave.skin = $PC.skin>>
		<<else>>
			<<GenSkinTone $PC $mergeDad>>
		<</if>>
		<<if $PC.origEye == $mergeDad.origEye>>
			<<set $activeSlave.eyeColor = $PC.origEye>>
		<<elseif $PC.origEye == "red" || $PC.origEye == "pale red" || $PC.origEye == "light red" || $PC.origEye == "pale gray">>
			<<set $activeSlave.eyeColor = $mergeDad.origEye>>
		<<elseif $mergeDad.origEye == "red" || $mergeDad.origEye == "pale red" || $mergeDad.origEye == "light red" || $mergeDad.origEye == "pale gray" || $mergeDad.origEye == "milky white">>
			<<set $activeSlave.eyeColor = $PC.origEye>>
		<<elseif $PC.origEye == "blue">>
			<<if random(1,4) == 2>>
				<<set $activeSlave.eyeColor = $PC.origEye>>
			<<else>>
				<<set $activeSlave.eyeColor = $mergeDad.origEye>>
			<</if>>
		<<elseif $mergeDad.origEye == "blue">>
			<<if random(1,4) == 2>>
				<<set $activeSlave.eyeColor = $mergeDad.origEye>>
			<<else>>
				<<set $activeSlave.eyeColor = $PC.origEye>>
			<</if>>
		<<else>>
			<<set $activeSlave.eyeColor = either($PC.origEye, $mergeDad.origEye)>>
		<</if>>
		<<if $PC.origHColor == $mergeDad.origHColor>>
			<<set $activeSlave.hColor = $PC.origHColor>>
		<<elseif $PC.origHColor == "black">>
			<<set $activeSlave.hColor = $PC.origHColor>>
		<<elseif $mergeDad.origHColor == "black">>
			<<set $activeSlave.hColor = $mergeDad.origHColor>>
		<<elseif $PC.origHColor == "brown">>
			<<set $activeSlave.hColor = $PC.origHColor>>
		<<elseif $mergeDad.origHColor == "brown">>
			<<set $activeSlave.hColor = $mergeDad.origHColor>>
		<<elseif $PC.origHColor == "white">>
			<<if random(1,100) == 69>>
				<<set $activeSlave.hColor = $PC.origHColor>>
			<<else>>
				<<set $activeSlave.hColor = $mergeDad.origHColor>>
			<</if>>
		<<elseif $mergeDad.origHColor == "white">>
			<<if random(1,100) == 69>>
				<<set $activeSlave.hColor = $PC.origHColor>>
			<<else>>
				<<set $activeSlave.hColor = $mergeDad.origHColor>>
			<</if>>
		<<else>>
			<<set $activeSlave.hColor = either($PC.origHColor, $mergeDad.origHColor)>>
		<</if>>
		<<if $mergeDad.underArmHStyle == "hairless">>
			<<if random(1,5) == 3>>
				<<set $activeSlave.underArmHStyle = "hairless">>
			<</if>>
		<</if>>
		<<if $mergeDad.pubicHStyle == "hairless">>
			<<if random(1,5) == 3>>
				<<set $activeSlave.pubicHStyle = "hairless">>
			<</if>>
		<</if>>
		<<set $activeSlave.pubicHColor = $activeSlave.hColor>>
		<<set $activeSlave.underArmHColor = $activeSlave.hColor>>
		<<set $activeSlave.sexualFlaw = either("none", "none", "none", "none", "none", $mergeDad.sexualFlaw)>>
		<<set $activeSlave.sexualQuirk = either("none", "none", "none", "none", "none", $mergeDad.sexualQuirk)>>
		<<set $activeSlave.behavioralFlaw = either("none", "none", "none", "none", "none", $mergeDad.behavioralFlaw)>>
		<<set $activeSlave.behavioralQuirk = either("none", "none", "none", "none", "none", $mergeDad.behavioralQuirk)>>
		<<set $activeSlave.fetish = either("none", "none", "none", "none", "none", $mergeDad.fetish)>>
	<</if>>
<<else>>
	<<if $seeDicks == 100>>
		<<include "Generate XY Slave">>
	<<elseif $seeDicks == 0>>
		<<include "Generate XX Slave">>
	<<else>>
		<<if random(0,100) >= 30>>
			<<include "Generate XX Slave">>
		<<else>>
			<<include "Generate XY Slave">>
		<</if>>
	<</if>>
	<<set $activeSlave.mother = $mergeMom.ID>>
	<<if $mom.pregSource > 0>>
		<<set $activeSlave.father = $mergeDad.ID>>
		<<set $activeSlave.slaveName = String($mom.slaveName + " and " + $mergeDad.slaveName + "'s child")>>
	<<elseif $mom.pregSource == -1>>
		<<set $activeSlave.father = -1>>
		<<set $activeSlave.slaveName = String($mom.slaveName + " and my child")>>
	<<else>>
		<<set $activeSlave.father = $missingParentID>>
		<<set $missingParentID-->>
		<<set $activeSlave.slaveName = String($mom.slaveName + "'s slut child")>>
	<</if>>
	<<if $mergeMom.nationality == $mergeDad.nationality>>
		<<set $activeSlave.nationality = $mergeDad.nationality>>
	<<else>>
		<<set $activeSlave.nationality = "Stateless">>
	<</if>>
	<<if $mergeMom.race == $mergeDad.race>>
		<<set $activeSlave.race = $mergeDad.race>>
	<<elseif random(1,4) == 4>>
		<<set $activeSlave.race = either($mergeMom.race, $mergeDad.race)>>
	<<else>>
		<<set $activeSlave.race = "mixed race">>
	<</if>>
	<<if $mom.pregSource == -2 && $arcologies[0].FSSupremacist != "unset">>
		<<set $activeSlave.race = either($mergeMom.race, $arcologies[0].FSSubjugationistRace, $arcologies[0].FSSubjugationistRace)>>
		<<if $mergeMom.race != $arcologies[0].FSSubjugationistRace>>
			<<if random(1,100) > 50>>
				<<set $activeSlave.race = "mixed race">>
			<</if>>
		<</if>>
	<</if>>
	<<if $mergeMom.skin == $mergeDad.skin>>
		<<set $activeSlave.skin = $mergeMom.skin>>
	<<else>>
		<<GenSkinTone $mergeMom $mergeDad>>
	<</if>>
	<<if $mergeMom.origEye == $mergeDad.origEye>>
		<<set $activeSlave.eyeColor = $mergeMom.origEye>>
	<<elseif $mergeMom.origEye == "red" || $mergeMom.origEye == "pale red" || $mergeMom.origEye == "light red" || $mergeMom.origEye == "pale gray" || $mergeMom.origEye == "milky white">>
		<<set $activeSlave.eyeColor = $mergeDad.origEye>>
	<<elseif $mergeDad.origEye == "red" || $mergeDad.origEye == "pale red" || $mergeDad.origEye == "light red" || $mergeDad.origEye == "pale gray" || $mergeDad.origEye == "milky white">>
		<<set $activeSlave.eyeColor = $mergeMom.origEye>>
	<<elseif $mergeMom.origEye == "blue">>
		<<if random(1,4) == 2>>
			<<set $activeSlave.eyeColor = $mergeMom.origEye>>
		<<else>>
			<<set $activeSlave.eyeColor = $mergeDad.origEye>>
		<</if>>
	<<elseif $mergeDad.origEye == "blue">>
		<<if random(1,4) == 2>>
			<<set $activeSlave.eyeColor = $mergeDad.origEye>>
		<<else>>
			<<set $activeSlave.eyeColor = $mergeMom.origEye>>
		<</if>>
	<<else>>
		<<set $activeSlave.eyeColor = either($mergeMom.origEye, $mergeDad.origEye)>>
	<</if>>
	<<if $mom.pregSource == -2 || $mom.pregSource == 0>>
		<<set $activeSlave.eyeColor = either($mergeMom.origEye, "brown", "blue", "brown", "green", "hazel", "green")>>
	<</if>>
	<<if $mergeMom.origHColor == $mergeDad.origHColor>>
		<<set $activeSlave.hColor = $mergeMom.origHColor>>
	<<elseif $mergeMom.origHColor == "black">>
		<<set $activeSlave.hColor = $mergeMom.origHColor>>
	<<elseif $mergeDad.origHColor == "black">>
		<<set $activeSlave.hColor = $mergeDad.origHColor>>
	<<elseif $mergeMom.origHColor == "brown">>
		<<set $activeSlave.hColor = $mergeMom.origHColor>>
	<<elseif $mergeDad.origHColor == "brown">>
		<<set $activeSlave.hColor = $mergeDad.origHColor>>
	<<elseif $mergeMom.origHColor == "white">>
		<<if random(1,100) == 69>>
			<<set $activeSlave.hColor = $mergeMom.origHColor>>
		<<else>>
			<<set $activeSlave.hColor = $mergeDad.origHColor>>
		<</if>>
	<<elseif $mergeDad.origHColor == "white">>
		<<if random(1,100) == 69>>
			<<set $activeSlave.hColor = $mergeDad.origHColor>>
		<<else>>
			<<set $activeSlave.hColor = $mergeMom.origHColor>>
		<</if>>
	<<else>>
		<<set $activeSlave.hColor = either($mergeMom.origHColor, $mergeDad.origHColor)>>
	<</if>>
	<<if $mom.pregSource == -2 || $mom.pregSource == 0>>
		<<set $activeSlave.hColor = either($mergeMom.origHColor, "brown", "blonde", "black", "brown", "black", "brown", "black")>>
	<</if>>
	<<if $mergeDad.underArmHStyle == "hairless" && $mergeMom.underArmHStyle == "hairless">>
		<<set $activeSlave.underArmHStyle = "hairless">>
	<<elseif $mergeDad.underArmHStyle == "hairless" || $mergeMom.underArmHStyle == "hairless">>
		<<if random(1,5) == 3>>
			<<set $activeSlave.underArmHStyle = "hairless">>
		<</if>>
	<</if>>
	<<if $mergeDad.pubicHStyle == "hairless" && $mergeMom.pubicHStyle == "hairless">>
		<<set $activeSlave.pubicHStyle = "hairless">>
	<<elseif $mergeDad.pubicHStyle == "hairless" || $mergeMom.pubicHStyle == "hairless">>
		<<if random(1,5) == 3>>
			<<set $activeSlave.pubicHStyle = "hairless">>
		<</if>>
	<</if>>
	<<set $activeSlave.pubicHColor = $activeSlave.hColor>>
	<<set $activeSlave.underArmHColor = $activeSlave.hColor>>
	<<set $activeSlave.sexualFlaw = either($mergeMom.sexualFlaw, "none", "none", "none", "none", "none", $mergeDad.sexualFlaw)>>
	<<set $activeSlave.sexualQuirk = either($mergeMom.sexualQuirk, "none", "none", "none", "none", "none", $mergeDad.sexualQuirk)>>
	<<set $activeSlave.behavioralFlaw = either($mergeMom.behavioralFlaw, "none", "none", "none", "none", "none", $mergeDad.behavioralFlaw)>>
	<<set $activeSlave.behavioralQuirk = either($mergeMom.behavioralQuirk, "none", "none", "none", "none", "none", $mergeDad.behavioralQuirk)>>
	<<set $activeSlave.fetish = either("none", "none", "none", "none", "none", $mergeDad.fetish, $mergeMom.fetish)>>
	<<if $mom.addict > 0>>
		<<set $activeSlave.addict = Math.trunc($mom.addict/2)>>
	<</if>>
<</if>>

<<set $activeSlave.actualAge = 0>>
<<set $activeSlave.birthWeek = 0>>
<<set $activeSlave.weight = -100>>
<<set $activeSlave.muscles = -100>>
<<set $activeSlave.boobs = 0>>
<<set $activeSlave.butt = 0>>
<<set $activeSlave.energy = 0>>
<<set $activeSlave.anus = 0>>
<<set $activeSlave.chem = 990>>
<<if $activeSlave.vagina > -1>>
	<<set $activeSlave.vagina = 0>>
<</if>>
<<if $activeSlave.dick > 0>>
	<<set $activeSlave.foreskin = 1>>
	<<set $activeSlave.balls = 1>>
	<<set $activeSlave.scrotom = 1>>
<</if>>
<<if $activeSlave.fetish != "none">>
	<<set $activeSlave.fetishStrength = 20>>
<</if>>

/* Int and facial attractiveness changes to bolster eugenics and add negatives for excessive inbreeding */
<<if $activeSlave.mother == -1 && $PC.pregSource == -1>>
	<<set $activeSlave.face = random(50,100)>>
	<<set $activeSlave.intelligence = either(2, 2, 2, 2, 3, 3)>>
<<elseif $activeSlave.mother == -1>>
	<<if $PC.pregSource > 0>>
		<<if $mergeDad.face < $PC.face>>
			<<set $activeSlave.face = random($mergeDad.face, $PC.face)>>
		<<else>>
			<<set $activeSlave.face = random(0,$PC.face)>>
		<</if>>
		<<if $activeSlave.face < 40>>
			<<set $activeSlave.face += random(5,20)>>
		<</if>>
		<<if $mergeDad.intelligence < $PC.intelligence>>
			<<set $activeSlave.intelligence = random($mergeDad.intelligence, $PC.intelligence)>>
		<<else>>
			<<set $activeSlave.intelligence = $mergeMom.intelligence>>
		<</if>>
		<<if $activeSlave.intelligence < 2>>
			<<set $activeSlave.intelligence += 1>>
		<</if>>
	<<else>>
		<<set $activeSlave.face =random(20,100)>>
		<<set $activeSlave.intelligence = either(1, 2, 2, 2, 2, 3, 3)>>
	<</if>>
<<elseif $activeSlave.father == -1 && $mom > 0>>
	<<if $mom.breedingMark == 1>>
		<<set $activeSlave.face = random(60,100)>>
		<<set $activeSlave.intelligence = either(2, 2, 2, 2, 3, 3)>>
		<<set $activeSlave.breedingMark = 1>>
	<<else>>
		<<if $PC.face > $mergeMom.face>>
			<<set $activeSlave.face = random($mergeMom.face, $PC.face)>>
		<<else>>
			<<set $activeSlave.face = either($mergeMom.face-10, $mergeMom.face+10)>>
		<</if>>
		<<if $PC.intelligence > $mergeMom.intelligence>>
			<<set $activeSlave.intelligence = random($mergeMom.intelligence, $PC.intelligence)>>
		<<else>>
			<<set $activeSlave.intelligence = $mergeMom.intelligence>>
		<</if>>
		<<if $inbreeding == 1>>
			<<if $activeSlave.face > -100 && random(1,100) > 60>>
				<<set $activeSlave.face -= random(2,40)>>
			<</if>>
			<<if $activeSlave.intelligence > -3 && random(1,100) < 60>>
				<<set $activeSlave.intelligence -= 1>>
				<<if $activeSlave.intelligence > -3 && random(1,100) < 30>>
					<<set $activeSlave.intelligence -= 1>>
				<</if>>
			<</if>>
		<</if>>
	<</if>>
<<else>>
	<<if $mergeDad.face < $mergeMom.face>>
		<<set $activeSlave.face = random($mergeDad.face, $mergeMom.face)>>
	<<elseif $mergeDad.face > $mergeMom.face>>
		<<set $activeSlave.face = random($mergeMom.face, $mergeDad.face)>>
	<<else>>
		<<set $activeSlave.face = $mergeMom.face>>
	<</if>>
	<<if $mergeDad.intelligence < $mergeMom.intelligence>>
		<<set $activeSlave.intelligence = random($mergeDad.intelligence, $mergeMom.intelligence)>>
	<<elseif $mergeDad.intelligence > $mergeMom.intelligence>>
		<<set $activeSlave.intelligence = random($mergeMom.intelligence, $mergeDad.intelligence)>>
	<<else>>
		<<set $activeSlave.intelligence = $mergeMom.intelligence>>
	<</if>>
	<<if $inbreeding == 1>>
		<<if $activeSlave.face > -100 && random(1,100) < 70>>
			<<set $activeSlave.face -= random(5,40)>>
		<</if>>
		<<if $activeSlave.intelligence > -3 && random(1,100) < 90>>
			<<set $activeSlave.intelligence -= 1>>
				<<if $activeSlave.intelligence > -3 && random(1,100) < 60>>
					<<set $activeSlave.intelligence -= 1>>
				<</if>>
		<</if>>
	<</if>>
<</if>>

<<set $activeSlave.face = Math.clamp($activeSlave.face, -100, 100)>>
<<set $activeSlave.corsetPiercing = 0>>
<<set $activeSlave.boobsImplant = 0>>
<<set $activeSlave.boobsImplantType = 0>>
<<set $activeSlave.nipplesPiercing = 0>>
<<set $activeSlave.areolaePiercing = 0>>
<<set $activeSlave.lactation = 0>>
<<set $activeSlave.hipsImplant = 0>>
<<set $activeSlave.buttImplant = 0>>
<<set $activeSlave.buttImplantType = 0>>
<<set $activeSlave.lipsImplants = 0>>
<<set $activeSlave.lipsPiercing = 0>>
<<set $activeSlave.tonguePiercing = 0>>
<<set $activeSlave.vaginaPiercing = 0>>
<<set $activeSlave.preg = 0>>
<<set $activeSlave.clitPiercing = 0>>
<<set $activeSlave.dickPiercing = 0>>
<<set $activeSlave.makeup = 0>>
<<set $activeSlave.nails = 0>>
<<set $activeSlave.earPiercing = 0>>
<<set $activeSlave.nosePiercing = 0>>
<<set $activeSlave.eyebrowPiercing = 0>>
<<set $activeSlave.stampTat = 0>>
<<set $activeSlave.bellyTat = 0>>
<<set $activeSlave.anusPiercing = 0>>
<<set $activeSlave.anusTat = 0>>
<<set $activeSlave.shouldersTat = 0>>
<<set $activeSlave.armsTat = 0>>
<<set $activeSlave.legsTat = 0>>
<<set $activeSlave.backTat = 0>>
<<set $activeSlave.combatSkill = 0>>
<<set $activeSlave.whoreSkill = 0>>
<<set $activeSlave.entertainSkill = 0>>
<<set $activeSlave.oralSkill = 0>>
<<set $activeSlave.analSkill = 0>>
<<set $activeSlave.vaginalSkill = 0>>
<<set $activeSlave.accent = 4>>
<<set $activeSlave.canRecruit = 0>>
<<set $activeSlave.hStyle = "long">>
<<set $activeSlave.hLength = 300>>
<<if $activeSlave.pubicHStyle != "hairless">>
	<<set $activeSlave.pubicHStyle = either("bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless")>>
<</if>>
<<if $activeSlave.underArmHStyle != "hairless">>
	<<set $activeSlave.underArmHStyle = either("bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless")>>
<</if>>
<<set $activeSlave.origin = "Shortly after birth, she was sealed in an aging tank until she was of age. She knows nothing of the world outside of what the tank imprinted her with.">>
<<set $activeSlave.career = "a slave since birth">>
<<set $activeSlave.intelligenceImplant = 0>>
<<set $activeSlave.navelPiercing = 0>>
<<set $activeSlave.devotion = 0>>
<<set $activeSlave.trust = 0>>
<<set $activeSlave.weekAcquired to $week>>

<<set $mergeMom = 0>>
<<set $mergeDad = 0>>


code:
:: Hotswap Prosthetics [nobr]
<<if ndef $activeLimbs>>
	<<set $activeLimbs = 0>>
<</if>>

	Switch out her prosthetics for
	<<if $activeSlave.amp == -1>>
		Basic P-limbs equipped
		<<elseif $activeSlave.readyLimbs.includes(-1)>>
		<<link "a basic set">><<set $activeSlave.amp = -1>><<replace "#LimbOptions">><<include "Hotswap Prosthetics">><</replace>><</link>>
		<<elseif $activeLimbs.type == "simple" && $activeSlave.ID == $activeLimbs.ID>>
		//Basic P-limbs being built
		<<else>>
		//Basic prostheses unavailable
	<</if>>|
	<<if $activeSlave.amp == -2>>
		Sex focused P-limbs equipped
		<<elseif $activeSlave.readyLimbs.includes(-2)>>
		<<link "a sex focused set">><<set $activeSlave.amp = -2>><<replace "#LimbOptions">><<include "Hotswap Prosthetics">><</replace>><</link>>
		<<elseif $activeLimbs.type == "sex" && $activeSlave.ID == $activeLimbs.ID>>
		//Sex focused P-limbs being built
		<<else>>
		//Sex focused prostheses unavailable
	<</if>>|
	<<if $activeSlave.amp == -3>>
		Natural looking P-limbs equipped
		<<elseif $activeSlave.readyLimbs.includes(-3)>>
		<<link "a natural looking set">><<set $activeSlave.amp = -3>><<replace "#LimbOptions">><<include "Hotswap Prosthetics">><</replace>><</link>>
		<<elseif $activeLimbs.type == "beauty" && $activeSlave.ID == $activeLimbs.ID>>
		//Natural looking P-limbs being built
		<<else>>
		//Natural looking prostheses unavailable
	<</if>>|
	<<if $activeSlave.amp == -4>>
		Combat P-limbs equipped
		<<elseif $activeSlave.readyLimbs.includes(-4)>>
		<<link "military grade arms">><<set $activeSlave.amp = -4>><<replace "#LimbOptions">><<include "Hotswap Prosthetics">><</replace>><</link>>
		<<elseif $activeLimbs.type == "combat" && $activeSlave.ID == $activeLimbs.ID>>
		//Combat P-limbs being built
		<<else>>
		//Combat prostheses unavailable
	<</if>>|
	<<if $activeSlave.amp == -5>>
		Cybernetic P-limbs equipped
		<<elseif $activeSlave.readyLimbs.includes(-5)>>
		<<link "advanced cybernetics">><<set $activeSlave.amp = -5>><<replace "#LimbOptions">><<include "Hotswap Prosthetics">><</replace>><</link>>
		<<elseif $activeLimbs.type == "cyber" && $activeSlave.ID == $activeLimbs.ID>>
		//Cybernetic P-limbs being built
		<<else>>
		//Cybernetic prostheses unavailable
	<</if>>


code:
:: Husk Slave [nobr]

<<set $nextButton = "Back">>\
<<set $nextLink = "Buy Slaves">>\
<<set $returnTo = "Buy Slaves">>\
<<set $showEncyclopedia = 1>><<set $encyclopedia = "Kidnapped Slaves">>\
<<if ($huskSlave.dick == 0) && ($huskSlave.vagina == -1)>><<set $huskSlave.vagina = 0>><</if>>\
\
<<if $huskSlaveOrdered == 0>>You lay out a new order for a braindead slave to be put aside for your use.<<else>>You review your posted husk order.<</if>> Your order requests a body with the following characteristics:

<<set $huskSlave.age = Math.clamp($huskSlave.age, $minimumSlaveAge, $retirementAge-1)>>

Age:

<<textbox "$huskSlave.age" $huskSlave.age "Husk Slave">>

Sex:
<<if $huskSlave.sex == 1>>Female.
<<elseif $huskSlave.sex == 2>>Male.
<<elseif $huskSlave.sex == 3>>Futanari.
<</if>>

[Female|Husk Slave][$huskSlave.sex = 1]]
| [Male|Husk Slave][$huskSlave.sex = 2]]
| [Both|Husk Slave][$huskSlave.sex = 3]]

Nationality:

<<textbox "$huskSlave.nationality" $huskSlave.nationality "Husk Slave">>

<<textbox "$huskSlave.race" $huskSlave.race "Husk Slave">>

[White|Husk Slave][$huskSlave.race = "white"]]
| [Asian|Husk Slave][$huskSlave.race = "asian"]]
| [Latina|Husk Slave][$huskSlave.race = "latina"]]
| [Middle Eastern|Husk Slave][$huskSlave.race = "middle eastern"]]
| [Black|Husk Slave][$huskSlave.race = "black"]]
| [Semetic|Husk Slave][$huskSlave.race = "semetic"]]
| [Southern European|Husk Slave][$huskSlave.race = "southern european"]]
| [Indo-aryan|Husk Slave][$huskSlave.race = "indo-aryan"]]
| [Amerindian|Husk Slave][$huskSlave.race = "amerindian"]]
| [Pacific Islander|Husk Slave][$huskSlave.race = "pacific islander"]]
| [Malay|Husk Slave][$huskSlave.race = "malay"]]
| [Mixed Race|Husk Slave][$huskSlave.race = "mixed race"]]

Virginity:
<<if $huskSlave.virgin == 0>>Virgin.
<<else>>Not important.
<</if>>

[Important|Husk Slave][$huskSlave.virgin = 0]]
| [Not Important|Husk Slave][$huskSlave.virgin = 1]]

Reserving a body will cost ¤10000 up front. Cancelling an order will refund your money, however if a delivered body is rejected; your money will not be refunded.
<<if $huskSlaveOrdered == 1>>
[[Withdraw body order|Main][$huskSlaveOrdered = 0, $cash += 10000]]
<<elseif $cash < 10000>>
	//You lack the credits to place a body reservation.//
<<else>>
[[Post body order|Main][$huskSlaveOrdered = 1, $cash -= 10000]]
<</if>>


code:
:: Husk Slave Swap [nobr]

<<set $nextButton = "Continue", $nextLink = "AS Dump>>

You strap $oldSlave.slaveName and the body $pronoun will transfer to into the remote surgery and stand back as it goes to work.
<<BodySwap $activeSlave $oldSlave>>
After an honestly impressive procedure, $activeSlave.slaveName is released and allowed to explore her new body.

//To do - Reactions//

<<slaveCost $oldSlave>>
$oldSlave.slaveName's body was bought by the Flesh Heap for ¤<<print Math.trunc($slaveCost/3)>>
<<$cash += Math.trunc($slaveCost/3)>>
<<set $oldSlave = 0>>


code:
:: husk Slave Swap Workaround

<<set $nextButton = "Abort Operation", $nextLink = "Scheduled Event", $returnTo = "Scheduled Event">>

<<nobr>>

<<set $oldSlave = 0>>
<<set $swapFailure = random(1,1000)>

"This operation is neither simple nor is it perfected. There are extreme health risks involved and no gauruntee of success. Strap a slave into your surgery to consent to the operation. Indentured servants<<if $incubator > 0>> and slaves with reserved children<</if>> not eligible."

//Select the slave whose brain will be transfered into the waiting husk.<<if $cyberMod == 1>> Amputated slaves must not be wearing prosthetics.<</if>>//

<</nobr>>

__Select an eligible slave:__
<<for _i = 0; _i < $slaves.length; _i++>>\
	<<if $cybermod == 0 || $slaves[_i].PLimb == 0 || ($slaves[_i].PLimb == 1 && $slaves[_i].amp == 1)>>
	<<if ($slaves[_i].indenture == 0)>>\
	<<if ($slaves[_i].breedingMark == 0)>>\
	<<if ($slaves[_i].reservedChildren == 0)>>\
	<<if ($slaves[_i].ID != $activeSlave.ID)>>\
		<<print "[[$slaves[_i].slaveName|Husk Slave Swap][$oldSlave = $slaves[" + _i + "]]]">>
	<</if>>\
	<</if>>\
	<</if>>\
	<</if>>\
	<</if>>\
<</for>>\