Guide 1 Docs 2 Reference 3
1

parts global

Declares named parts of a stored world and the generators that build them; nothing runs on load.

Docs: World

Functions 1

parts.define(def: PartDefinition)

Declares a named part and its generator; nothing runs on load. A generator runs on request, or when its code changes.