Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commitdd348ac6c3

README.md

procgen.cancel

Cancels the cook in flight on an entity's Generator: it stops at its next checkpoint and is recorded cancelled in procgen.cooks, and what the generator stood before stays standing. Reach for it when a param change set off a cook too heavy to wait for.

entity names the entity carrying the Generator, by id or name; an entity that carries none is refused.

tools.use("procgen", "cancel", { entity = "Box" })

Part of procgen.toolbox, called as tools.use("procgen", "cancel", ...) (zero procgen cancel in the engine shell). Returns { entity, cancelled }: the entity's id, and whether a cook was in flight to cancel.