From cc949c47b6cb643951bf3fe94a3c9c066b59a100 Mon Sep 17 00:00:00 2001
From: kopareigns <kopareigns@gmail.com>
Date: Mon, 11 Dec 2017 22:52:15 -0500
Subject: [PATCH] Disallowed users from exploiting the clamps in
 persBusiness.tw, and added messages telling users what the requirements are.

---
 src/SecExp/proclamations.tw | 36 ++++++++++++++++++++++++------------
 1 file changed, 24 insertions(+), 12 deletions(-)

diff --git a/src/SecExp/proclamations.tw b/src/SecExp/proclamations.tw
index c4bd9ba2199..491172fbd43 100644
--- a/src/SecExp/proclamations.tw
+++ b/src/SecExp/proclamations.tw
@@ -5,20 +5,32 @@
 You can dedicate the week to issue a proclamation, a powerful tool that will have an immediate noticeable effect on the arcology.
 You will use <<print $proclamationCurrency>> to enact it<<if $proclamationType != "none">> and will be about $proclamationType.<<else>>.<</if>>
 <br>
-<<link "Use authority">>
-	<<set $proclamationCurrency = "authority">>
-	<<goto "proclamations">>
-<</link>>
+<<if $authority >= 2000>>
+	<<link "Use authority">>
+		<<set $proclamationCurrency = "authority">>
+		<<goto "proclamations">>
+	<</link>>
+<<else>>
+	//Requires at least 2000 authority//
+<</if>>
 |
-<<link "Use reputation">>
-	<<set $proclamationCurrency = "reputation">>
-	<<goto "proclamations">>
-<</link>>
+<<if $rep >= 4000>>
+	<<link "Use reputation">>
+		<<set $proclamationCurrency = "reputation">>
+		<<goto "proclamations">>
+	<</link>>
+<<else>>
+	//Requires at least 4000 reputation//
+<</if>>
 |
-<<link "Use cash">>
-	<<set $proclamationCurrency = "cash">>
-	<<goto "proclamations">>
-<</link>>
+<<if $cash >= 8000>>
+	<<link "Use cash">>
+		<<set $proclamationCurrency = "cash">>
+		<<goto "proclamations">>
+	<</link>>
+<<else>>
+	//Requires at least ¤8000 in cash//
+<</if>>
 <br>
 <br>
 <<link "Issue a proclamation about security">>
-- 
GitLab