feat: add Tekton entity with movement, carry/throw mechanics, and a static controller for item throwing.

This commit is contained in:
Yogi Wiguna
2026-02-12 17:38:01 +08:00
parent 21a502a62f
commit 450ad2ce1f
4 changed files with 11 additions and 1 deletions
+1
View File
@@ -2019,6 +2019,7 @@ func _find_nearby_tekton() -> Node3D: # Find closest Tekton
for t in tektons:
if t.is_carried: continue
if t.get("is_recovering"): continue # Cannot grab recovering/shrunk Tekton
if t.get("is_static_turret"): continue # Cannot grab/knock static turret
# Check adjacency (or same tile)
# Assuming is_adjacent_or_same is a helper function that checks if two Vector2i are adjacent or the same.