Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dungeon levels can generate rooms disconnected from the rest of the map #25

Open
Lyle-Tafoya opened this issue Nov 24, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Lyle-Tafoya
Copy link
Owner

I fixed an infinite loop during level generation with 8a31294. However, this was only a partial fix. While it can no longer get stuck in an infinite loop, it is now possible for it to generate a dungeon in which there is no corridor connecting one or more rooms to the rest of the dungeon. On some occasions, this may leave the player with no obvious way to progress through the dungeon without tunneling at random to find the room. Better than encountering an infinite loop when going down a staircase, but this should still receive a proper fix eventually. The room_level function should probably be reworked at some point to deal with this. As far as I know, other level types are not effected by this issue.

@Lyle-Tafoya Lyle-Tafoya added the bug Something isn't working label Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant