From c38a303aad3c3c0d8114524e664da6ad721e21c4 Mon Sep 17 00:00:00 2001 From: bd Date: Sat, 24 May 2025 14:08:17 -0400 Subject: Add logic to perform basic stat upgrades --- scripts/game_stats_config.gd | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'scripts/game_stats_config.gd') 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, -- cgit v1.2.3