From 621fc6fcdaafde1aead25af28dab0285393b29ac Mon Sep 17 00:00:00 2001 From: Yogi Wiguna Date: Wed, 25 Mar 2026 16:56:26 +0800 Subject: [PATCH] feat: Add Tekton roaming NPC with grid-based movement, states for being hit, carried, and thrown, visual feedback, and multiplayer synchronization. --- scripts/tekton.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tekton.gd b/scripts/tekton.gd index 47c27d0..f382489 100644 --- a/scripts/tekton.gd +++ b/scripts/tekton.gd @@ -348,8 +348,8 @@ func temporarily_change_floor(center: Vector2i, radius: int, new_id: int, durati var cell_3d = Vector3i(pos.x, 0, pos.y) var original = enhanced_gridmap.get_cell_item(cell_3d) - # PROTECTED FLOOR CHECK: avoid overwriting Start (1), Safe (2), Finish (3), Wall (4), or PowerUp Stand (15) - if original != new_id and not original in [1, 2, 3, 4, 15]: + # PROTECTED FLOOR CHECK: avoid overwriting Start (1), Safe (2), Finish (3), Wall (4), Freeze (5), or PowerUp Stand (15) + if original != new_id and not original in [1, 2, 3, 4, 5, 15]: # PRE-FIX: If we capture a "Hole" (Void or Pickup 7-14) here, we must record it as Floor (0) # so that we restore a valid floor later. if original == -1 or (original >= 7 and original <= 14):