This commit is contained in:
2026-03-06 04:06:15 +08:00
parent 14331c222e
commit edd5051106
4 changed files with 16 additions and 19 deletions
+1 -3
View File
@@ -32,7 +32,6 @@ func _process(delta):
elif Input.is_action_pressed("move_northwest"): move_vec = Vector2i(-1, -1)
# Action inputs (still momentary)
if Input.is_action_just_pressed("action_grab"):
player.grab_item(player.current_position)
@@ -103,7 +102,6 @@ func handle_unhandled_input(event):
if player.powerup_manager:
# Attack Mode (formerly Special)
# Now we want "Straight to Attack Mode" style
player.powerup_manager.use_special_effect()
# Force visual update / mutual exclusivity manually if powerup manager doesn't do it yet
@@ -119,7 +117,7 @@ func handle_unhandled_input(event):
KEY_G:
if not player.is_carrying_tekton and player.powerup_manager:
if player.powerup_manager.can_use_special():
player.grab_tekton()
player.grab_tekton()
# Handle spawn point selection if not yet selected
-2
View File
@@ -107,7 +107,6 @@ func sync_boost_level(level: int):
print("[PowerUp] Difficulty synced: Level %d (Fill Time: %.1fs)" % [current_level, FILL_TIMES[level_idx]])
# =============================================================================
# Getters
# =============================================================================
@@ -221,4 +220,3 @@ func add_goal_completion_reward():
if multiplayer.is_server() and player.has_method("can_rpc") and player.can_rpc():
rpc("sync_boost_level", current_level)
+1 -1
View File
@@ -257,7 +257,7 @@ func _ensure_shortcut_label(btn: Button, button_name: String):
match button_name:
"Grab": existing_lbl.text = "Space" if is_sng else ""
"Put": existing_lbl.text = ""
"Put": existing_lbl.text = ""
"AttackMode": existing_lbl.text = "Q" if is_sng else ""
"SpawnBoost": existing_lbl.text = "E" if is_sng else ""
"TektonGrab": existing_lbl.text = "G"