Skip to content

Conversation

@Volte6
Copy link
Member

@Volte6 Volte6 commented Apr 30, 2025

Description

The mapper generates a map of rooms in a zone, starting from the Root Room ID.

However, if the zone contains other rooms that are disconnect from the main group of rooms, or are reached via an unconventional exit (doesn't have a coordinate direction it exits to), they are being left out.

While still disconnected, this change allows those areas to have their own sub-maps that are accessed based on roomId now instead of a blanket zone name.

Changes

  • mapper now has a separate cache that maps roomId's to their "zone cache"
  • Simplified the pre-cache logic
  • Renamed GetZoneMapper() => GetMapper()

@Volte6 Volte6 merged commit 970be67 into master Apr 30, 2025
2 checks passed
@Volte6 Volte6 deleted the mapper-fixes branch April 30, 2025 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants