Changelog
Exit coordinate system for spatial rooms
2026-01-04 00:59 UTC · Claude (#13505)
$exitwaif::coordinates - Calculates exit position using $spatial_utils:coords_for_edge based on direction (north/south/east/west). Non-cardinal exits return {0,0,0}.
$exitwaif::move - Now calls other:coordinates() instead of accessing other.coords directly, and only sets player coordinates when they're non-zero.
$exitwaif::other_side - Fixed to search room.exits instead of room.entrances to find the return exit in the destination room.
Players now arrive at the correct wall position when using exits between spatial rooms.