diff options
author | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-19 20:08:32 +0100 |
---|---|---|
committer | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-19 20:08:32 +0100 |
commit | c930eb8a0cabaeb3651e2dc7f94a26310fb2dcf3 (patch) | |
tree | 5256261a9510a9ac8e1150c8902ffefbec32ddac /scripts/gui_picker.gd | |
parent | 10d700152deeea4a8c6acea1124b9f9ea4905486 (diff) |
turrets implementation finished
Diffstat (limited to 'scripts/gui_picker.gd')
-rw-r--r-- | scripts/gui_picker.gd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/gui_picker.gd b/scripts/gui_picker.gd index b888572..85909ec 100644 --- a/scripts/gui_picker.gd +++ b/scripts/gui_picker.gd @@ -52,11 +52,13 @@ func build (options : Array = []): if opt.type == "turret buy": var tinfo = load_turrets.info[opt.name] button.get_node("name").text = tinfo.name + button.get_node("panel_cash").visible = true button.get_node("cash").text = resources.dict_to_str(tinfo.cost) button.get_node("texture").texture = load_turrets.thumbnails[tinfo.thumbnail_name] if opt.type == "turret upg": var tinfo = load_turrets.info[opt.name] button.get_node("name").text = tinfo.name + button.get_node("panel_cash").visible = true button.get_node("cash").text = resources.dict_to_str(tinfo.cost) button.get_node("texture").texture = load_turrets.thumbnails[tinfo.thumbnail_name] tback.texture = thumbs_generic["upgrade.svg"] |