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

setCarryCapacity

setCarryCapacity(writer, carrier, capacity): void

Changes a carrier’s capacity. A capacity lowered under what it holds destroys nothing: it takes no more until it holds less.

Parameter Type
writer EntityAuthority
carrier Entity
capacity number

void