mekton boss npc uses static tekton mesh w/ emission color cycling; updated bot ghost check
This commit is contained in:
@@ -164,6 +164,15 @@ func simple_move_to(grid_position: Vector2i) -> bool:
|
||||
else:
|
||||
print("[Move] Failed: Blocked by Candy Survival Sticky cell at %s" % grid_position)
|
||||
return false
|
||||
|
||||
if gm and gm.is_active and gm.has_method("try_deliver"):
|
||||
var dist = abs(grid_position.x - 8) + abs(grid_position.y - 8)
|
||||
if dist <= 2:
|
||||
var pid = player.get("peer_id") if "peer_id" in player else player.name.to_int()
|
||||
if multiplayer.is_server():
|
||||
gm.try_deliver(pid)
|
||||
else:
|
||||
gm.rpc_id(1, "try_deliver", pid)
|
||||
|
||||
rotate_towards_target(grid_position)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user