add pathfinding.set_avoided_tags

This commit is contained in:
MihailRis
2025-08-31 15:52:23 +03:00
parent 5204cfedf5
commit 5e3373313b
7 changed files with 46 additions and 12 deletions
@@ -54,4 +54,7 @@ pathfinding.pull_route(agent: int) --> table<vec3> or nil
--- Set the maximum number of visited blocks for the agent. Used to limit the amount of work of the pathfinding algorithm.
pathfinding.set_max_visited(agent: int, max_visited: int)
--- Set a list of tags defining avoided blocks
pathfinding.set_avoided_tags(agent: int, tags: table<string>)
```