From b86973f4ac91055b6e079e1b2adf00fe3a9a9c03 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Thu, 17 Aug 2017 23:00:31 -0400
Subject: [PATCH] Fixes and $enduringRep tinkering.

---
 src/pregmod/widgets/pregmodBirthWidgets.tw | 6 +++---
 src/uncategorized/persBusiness.tw          | 1 +
 src/uncategorized/randomIndividualEvent.tw | 2 +-
 src/uncategorized/reputation.tw            | 1 +
 src/utility/birthWidgets.tw                | 4 ++--
 5 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/pregmod/widgets/pregmodBirthWidgets.tw b/src/pregmod/widgets/pregmodBirthWidgets.tw
index 89c6c4064ba..f12f2c8c11c 100644
--- a/src/pregmod/widgets/pregmodBirthWidgets.tw
+++ b/src/pregmod/widgets/pregmodBirthWidgets.tw
@@ -283,7 +283,7 @@
       <<ClothingBirth>>
       Resting in your bed, she draws her child to her breast and resumes waiting for you. <<if $Concubine != 0>>Concubine.slaveName furiously orders her child<<if $slaves[$i].pregType > 1>>ren<</if>> removed, and her forcefully ejected from the bed so it can be cleaned before your return.<</if>>
     <<elseif $masterSuiteUpgradeLuxury == 2>>
-     While being the bottom of the master suite's fuckpit, $slaves[$i].slaveName's body begins to birth another of her brood. While she doesn't stop having sex, the fucktoys using her do and attempt to drag her from the pit to give birth. Instinctively she begins to push out her baby, indifferent to who may be watching her naked crotch. The fucktoys give up their efforts to haul her bloated form out of the pit and allow her to settle a the bottom. Without a second thought about her child, she attempts to coax the other slaves back into an orgy.
+     While being the bottom of the master suite's fuckpit, $slaves[$i].slaveName's body begins to birth another of her brood. While she doesn't stop having sex, the fucktoys using her do and attempt to drag her from the pit to give birth. Instinctively she begins to push out her baby, indifferent to who may be watching her naked crotch. The fucktoys give up their efforts to haul her bloated form out of the pit and allow her to settle at the bottom. Without a second thought about her child, she attempts to coax the other slaves back into an orgy.
     <<else>>
       While awaiting your return in the master suite, $slaves[$i].slaveName's body begins to birth another of her brood. She pays it no heed and continues blankly waiting.
       <<ClothingBirth>>
@@ -295,12 +295,12 @@
       <<ClothingBirth>>
       Once her child is removed, she's cleaned up, and the sheets changed, she struggles back into bed to recover for your return.
     <<elseif $masterSuiteUpgradeLuxury == 2>>
-     While participating in the fuckpit orgy, $slaves[$i].slaveName's body begins to birth another of her brood. She knows she stands no chance of escaping the fuckpit,  so the leaves herself at the mercy of the other fucktoys. They happily position themselves for her to pleasure them while giving birth.
+     While participating in the fuckpit orgy, $slaves[$i].slaveName's body begins to birth another of her brood. She knows she stands no chance of escaping the fuckpit, so she leaves herself at the mercy of the other fucktoys. They happily position themselves for her to pleasure them while giving birth.
      <<set $humiliation = 1>>
      <<ClothingBirth>>
      Once the fucktoys are done tormenting the exhausted broodmother, they hand her child off to the help and snuggle up to her enormous pregnancy as she recovers her strength.
     <<else>>
-      While awaiting your return in the master suite, $slaves[$i].slaveName's body begins to birth another of her brood. She knows she stands no chance of reaching of escaping her sex toys, so she does her best to conceal them. She calls for a servant to hurry as she begins laboring.
+      While awaiting your return in the master suite, $slaves[$i].slaveName's body begins to birth another of her brood. She knows she stands no chance of reaching her sex toys, so she does her best to conceal them. She calls for a servant to hurry as she begins laboring.
       <<ClothingBirth>>
       The servant collects her child and helps her onto the largest cushion in the room to recover for your return. With a little effort she pushes the vibrating dildo out of her ass before settling down for a nap.
     <</if>>
diff --git a/src/uncategorized/persBusiness.tw b/src/uncategorized/persBusiness.tw
index 82aa7ab2b02..692f8b914a7 100644
--- a/src/uncategorized/persBusiness.tw
+++ b/src/uncategorized/persBusiness.tw
@@ -64,6 +64,7 @@
 			<<KnockMeUp $PC 20 0 -2>>
 		<</if>>
 	<</if>>
+	<<set $enduringRep *= .5>>
 <<elseif ($personalAttention == "upkeep")>>
 	<<if $PC.belly >= 5000>>
 		You spend your free time hustling around your penthouse, cleaning and making sure everything is in order. You manage to reduce your upkeep by 20%. Your pregnancy slows you down some, but you're used to working around it.
diff --git a/src/uncategorized/randomIndividualEvent.tw b/src/uncategorized/randomIndividualEvent.tw
index 7d69415fd69..52f7614f140 100644
--- a/src/uncategorized/randomIndividualEvent.tw
+++ b/src/uncategorized/randomIndividualEvent.tw
@@ -884,7 +884,7 @@
 <<if (($eventSlave.trust > -20 && $eventSlave.behavioralFlaw == "arrogant") || ($eventSlave.trust > 20))>>
 <<if ($eventSlave.muscles > 30)>>
 <<if ($eventSlave.health > 20)>>
-<<if ($eventSlave.enery > 50)>>
+<<if ($eventSlave.energy > 50)>>
 <<if canPenetrate($eventSlave)>>
 <<if ($Bodyguard == 0)>>
 	<<set $RESSevent.push("mutinery attempt")>>
diff --git a/src/uncategorized/reputation.tw b/src/uncategorized/reputation.tw
index f78d4dfb74e..07e54119cb2 100644
--- a/src/uncategorized/reputation.tw
+++ b/src/uncategorized/reputation.tw
@@ -548,6 +548,7 @@ On formal occasions, you are announced as $PCTitle.
 	<<if $PC.degeneracy > 100>>
 		There are @@.red;severe and devastating rumors@@ about you spreading across the arcology.
 		<<set $rep -= 100*$PC.degeneracy>>
+		<<set $enduringRep = 0>>
 	<<elseif $PC.degeneracy > 75>>
 		There are @@.red;severe rumors@@ about you spreading across the arcology.
 		<<set $rep -= 10*($PC.degeneracy*2)>>
diff --git a/src/utility/birthWidgets.tw b/src/utility/birthWidgets.tw
index 3f0ecbb4cdd..d6ce6a3c2f6 100644
--- a/src/utility/birthWidgets.tw
+++ b/src/utility/birthWidgets.tw
@@ -160,7 +160,7 @@
 		<<if $masterSuiteUpgradePregnancy == 1>>
 			She is helping into the birthing chamber, stripped, and aided into the specialized chair. Finding it quite comfortable, she begins to push out her bab<<if $slaves[$i].pregType > 1>>ies<<else>>y<</if>>. Her child<<if $slaves[$i].pregType > 1>>ren are<<else>> is<</if>> promptly taken and, following a shower and fresh change of clothes, she is returned to <<if $masterSuiteUpgradeLuxury == 1>>your big bed<<elseif $masterSuiteUpgradeLuxury == 2>>the fuckpit<<else>>the main room of the master suite<</if>>.
 		<<else>>
-			After struggling to strip and tipping into one of the various seats around the room, she prepares to give birth. She gets comfortable and begins to push out her bab<<if $slaves[$i].pregType > 1>>ies<<else>>y<</if>>. Her child<<if $slaves[$i].pregType > 1>>ren are<<else>> is<</if>> promptly taken and, following a shower and fresh change of clothes, she is returned to <<if $masterSuiteUpgradeLuxury == 1>>your big bed<<elseif $masterSuiteUpgradeLuxury == 2>>the fuckpit<<else>> her preferred spot spot<</if>>.
+			After struggling to strip and tipping into one of the various seats around the room, she prepares to give birth. She gets comfortable and begins to push out her bab<<if $slaves[$i].pregType > 1>>ies<<else>>y<</if>>. Her child<<if $slaves[$i].pregType > 1>>ren are<<else>> is<</if>> promptly taken and, following a shower and fresh change of clothes, she is returned to <<if $masterSuiteUpgradeLuxury == 1>>your big bed<<elseif $masterSuiteUpgradeLuxury == 2>>the fuckpit<<else>> her preferred spot<</if>>.
 		<</if>>
 	<</if>>
 	<<else>>
@@ -174,7 +174,7 @@
 		<<if $masterSuiteUpgradePregnancy == 1>>
 			She enters the birthing chamber, strips, and seats herself in the specialized chair. Finding it quite comfortable, she begins to push out her bab<<if $slaves[$i].pregType > 1>>ies<<else>>y<</if>>. Her child<<if $slaves[$i].pregType > 1>>ren are<<else>> is<</if>> promptly taken and, following a shower and fresh change of clothes, she returns to <<if $masterSuiteUpgradeLuxury == 1>>your big bed<<elseif $masterSuiteUpgradeLuxury == 2>>the fuckpit<<else>>the main room of the master suite<</if>>.
 		<<else>>
-			She strips and settles into one of the various seats around the room. She gets comfortable and begins to push out her bab<<if $slaves[$i].pregType > 1>>ies<<else>>y<</if>>. Her child<<if $slaves[$i].pregType > 1>>ren are<<else>> is<</if>> promptly taken and, following a shower and fresh change of clothes, she returns to <<if $masterSuiteUpgradeLuxury == 1>>your big bed<<elseif $masterSuiteUpgradeLuxury == 2>>the fuckpit<<else>> her preferred spot spot<</if>>.
+			She strips and settles into one of the various seats around the room. She gets comfortable and begins to push out her bab<<if $slaves[$i].pregType > 1>>ies<<else>>y<</if>>. Her child<<if $slaves[$i].pregType > 1>>ren are<<else>> is<</if>> promptly taken and, following a shower and fresh change of clothes, she returns to <<if $masterSuiteUpgradeLuxury == 1>>your big bed<<elseif $masterSuiteUpgradeLuxury == 2>>the fuckpit<<else>> her preferred spot<</if>>.
 	<</if>>
 	<</if>>
 	<</if>>
-- 
GitLab