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

Houses have randomized floors #395

Merged
merged 31 commits into from
Sep 23, 2024
Merged

Conversation

snipercup
Copy link
Collaborator

Fixes #392
Requires #394

The floors in generichouse are now randomized. First I added a new area for each room and each floor, ending up with about 22 areas. This was a bit much, so I adjusted the algorithm so that a tile is picked per cluster of tiles. A cluster is a group of adjacent tiles that are separated from another group in the same area. This allows us to have one area for all living rooms, for example.

Also fixed a bug where painter areas were not saved or properly renamed.

@snipercup snipercup added the enhancement New feature or request label Sep 20, 2024
@snipercup snipercup mentioned this pull request Sep 20, 2024
@snipercup snipercup merged commit 8c8ca35 into Khaligufzel:main Sep 23, 2024
@snipercup snipercup deleted the house-floor branch September 23, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Let houses have randomized floors
1 participant