feat: add PowerUpInventoryUI script to display and manage player power-ups with single-slot visibility.
This commit is contained in:
@@ -120,7 +120,7 @@ func _update_btn_shortcut(_effect_id: int, btn: Button):
|
|||||||
return
|
return
|
||||||
|
|
||||||
# Show only Shortcut 1 as per single-slot request
|
# Show only Shortcut 1 as per single-slot request
|
||||||
sc_lbl.text = "[%s]" % SettingsManager.get_control_text("use_powerup")
|
sc_lbl.text = " %s " % SettingsManager.get_control_text("use_powerup")
|
||||||
|
|
||||||
func _on_btn_pressed(effect_id: int):
|
func _on_btn_pressed(effect_id: int):
|
||||||
print("[PowerUpUI] Clicked Button %d" % effect_id)
|
print("[PowerUpUI] Clicked Button %d" % effect_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user