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
+2 -1
View File
@@ -105,8 +105,9 @@ func set_carried(state: bool, p_carrier: Node3D = null):
var controller = get_node_or_null("TektonController") var controller = get_node_or_null("TektonController")
if controller: if controller:
controller.set_physics_process(not state) controller.set_physics_process(not state)
if controller.get("timer"):
if state: if state:
controller.get_node("Timer").stop() controller.timer.stop()
else: else:
controller.call("_start_timer") controller.call("_start_timer")