Skip to content

Allow changing minimap tiles with hatches that exist in multiple versions of same room#209

Merged
Miepee merged 1 commit intomainfrom
map-tile-fix
Dec 12, 2025
Merged

Allow changing minimap tiles with hatches that exist in multiple versions of same room#209
Miepee merged 1 commit intomainfrom
map-tile-fix

Conversation

@biosp4rk
Copy link
Copy Markdown
Collaborator

Minimap changes don't need to track what room a hatch is in, only the coordinates. I added a check to make sure the same tile isn't changed in two different ways

I also removed some blank tile IDs that should be reserved for new transparent tiles


MinimapLocation = tuple[int, int, RoomId]
"""`(X, Y, RoomId)`"""
MinimapLocation = tuple[int, int]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes me wonder if this should be a namedtuple
but its probably not used often enough? and afaik we're basically always unpacking the tuple anyway.

@Miepee Miepee merged commit b6e95b6 into main Dec 12, 2025
8 checks passed
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