BuildingParams
strata-game-library/presets / BuildingParams
Interface: BuildingParams
Defined in: structures/building.ts:12
Building Template
What are the knobs for ANY building? Forms: hut, cabin, tower, barn, temple, bunker, etc.
Properties
baseShape
baseShape:
"square"|"rectangle"|"round"|"hexagon"|"octagon"
Defined in: structures/building.ts:35
Base shape
chimneyHeight
chimneyHeight:
number
Defined in: structures/building.ts:80
Chimney height
columnCount
columnCount:
number
Defined in: structures/building.ts:84
Support columns
columnStyle
columnStyle:
"none"|"square"|"round"|"ornate"
Defined in: structures/building.ts:86
Column style
cornerStyle
cornerStyle:
"sharp"|"rounded"|"chamfered"
Defined in: structures/building.ts:39
Corner style
damage
damage:
number
Defined in: structures/building.ts:104
Damage level
depth
depth:
number
Defined in: structures/building.ts:25
Depth (front-to-back)
doorCount
doorCount:
number
Defined in: structures/building.ts:53
Door count
doorHeight
doorHeight:
number
Defined in: structures/building.ts:57
Door height
doorStyle
doorStyle:
"none"|"simple"|"arched"|"double"|"sliding"
Defined in: structures/building.ts:59
Door style
doorWidth
doorWidth:
number
Defined in: structures/building.ts:55
Door width
floors
floors:
number
Defined in: structures/building.ts:29
Number of floors
foundationHeight
foundationHeight:
number
Defined in: structures/building.ts:17
Foundation height
foundationType
foundationType:
"none"|"slab"|"stilts"|"stone"|"raised"
Defined in: structures/building.ts:15
Foundation type
hasBalcony
hasBalcony:
boolean
Defined in: structures/building.ts:82
Balcony per floor
hasChimney
hasChimney:
boolean
Defined in: structures/building.ts:78
Chimney
hasPorch
hasPorch:
boolean
Defined in: structures/building.ts:74
Porch/deck presence
hasRailing
hasRailing:
boolean
Defined in: structures/building.ts:88
Fence/railing
hasShutters
hasShutters:
boolean
Defined in: structures/building.ts:70
Shutters
overgrown
overgrown:
number
Defined in: structures/building.ts:102
Overgrown with plants (0-1)
porchDepth
porchDepth:
number
Defined in: structures/building.ts:76
Porch depth
roofHeight
roofHeight:
number
Defined in: structures/building.ts:45
Roof height/pitch
roofMaterial
roofMaterial:
"wood"|"metal"|"thatch"|"shingle"|"tile"|"slate"
Defined in: structures/building.ts:94
Roof material
roofOverhang
roofOverhang:
number
Defined in: structures/building.ts:47
Roof overhang
roofThickness
roofThickness:
number
Defined in: structures/building.ts:49
Roof thickness
roofType
roofType:
"none"|"flat"|"peaked"|"gabled"|"hipped"|"dome"|"conical"|"pagoda"
Defined in: structures/building.ts:43
Roof type
stiltCount
stiltCount:
number
Defined in: structures/building.ts:19
Stilt count (if stilts)
trimMaterial
trimMaterial:
"none"|"stone"|"wood"|"metal"
Defined in: structures/building.ts:96
Trim material
wallHeight
wallHeight:
number
Defined in: structures/building.ts:27
Wall height per floor
wallMaterial
wallMaterial:
"stone"|"wood"|"brick"|"mud"|"metal"|"thatch"
Defined in: structures/building.ts:92
Primary wall material
wallSlant
wallSlant:
number
Defined in: structures/building.ts:37
Wall slant (0 = vertical, positive = wider at bottom)
wallThickness
wallThickness:
number
Defined in: structures/building.ts:31
Wall thickness
wear
wear:
number
Defined in: structures/building.ts:100
Age/wear (0 = new, 1 = ruined)
width
width:
number
Defined in: structures/building.ts:23
Width (front-facing)
windowHeight
windowHeight:
number
Defined in: structures/building.ts:66
Window height
windowsPerWall
windowsPerWall:
number
Defined in: structures/building.ts:62
Window count per wall
windowStyle
windowStyle:
"none"|"square"|"round"|"arched"|"slit"
Defined in: structures/building.ts:68
Window style
windowWidth
windowWidth:
number
Defined in: structures/building.ts:64
Window width
