Rooms and Themes #233
Greymerk
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Integrating rooms into the layout has been its own special challenge. The trick is getting rooms to fit in a location where parts of the corridor layout aren't being orphaned behind obstructed room walls. I wound up having to add wall markers to each "cell" in the floor layout. A cell is single corridor junction (5x5 blocks).
Each cell has 4 possible walls, one for each direction. after the corridor layout is completed, I scan the entire floor for cells adjacent to unoccupied or obstructed spaces, and then add a wall to each cell so that it knows where the open entrances are.
Rooms are then inserted into the layout in places where they do not conflict with the open or closed cell walls. This prevents orphaned passage ways in the floor.
I also managed to provide block themes to the floors. At the moment the layout of the themes is roughly stonebrick/cobble based above Y=0 while Y<0 is deepslate, netherbrick, and blackstone.
It's taken a considerable effort to rebuild all of the helper tools that I use for placing complex blocks, (beds, doors, skulls, etc). I have yet to do redstone components and monster spawners.
Other integration work needed is the "filter" system, which is used to add post generation decoration such as random vines, cobwebs, etc. The treasure system needs to be rebuilt as well.
Beta Was this translation helpful? Give feedback.
All reactions