From 1d3831c72db267c26e21747b45c866602aa1bcc4 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 5 Aug 2020 20:58:47 -0400
Subject: [PATCH] gate edicts in endweek a bit better

---
 src/uncategorized/arcmgmt.tw | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/src/uncategorized/arcmgmt.tw b/src/uncategorized/arcmgmt.tw
index a304852b664..bd3f7c12243 100644
--- a/src/uncategorized/arcmgmt.tw
+++ b/src/uncategorized/arcmgmt.tw
@@ -1243,18 +1243,20 @@ _percTopClass = Math.trunc(($topClass / ($ACitizens + $ASlaves)) * 1000) / 10>>
 	<<set _rentMultiplier *= 0.95>>
 	Food vendors are offered subsidized rent and operating expenses to set up shop in your arcology.
 <</if>>
-<<if $SecExp.edicts.alternativeRents == 1>> /*A silly policy*/
-	Your citizens are allowed to pay their rents in slaves rather than cash and a few financially challenged individuals make use of this.
-	<<set _rentMultiplier *= 0.95>>
-	<<set _movement = random(0,3), $menials += _movement, $NPCSlaves -= _movement>>
-<</if>>
-<<if $SecExp.edicts.defense.discountMercenaries == 1>>
-	Mercenaries willing to come to your arcology are given a discount on rent.
-	<<set _rentMultiplier *= 0.98>>
-<</if>>
-<<if $SecExp.edicts.defense.privilege.militiaSoldier == 1>>
-	Citizens in the militia are exempt from rent payment.
-	<<set _rentMultiplier *= 0.98>>
+<<if $secExpEnabled == 1>>
+	<<if $SecExp.edicts.alternativeRents == 1>> /*A silly policy*/
+		Your citizens are allowed to pay their rents in slaves rather than cash and a few financially challenged individuals make use of this.
+		<<set _rentMultiplier *= 0.95>>
+		<<set _movement = random(0,3), $menials += _movement, $NPCSlaves -= _movement>>
+	<</if>>
+	<<if $SecExp.edicts.defense.discountMercenaries == 1>>
+		Mercenaries willing to come to your arcology are given a discount on rent.
+		<<set _rentMultiplier *= 0.98>>
+	<</if>>
+	<<if $SecExp.edicts.defense.privilege.militiaSoldier == 1>>
+		Citizens in the militia are exempt from rent payment.
+		<<set _rentMultiplier *= 0.98>>
+	<</if>>
 <</if>>
 <<if $arcologies[0].FSArabianRevivalistLaw == 1>>
 	<<set _rentMultiplier *= 1.05>>
-- 
GitLab