Skip to content
Snippets Groups Projects
Commit 3d25495e authored by lowercasedonkey's avatar lowercasedonkey
Browse files

cash init fixes

parent 00672dd7
No related branches found
No related tags found
No related merge requests found
......@@ -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>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment