This commit is contained in:
Forrest 2026-10-04 17:30:48 -04:00
parent 4298caf5cb
commit 2e6638b744
19 changed files with 484 additions and 185 deletions

View file

@ -251,7 +251,7 @@ func _ready() -> void:
if upgrade_panel != null:
upgrade_panel.setup(campaign, structures, player)
interactions.upgrade_panel = upgrade_panel
upgrade_panel.bought.connect(func(id: String) -> void: # a new weapon goes into the hand
upgrade_panel.bought.connect(func(id: String) -> void: # a new weapon goes into its hand
var w := ScarecrowCombat.WEAPON_IDS.find(id)
if w > 0:
combat.equip(w))