Files
Arcturus-Morningstar-Extended/Emulator
simoleo89 e75fe83c80 feat(pathfinder): add configurable underpass walk-under-furniture support
Allow avatars to walk under furniture items placed at a configurable height threshold (default 1.5). When a blocking item is elevated enough above the walk surface, the tile is treated as walkable.

Changes:
- RoomLayout: add UNDERPASS_HEIGHT static field (default 1.5)
- PluginManager: load pathfinder.underpass.height from emulator config
- RoomTileManager: add getUnderpassWalkHeight() method and underpass checks in tile state calculation, stack height, and canWalkAt()
- RoomItemManager: add getWalkableItemAt() method that returns the correct walkable item considering underpass clearance
- RoomUnit: use getWalkableItemAt() in movement cycle for accurate item resolution when walking under elevated furniture

Co-Authored-By: medievalshell <medievalshell@users.noreply.github.com>
2026-03-17 13:37:30 +01:00
..
2024-03-13 11:28:48 +01:00
2024-03-28 19:52:31 +01:00
2026-02-03 11:50:33 +01:00