Skip to content

fix: keep the item and shop room away from the start room - #137

Merged
Joltras merged 2 commits into
devfrom
fix/special-room-placement
Nov 3, 2026
Merged

Joltras merged 2 commits into
devfrom
fix/special-room-placement

Conversation

@Joltras

@Joltras Joltras commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Proposed changes

The item and shop room were placed on the first dead ends of the internal room list, which are usually close to the start, so the item room was directly next to the start room on almost half of all floors. Both rooms are now placed on randomly chosen dead ends, and dead ends next to the start room are only used if there are no others. Floors are also generated again when they only have enough dead ends next to the start room, so the item and shop room are no longer next to the start on any floor. All seeds produce new floors with this change, and the seed stability test pins the new floors.

Types of changes

What types of changes does your code introduce to this project?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

@Joltras
Joltras merged commit 658e4d3 into dev Nov 3, 2026
3 checks passed
@Joltras
Joltras deleted the fix/special-room-placement branch November 3, 2026 21:05
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.

1 participant