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

NpcSpawnTrait

const NpcSpawnTrait: CoreTrait<{ refusal: NpcSpawnRefusal | null; }>

On each character no player controls whose body the engine refused to build: why, or null once its body is built. Read it with readTrait(npc, NpcSpawnTrait). The engine writes it, and a game never writes it.