EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

move_structure

Move existing furniture between maps or into a finished building, preserving its identity, contents, condition and ownership. Buildings cannot be moved.

Signature

{ inside: (ActorRef)?, kind: "move_structure", position: Position, structure: ActorRef }

Fields

NameTypeMeaning
insideActorRefExisting building whose room receives the structure; absent: use the destination map.
Length: 1…256; Pattern: ^[\s\S]+$
kind"move_structure"Discriminant
positionPositionPreferred destination; coordinates are room-local when inside is supplied, with the nearest free half-metre slot chosen within 6 m. Outdoor moves require the exact position to fit.
structureActorRefExisting structure to move, preserving identity, contents, condition and ownership.
Length: 1…256; Pattern: ^[\s\S]+$

Validated example

{
  "inside": "s2",
  "kind": "move_structure",
  "position": {
    "map": "m1",
    "x_mm": 1000,
    "y_mm": 0,
    "z_mm": 1000
  },
  "structure": "s1"
}