carryingSaves
constcarryingSaves:object
One record for each station’s store: its goods and its capacity. A
game lists it so a restart keeps a hopper’s fruit and a tree’s waiting
harvest: defineGame({ worldSaves: { ...carryingSaves } }).
Type Declaration
Section titled “Type Declaration”| Name | Type |
|---|---|
cargoStores |
EachSaveDeclaration<NumberTypedTrait<WithFields<Trait<{ capacity: number; items: ListSchemaField<CargoItem>; }>, CollectionHandles<{ capacity: number; items: ListSchemaField<CargoItem>; }, Trait<{ capacity: number; items: ListSchemaField<CargoItem>; }>>>, { capacity: "float64"; }>> |