EverambleGAME API / 1

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

NameTypeMeaning
actorActorRefBuilding actor.
Length: 1…256; Pattern: ^[\s\S]+$
kind"build"Discriminant
positionPositionDestination together with its map instance.
recipeRecipeIdBuild recipe.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: recipe
yaw_mdegMillidegreesRotation of the structure.
Range: 0…359999; Unit: mdeg

Validated example

{
  "kind": "build",
  "structure": "core:wood_wall_structure"
}