Partitioning Buildings

First interior wall

Working on some code now that partitions buildings into spaces that can be used to house the city’s various businesses.

Initial vertical partitioning wall

I need to better develop the generators created earlier to populate each space with a business, but I am more worried about implementing z-levels for buildings. I’m not sure how to deal with staircases or elevators, and, more specifically, how I can make sure each space has access to them. Spaces on upper levels obviously can’t have doors on exterior walls :).

Partitioning buildings recursively