EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

StructureMovedEvent

A pushable stone moved one cell: pushed by a player, or returned home by a puzzle reset.

Signature

{ actor: (ActorRef)?, definition: StructureId, from: Position, kind: "structure_moved", player: (PlayerRef)?, structure: ActorRef, to: Position }

Fields

NameTypeMeaning
actorActorRefActor that pushed it; absent for a reset.
Length: 1…256; Pattern: ^[\s\S]+$
definitionStructureIdIts structure definition.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: structure
fromPositionWhere it stood.
kind"structure_moved"Discriminant
playerPlayerRefPlayer controlling that actor; absent otherwise.
Length: 1…256; Pattern: ^[\s\S]+$
structureActorRefThe stone.
Length: 1…256; Pattern: ^[\s\S]+$
toPositionWhere it stands now.