This commit is contained in:
2026-02-12 06:53:26 +08:00
parent c37b317eb5
commit 5ec559c4c9
5 changed files with 254 additions and 84 deletions
+9 -3
View File
@@ -47,7 +47,6 @@ func _process(delta):
movement_manager.simple_move_to(target_position)
# Targeting Mode Preview
var main = player.get_node_or_null("/root/Main")
if main and main.ui_manager and main.ui_manager.current_action_state == main.ui_manager.ActionState.TARGETING:
@@ -69,7 +68,7 @@ func _process(delta):
# Choose highlight color/mesh based on skill
# User Request: Use default hover item (1)
var highlight_id = 1
var highlight_id = 1
player.highlight_cells_if_authorized(area, highlight_id)
@@ -104,7 +103,7 @@ func handle_unhandled_input(event):
if player.powerup_manager:
# Attack Mode (formerly Special)
player.powerup_manager.use_special_effect()
KEY_E:
KEY_E:
if player.powerup_manager:
# Spawn Boost
if player.powerup_manager.has_method("spawn_boost_reward"):
@@ -112,6 +111,13 @@ func handle_unhandled_input(event):
else:
# Fallback if method missing
player.powerup_manager.use_special_effect()
KEY_G:
if player.is_carrying_tekton:
player.throw_tekton()
else:
player.grab_tekton()
KEY_B:
player.knock_tekton()
# Handle spawn point selection if not yet selected