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

MapObjectTrait

const MapObjectTrait: Trait<{ fields: () => Readonly<Record<string, unknown>>; kind: string; seed: number; }>

A placed map object’s kind, its fields as its entry and the defaults give them, and its seed: what a system finds every lamppost by, and what a write that redraws it changes.