feat: Implement tile scarcity model for tile generation and power-up inventory UI for player interaction.

This commit is contained in:
Yogi Wiguna
2026-02-25 12:09:14 +08:00
parent 040e6e53ce
commit 4990ce3c89
7 changed files with 116 additions and 36 deletions
+5 -3
View File
@@ -245,11 +245,13 @@ func _ensure_shortcut_label(btn: Button, button_name: String):
if btn.has_node("ShortcutLabel"):
# Update Label content if it exists to match potential remapping
var existing_lbl = btn.get_node("ShortcutLabel")
var is_sng = LobbyManager.game_mode == "Stop n Go"
match button_name:
"Grab": existing_lbl.text = "Space"
"Grab": existing_lbl.text = "Space" if is_sng else ""
"Put": existing_lbl.text = ""
"AttackMode": existing_lbl.text = "Q"
"SpawnBoost": existing_lbl.text = "E"
"AttackMode": existing_lbl.text = "Q" if is_sng else ""
"SpawnBoost": existing_lbl.text = "E" if is_sng else ""
return
# Add Keyboard Shortcut Label