Building Definition
The Building Definition asset is the root configuration for a building type. It defines the starting pieces and general constraints for the generation.
How to Create
To create a new Building Definition:
- Right-click in the Content Drawer.
- Navigate to the D3kryption Building Generator menu.
- Select Building Definition.

Foundation Variety
If you add multiple pieces to the Foundation Pieces list, the generator will pick one at random each time you click Generate. This is an easy way to create diverse towns with a single Building Definition.
Properties
| Property | Description |
|---|---|
| Foundation Pieces | A list of Building Piece Definition assets that can serve as the starting point for the building. |
| Max Floors | The maximum number of floors to generate above the foundation. Note that the generation system has a safety limit of 100 recursive loops to prevent infinite generation, though this can be overridden if necessary. |
| Material Palettes | A list of Material Palette assets that can be applied to this building. |