CONTENT CONTRACT · VERSION 1
structure_built
A structure was built.
Signature
{ builder: ActorRef, definition: StructureId, kind: "structure_built", player: (PlayerRef)?, structure: ActorRef }Fields
| Name | Type | Meaning |
|---|---|---|
builder | ActorRef | Actor that built the structure. Length: 1…256; Pattern: ^[\s\S]+$ |
definition | StructureId | Structure 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 |
player | PlayerRef | Player controlling the actor; absent for AI-controlled actors. Length: 1…256; Pattern: ^[\s\S]+$ |
structure | ActorRef | The new structure. Length: 1…256; Pattern: ^[\s\S]+$ |
Validated example
{
"builder": "a1",
"definition": "core:wood_wall_structure",
"kind": "structure_built",
"player": "p1",
"structure": "s1"
}