diff options
author | juneflow <63904206+juneflow@users.noreply.github.com> | 2020-04-18 19:52:21 +0200 |
---|---|---|
committer | juneflow <63904206+juneflow@users.noreply.github.com> | 2020-04-18 19:52:21 +0200 |
commit | c5d0c875e1e622fe897390ab745b283756fc3336 (patch) | |
tree | badddb47ae93ae6da7accf123a26b19b53de8f8a /save_state.gd | |
parent | 255475d35b954d442a79fd937dfaf395204cf639 (diff) | |
parent | c94bcec15175b363057c9701481512b6d9b9dfdf (diff) | |
download | LDJam46-c5d0c875e1e622fe897390ab745b283756fc3336.tar.gz LDJam46-c5d0c875e1e622fe897390ab745b283756fc3336.tar.bz2 LDJam46-c5d0c875e1e622fe897390ab745b283756fc3336.zip |
Merge branch 'master' of https://github.com/romangraef/LDJam46
Diffstat (limited to 'save_state.gd')
-rw-r--r-- | save_state.gd | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/save_state.gd b/save_state.gd index a11ecaf..ac58feb 100644 --- a/save_state.gd +++ b/save_state.gd @@ -3,10 +3,15 @@ extends Node var buildings = { "intern": 0 } +var upgrades = { + "wageslavery": 0 +} +func gain_bitcoin(amount: int) -> void: + bitcoin += amount * (upgrades["wageslavery"] + 1) var coffee = 0 -var programmers = 0 +var programmers = 1 var coffee_beans = 1000 var bitcoin = 100 -var riot_cooldown = 0 +var riot_cooldown = 60 |