From c1c40a201eaecfc3f7a46f17be02c24985afced4 Mon Sep 17 00:00:00 2001
From: Jones <Jones>
Date: Mon, 22 Oct 2018 18:55:35 +0200
Subject: [PATCH] Economy pass clarification

---
 src/uncategorized/manageEconomy.tw | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/src/uncategorized/manageEconomy.tw b/src/uncategorized/manageEconomy.tw
index c830e475c5a..6538032e554 100644
--- a/src/uncategorized/manageEconomy.tw
+++ b/src/uncategorized/manageEconomy.tw
@@ -1,6 +1,6 @@
 :: Manage Economy [nobr]
 
-<span id="globalEcon">
+<span id="economy">
 	@@.yellowgreen;Global Economy@@
 | <<print $economy>>
 </span>
@@ -8,7 +8,7 @@
 	<<set _Teconomy = $economy>>
 	<<textbox "$economy" $economy>>
 	<<link "Apply">>
-	<<set $globalEcon = Math.trunc(Number($economy)) || _Teconomy, $cheater = 1>>
+	<<set $economy = Math.trunc(Number($economy)) || _Teconomy, $cheater = 1>>
 	<<replace "#economy">>
 	@@.yellowgreen;Global Economy@@
 	| <<print $economy>>
@@ -32,3 +32,15 @@
 	<</replace>>
 	<</link>>
 <</if>>
+
+<br><br> //The Local Economy score effects some prices in your ecology. The lower the score, the higher the prices. The base score is ''100''.//
+<br> The current score is 
+<<if $localEcon > 100>>
+	<<set _econPercent = Math.trunc(1000-100000/$localEcon)/10>>
+	reducing prices by ''<<print _econPercent>> %.''
+<<elseif $localEcon == 100>>
+	equal to the base score. There are no price modifications.
+<<else>>
+	<<set _econPercent = Math.trunc(100000/$localEcon-1000)/10>>
+	increasing prices by ''<<print _econPercent>> %.''
+<</if>>
-- 
GitLab