EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

set_block

Place a block of an engine block material in one free, supported cell of a map.

Signature

{ kind: "set_block", material: BlockMaterial, position: BlockPos }

Fields

NameTypeMeaning
kind"set_block"Discriminant
materialBlockMaterialEngine block material, as item.place uses it.
positionBlockPosCell of the block.

Validated example

{
  "kind": "set_block",
  "material": "stone",
  "position": {
    "map": "m1",
    "x_cell": 4,
    "y_cell": 0,
    "z_cell": 7
  }
}