Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

MoveCargoOptions

What moveCargo takes.

Property Type Default value Description
count? number all that fits -
data? (item) => {[key: string]: string | number | boolean | readonly string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | … 4 more … | null)[] | { …; } | null)[] | { …; } | null)[] | { …; } | …[] | {[key: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | … 4 more … | null)[] | { …; } | null)[] | { …; } | null)[] | { …; } | …; } | null; } | undefined each good's own data The data each good lands with, from the good as it left: undefined lands it with none, as a fruit graded at its pick needs. The game’s check sees the good as it left; its commit, the move event and the result see it as it landed.
filter? CargoFilterInput undefined -
from CargoHolder undefined -
station? Entity undefined The station that set it off, for the game’s hooks.
to CargoHolder undefined -