From a7aee1e0c88b294f91e43597830a1f9494a24d0b Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sun, 28 Jan 2018 00:53:08 -0500
Subject: [PATCH] anon's tweaks

---
 devNotes/VersionChangeLog-Premod+LoliMod.txt | 5 +++++
 src/uncategorized/corporationDevelopments.tw | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/devNotes/VersionChangeLog-Premod+LoliMod.txt b/devNotes/VersionChangeLog-Premod+LoliMod.txt
index 1da57f59bcb..4f800ed7046 100644
--- a/devNotes/VersionChangeLog-Premod+LoliMod.txt
+++ b/devNotes/VersionChangeLog-Premod+LoliMod.txt
@@ -2,6 +2,11 @@
 
 0.10.7.0/1
 
+1/28/18
+
+	301
+	-anon's corp tweaks
+
 1/27/18
 
 	300
diff --git a/src/uncategorized/corporationDevelopments.tw b/src/uncategorized/corporationDevelopments.tw
index 761840a67de..2a7fb2dcc8e 100644
--- a/src/uncategorized/corporationDevelopments.tw
+++ b/src/uncategorized/corporationDevelopments.tw
@@ -43,10 +43,10 @@ Your corporation was valued at <<print cashFormat($corpValue)>> and made a profi
 <</if>>
 <<set $corpPeopleEnslaved += _addedSlaves, $slaveAssets += 500 * _addedSlaves>>
 in total, the corporation has enslaved <<print commaNum($corpPeopleEnslaved)>> people.
-<<if $slaveAssets < ($trainingAssets+$surgicalAssets+$drugAssets)>>
+<<if ($trainingAssets > $slaveAssets * 0.2) && ($surgicalAssets > $slaveAssets * 0.2) && ($drugAssets > $slaveAssets * 0.2)>>
 	The corporation has enough training and medical assets to rapidly improve its human holdings.
 	<<set $slaveAssets += Math.ceil(Math.log($slaveAssets)*400)>>
-<<elseif $slaveAssets < ($trainingAssets+$surgicalAssets+$drugAssets)*2>>
+<<elseif ($trainingAssets > $slaveAssets * 0.1) && ($surgicalAssets > $slaveAssets * 0.1) && ($drugAssets > $slaveAssets * 0.1)>>
 	The corporation uses its training and medical assets to improve its human holdings.
 	<<set $slaveAssets += Math.ceil(Math.log($slaveAssets)*200)>>
 <<else>>
@@ -56,7 +56,7 @@ in total, the corporation has enslaved <<print commaNum($corpPeopleEnslaved)>> p
 <<set $trainingAssets = Math.ceil($trainingAssets * random(97,99)/100), $surgicalAssets = Math.ceil($surgicalAssets * random(97,99)/100), $drugAssets = Math.ceil($drugAssets * random(97,99)/100), $generalAssets = Math.ceil($generalAssets * random(97,99)/100), $entrapmentAssets = Math.ceil($entrapmentAssets * random(97,99)/100), $captureAssets = Math.ceil($captureAssets * random(97,99)/100), $corpCash = Math.ceil($corpCash * random(97,99)/100)>>
 <<if $corpMarket>>
 	<<if $rep > 5000>>
-		<<set $slaveAssets += Math.ceil(Math.log($slaveAssets)/Math.log(10)*(($rep-5000)/15000))>>
+		<<set $slaveAssets += Math.ceil(Math.log($slaveAssets)/Math.log(10)*(($rep-5000)/15000)*200)>>
 		Since the corporation has its flagship slave market in $arcologies[0].name, your
 		<<if $rep > 19000>>
 			worldwide renown greatly
-- 
GitLab