CONTENT CONTRACT · VERSION 1
craft_collected
Committed station order change.
Signature
{ actor: ActorRef, count: PositiveCount, item: ItemId, kind: "craft_collected", order: number, player: (PlayerRef)?, position: Position, station: ActorRef, station_tags: ({TagId})? }Fields
| Name | Type | Meaning |
|---|---|---|
actor | ActorRef | Paying or collecting actor. Length: 1…256; Pattern: ^[\s\S]+$ |
count | PositiveCount | Committed order payload. Range: 1…2147483647; Unit: count |
item | ItemId | Committed order payload. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: item |
kind | "craft_collected" | 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. |
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",
"count": 1,
"item": "core:paving_stone",
"kind": "craft_collected",
"order": 7,
"player": "p1",
"position": {
"map": "m1",
"x_mm": 0,
"y_mm": 0,
"z_mm": 0
},
"station": "actor/s1",
"station_tags": [
"core:workbench_station"
]
}