Commit Graph

1 Commits

Author SHA1 Message Date
simoleo89 b0f3f1488d feat(pathfinder): add per-room underpass setting via room settings UI
Add allow_underpass as a per-room boolean setting that controls whether
avatars can walk under elevated furniture. When disabled (default), the
room behaves normally with blocking items. When enabled, items elevated
above the UNDERPASS_HEIGHT threshold allow walking underneath.

Changes:
- Room: add allowUnderpass field with DB load/save
- RoomTileManager: make all 3 underpass checks conditional on room setting
- RoomItemManager: getWalkableItemAt() falls back when underpass disabled
- RoomSettingsComposer/SaveEvent: send/receive the flag in room settings packet
- SQL migration: add allow_underpass column to rooms table

Co-Authored-By: medievalshell <medievalshell@users.noreply.github.com>
2026-03-17 13:38:43 +01:00