diff options
author | bd <bdunahu@operationnull.com> | 2025-05-24 14:08:17 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-24 14:08:17 -0400 |
commit | c38a303aad3c3c0d8114524e664da6ad721e21c4 (patch) | |
tree | 6fb27d2ff142e73bf59c3a0e5f7bed2fab49f844 /scripts/game_stats_config.gd | |
parent | 4948e4e35dadc749026a83d0a8402436a4b2ac44 (diff) |
Add logic to perform basic stat upgrades
Diffstat (limited to 'scripts/game_stats_config.gd')
-rw-r--r-- | scripts/game_stats_config.gd | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/scripts/game_stats_config.gd b/scripts/game_stats_config.gd index 4e0a3e6..873312d 100644 --- a/scripts/game_stats_config.gd +++ b/scripts/game_stats_config.gd @@ -21,7 +21,29 @@ class_name GameStatsConfig "sprite_panel": Vector2i(32, 4), "sprite_attacking": Vector2i(31, 2), "sprite_idle": Vector2i(31, 1), - "cost": 10 + "cost": 10, + "projectile_speed" : 100, + "upgrades": { + "tower_action_one": { + "cost": 7, + "effects": { + "damage": 3.0, + } + }, + "tower_action_two": { + "cost": 7, + "effects": { + "fire_rate": 0.5 + } + }, + "tower_action_three": { + "cost": 30, + "effects": { + "projectile_speed": 300.0, + "range": 200.0 + } + }, + }, }, "wyvern": { "damage" : 1.0, |