From 7b5e7fbc70e01eb6d0125764b6381f86b04151b6 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sat, 19 May 2018 15:07:43 -0400
Subject: [PATCH] fixes

---
 src/npc/fSlaveImpregConsummate.tw    | 22 ++++++++++++--------
 src/uncategorized/RESS.tw            |  2 +-
 src/uncategorized/reFSAcquisition.tw | 30 ++++++++++++++--------------
 src/utility/birthWidgets.tw          |  2 +-
 4 files changed, 31 insertions(+), 25 deletions(-)

diff --git a/src/npc/fSlaveImpregConsummate.tw b/src/npc/fSlaveImpregConsummate.tw
index 96161237eea..c9a0417fc5f 100644
--- a/src/npc/fSlaveImpregConsummate.tw
+++ b/src/npc/fSlaveImpregConsummate.tw
@@ -220,6 +220,7 @@ Next, you see to $activeSlave.slaveName.
 	<<set $impregnatrix.devotion += 4>>
 
 <<else>>
+	<<set _didImpregnatrix = 0>>
 	The parents-to-be need little encouragement. They embrace happily and turn eagerly to the business of vanilla sex in the missionary position. They take their time, humping slowly and gazing into each others' eyes. After a little while, though, $activeSlave.slaveName looks over $impregnatrix.slaveName's shoulder to where you're sitting, the invitation clear in $his eyes. As soon as you stand to come over, they roll over without being ordered to
 	<<if canDoAnal($activeSlave)>>
 		present $activeSlave.slaveName's butthole.
@@ -231,6 +232,18 @@ Next, you see to $activeSlave.slaveName.
 	You and $impregnatrix.slaveName double penetrate the mother-to-be gently until $he climaxes, clenching you to orgasm in turn with $his spasms. Pulling out, you offer <<if $PC.dick ==1>>yourself<<else>>your strap-on<</if>> to $activeSlave.slaveName's gasping mouth so $he can <<if $PC.dick ==1>>suck you hard again<<else>>lube the phallus with some saliva<</if>> as $he continues riding cock. Once <<if $PC.dick ==1>>stiff<<else>>the strap-on is nice and wet<</if>>, you flip them again so that $impregnatrix.slaveName is back on top and switch to _his2
 	<<if canDoVaginal($activeSlave)>>
 		feminine slit instead, stimulating _his2 <<if $impregnatrix.prostate != 0>>prostate<<else>>internals<</if>> with a hard fucking
+		<<set _didImpregnatrix = 1>>
+	<<elseif canDoAnal($activeSlave)>>
+		ass instead, stimulating _his2 <<if $impregnatrix.prostate != 0>>prostate<<else>>internals<</if>> with a good assfuck
+		<<set _didImpregnatrix = 2>>
+	<<else>>
+		mouth instead, giving _him2 a good facefuck
+		<<set $impregnatrix.oralCount += _penCountBonus, $oralTotal += _penCountBonus>>
+	<</if>>
+	until _he2 blows _his2 load into $activeSlave.slaveName's fertile cunt. The two of them collapse into an exhausted, @@.hotpink;happy@@ pile of slave flesh with three loads inside them.
+	<<set $activeSlave.devotion += 4>>
+	<<set $impregnatrix.devotion += 4>>
+	<<if _didImpregnatrix == 1>>
 		<<if ($impregnatrix.vagina == 0)>>
 			$impregnatrix.slaveName will certainly remember this @@.hotpink;very special@@ day for many reasons, including losing _his2 @@.lime;virginity@@ as _he2 inseminated $activeSlave.slaveName.
 			<<set $impregnatrix.devotion += 4, $impregnatrix.vagina = 1>>
@@ -239,8 +252,7 @@ Next, you see to $activeSlave.slaveName.
 		<<if $PC.dick == 1 && $impregnatrix.eggType == "human" && canGetPregnant($impregnatrix)>>
 			<<KnockMeUp $impregnatrix 10 0 -1 1>>
 		<</if>>
-	<<elseif canDoAnal($activeSlave)>>
-		ass instead, stimulating _his2 <<if $impregnatrix.prostate != 0>>prostate<<else>>internals<</if>> with a good assfuck
+	<<elseif _didImpregnatrix == 2>>
 		<<if ($impregnatrix.anus == 0)>>
 			$impregnatrix.slaveName will certainly remember this @@.hotpink;very special@@ day for many reasons, including taking _his2 @@.lime;first buttfuck@@ as _he2 inseminated $activeSlave.slaveName.
 			<<set $impregnatrix.devotion += 4, $impregnatrix.anus = 1>>
@@ -249,13 +261,7 @@ Next, you see to $activeSlave.slaveName.
 		<<if $PC.dick == 1 && $impregnatrix.eggType == "human" && canGetPregnant($impregnatrix)>>
 			<<KnockMeUp $impregnatrix 10 1 -1 1>>
 		<</if>>
-	<<else>>
-		mouth instead, giving _him2 a good facefuck
-		<<set $impregnatrix.oralCount += _penCountBonus, $oralTotal += _penCountBonus>>
 	<</if>>
-	until _he2 blows _his2 load into $activeSlave.slaveName's fertile cunt. The two of them collapse into an exhausted, @@.hotpink;happy@@ pile of slave flesh with three loads inside them.
-	<<set $activeSlave.devotion += 4>>
-	<<set $impregnatrix.devotion += 4>>
 	<<if ($activeSlave.anus == 0) && canDoAnal($activeSlave)>>
 		$activeSlave.slaveName has been used as a slave in a truly thorough way today: $he has @@.hotpink;accepted@@ both $his @@.lime;first anal@@ and insemination by $impregnatrix.slaveName.
 		<<set $activeSlave.devotion += 4, $activeSlave.anus = 1>>
diff --git a/src/uncategorized/RESS.tw b/src/uncategorized/RESS.tw
index f056a7d5465..87d42c98af0 100644
--- a/src/uncategorized/RESS.tw
+++ b/src/uncategorized/RESS.tw
@@ -7027,7 +7027,7 @@ You tell her kindly that you understand, and that she'll be trained to address t
 	@@.gold;She learns from the experience.@@
 	<<set $activeSlave.trust -= 5>>
 	<</replace>>
-<</link>><<if canDoVaginal($activeSlave) && ($activeSlave.vagina == 0)>>//This option will take virginity//<<elseif !canDoVaginal($activeSlave) && ($activeSlave.anus == 0)>> //This option will take anal virginity//<</if>>
+<</link>><<if canDoVaginal($activeSlave) && ($activeSlave.vagina == 0)>>//This option will take virginity//<<elseif !canDoVaginal($activeSlave) && canDoAnal($activeSlave) && ($activeSlave.anus == 0)>> //This option will take anal virginity//<</if>>
 <<if canDoAnal($activeSlave) || canDoVaginal($activeSlave)>>
 <br><<link "Sentence her to public use">>
 	<<EventNameDelink $activeSlave>>
diff --git a/src/uncategorized/reFSAcquisition.tw b/src/uncategorized/reFSAcquisition.tw
index 038139788ad..14bb50babc3 100644
--- a/src/uncategorized/reFSAcquisition.tw
+++ b/src/uncategorized/reFSAcquisition.tw
@@ -661,6 +661,21 @@
 
 <<case "Chattel Religionist">>
 
+<<set $contractCost = 1000>>
+<<set $activeSlaveOneTimeMinAge = 16>>
+<<set $activeSlaveOneTimeMaxAge = 42>>
+<<include "Generate New Slave">>
+<<set $activeSlave.origin = "She offered herself for enslavement out of religious conviction.">>
+<<set $activeSlave.health = random(10,30)>>
+<<set $activeSlave.devotion = -100>>
+<<set $activeSlave.trust = -100>>
+<<set $activeSlave.behavioralFlaw = "devout">>
+<<set $activeSlave.sexualFlaw = "repressed">>
+<<slaveCost $activeSlave>>
+<<set $slaveCost -= 1000>>
+
+<<case "Chattel Religionist Two">>
+
 <<set $contractCost = 1000>>
 <<set $activeSlaveOneTimeMaxAge = 42>>
 <<include "Generate New Slave">>
@@ -680,21 +695,6 @@
 <<slaveCost $activeSlave>>
 <<set $slaveCost -= 1000>>
 
-<<case "Chattel Religionist Two">>
-
-<<set $contractCost = 1000>>
-<<set $activeSlaveOneTimeMinAge = 16>>
-<<set $activeSlaveOneTimeMaxAge = 42>>
-<<include "Generate New Slave">>
-<<set $activeSlave.origin = "She offered herself for enslavement out of religious conviction.">>
-<<set $activeSlave.health = random(10,30)>>
-<<set $activeSlave.devotion = -100>>
-<<set $activeSlave.trust = -100>>
-<<set $activeSlave.behavioralFlaw = "devout">>
-<<set $activeSlave.sexualFlaw = "repressed">>
-<<slaveCost $activeSlave>>
-<<set $slaveCost -= 1000>>
-
 <<case "Hedonistic Decadence">>
 
 <<set $contractCost = 1000>>
diff --git a/src/utility/birthWidgets.tw b/src/utility/birthWidgets.tw
index 8e0070cac23..725ba846dc8 100644
--- a/src/utility/birthWidgets.tw
+++ b/src/utility/birthWidgets.tw
@@ -585,7 +585,7 @@
 			While walking through the penthouse on the way to her next assignment, $slaves[$i].slaveName's water breaks. Unable to reach the prepared birthing room in time, she finds a secluded nook to give birth in.
 			<<ClothingBirth>>
 			She gathers her newborn<<if $slaves[$i].pregType > 1>>s<</if>> and recovers her strength before finding a servant to give her child<<if $slaves[$i].pregType > 1>>ren<</if>> to before hurrying to her assignment.
-		 <<elseif _birthScene > 66 && $slaves[$i].rivalry == 3 && isSlaveAvailabe($slaves[_bw]) && canWalk($slaves[_bw])>>
+		 <<elseif _birthScene > 66 && $slaves[$i].rivalry == 3 && isSlaveAvailable($slaves[_bw]) && canWalk($slaves[_bw])>>
 			While hustling through the penthouse on her way to give birth, $slaves[$i].slaveName finds her path blocked by $slaves[_bw].slaveName. Seeing her distress brings a grin to her face. She quickly rushes the laboring $slaves[$i].slaveName, circling around behind her and hooking her under the arms. She forces the poor girl into the cafeteria and holds her in place, leaving her with no other option than to begin giving birth in front of her audience.
 			<<set $humiliation = 1>>
 			<<ClothingBirth>>
-- 
GitLab