CONTENT CONTRACT · VERSION 1
build
Build the structure of a build recipe for an actor: materials are debited and the structure placed atomically.
Signature
{ actor: ActorRef, kind: "build", position: Position, recipe: RecipeId, yaw_mdeg: Millidegrees }Fields
| Name | Type | Meaning |
|---|---|---|
actor | ActorRef | Building actor. Length: 1…256; Pattern: ^[\s\S]+$ |
kind | "build" | Discriminant |
position | Position | Destination together with its map instance. |
recipe | RecipeId | Build recipe. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: recipe |
yaw_mdeg | Millidegrees | Rotation of the structure. Range: 0…359999; Unit: mdeg |
Validated example
{
"kind": "build",
"structure": "core:wood_wall_structure"
}