diff --git a/devNotes/VersionChangeLog-Premod+LoliMod.txt b/devNotes/VersionChangeLog-Premod+LoliMod.txt index bf4fb799ca7dd66bba6d5aaf10c2ef105daaf0ba..9801418e9ca2328d08a63ea394e987d7700608af 100644 --- a/devNotes/VersionChangeLog-Premod+LoliMod.txt +++ b/devNotes/VersionChangeLog-Premod+LoliMod.txt @@ -4,6 +4,9 @@ 1/28/18 + 302 + -anon's corp tweaks + 301 -fixed missing span in JFC diff --git a/src/uncategorized/corporationDevelopments.tw b/src/uncategorized/corporationDevelopments.tw index 2a7fb2dcc8e8d519363a0cacba419549c7101f8d..a0898d4b3c9b9cf3eab0ff4b89222861167b50a6 100644 --- a/src/uncategorized/corporationDevelopments.tw +++ b/src/uncategorized/corporationDevelopments.tw @@ -43,10 +43,18 @@ 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 ($trainingAssets > $slaveAssets * 0.2) && ($surgicalAssets > $slaveAssets * 0.2) && ($drugAssets > $slaveAssets * 0.2)>> +<<set _trainingWeight = 0.6, _surgicalWeight = 0.2, _drugWeight = 0.2>> +<<if $surgicalUpgradeCosmetics == "none" && $surgicalUpgradeImplants == "none" && $surgicalUpgradeGenitalia == "none">> + <<set _surgicalWeight = 0, _trainingWeight += 0.2>> +<</if>> +<<if $drugUpgradeHormones == "none" && $drugUpgradeInjectionOne == "none" && $drugUpgradeInjectionTwo == "none">> + <<set _drugWeight = 0.1, _trainingWeight += 0.1>> +<</if>> +<<set _improvementAssetsTotal = ($trainingAssets * _trainingWeight) + ($surgicalAssets * _surgicalWeight) + ($drugAssets * _drugWeight)>> +<<if _improvementAssetsTotal > $slaveAssets * 0.4>> The corporation has enough training and medical assets to rapidly improve its human holdings. <<set $slaveAssets += Math.ceil(Math.log($slaveAssets)*400)>> -<<elseif ($trainingAssets > $slaveAssets * 0.1) && ($surgicalAssets > $slaveAssets * 0.1) && ($drugAssets > $slaveAssets * 0.1)>> +<<elseif _improvementAssetsTotal > $slaveAssets * 0.2>> The corporation uses its training and medical assets to improve its human holdings. <<set $slaveAssets += Math.ceil(Math.log($slaveAssets)*200)>> <<else>>