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

CargoTransferContext

What onCargoTransfer reads: a transfer that moved, and the authority to write beside it inside its transaction.

Property Type Description
carrier Entity | null The carrier on either side, or null for a move between stores.
from Entity | null Where the goods leave: a carrier, a store, or null for recovery.
items readonly object[] -
station Entity | null The station that set it off, or null for a verb’s own call.
to Entity | null Where they go, the same way.
world World -
writer Authority -