EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

StructureBuiltEvent

A structure was built: placed at once, or a foundation raised by its last hammer step.

Signature

{ builder: ActorRef, definition: StructureId, kind: "structure_built", parent: (ActorRef)?, player: (PlayerRef)?, position: Position, structure: ActorRef }

Fields

NameTypeMeaning
builderActorRefActor that built the structure.
Length: 1…256; Pattern: ^[\s\S]+$
definitionStructureIdStructure definition that was built.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: structure
kind"structure_built"Discriminant
parentActorRefThe building whose room it stands in (furniture in a house or tent); absent outdoors.
Length: 1…256; Pattern: ^[\s\S]+$
playerPlayerRefPlayer controlling the actor; absent for AI-controlled actors.
Length: 1…256; Pattern: ^[\s\S]+$
positionPositionWhere it stands (its anchor point; in a room: the room's coordinates).
structureActorRefThe new structure.
Length: 1…256; Pattern: ^[\s\S]+$