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

addCargoStore

addCargoStore(writer, entity, cargoStoreOptions?): void

Gives entity a store of goods, as a <CargoStation> does, or changes its capacity.

Parameter Type
writer EntityAuthority
entity Entity
cargoStoreOptions CargoStoreOptions

void