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
| Name | Type | Meaning |
|---|---|---|
actor | ActorRef | Paying or collecting actor. Length: 1…256; Pattern: ^[\s\S]+$ |
kind | "craft_cancelled" | Discriminant |
order | number | Station-local order identity. Range: 0…4294967295 |
player | PlayerRef | Controlling player, absent for residents. Length: 1…256; Pattern: ^[\s\S]+$ |
position | Position | Station position at commit. |
refund | {ItemStack} | Committed order payload. Items: 0…64 |
station | ActorRef | Exact 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"
]
}