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

LootProps

Property Type Default value Description
count? number 1 How many copies.
id? string none: it comes back A name, unique in the game, that makes it stay taken: the save keeps what is left of it, and a reload lays only that. Without one it lies again, whole, at every load.
item string undefined The registered item it holds.
radius? number 1 Metres from the entity within which the character’s body takes it.
targets? TargetFilter TargetKind.ControlledCharacters Who may take it: kinds and layers add, teams and rules narrow.