registerResource
registerResource(
writer,handle):Disposer
Installs handle on the world writer sets up, so a character may be
given it, a cost may name it and its bar may draw it there: what
resources({ kinds }) does for each kind of its list, and what a
plugin that owns a resource does in its setup, on the room and on
every page. The return takes it off while it is still the one
installed. A second resource under one name on one world throws,
naming both, and one handle installed twice throws too.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
SetupWriter |
handle |
ResourceHandle |