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

useCargoCounts

useCargoCounts(entity?): CargoCount[]

Each kind entity carries, the player’s character’s where it is left out, and how many, whatever each good’s data, in the order carrying({ kinds }) lists them: what CargoCounters draws, for a game that draws its own.

Parameter Type
entity? Entity | null

CargoCount[]