feat: Implement Tekton roaming NPC with grid movement, combat mechanics, and multiplayer synchronization.

This commit is contained in:
Yogi Wiguna
2026-02-12 10:04:16 +08:00
parent 5ec559c4c9
commit 786e73dbaf
+5 -4
View File
@@ -105,10 +105,11 @@ func set_carried(state: bool, p_carrier: Node3D = null):
var controller = get_node_or_null("TektonController")
if controller:
controller.set_physics_process(not state)
if state:
controller.get_node("Timer").stop()
else:
controller.call("_start_timer")
if controller.get("timer"):
if state:
controller.timer.stop()
else:
controller.call("_start_timer")
if not state:
update_visual_position()