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
| Name | Type | Meaning |
|---|---|---|
actor | ActorRef | Actor that pushed it; absent for a reset. Length: 1…256; Pattern: ^[\s\S]+$ |
definition | StructureId | Its structure definition. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: structure |
from | Position | Where it stood. |
kind | "structure_moved" | Discriminant |
player | PlayerRef | Player controlling that actor; absent otherwise. Length: 1…256; Pattern: ^[\s\S]+$ |
structure | ActorRef | The stone. Length: 1…256; Pattern: ^[\s\S]+$ |
to | Position | Where it stands now. |