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

ResourcesSpawnProps

What resources() adds to CharacterSpawnProps.

Property Type Description
resources? readonly ResourceHandle[] The resources the character has, such as [mana], each from defineResource and installed on the world, from resources({ kinds }) or a plugin’s setup, where its settings say it starts. The character’s own, where a plugin’s onCharacterSpawn gives one to every character. A cast whose cost names one it lacks is refused, and a kind the world has not installed is refused at the spawn, naming the list.