EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

craft_cancelled

Committed station order change.

Signature

{ actor: ActorRef, kind: "craft_cancelled", order: number, player: (PlayerRef)?, position: Position, refund: {ItemStack}, station: ActorRef, station_tags: ({TagId})? }

Fields

NameTypeMeaning
actorActorRefPaying or collecting actor.
Length: 1…256; Pattern: ^[\s\S]+$
kind"craft_cancelled"Discriminant
ordernumberStation-local order identity.
Range: 0…4294967295
playerPlayerRefControlling player, absent for residents.
Length: 1…256; Pattern: ^[\s\S]+$
positionPositionStation position at commit.
refund{ItemStack}Committed order payload.
Items: 0…64
stationActorRefExact station.
Length: 1…256; Pattern: ^[\s\S]+$
station_tags{TagId}Station tags captured for event filtering.
Items: 1…64

Validated example

{
  "actor": "a1",
  "kind": "craft_cancelled",
  "order": 7,
  "player": "p1",
  "position": {
    "map": "m1",
    "x_mm": 0,
    "y_mm": 0,
    "z_mm": 0
  },
  "refund": [
    {
      "count": 1,
      "item": "core:stone"
    }
  ],
  "station": "actor/s1",
  "station_tags": [
    "core:workbench_station"
  ]
}