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

CargoStationProps

Property Type Default value Description
accepts? CargoFilterInput every good The goods it moves, by kind or tag.
activation? CargoActivation CargoActivation.Overlap What sets it off.
capacity? number 10,000, the most a list holds The most goods its own store holds, up to 10,000.
direction CargoDirection undefined Which way it moves goods.
intervalSeconds? number 0.15 Seconds between two goods for one carrier standing in it; 0 moves all that fits at once.
prompt? string "Take" or "Give", by its direction What the interact prompt reads, for CargoActivation.Interact.
radius? number 1.5 Metres from the entity a carrier’s body may stand.
store? CargoStationStore CargoStationStore.Own Whose store it gives from or takes into.
targets? TargetFilter TargetKind.ControlledCharacters Who may use it: kinds and layers add, teams and rules narrow.