EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

structure_built

A structure was built.

Signature

{ builder: ActorRef, definition: StructureId, kind: "structure_built", player: (PlayerRef)?, 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
playerPlayerRefPlayer controlling the actor; absent for AI-controlled actors.
Length: 1…256; Pattern: ^[\s\S]+$
structureActorRefThe new structure.
Length: 1…256; Pattern: ^[\s\S]+$

Validated example

{
  "builder": "a1",
  "definition": "core:wood_wall_structure",
  "kind": "structure_built",
  "player": "p1",
  "structure": "s1"
}