code:
:: FSlaveSlaveDick Consummate [nobr]

<<set $nextButton = "Continue", $returnTo = $nextLink, $nextLink = "AS Dump">>
<<ClearSummaryCache $activeSlave>>
<<ClearSummaryCache $slaverapistx>>
<<if $activeSlave.dick>>
	<<if $activeSlave.dick == 1>>
		<<set _dicksize = "tiny">>
	<<elseif ($activeSlave.dick == 2)>>
		<<set _dicksize = "tiny">>
	<<elseif ($activeSlave.dick == 3)>>
		<<set _dicksize = "average">>
	<<elseif ($activeSlave.dick == 4)>>
		<<set _dicksize = "big">>
	<<elseif ($activeSlave.dick == 5)>>
		<<set _dicksize = "huge">>
	<<elseif ($activeSlave.dick == 6)>>
		<<set _dicksize = "gigantic">>
	<<elseif ($activeSlave.dick == 7)>>
		<<set _dicksize = "titanic">>
	<<elseif ($activeSlave.dick == 8)>>
		<<set _dicksize = "absurd">>
	<<elseif ($activeSlave.dick >= 9)>>
		<<set _dicksize = "inhuman">>
	<</if>>
<</if>>

You take a look at the bound toy.

<<if $activeSlave.mother == $slaverapistx.ID>>
	<<if ($activeSlave.sexualQuirk == "perverted")>>
		<<if ($activeSlave.energy > 60)>>
			$activeSlave.slaveName is looking up at her mother, fully naked, her pussy visible and captivating. Her breathing is fast and her nipples hard.
		<<else>>
			$activeSlave.slaveName seems paralyzed, looking at her mother standing above her with disbelief, curiosity... and excitement?
		<</if>>
	<<else>>
		$activeSlave.slaveName looks with horror at her mother, knowing what will soon happen.
	<</if>>
<<elseif $slaverapistx.mother == $activeSlave.ID>>
	<<if ($activeSlave.sexualQuirk == "perverted")>>
		<<if ($activeSlave.energy > 60)>>
			$activeSlave.slaveName is looking up at her daughter, fully naked, her pussy visible and captivating. Her breathing is fast and her nipples hard.
		<<else>>
			$activeSlave.slaveName seems paralyzed, looking at her daughter with a look of disbelief, hesitation... and excitement?
		<</if>>
	<<else>>
		$activeSlave.slaveName looks with horror at her daughter, knowing what will soon happen.
	<</if>>
<<elseif (areSisters($activeSlave, $slaverapistx) > 0)>>
	<<if ($activeSlave.sexualQuirk == "perverted")>>
		<<if ($activeSlave.energy > 60)>>
			$activeSlave.slaveName seems paralyzed with fear, but her nipples are already hard and her face flushed. Secretly, she may want this.
		<<else>>
			$activeSlave.slaveName seems paralyzed, looking at her sister standing above her with disbelief, curiosity... and excitement?
		<</if>>
	<<else>>
		$activeSlave.slaveName looks with horror at her sister, knowing what will soon happen.
	<</if>>

	<<if ($slaverapistx.sexualQuirk == "perverted")>>
		<<if ($slaverapistx.energy > 60)>>
			$slaverapistx.slaveName is looking down at her sister's bound and helpless form with a look of hunger.
		<<else>>
			$slaverapistx.slaveName seems paralyzed, looking down at her bound sister with disbelief, curiosity... and excitement?
		<</if>>
	<<else>>
		$slaverapistx.slaveName looks with horror down at her bound sister, knowing what will soon happen.
	<</if>>
<</if>>

<<if ($activeSlave.energy > 60)>>
	<<if ($activeSlave.attrXX > 60)>>
		<<if ($activeSlave.fetish == "submissive")>>
			Since $activeSlave.slaveName likes pussy and being dominated, combined with her good libido, her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize member<</if>> becomes rock hard in an instant.
		<<else>>
			Since $activeSlave.slaveName likes pussy, all it takes is a bit of teasing to get her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize member<</if>> hard.
		<</if>>
	<<else>>
		Even though $activeSlave.slaveName isn't normally attracted to women, her high libido and some expert teasing causes her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize penis<</if>> to become erect.
	<</if>>

<<else>>
	<<if ($activeSlave.clit >= 4)>>Her clit remains soft<<else>>Her member remains limp<</if>> despite the prospect of pussy, but a direct injection of vasodilators quickly fixes that for this special occasion.
<</if>>

<<if ($activeSlave.devotion > 50)>>
	Since $activeSlave.slaveName is devoted, restraints are more for show than for practical purpose.
<<elseif ($activeSlave.devotion > 20)>>
	$activeSlave.slaveName is obedient, but this might be too much for her, so you restrain her, making sure she can't resist.
<<else>>
	Since $activeSlave.slaveName is unlikely to comply willingly, you simply restrain her firmly 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>>

<<if ($activeSlave.amp == 1)>>
	Her limbless torso lies on the bed, ready for $slaverapistx.slaveName.
<<elseif tooBigBelly($activeSlave)>>
	She is lying on her back, with arms and legs tied. Her huge belly will limit the possible positions for $slaverapistx.slaveName to take her.
<<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 pelvis 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 clearly 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.
<<elseif tooFatSlave($activeSlave)>>
	She is lying on her back, with arms and legs tied. Her huge gut threatens to envelope her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize cock<</if>>.
<<else>>
	She is lying on her back, with arms and legs tied and her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize cock<</if>> standing at attention.
<</if>>

<<if $activeSlave.mother == $slaverapistx.ID>>
	<<if ($slaverapistx.sexualQuirk == "perverted")>>
		<<if ($slaverapistx.attrXX > 60)>>
			$slaverapistx.slaveName, on the other hand, is well aware that she is about to rape her own daughter, and seems quite eager.
		<<else>>
			$slaverapistx.slaveName, on the other hand, is well aware that she is about to rape her own daughter, but despite that seems to feel some arousal at the thought.
		<</if>>
	<<else>>
		$slaverapistx.slaveName, on the other hand, is well aware that she is about to rape her own daughter and is understandably disturbed.
	<</if>>
<<elseif $slaverapistx.mother == $activeSlave.ID>>
	<<if ($slaverapistx.sexualQuirk == "perverted")>>
		<<if ($slaverapistx.attrXX > 60)>>
			$slaverapistx.slaveName, on the other hand, is well aware that she is about to rape her own mother, and seems quite eager.
		<<else>>
			$slaverapistx.slaveName, on the other hand, is well aware that she is about to rape her own mother, but despite that seems to feel some arousal at the thought.
		<</if>>
	<<else>>
		$slaverapistx.slaveName, on the other hand, is well aware that she is about to rape her own mother and is understandably disturbed.
	<</if>>
<<elseif $slaverapistx.fetish == "dom">>
	$slaverapistx.slaveName, on the other hand, is more than a little excited at the chance to dominate another's <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize member<</if>>.
<<elseif $slaverapistx.fetish == "sadist">>
	$slaverapistx.slaveName, on the other hand, is more than a little excited at the chance to torment another's junk.
<<elseif ($slaverapistx.energy > 60)>>
	<<if ($slaverapistx.attrXY > 60)>>
		Since $slaverapistx.slaveName, on the other hand, likes dicks and her pussy is already wet with anticipation.
	<<else>>
		Even though $activeSlave.slaveName, on the other hand, isn't normally attracted to men, but her high libido has her pussy wet with anticipation.
	<</if>>
<<else>>
	$slaverapistx.slaveName, on the other hand, doesn't find the situation very arousing, but will likely rethink things once she has $activeSlave.slaveName's <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize member<</if>> in her.
<</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 prods her womanhood. After watching the sad display for a while, you grab her by the hips and slam her down onto $activeSlave.slaveName, hilting her in one, scream-inducing move.
	<<if ($slaverapistx.vagina == 0)>> /* losing virginity */
		<<if ($slaverapistx.devotion > 20)>>
			$slaverapistx.slaveName accepts your orders without comment and lowers her virgin pussy on $activeSlave.slaveName's ready <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>>. @@.hotpink;$slaverapistx.slaveName is further broken to slavery@@ by this application of her body, which naturally @@.lime;will break in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion += 10>>
		<<elseif ($slaverapistx.devotion >= -20)>>
			$slaverapistx.slaveName is clearly unhappy at the idea of losing her pearl of great price to $activeSlave.slaveName; this probably isn't what she imagined her first real sex would be like. She fears she might get pregnant. Nevertheless, @@.hotpink;she is further broken to slavery@@ by this application of her body, which naturally @@.lime;breaks in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion += 4>>
		<<else>>
			As you anticipated, $slaverapistx.slaveName refuses to give $activeSlave.slaveName her virginity. However, since $slaverapistx.slaveName is restrained her resistance amounts to @@.mediumorchid;horrified tears@@ and @@.gold;frightened begging.@@ Naturally, this cruel act @@.lime;breaks in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion -= 5, $slaverapistx.trust -= 5>>
		<</if>>
		<<if $slaverapistx.mother == $activeSlave.ID>>
			<<if ($activeSlave.penetrativeCount == 0)>>
				$activeSlave.slaveName gasps and her eyes widen as she feels the tender folds of a pussy - and none other than her daughter's - embracing her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> for the first time.
			<<else>>
				$activeSlave.slaveName's breath quickens as her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> disappears into her daughter's vagina.
			<</if>>
		<<elseif $activeSlave.mother == $slaverapistx.ID>>
			<<if ($activeSlave.penetrativeCount == 0)>>
				$activeSlave.slaveName gasps and her eyes widen as she feels the tender folds of a pussy - and none other than her mother's - embracing her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> for the first time.
			<<else>>
				$activeSlave.slaveName's breath quickens as her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> disappears into her mother's vagina.
			<</if>>
		<</if>>
	<</if>> /* closes losing virginity */
	$slaverapistx.slaveName seems more cooperative after that and you only have to occasionally prod them with an electrical jolt to keep them going at a faster pace. Both slaves resent what you made them do and fear you as a result.

<<elseif ($activeSlave.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. $activeSlave.slaveName is uncooperative, so you prod and slap her until she starts to thrust her cock into $slaverapistx.slaveName with urgency.
	<<if ($slaverapistx.vagina == 0)>> /* losing virginity */
		<<if ($slaverapistx.devotion > 20)>>
			$slaverapistx.slaveName accepts your orders without comment and lowers her virgin pussy on $activeSlave.slaveName's ready <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>>. @@.hotpink;$slaverapistx.slaveName is further broken to slavery@@ by this application of her body, which naturally @@.lime;will break in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion += 10>>
		<<elseif ($slaverapistx.devotion >= -20)>>
			$slaverapistx.slaveName is clearly unhappy at the idea of losing her pearl of great price to $activeSlave.slaveName; this probably isn't what she imagined her first real sex would be like. She fears she might get pregnant. Nevertheless, @@.hotpink;she is further broken to slavery@@ by this application of her body, which naturally @@.lime;breaks in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion += 4>>
		<<else>>
			As you anticipated, $slaverapistx.slaveName refuses to give $activeSlave.slaveName her virginity. However, since $slaverapistx.slaveName is restrained her resistance amounts to @@.mediumorchid;horrified tears@@ and @@.gold;frightened begging.@@ Naturally, this cruel act @@.lime;breaks in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion -= 5, $slaverapistx.trust -= 5>>
		<</if>>
		<<if $slaverapistx.mother == $activeSlave.ID>>
			<<if ($activeSlave.penetrativeCount == 0)>>
				$activeSlave.slaveName gasps and her eyes widen as she feels the tender folds of a pussy - and none other than her daughter's - embracing her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> for the first time.
			<<else>>
				$activeSlave.slaveName's breath quickens as her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> disappears into her daughter's vagina.
			<</if>>
		<<elseif $activeSlave.mother == $slaverapistx.ID>>
			<<if ($activeSlave.penetrativeCount == 0)>>
				$activeSlave.slaveName gasps and her eyes widen as she feels the tender folds of a pussy - and none other than her mother's - embracing her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> for the first time.
			<<else>>
				$activeSlave.slaveName's breath quickens as her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> disappears into her mother's vagina.
			<</if>>
		<</if>>
	<</if>> /* closes losing virginity */
	It doesn't take long for $activeSlave.slaveName to orgasm. She resents what you made her do and fears you as a result.

<<elseif ($slaverapistx.fetish == "dom") && ($slaverapistx.fetishStrength > 20) && ($slaverapistx.devotion > 20)>>
	You tell the randy $slaverapistx.slaveName that $activeSlave.slaveName's <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> is all hers. The slave life has so affected $slaverapistx.slaveName that she is quite eager to rape another slave for her pleasure.
	<<if $slaverapistx.vagina == 0>>
		Without further instruction, $slaverapistx.slaveName lowers her virgin pussy onto $activeSlave.slaveName waiting <<if ($activeSlave.clit >= 4)>>clit-dick<<else>>_dicksize dick<</if>>, impaling herself slowly and teasing her bound victim. This act @@.lime;breaks in her pussy.@@
		<<set $slaverapistx.vagina = 1, $slaverapistx.fetishStrength += 1>>
	<</if>>
	She begins playing with her immediately, fondling, pinching and licking while bouncing on the meaty shaft. Occasionally she stops, denying $activeSlave.slaveName release and teasing her, fully enjoying her dominant role.
	<<if $activeSlave.dick > 0>>
		<<if ($activeSlave.fetish == "submissive")>>
			By the end of the session $activeSlave.slaveName's abused, pent-up penis has shot a massive load into $slaverapistx.slaveName's welcoming pussy. She is glad to be dominated.
		<<else>>
			By the end of the session $activeSlave.slaveName's abused, pent-up penis has shot a massive load, to her horror and resentment, into the blissfully satisfied $slaverapistx.slaveName.
		<</if>>
	<</if>>

<<elseif ($slaverapistx.fetish == "sadist") && ($slaverapistx.fetishStrength > 20) && ($activeSlave.devotion < -20)>>
	You tell the grinning $slaverapistx.slaveName that $activeSlave.slaveName's <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> is all hers. The slave life has so affected $slaverapistx.slaveName that she is quite eager to hurt and rape another slave for her pleasure.
	<<if ($slaverapistx.vagina == 0)>> /* losing virginity */
		<<if ($slaverapistx.devotion > 20)>>
			$slaverapistx.slaveName accepts your orders without comment and lowers her virgin pussy on $activeSlave.slaveName's ready <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>>. @@.hotpink;$slaverapistx.slaveName is further broken to slavery@@ by this application of her body, which naturally @@.lime;will break in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion += 10>>
		<<elseif ($slaverapistx.devotion >= -20)>>
			$slaverapistx.slaveName is clearly unhappy at the idea of losing her pearl of great price to $activeSlave.slaveName; this probably isn't what she imagined her first real sex would be like. She fears she might get pregnant. Nevertheless, @@.hotpink;she is further broken to slavery@@ by this application of her body, which naturally @@.lime;breaks in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion += 4>>
		<<else>>
			As you anticipated, $slaverapistx.slaveName refuses to give $activeSlave.slaveName her virginity. However, since $slaverapistx.slaveName is restrained her resistance amounts to @@.mediumorchid;horrified tears@@ and @@.gold;frightened begging.@@ Naturally, this cruel act @@.lime;breaks in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion -= 5, $slaverapistx.trust -= 5>>
		<</if>>
		<<if $slaverapistx.mother == $activeSlave.ID>>
			<<if ($activeSlave.penetrativeCount == 0)>>
				$activeSlave.slaveName gasps and her eyes widen as she feels the tender folds of a pussy - and none other than her daughter's - embracing her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> for the first time.
			<<else>>
				$activeSlave.slaveName's breath quickens as her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> disappears into her daughter's vagina.
			<</if>>
		<<elseif $activeSlave.mother == $slaverapistx.ID>>
			<<if ($activeSlave.penetrativeCount == 0)>>
				$activeSlave.slaveName gasps and her eyes widen as she feels the tender folds of a pussy - and none other than her mother's - embracing her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> for the first time.
			<<else>>
				$activeSlave.slaveName's breath quickens as her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> disappears into her mother's vagina.
			<</if>>
		<</if>>
	<</if>> /* closes losing virginity */
	She begins playing with her immediately, slapping, pinching and licking her boobs while bouncing on the meaty shaft. Occasionally she stops, denying $activeSlave.slaveName release by painfully squeezing and smacking the sensitive shaft. By the end of the session $activeSlave.slaveName's abused, pent-up penis has shot several massive and painful loads into the blissfully satisfied $slaverapistx.slaveName, leaving her lying on the bed, shaking in horror and @@.red;utter exhaustion,@@ while $slaverapistx.slaveName reaps the opportunity to continue painfully tormenting her.
	<<set $activeSlave.health -= 10>>
	<<set $activeSlave.penetrativeCount += 3, $penetrativeTotal += 3, $slaverapistx.vaginalCount += 3, $vaginalTotal += 3>>

<<elseif ($slaverapistx.energy > 95) && ($slaverapistx.devotion > 20)>>
	You tell the randy $slaverapistx.slaveName that $activeSlave.slaveName's <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> is 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.
	<<if ($slaverapistx.vagina == 0)>> /* losing virginity */
		<<if ($slaverapistx.devotion > 20)>>
			$slaverapistx.slaveName accepts your orders without comment and lowers her virgin pussy on $activeSlave.slaveName's ready <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>>. @@.hotpink;$slaverapistx.slaveName is further broken to slavery@@ by this application of her body, which naturally @@.lime;will break in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion += 10>>
		<<elseif ($slaverapistx.devotion >= -20)>>
			$slaverapistx.slaveName is clearly unhappy at the idea of losing her pearl of great price to $activeSlave.slaveName; this probably isn't what she imagined her first real sex would be like. She fears she might get pregnant. Nevertheless, @@.hotpink;she is further broken to slavery@@ by this application of her body, which naturally @@.lime;breaks in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion += 4>>
		<<else>>
			As you anticipated, $slaverapistx.slaveName refuses to give $activeSlave.slaveName her virginity. However, since $slaverapistx.slaveName is restrained her resistance amounts to @@.mediumorchid;horrified tears@@ and @@.gold;frightened begging.@@ Naturally, this cruel act @@.lime;breaks in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion -= 5, $slaverapistx.trust -= 5>>
		<</if>>
		<<if $slaverapistx.mother == $activeSlave.ID>>
			<<if ($activeSlave.penetrativeCount == 0)>>
				$activeSlave.slaveName gasps and her eyes widen as she feels the tender folds of a pussy - and none other than her daughter's - embracing her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> for the first time.
			<<else>>
				$activeSlave.slaveName's breath quickens as her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> disappears into her daughter's vagina.
			<</if>>
		<<elseif $activeSlave.mother == $slaverapistx.ID>>
			<<if ($activeSlave.penetrativeCount == 0)>>
				$activeSlave.slaveName gasps and her eyes widen as she feels the tender folds of a pussy - and none other than her mother's - embracing her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> for the first time.
			<<else>>
				$activeSlave.slaveName's breath quickens as her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> disappears into her mother's vagina.
			<</if>>
		<</if>>
	<</if>> /* closes losing virginity */
	She rides the helpless $activeSlave.slaveName through several ejaculating orgasms. In the short breaks between them, she teases her pussy. By the end of the session $slaverapistx.slaveName's cunt is dripping cum, to her obvious satiation and bliss. $activeSlave.slaveName is lying next to her on the bed in a state of fatigue, the entire experience havign thoroughly exhausted her.
	<<set $activeSlave.penetrativeCount += 3, $penetrativeTotal += 3, $slaverapistx.vaginalCount += 3, $vaginalTotal += 3>>

<<elseif ($activeSlave.devotion <= 20) || ($slaverapistx.devotion <= 20)>>
	You toss $activeSlave.slaveName onto the bed and tell $slaverapistx.slaveName to get on with it.
	<<if ($slaverapistx.vagina == 0)>> /* losing virginity */
		<<if ($slaverapistx.devotion > 20)>>
			$slaverapistx.slaveName accepts your orders without comment and lowers her virgin pussy on $activeSlave.slaveName's ready <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>>. @@.hotpink;$slaverapistx.slaveName is further broken to slavery@@ by this application of her body, which naturally @@.lime;will break in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion += 10>>
		<<elseif ($slaverapistx.devotion >= -20)>>
			$slaverapistx.slaveName is clearly unhappy at the idea of losing her pearl of great price to $activeSlave.slaveName; this probably isn't what she imagined her first real sex would be like. She fears she might get pregnant. Nevertheless, @@.hotpink;she is further broken to slavery@@ by this application of her body, which naturally @@.lime;breaks in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion += 4>>
		<<else>>
			As you anticipated, $slaverapistx.slaveName refuses to give $activeSlave.slaveName her virginity. However, since $slaverapistx.slaveName is restrained her resistance amounts to @@.mediumorchid;horrified tears@@ and @@.gold;frightened begging.@@ Naturally, this cruel act @@.lime;breaks in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion -= 5, $slaverapistx.trust -= 5>>
		<</if>>
		<<if $slaverapistx.mother == $activeSlave.ID>>
			<<if ($activeSlave.penetrativeCount == 0)>>
				$activeSlave.slaveName gasps and her eyes widen as she feels the tender folds of a pussy - and none other than her daughter's - embracing her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> for the first time.
			<<else>>
				$activeSlave.slaveName's breath quickens as her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> disappears into her daughter's vagina.
			<</if>>
		<<elseif $activeSlave.mother == $slaverapistx.ID>>
			<<if ($activeSlave.penetrativeCount == 0)>>
				$activeSlave.slaveName gasps and her eyes widen as she feels the tender folds of a pussy - and none other than her mother's - embracing her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> for the first time.
			<<else>>
				$activeSlave.slaveName's breath quickens as her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> disappears into her mother's vagina.
			<</if>>
		<</if>>
	<</if>> /* closes losing virginity */
	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 themselves and exit, you notice $slaverapistx.slaveName's looking a little more longingly at $activeSlave.slaveName.

<<elseif ($activeSlave.devotion <= 50) || ($slaverapistx.devotion <= 50)>>
	You order $activeSlave.slaveName and $slaverapistx.slaveName to get on with it.
	<<if ($slaverapistx.vagina == 0)>> /* losing virginity */
		<<if ($slaverapistx.devotion > 20)>>
			$slaverapistx.slaveName accepts your orders without comment and lowers her virgin pussy on $activeSlave.slaveName's ready <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>>. @@.hotpink;$slaverapistx.slaveName is further broken to slavery@@ by this application of her body, which naturally @@.lime;will break in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion += 10>>
		<<elseif ($slaverapistx.devotion >= -20)>>
			$slaverapistx.slaveName is clearly unhappy at the idea of losing her pearl of great price to $activeSlave.slaveName; this probably isn't what she imagined her first real sex would be like. She fears she might get pregnant. Nevertheless, @@.hotpink;she is further broken to slavery@@ by this application of her body, which naturally @@.lime;breaks in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion += 4>>
		<<else>>
			As you anticipated, $slaverapistx.slaveName refuses to give $activeSlave.slaveName her virginity. However, since $slaverapistx.slaveName is restrained her resistance amounts to @@.mediumorchid;horrified tears@@ and @@.gold;frightened begging.@@ Naturally, this cruel act @@.lime;breaks in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion -= 5, $slaverapistx.trust -= 5>>
		<</if>>
		<<if $slaverapistx.mother == $activeSlave.ID>>
			<<if ($activeSlave.penetrativeCount == 0)>>
				$activeSlave.slaveName gasps and her eyes widen as she feels the tender folds of a pussy - and none other than her daughter's - embracing her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> for the first time.
			<<else>>
				$activeSlave.slaveName's breath quickens as her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> disappears into her daughter's vagina.
			<</if>>
		<<elseif $activeSlave.mother == $slaverapistx.ID>>
			<<if ($activeSlave.penetrativeCount == 0)>>
				$activeSlave.slaveName gasps and her eyes widen as she feels the tender folds of a pussy - and none other than her mother's - embracing her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> for the first time.
			<<else>>
				$activeSlave.slaveName's breath quickens as her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> disappears into her mother's vagina.
			<</if>>
		<</if>>
	<</if>> /* closes losing virginity */
	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 <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> and dripping away with the contents of $slaverapistx.slaveName's cum-filled pussy. You notice $slaverapistx.slaveName's looking a little more longingly at $activeSlave.slaveName.

<<else>>
	The two slaves turn eagerly to the business of sex.
	<<if ($slaverapistx.vagina == 0)>> /* losing virginity */
		<<if ($slaverapistx.devotion > 20)>>
			$slaverapistx.slaveName accepts your orders without comment and lowers her virgin pussy on $activeSlave.slaveName's ready <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>>. @@.hotpink;$slaverapistx.slaveName is further broken to slavery@@ by this application of her body, which naturally @@.lime;will break in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion += 10>>
		<<elseif ($slaverapistx.devotion >= -20)>>
			$slaverapistx.slaveName is clearly unhappy at the idea of losing her pearl of great price to $activeSlave.slaveName; this probably isn't what she imagined her first real sex would be like. She fears she might get pregnant. Nevertheless, @@.hotpink;she is further broken to slavery@@ by this application of her body, which naturally @@.lime;breaks in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion += 4>>
		<<else>>
			As you anticipated, $slaverapistx.slaveName refuses to give $activeSlave.slaveName her virginity. However, since $slaverapistx.slaveName is restrained her resistance amounts to @@.mediumorchid;horrified tears@@ and @@.gold;frightened begging.@@ Naturally, this cruel act @@.lime;breaks in her pussy.@@
			<<set $slaverapistx.vagina = 1, $slaverapistx.devotion -= 5, $slaverapistx.trust -= 5>>
		<</if>>
		<<if $slaverapistx.mother == $activeSlave.ID>>
			<<if ($activeSlave.penetrativeCount == 0)>>
				$activeSlave.slaveName gasps and her eyes widen as she feels the tender folds of a pussy - and none other than her daughter's - embracing her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> for the first time.
			<<else>>
				$activeSlave.slaveName's breath quickens as her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> disappears into her daughter's vagina.
			<</if>>
		<<elseif $activeSlave.mother == $slaverapistx.ID>>
			<<if ($activeSlave.penetrativeCount == 0)>>
				$activeSlave.slaveName gasps and her eyes widen as she feels the tender folds of a pussy - and none other than her mother's - embracing her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> for the first time.
			<<else>>
				$activeSlave.slaveName's breath quickens as her <<if ($activeSlave.clit >= 4)>>massive clit<<else>>_dicksize dick<</if>> disappears into her mother's vagina.
			<</if>>
		<</if>>
	<</if>> /* closes losing virginity */
	$slaverapistx.slaveName happily rides $activeSlave.slaveName, who occasionally thrusts her hips up. After a little while, when $slaverapistx.slaveName bends down to engage in passionate kissing, you come over and
	<<if canDoAnal($slaverapistx) && $slaverapistx.anus > 0>>
		penetrate $slaverapistx.slaveName's free asshole with your <<if $PC.dick == 1>>dick<<else>>strap-on<</if>>. With the extra stimulus of double penetration, she comes indecently hard. The two of them collapse into an exhausted, satisfied pile of slave flesh.
		<<set $slaverapistx.analCount ++, $analTotal++>>
		<<if $PC.dick == 1 && canGetPregnant($slaverapistx) && $slaverapistx.eggType == "human">>
			<<KnockMeUp $slaverapistx 5 1 -1 1>>
		<</if>>
	<<elseif canDoVaginal($activeSlave)>>
		penetrate $activeSlave.slaveName's free pussy with your <<if $PC.dick == 1>>dick<<else>>strap-on<</if>>. With the double stimulus of penetrating a tight vagina and being penetrated while restrained, she comes indecently hard. The two of them collapse into an exhausted, satisfied pile of slave flesh.
		<<VaginalVCheck 1>>
	<<elseif canDoAnal($activeSlave)>>
		penetrate $activeSlave.slaveName's free asshole with your <<if $PC.dick == 1>>dick<<else>>strap-on<</if>>. With the double stimulus of penetrating a tight vagina and being penetrated while restrained, she comes indecently hard. The two of them collapse into an exhausted, satisfied pile of slave flesh.
		<<AnalVCheck 1>>
	<<else>>
		pull her face to your crotch. All this penetration has got you horny and there are no free holes to fuck, so a little oral will have to do. It doesn't take long for all three of you to collapse into an exhausted, satisfied pile of flesh.
		<<set $slaverapistx.oralCount ++, $oralTotal++>>
	<</if>>
<</if>>

<<set $activeSlave.penetrativeCount += 1, $penetrativeTotal += 1, $slaverapistx.vaginalCount += 1, $vaginalTotal += 1>>

/% Friendship/lust? %/
<<if ([2].includes($activeSlave.relationship) && $activeSlave.relationshipTarget == $slaverapistx.ID) && ([2].includes($slaverapistx.relationship) && $slaverapistx.relationshipTarget == $activeSlave.ID)>>
	You keep $activeSlave.slaveName's dick intimate with $slaverapistx.slaveName's pussy for awhile, something the two friends haven't been sharing with each other. In the end, you are certain they got closer, becoming @@.lightgreen;friends with benefits.@@
	<<set $activeSlave.relationship++, $slaverapistx.relationship++>>
<</if>>

/% pregnancy test %/
<<if canImpreg($slaverapistx, $activeSlave)>>
	<<KnockMeUp $slaverapistx 25 0 $activeSlave.ID>>
<</if>>

/% save changes %/
<<set _SSDC = $slaves.findIndex(function(s) { return s.ID == $slaverapistx.ID; })>>
<<set $slaves[_SSDC] = $slaverapistx>>


code:
:: FSlaveSlaveVag [nobr]

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

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

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

__Select an eligible slave:__

<<for $i = 0; $i < $slaves.length; $i++>>
	<<if (canPenetrate($slaves[$i])) || ($slaves[$i].clit >= 4)>>
	<<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>>

repo_name: weresmilodon/fc

license: mit


code:
:: FSlaveSlaveVag Consummate [nobr]

<<ClearSummaryCache $activeSlave>>
<<ClearSummaryCache $slaverapistx>>

<<if $slaverapistx.dick == 1>>
		<<set _dicksize = "pathetic">>
<<elseif ($slaverapistx.dick == 2)>>
		<<set _dicksize = "tiny">>
<<elseif ($slaverapistx.dick == 3)>>
		<<set _dicksize = "average">>
<<elseif ($slaverapistx.dick == 4)>>
		<<set _dicksize = "big">>
<<elseif ($slaverapistx.dick == 5)>>
		<<set _dicksize = "huge">>
<<elseif ($slaverapistx.dick == 6)>>
		<<set _dicksize = "gigantic">>
<<elseif ($slaverapistx.dick == 7)>>
		<<set _dicksize = "titanic">>
<<elseif ($slaverapistx.dick == 8)>>
		<<set _dicksize = "absurd">>
<<elseif ($slaverapistx.dick == 9)>>
		<<set _dicksize = "inhuman">>
<<else>>
		<<set _dicksize = "obscene">>
<</if>>

You take a look at the slave you selected.

<<if $activeSlave.mother == $slaverapistx.ID>>
	<<if ($slaverapistx.sexualQuirk == "perverted")>>
		<<if ($slaverapistx.energy > 60)>>
			$slaverapistx.slaveName is well aware that she is about to rape her own daughter, but despite that seems eager to do it.
		<<else>>
			$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.
		<</if>>
	<<else>>
		$slaverapistx.slaveName is well aware that she is about to rape her own daughter and is understandingly disturbed.
	<</if>>
<</if>>

<<if $slaverapistx.mother == $activeSlave.ID>>
	<<if ($slaverapistx.sexualQuirk == "perverted")>>
		<<if ($slaverapistx.energy > 60)>>
			$slaverapistx.slaveName is well aware that she is about to rape her own mother, but despite that seems eager to do it.
		<<else>>
			$slaverapistx.slaveName is well aware that she is about to rape her own mother, but despite that seems to feel some arousal at the thought.
		<</if>>
	<<else>>
		$slaverapistx.slaveName is well aware that she is about to rape her own mother and is understandingly disturbed.
	<</if>>
<</if>>

<<if (areSisters($activeSlave, $slaverapistx) > 0)>>
	<<if ($slaverapistx.sexualQuirk == "perverted")>>
		<<if ($slaverapistx.energy > 60)>>
			$slaverapistx.slaveName is looking down at her sister's helpless form and inviting pussy with a look of hunger.
		<<else>>
			$slaverapistx.slaveName seems paralyzed, looking down at her bound sister with disbelief, curiosity...and excitement?
		<</if>>
	<<else>>
		$slaverapistx.slaveName looks with horror down at her bound sister, knowing what will soon happen.
	<</if>>
<</if>>

<<set $activeSlave.penetrativeCount++, $penetrativeTotal++>>

<<if ($slaverapistx.fetish == "dom") && ($slaverapistx.fetishStrength > 20) && ($slaverapistx.devotion >= -20)>>
	Since $slaverapistx.slaveName loves to dominate others it's not hard to get her <<if $slaverapistx.dick > 0>>_dicksize dick ready<<elseif ($slaverapistx.clit >= 4)>>massive clit ready<<else>>to don her strap-on<</if>>
	<<if ($slaverapistx.attrXX > 65)>>
		With her high libido and love for girls, she becomes aroused indecently fast.
	<<else>>
		<<if $slaverapistx.dick > 0>>Her _dicksize member springs instantly to attention<<else>>She becomes wet and flushed<</if>>
		at the prospect of forcing herself on another slave.
	<</if>>

<<elseif ($slaverapistx.fetish == "sadist") && ($slaverapistx.fetishStrength > 20) && ($slaverapistx.devotion >= -20)>>
			With the prospect of torturing another slave <<if $slaverapistx.dick > 0>>her _dicksize member springs instantly to attention<<elseif ($slaverapistx.clit >= 4)>>her clit becomes engroged<<else>>she becomes wet and flushed<</if>>

<<elseif ($slaverapistx.attrXX > 65) && ($slaverapistx.devotion >= -20)>>
	Since $slaverapistx.slaveName likes sticking her <<if $slaverapistx.dick > 0>>_dicksize penis<<elseif ($slaverapistx.clit >= 4)>>massive clit<<else>>strap-on<</if>> in girls, she doesn't take much convincing.

<<elseif ($slaverapistx.devotion > 50)>>
	Since $slaverapistx.slaveName is devoted to you, she'll eagerly fuck anything you tell her to fuck.

<<elseif ($slaverapistx.devotion > 20)>>
	Since $slaverapistx.slaveName is obedient, she'll fuck anything you tell her to fuck.

<<elseif ($slaverapistx.devotion >= -20)>>
	Since $slaverapistx.slaveName does not resist your will, she should comply reasonably well.
	<<if $slaverapistx.dick == 0>>She dons a strap-on and applies lube in a mechanical, detached fashion,
	<<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>>
	<<if $slaverapistx.dick > 0>>
		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 her _dicksize penis springs agonizingly erect.
	<<else>>
		Since $slaverapistx.slaveName is unlikely to comply willingly, you tie her up, put a strap-on with a clit vibrator on her and administer strong aphrodisiacs. She writes with discomfort and confusion.
	<</if>>

<</if>>

Next, you see to $activeSlave.slaveName.

<<if $activeSlave.mother == $slaverapistx.ID>>
	<<if ($activeSlave.sexualQuirk == "perverted")>>
			<<if ($activeSlave.energy > 60)>>
				$activeSlave.slaveName is looking up at her mother, fully naked, her <<if $slaverapistx.dick > 0>>_dicksize penis<<elseif ($slaverapistx.clit >= 4)>>massive clit<<else>>strap-on<</if>> standing firm despite her rapid breathing. She is flushed and her pussy moist.
			<<else>>
				$activeSlave.slaveName seems paralyzed, looking at her mothers <<if $slaverapistx.dick > 0>>_dicksize member<<elseif ($slaverapistx.clit >= 4)>>massive clit<<else>>strap-on<</if>> with fascination and disbelief.
			<</if>>
	<<else>>
		$activeSlave.slaveName looks with horror at her mothers <<if $slaverapistx.dick > 0>>_dicksize member<<elseif ($slaverapistx.clit >= 4)>>massive clit<<else>>strap-on<</if>>, knowing what will soon happen.
	<</if>>
<</if>>

<<if $slaverapistx.mother == $activeSlave.ID>>
	<<if ($activeSlave.sexualQuirk == "perverted")>>
			<<if ($activeSlave.energy > 60)>>
				$activeSlave.slaveName is looking up at her daughter, fully naked, her <<if $slaverapistx.dick > 0>>_dicksize penis<<elseif ($slaverapistx.clit >= 4)>>massive clit<<else>>strap-on<</if>> standing firm despite her rapid breathing. She is flused and her pussy moist.
			<<else>>
				$activeSlave.slaveName seems paralyzed, looking at her daughters <<if $slaverapistx.dick > 0>>_dicksize cock<<elseif ($slaverapistx.clit >= 4)>>massive clit<<else>>strap-on<</if>> swaying above her with disbelief, hesitation... and excitement?
			<</if>>
	<<else>>
		$activeSlave.slaveName looks with horror at her daughters <<if $slaverapistx.dick > 0>>_dicksize dick<<elseif ($slaverapistx.clit >= 4)>>dick-clit<<else>>strap-on<</if>>, knowing what will soon happen.
	<</if>>
<</if>>

<<if (areSisters($activeSlave, $slaverapistx) > 0)>>
	<<if ($activeSlave.sexualQuirk == "perverted")>>
			<<if ($activeSlave.energy > 60)>>
				$activeSlave.slaveName seems paralyzed with fear, but her nipples are already hard and her face flushed. Her eyes are fixed on the <<if $slaverapistx.dick > 0>>_dicksize dick<<elseif ($slaverapistx.clit >= 4)>>massive clit<<else>>strap-on<</if>> above her.
			<<else>>
				$activeSlave.slaveName seems paralyzed, looking at her sister <<if $slaverapistx.dick > 0>>_dicksize cock<<elseif ($slaverapistx.clit >= 4)>>massive clit<<else>>strap-on<</if>> above her with disbelief, curiosity...and excitement?
			<</if>>
	<<else>>
		$activeSlave.slaveName looks with horror at her sister's <<if $slaverapistx.dick > 0>>_dicksize dick<<elseif ($slaverapistx.clit >= 4)>>massive clit<<else>>strap-on<</if>>, knowing what will soon happen.
	<</if>>
<</if>>

<<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 @@.lime; breaks in her pussy.@@
	<<set $activeSlave.vagina = 1>>
	<<set $activeSlave.devotion += 4>>
	<<set $activeSlave.fetishStrength += 1>>

<<elseif ($activeSlave.fetish == "submissive") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60)>>
	She smiles as she is tied and her pussy presented to $slaverapistx.slaveName. She enjoys submitting to such a dominant slave.

<<elseif  ($activeSlave.devotion > 20) && ($activeSlave.vagina == 0) >>
	She accepts your orders without comment and presents her virgin pussy to $slaverapistx.slaveName. She gasps in shock when she feels the <<if $slaverapistx.dick > 0>>_dicksize dick<<elseif ($slaverapistx.clit >= 4)>>massive clit<<else>>strap-on<</if>> enter her. @@.hotpink;She is broken to slavery@@ by this application of her body, which naturally @@.lime;will break in her pussy.@@
	<<set $activeSlave.vagina = 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. Nevertheless, @@.hotpink;she is broken to slavery@@ by this application of her body, which naturally @@.lime;will break in her pussy.@@
	<<set $activeSlave.vagina = 1>>
	<<set  $activeSlave.devotion += 4>>
<<elseif ($activeSlave.vagina == 0)>>
	As you anticipated, she refuses to give $slaverapistx.slaveName her virginity. Since she is restrained, her @@.mediumorchid;horrified tears@@ and @@.gold;frightened begging@@ are her only signs on rebellion. Naturally, this cruel act @@.lime;will break in her pussy.@@
	<<set  $activeSlave.devotion -= 5>>
	<<set  $activeSlave.trust -= 5>>
	<<set $activeSlave.vagina = 1>>
<</if>>

<<if ($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.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 another's 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. $activeSlave.slaveName is tied up on the bed with her pussy available, so you maneuver $slaverapistx.slaveName's <<if $slaverapistx.dick > 0>>_dicksize dick<<else>>strap-on<</if>> 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 leg to suddenly push her deep into $activeSlave.slaveName, fully hilting her in one motion. You occasionally prod them with an electrical jolt to keep them going at a faster pace. Both slaves resent what you made them do and fear you'll make them do it again.

<<elseif ($slaverapistx.devotion < -20)>>
	Since your dick slave is restrained, you order $activeSlave.slaveName to present herself on the bed, and then maneuver $slaverapistx.slaveName's <<if $slaverapistx.dick > 0>>_dicksize dick<<else>>strap-on<</if>> 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 herself to orgasm. She resents what you made her do and fears you'll force her to do it again. Though $activeSlave.slaveName accepts the situation, she looks into $slaverapistx.slaveName's eyes with obvious apology.

<<elseif ($slaverapistx.fetish == "dom") && ($slaverapistx.fetishStrength > 20) && ($slaverapistx.devotion > 20)>>
	You arrange $activeSlave.slaveName on the bed 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, edging her poor toy again and again and making her beg for release.
	<<if ($activeSlave.fetish == "dom")>>
		<<if ($activeSlave.devotion < -20)>>
			By the end of the day $activeSlave.slaveName's abused cunt is <<if $slaverapistx.dick > 0>>dripping with cum<<else>>overflowing with juices<</if>>, leaving her horrified and disgusted at her lack of control.
		<<else>>
			By the end of the day $activeSlave.slaveName's abused cunt is <<if $slaverapistx.dick > 0>>dripping with cum<<else>>overflowing with juices<</if>>, leaving her annyoned at her lack of control, but she still somewhat enjoyed herself.
		<</if>>
	<<elseif ($activeSlave.fetish == "submissive")>>
		<<if ($activeSlave.devotion < -20)>>
			By the end of the day $activeSlave.slaveName's abused cunt is <<if $slaverapistx.dick > 0>>dripping with cum<<else>>overflowing with juices<</if>>, leaving the submissive slave horrified that she found the experience sexually satisfying.
		<<else>>
			By the end of the day $activeSlave.slaveName's abused cunt is <<if $slaverapistx.dick > 0>>dripping with cum<<else>>overflowing with juices<</if>>. This sexual encounter is everything she dreamed of, leaving her utterly satisfied.
		<</if>>
	<</if>>
	$slaverapistx.slaveName is lying next to her on the bed in a state of obvious satiation and bliss.

<<elseif ($slaverapistx.energy > 95) && ($slaverapistx.devotion > 20) && ($activeSlave.devotion < -20)>>
	You arrange $activeSlave.slaveName on the bed 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. Her high libido keeps her going for a long time, brining the helpless toy to one forced orgasm after another. By the end of the day $activeSlave.slaveName is lying on the bed, all worn out, her cunt <<if $slaverapistx.dick > 0>>dripping with cum<<else>>overflowing with juices<</if>>, to her horror andresentment, while $slaverapistx.slaveName is sleeping next to her in a state of obvious satiation and bliss.

<<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 themselves and exit, you notice $slaverapistx.slaveName's looking a little more longingly 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 happily and eagerly to the business sex. They take their time with foreplay, humping slowly and gazing into each others' eyes, exchanging kisses almost constantly. After a little while, $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 > 0>>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, happy pile of slave flesh.

<</if>>

<<if canImpreg($activeSlave, $slaverapistx)>>
	<<KnockMeUp $activeSlave 25 0 $slaverapistx.ID>>
<</if>>

<<set _ssvg = $slaves.findIndex(function(s) { return s.ID == $slaverapistx.ID; })>>
<<set $slaves[_ssvg] = $slaverapistx>>


code:
:: fat grafting workaround [nobr]

<<set $nextButton = "Finalize fat transfer", $nextLink = "Surgery Degradation">>

Enough graftable body fat was harvested for an additional <<print $availabeFat*100>>ccs per breast or an additional <<if $activeSlave.butt <= 10>><<print $availabeFat/2>><<else>><<print $availabeFat/5>><</if>> sizes to her rear. <<if $availabeFat == 0>>All fat marked for use<<else>>A total of $availabeFat unit<<if $availabeFat > 1>>s<</if>> remain<</if>>.

$boobFat units of fat will be added to her breasts for a size gain of <<print $boobFat*100>>ccs.

<<if $availabeFat > 0>>
	[[Increase|fat grafting workaround][$boobFat++, $availabeFat--]] |
<<else>>
	No more fat available. |
<</if>>
<<if $boobFat > 0>>
	[[Decrease|fat grafting workaround][$boobFat--, $availabeFat++]]
<<else>>
	No more fat marked for breast use.
<</if>>

<<if $activeSlave.butt <= 10>><<print $buttFat*2>><<else>><<print $buttFat*5>><</if>> units of fat will be added to her ass for a size gain of $buttFat.
<<if $activeSlave.butt > 10>>

	<<if $availabeFat > 0>>
		[[Increase|fat grafting workaround][$buttFat += .2, $availabeFat -= 1]] |
	<<else>>
		Insufficient fat. |
	<</if>>
	<<if $buttFat > 0>>
		[[Decrease|fat grafting workaround][$buttFat -= .2, $availabeFat += 1]]
	<<else>>
		No fat marked for ass use.
	<</if>>
<<else>>

	<<if $availabeFat > 0>>
		[[Increase|fat grafting workaround][$buttFat += .5, $availabeFat -= 1]] |
	<<else>>
		No more fat available. |
	<</if>>
	<<if $buttFat > 0>>
		[[Decrease|fat grafting workaround][$buttFat -= .5, $availabeFat += 1]]
	<<else>>
		No fat marked for ass use.
	<</if>>
<</if>>


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 = "Your daughter">>
		<<set $activeSlave.mother = -1>>
		<<if $PC.pregSource != -6>>
			<<set $activeSlave.father = $missingParentID>>
			<<set $missingParentID-->>
			<<set $activeSlave.nationality = "Stateless">>
		<<else>>
			<<set $activeSlave.father = -1>>
			<<set $activeSlave.nationality = $PC.nationality>>
		<</if>>
		<<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.origSkin>>
		<<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">>
		<<if $PC.markings != "none" && random(1,100) > 50>>
			<<set $activeSlave.markings = $PC.markings>>
		<</if>>
	<<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("Your 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.origSkin == $mergeDad.origSkin>>
			<<set $activeSlave.skin = $PC.origSkin>>
		<<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 $activeSlave.markings == "none">>
			<<set $activeSlave.markings = either($PC.markings, $mergeDad.markings, "none", "none")>>
		<</if>>
	<</if>>
	<<set $activeSlave.slaveSurname = $PC.surname>>
<<elseif $babyGender == 2>>
	<<include "Generate XY Slave">>
	<<if $PC.pregSource < 1>>
		<<set $activeSlave.slaveName = "Your son">>
		<<set $activeSlave.mother = -1>>
		<<if $PC.pregSource != -6>>
			<<set $activeSlave.father = $missingParentID>>
			<<set $missingParentID-->>
			<<set $activeSlave.nationality = "Stateless">>
		<<else>>
			<<set $activeSlave.father = -1>>
			<<set $activeSlave.nationality = $PC.nationality>>
		<</if>>
		<<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.origSkin>>
		<<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">>
		<<if $PC.markings != "none" && random(1,100) > 50>>
			<<set $activeSlave.markings = $PC.markings>>
		<</if>>
	<<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("Your 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.origSkin == $mergeDad.origSkin>>
			<<set $activeSlave.skin = $PC.origSkin>>
		<<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 $activeSlave.markings == "none">>
			<<set $activeSlave.markings = either($PC.markings, $mergeDad.markings, "none", "none")>>
		<</if>>
	<</if>>
	<<set $activeSlave.slaveSurname = $PC.surname>>
<<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 _currentFather = $slaves.find(function(s) { return s.ID == $mom.pregSource; })>>
		<<set $activeSlave.father = $mergeDad.ID>>
		<<set $activeSlave.slaveName = String($mom.slaveName + " and " + _currentFather.slaveName + "'s child")>>
		<<if def $mom.slaveSurname && $mom.slaveSurname != "">><<set $activeSlave.slaveSurname = $mom.slaveSurname>><<elseif def _currentFather.slaveSurname && _currentFather.slaveSurname != "">><<set $activeSlave.slaveSurname = _currentFather.slaveSurname>><<else>><<set $activeSlave.slaveSurname = 0>><</if>>
	<<elseif $mom.pregSource == -1>>
		<<set $activeSlave.father = -1>>
		<<set $activeSlave.slaveName = String($mom.slaveName + " and my child")>>
		<<set $activeSlave.slaveSurname = $PC.surname>>
	<<else>>
		<<set $activeSlave.father = $missingParentID>>
		<<set $missingParentID-->>
		<<set $activeSlave.slaveName = String($mom.slaveName + "'s slut child")>>
		<<if def $mom.slaveSurname && $mom.slaveSurname != "">><<set $activeSlave.slaveSurname = $mom.slaveSurname>><<else>><<set $activeSlave.slaveSurname = 0>><</if>>
	<</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.origSkin == $mergeDad.origSkin>>
		<<set $activeSlave.skin = $mergeMom.origSkin>>
	<<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 == "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>>
	<<elseif $mergeMom.origHColor == "black">>
		<<set $activeSlave.hColor = either($mergeMom.origHColor, $mergeMom.origHColor, $mergeMom.origHColor, $mergeMom.origHColor, $mergeMom.origHColor, $mergeMom.origHColor, $mergeMom.origHColor, $mergeDad.origHColor)>>
	<<elseif $mergeDad.origHColor == "black">>
		<<set $activeSlave.hColor = either($mergeDad.origHColor, $mergeDad.origHColor, $mergeDad.origHColor, $mergeDad.origHColor, $mergeDad.origHColor, $mergeDad.origHColor, $mergeDad.origHColor, $mergeMom.origHColor)>>
	<<elseif $mergeMom.origHColor == "brown">>
		<<set $activeSlave.hColor = either($mergeMom.origHColor, $mergeMom.origHColor, $mergeMom.origHColor, $mergeDad.origHColor)>>
	<<elseif $mergeDad.origHColor == "brown">>
		<<set $activeSlave.hColor = either($mergeDad.origHColor, $mergeDad.origHColor, $mergeDad.origHColor, $mergeMom.origHColor)>>
	<<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 $activeSlave.markings == "none">>
		<<set $activeSlave.markings = either($mergeMom.markings, $mergeDad.markings, "none", "none")>>
	<</if>>
	<<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.scrotum = 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 = $PC.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)>>
	<<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,20)>>
			<</if>>
			<<if $activeSlave.intelligence > -3 && random(1,100) < 40>>
				<<set $activeSlave.intelligence -= 1>>
				<<if $activeSlave.intelligence > -3 && random(1,100) < 20>>
					<<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) < 50>>
			<<set $activeSlave.face -= random(5,20)>>
		<</if>>
		<<if $activeSlave.intelligence > -3 && random(1,100) < 50>>
			<<set $activeSlave.intelligence -= 1>>
				<<if $activeSlave.intelligence > -3 && random(1,100) < 30>>
					<<set $activeSlave.intelligence -= 1>>
				<</if>>
		<</if>>
	<</if>>
<</if>>

<<set $activeSlave.areolaePiercing = 0>>
<<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.lipsImplant = 0>>
<<set $activeSlave.lipsPiercing = 0>>
<<set $activeSlave.tonguePiercing = 0>>
<<set $activeSlave.vaginaPiercing = 0>>
<<set $activeSlave.preg = 0>>
<<set $activeSlave.pregType = 0>>
<<set $activeSlave.pregKnown = 0>>
<<set $activeSlave.belly = 0>>
<<set $activeSlave.bellyPreg = 0>>
<<set $activeSlave.bellyFluid = 0>>
<<set $activeSlave.bellyImplant = -1>>
<<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>>
<<if $activeSlave.fetish == "mindbroken">>
	<<set $activeSlave.fetish = "none">>
<</if>>
<<if $incubatorImprintSetting == "terror">>
	<<set $activeSlave.origin = "She was conditioned from birth into mindless terror in an aging tank.">>
	<<set $activeSlave.tankBaby = 2>>
<<else>>
	<<set $activeSlave.origin = "She was conditioned from birth into trusting obedience in an aging tank.">>
	<<set $activeSlave.tankBaby = 1>>
<</if>>
<<set $activeSlave.career = "a slave since birth">>
<<set $activeSlave.birthName =  $activeSlave.slaveName>>
<<set $activeSlave.birthSurname = $activeSlave.slaveSurname>>
<<set $activeSlave.intelligenceImplant = 0>>
<<set $activeSlave.navelPiercing = 0>>
<<set $activeSlave.devotion = 0>>
<<set $activeSlave.trust = 0>>
<<set $activeSlave.weekAcquired = $week>>
<<if $activeSlave.nationality == "Stateless">>
	<<if $arcologies[0].FSRomanRevivalist > 90>>
		<<set $activeSlave.nationality = "Roman Revivalist">>
	<<elseif $arcologies[0].FSAztecRevivalist > 90>>
		<<set $activeSlave.nationality = "Aztec Revivalist">>
	<<elseif $arcologies[0].FSEgyptianRevivalist > 90>>
		<<set $activeSlave.nationality = "Ancient Egyptian Revivalist">>
	<<elseif $arcologies[0].FSEdoRevivalist > 90>>
		<<set $activeSlave.nationality = "Edo Revivalist">>
	<<elseif $arcologies[0].FSArabianRevivalist > 90>>
		<<set $activeSlave.nationality = "Arabian Revivalist">>
	<<elseif $arcologies[0].FSChineseRevivalist > 90>>
		<<set $activeSlave.nationality = "Ancient Chinese Revivalist">>
	<</if>>
<</if>>

<<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", $nextLink = "Buy Slaves", $returnTo = "Buy Slaves", $showEncyclopedia = 1, $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"]]
| [[Semitic|Husk Slave][$huskSlave.race = "semitic"]]
| [[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 <<print cashFormat(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">>
<<set _oldSlave = clone($swappingSlave)>>
<<set _m = $slaves.findIndex(function(s) { return s.ID == $swappingSlave.ID; })>>

You strap $slaves[_m].slaveName, and the body to which $pronoun will be transferred, into the remote surgery and stand back as it goes to work.
<<BodySwap $slaves[_m] $activeSlave>>
<<set _gps = $genePool.findIndex(function(s) { return s.ID == $slaves[_m].ID; })>>
<<set $genePool[_gps].race = $slaves[_m].race, $genePool[_gps].skin = $slaves[_m].skin, $genePool[_gps].markings = $slaves[_m].markings, $genePool[_gps].origEye = $slaves[_m].origEye, $genePool[_gps].origHColor = $slaves[_m].origHColor, $genePool[_gps].origSkin = $slaves[_m].skin, $genePool[_gps].face = $slaves[_m].face, $genePool[_gps].pubicHStyle = $slaves[_m].pubicHStyle, $genePool[_gps].underArmHStyle = $slaves[_m].underArmHStyle>> /* special exception to swap genePool since the temporary body lacks an entry. Otherwise we could just call the widget using the genePool entries */

After an honestly impressive procedure,
//To do - Reactions//

<<slaveCost _oldSlave>>
<<set _payout = Math.trunc($slaveCost/3)>>
$slaves[_m].slaveName's body was bought by the Flesh Heap for <<print cashFormat(_payout)>>.
<<set $cash += _payout>>
<<set $activeSlave = 0, $swappingSlave = 0>>


code:
:: husk Slave Swap Workaround [nobr]

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

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

"This operation is neither simple nor is it perfected. There are extreme health risks involved and no guarantee of success. Strap a slave into your remote 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 transferred into the waiting husk.<<if $cyberMod == 1>> Amputated slaves must not be wearing prosthetics.<</if>>//

__Select an eligible slave:__
<<for _i = 0; _i < $slaves.length; _i++>>
	<<if isSlaveAvailable($slaves[_i])>>
	<<if ($slaves[_i].PLimb == 0) || ($slaves[_i].PLimb == 1 && $slaves[_i].amp == 1)>>
	<<if ($slaves[_i].indenture == -1)>>
	<<if ($slaves[_i].breedingMark == 0)>>
	<<if ($slaves[_i].reservedChildren == 0)>>
	<<if ($slaves[_i].ID != $activeSlave.ID)>>

<<print "[[$slaves[_i].slaveName|Husk Slave Swap][$swappingSlave = $slaves[" + _i + "]]]">>
	<</if>>
	<</if>>
	<</if>>
	<</if>>
	<</if>>
	<</if>>
<</for>>