Skip to main content

Puzzle Chain

Chain of puzzles -

Fields

FieldTypeDefaultDescription
puzzleEntryIdsList<String>emptyList of puzzle entry IDs to chain in order.
onChainCompleteRef<TriggerableEntry>—Trigger fired when the entire chain is completed.
onChainFailRef<TriggerableEntry>—Trigger fired when a puzzle in the chain fails.
resetOnFailVar<Boolean>trueIf true, failing any puzzle resets the entire chain.
Common TypeWriter fields (criteria, modifiers)
FieldTypeDefaultDescription
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—

How to use it​

A chain runs several puzzles one after the other. puzzleEntryIds lists the entry ids of the puzzles in order. Start it with /typewriter puzzle chain <id> (the entry id or the name of the chain): the player joins the first puzzle, and each solved puzzle starts the next one. onChainComplete runs after the last puzzle. When a puzzle fails (wrong reset, timeout, attempts or lifespan), onChainFail runs, and with resetOnFail on the chain is cancelled for the player. The chain refuses to start if one of the ids is not a registered puzzle. In this release, the command is the only way to start a chain.