From 3d25495efb8b1da3f487f0e4da114283ef6acde5 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Mon, 2 Mar 2020 15:09:23 -0500 Subject: [PATCH] cash init fixes --- src/init/storyInit.tw | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/init/storyInit.tw b/src/init/storyInit.tw index 984376b26a6..02168009aef 100644 --- a/src/init/storyInit.tw +++ b/src/init/storyInit.tw @@ -394,9 +394,8 @@ You should have received a copy of the GNU General Public License along with thi <<if def $arcologies[0].prosperity>> <<run cashX((250*$arcologies[0].prosperity*$arcologies[0].ownership), "personalBusiness")>> <</if>> - <<set _cash = $cash>> - <<set _cash = Math.clamp(1000*Math.trunc(_cash/100000), 5000, 1000000)>> - <<run cashX((_cash-$cash), "personalBusiness")>> /*"-cash" to clean out the current value of cash and then completely replace it with the new value for NG+ start. */ + <<set _cash = $cash, $cash = 0, $cashLastWeek = 0>> + <<run cashX((Math.clamp(1000*Math.trunc(_cash/100000), 5000, 1000000)), "personalBusiness")>> <<if $retainCareer == 0>> <<set $PC.career = "arcology owner", $PC.skill.trading = 100, $PC.skill.warfare = 100, $PC.skill.hacking = 100, $PC.skill.slaving = 100, $PC.skill.engineering = 100, $PC.skill.medicine = 100>> <</if>> -- GitLab