From 7c257bc6a7af624e42cbc264d790715cd19ee20e Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Fri, 30 Mar 2018 00:05:58 -0400
Subject: [PATCH] more race exceptions

---
 src/uncategorized/genericPlotEvents.tw | 1 +
 src/uncategorized/reAWOL.tw            | 2 ++
 src/utility/slaveCreationWidgets.tw    | 1 +
 3 files changed, 4 insertions(+)

diff --git a/src/uncategorized/genericPlotEvents.tw b/src/uncategorized/genericPlotEvents.tw
index bf3008f519b..c9bbd2debd1 100644
--- a/src/uncategorized/genericPlotEvents.tw
+++ b/src/uncategorized/genericPlotEvents.tw
@@ -55,6 +55,7 @@ As you step off the elevator, you hear female shouting. Apparently one of $arcol
 <<set $contractCost = 1000>>
 <<set $activeSlaveOneTimeMinAge = $minimumSlaveAge>>
 <<set $activeSlaveOneTimeMaxAge = 42>>
+<<if $arcologies[0].FSSupremacistLawME == 1>><<set $fixedNationality = $arcologies[0].FSSupremacistRace>><</if>>
 <<include "Generate New Slave">>
 <<if $PStrip == 1>>
 	<<set $activeSlave.origin = "She offered herself to you as a slave to escape the hard life of a free whore.">>
diff --git a/src/uncategorized/reAWOL.tw b/src/uncategorized/reAWOL.tw
index 1e06e9b9484..16b3adf4dba 100644
--- a/src/uncategorized/reAWOL.tw
+++ b/src/uncategorized/reAWOL.tw
@@ -78,6 +78,7 @@ Your window of opportunity to act is closing. If you have plans for punishing th
 										<</if>>
 										<<set $activeSlaveOneTimeMaxAge = 43>>
 										<<set $one_time_age_overrides_pedo_mode = 1>>
+										<<if $arcologies[0].FSSupremacistLawME == 1>><<set $fixedNationality = $arcologies[0].FSSupremacistRace>><</if>>
 										<<include "Generate XX Slave">>
 										<<set $activeSlave.origin = "You sentenced her to enslavement as a punishment for dereliction of her duty to you as a mercenary and for theft.">>
 										<<set $activeSlave.career = "a soldier">>
@@ -157,6 +158,7 @@ Your window of opportunity to act is closing. If you have plans for punishing th
 									<</if>>
 									<<set $activeSlaveOneTimeMaxAge = 43>>
 									<<set $one_time_age_overrides_pedo_mode = 1>>
+									<<if $arcologies[0].FSSupremacistLawME == 1>><<set $fixedNationality = $arcologies[0].FSSupremacistRace>><</if>>
 									<<include "Generate XX Slave">>
 									<<set $activeSlave.origin = "You sentenced her to enslavement as a punishment for dereliction of her duty to you as a mercenary and for theft.">>
 									<<set $activeSlave.career = "a soldier">>
diff --git a/src/utility/slaveCreationWidgets.tw b/src/utility/slaveCreationWidgets.tw
index 13699405762..0279d18f8e9 100644
--- a/src/utility/slaveCreationWidgets.tw
+++ b/src/utility/slaveCreationWidgets.tw
@@ -2827,6 +2827,7 @@
 
 
 <<case "indentures">>
+	<<if $arcologies[0].FSSupremacistLawME == 1>><<set $fixedNationality = $arcologies[0].FSSupremacistRace>><</if>>
 	<<include "Generate New Slave">>
 	<<set $activeSlave.origin = "You purchased her indenture contract, making her yours for as long as it lasts.">>
 	<<set $activeSlave.indentureRestrictions = either(0,1,1,2,2,2,2)>>
-- 
GitLab