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

DurableProduct

A product bought once and kept, such as a sword or a pass. The platform records that the player owns it, so a save wipe loses nothing.

  • DeclaredFields
Property Type Description
context? undefined None: only a consumable’s grant reads a context.
grant? undefined None: the game asks whether the player owns it instead.
icon string The picture the purchase sheet shows, by its path under the game’s public/ folder, such as icons/sword.png.
kind "durable" Bought once and kept.
name string What the purchase sheet calls it: at most 50 characters.
perPlayerLimit? undefined None: a durable product is bought once.
price number Whole Spawnites, from 10 to 10,000, 100 to the dollar.
retired? boolean No longer for sale; its owners keep it.
stock? number How many the game sells across all its rooms and worlds, from 1; left out, no limit.