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

StatsTrait

const StatsTrait: Trait<() => Record<string, Stat>>

An entity’s stats by name. The verbs write a new record, so a reader of the trait sees each change.