From 026ee4f262f5339c4571d73c36ce6ba5a7f58dba Mon Sep 17 00:00:00 2001
From: lowercase-donkey <lowercasedonkey@gmail.com>
Date: Wed, 13 Feb 2019 23:04:35 -0500
Subject: [PATCH] add more slave attribution to repX cases

---
 src/npc/fPCImpreg.tw                | 6 +++---
 src/npc/fSlaveImpregConsummate.tw   | 6 +++---
 src/pregmod/fSlaveSelfImpreg.tw     | 4 ++--
 src/uncategorized/saRecruitGirls.tw | 2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/npc/fPCImpreg.tw b/src/npc/fPCImpreg.tw
index fd2c7f0ce86..81284de615f 100644
--- a/src/npc/fPCImpreg.tw
+++ b/src/npc/fPCImpreg.tw
@@ -122,15 +122,15 @@ You repeat this ritual throughout the week, ensuring that $activeSlave.slaveName
 <</if>>
 <<if $arcologies[0].FSGenderRadicalist != "unset" && $activeSlave.mpreg == 1>>
 	Society @@.green;approves@@ of your fucking your slaves ass pregnant; this advances the ideal all a slave needs is $his rear.
-	<<run repX($FSSingleSlaveRep*($arcologies[0].FSGenderRadicalist/$FSLockinLevel), "futureSocieties")>>
+	<<run repX($FSSingleSlaveRep*($arcologies[0].FSGenderRadicalist/$FSLockinLevel), "futureSocieties", $activeSlave)>>
 	<<set $arcologies[0].FSGenderRadicalist += 0.05*$FSSingleSlaveRep>>
 <<elseif $arcologies[0].FSGenderFundamentalist != "unset" && $activeSlave.mpreg == 1>>
 	Society @@.red;is disgusted@@ by this degenerate form of reproduction.
-	<<run repX(forceNeg($FSSingleSlaveRep*($arcologies[0].FSGenderFundamentalist/$FSLockinLevel)), "futureSocieties")>>
+	<<run repX(forceNeg($FSSingleSlaveRep*($arcologies[0].FSGenderFundamentalist/$FSLockinLevel)), "futureSocieties", $activeSlave)>>
 	<<set $arcologies[0].FSGenderFundamentalist -= 0.05*$FSSingleSlaveRep>>
 <<elseif $arcologies[0].FSGenderFundamentalist != "unset">>
 	Society @@.green;approves@@ of your putting a new slave in $him; this advances the idea that all slaves should bear their masters' babies.
-	<<run repX($FSSingleSlaveRep*($arcologies[0].FSGenderFundamentalist/$FSLockinLevel), "futureSocieties")>>
+	<<run repX($FSSingleSlaveRep*($arcologies[0].FSGenderFundamentalist/$FSLockinLevel), "futureSocieties", $activeSlave)>>
 	<<set $arcologies[0].FSGenderFundamentalist += 0.05*$FSSingleSlaveRep>>
 <</if>>
 
diff --git a/src/npc/fSlaveImpregConsummate.tw b/src/npc/fSlaveImpregConsummate.tw
index 686f0d09a6f..06f6ad4c091 100644
--- a/src/npc/fSlaveImpregConsummate.tw
+++ b/src/npc/fSlaveImpregConsummate.tw
@@ -279,15 +279,15 @@ Throughout the week, you keep $activeSlave.slaveName's <<if $activeSlave.mpreg =
 <</if>>
 <<if $arcologies[0].FSGenderRadicalist != "unset" && $activeSlave.mpreg == 1>>
 	Society @@.green;approves@@ of your breeding your slaves ass; this advances the ideal all a slave needs is their rear.
-	<<run repX($FSSingleSlaveRep*($arcologies[0].FSGenderRadicalist/$FSLockinLevel), "futureSocieties")>>
+	<<run repX($FSSingleSlaveRep*($arcologies[0].FSGenderRadicalist/$FSLockinLevel), "futureSocieties", $activeSlave)>>
 	<<set $arcologies[0].FSGenderRadicalist += 0.05*$FSSingleSlaveRep>>
 <<elseif $arcologies[0].FSGenderFundamentalist != "unset" && $activeSlave.mpreg == 1>>
 	Society @@.red;is disgusted@@ by this degenerate form of reproduction.
-	<<run repX(forceNeg($FSSingleSlaveRep*($arcologies[0].FSGenderFundamentalist/$FSLockinLevel), "futureSocieties")>>
+	<<run repX(forceNeg($FSSingleSlaveRep*($arcologies[0].FSGenderFundamentalist/$FSLockinLevel), "futureSocieties", $activeSlave)>>
 	<<set $arcologies[0].FSGenderFundamentalist -= 0.05*$FSSingleSlaveRep>>
 <<elseif $arcologies[0].FSGenderFundamentalist != "unset">>
 	Society @@.green;approves@@ of your breeding your slaves; this advances the ideal of a durable, self propagating race of slaves.
-	<<run repX($FSSingleSlaveRep*($arcologies[0].FSGenderFundamentalist/$FSLockinLevel), "futureSocieties")>>
+	<<run repX($FSSingleSlaveRep*($arcologies[0].FSGenderFundamentalist/$FSLockinLevel), "futureSocieties", $activeSlave)>>
 	<<set $arcologies[0].FSGenderFundamentalist += 0.05*$FSSingleSlaveRep>>
 <</if>>
 
diff --git a/src/pregmod/fSlaveSelfImpreg.tw b/src/pregmod/fSlaveSelfImpreg.tw
index 564afe70f45..70eb78f2125 100644
--- a/src/pregmod/fSlaveSelfImpreg.tw
+++ b/src/pregmod/fSlaveSelfImpreg.tw
@@ -202,12 +202,12 @@ You repeat this ritual throughout the week, ensuring that $activeSlave.slaveName
 	<</if>>
 	<<if _delt > 0>>
 		Society is @@.green;pleased@@ by the addition of a new slave, no matter the means by which it was produced.
-		<<run repX($FSSingleSlaveRep*($arcologies[0].FSRepopulationFocus/$FSLockinLevel), "futureSocieties")>>
+		<<run repX($FSSingleSlaveRep*($arcologies[0].FSRepopulationFocus/$FSLockinLevel), "futureSocieties", $activeSlave)>>
 	<<else>>
 		The traditional elements of your society disapprove of this degenerate form of reproduction, but their complaints are countered by those who believe producing more slaves by any means necessary.
 	<</if>>
 <<elseif $arcologies[0].FSGenderFundamentalist != "unset">>
 	Society @@.red;is disgusted@@ by this degenerate form of reproduction.
-	<<run repX(forceNeg($FSSingleSlaveRep*($arcologies[0].FSGenderFundamentalist/$FSLockinLevel)), "futureSocieties")>>
+	<<run repX(forceNeg($FSSingleSlaveRep*($arcologies[0].FSGenderFundamentalist/$FSLockinLevel)), "futureSocieties", $activeSlave)>>
 	<<set $arcologies[0].FSGenderFundamentalist -= 0.05*$FSSingleSlaveRep>>
 <</if>>
diff --git a/src/uncategorized/saRecruitGirls.tw b/src/uncategorized/saRecruitGirls.tw
index a537ac2dff1..a57da9afd98 100644
--- a/src/uncategorized/saRecruitGirls.tw
+++ b/src/uncategorized/saRecruitGirls.tw
@@ -666,7 +666,7 @@
 	<</if>>
 	/* and then there's Aztec revivalist, completely forgotten */
 
-	<<run repX(Math.trunc(_seed), "futureSocieties")>>
+	<<run repX(Math.trunc(_seed), "futureSocieties", $slaves[$i])>>
 
 	<<if $showEWM == 1>>
 		<<if $slaves[$i].entertainSkill > 10>>
-- 
GitLab