check_passages
Find doorways and corridors too narrow for an agent by measuring walkable widths against limits. Reports violations with positions and a map.
Instructions
Find doorways and corridors of a level that are too narrow. It follows the centre line of the walkable area and reports narrow runs: a
run up to door_length metres long is a doorway (limit min_door), a longer one a corridor (limit
min_corridor). The width is the free width including the agent radius, accurate to about one cell, and it errs on the
small side. Returns violations with positions and a map. start picks the area when there are several levels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | No | ||
| names | No | ||
| start | No | ||
| min_door | No | ||
| door_length | No | ||
| agent_height | No | ||
| agent_radius | No | ||
| min_corridor | No |