Experimental

An early preview: docs, the API and the dashboard may change or break.

Report a problem
Typecontent.luau

StructureDef

A structure read from structures/<map>.embermap when content is built. marker, where and facing must pick exactly one marker; every cell of box is read, air included, and must be in a saved chunk. The structure faces the marker's way.

Fields

structureDef.box: StructureBox
#

the cells to read, in the marker's frame

structureDef.facing: Heading?
#

the way the marker must face; omitted, any

structureDef.map: string
#

the structure map's name under structures/, without .embermap

structureDef.marker: string
#

the marker's name

structureDef.where: { [string]: string }?
#

properties the marker must have, each with this value