Puzzle Lever Order
Puzzle where levers must be activated in the correct order
Campos
| Campo | Tipo | Padrão | Descrição | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
puzzleType | PuzzleType | LEVER_ORDER | —Valores:BLOCK_PUSHLASER_GRIDMEMORY_SEQUENCELEVER_ORDERPATTERN_PLACEMENTCOOP_PRESSUREITEM_FRAMECOMBINATION_LOCKPEDESTAL_OFFERING | ||||||||||||
fact | Ref<CachableFactEntry> | — | — | ||||||||||||
amount | Var<Int> | 1 | — | ||||||||||||
timeLimit | Var<Int> | 0 | — | ||||||||||||
cooldownOnFail | Var<Int> | 0 | — | ||||||||||||
maxAttempts | Var<Int> | 0 | — | ||||||||||||
resetOnWrong | Var<Boolean> | true | — | ||||||||||||
showHints | Var<Boolean> | true | — | ||||||||||||
hintMessage | Var<String> | <yellow>Flip the levers in the correct order! {progress}/{total} | Chat message sent after each step of the puzzle when hints are on. {progress} is the steps done, {total} the steps needed. Leave it empty to send nothing.PlaceholdersCores | ||||||||||||
completionMessage | Var<String> | DEFAULT_PUZZLE_COMPLETION_MESSAGE | Chat message sent once to the player who solves the puzzle. Leave it empty to send nothing.PlaceholdersCores | ||||||||||||
onStart | Ref<TriggerableEntry> | — | — | ||||||||||||
onComplete | Ref<TriggerableEntry> | — | — | ||||||||||||
onFail | Ref<TriggerableEntry> | — | — | ||||||||||||
onTimeout | Ref<TriggerableEntry> | — | — | ||||||||||||
onLifespanExpire | Ref<TriggerableEntry> | — | — | ||||||||||||
lifespan | Var<Int> | 0 | — | ||||||||||||
isShared | Var<Boolean> | false | Share the progression with the players of the group set on the fact: a step, a mistake or the solve by one player applies to the others. Needs a fact with a group; has no effect without one. | ||||||||||||
activationRadius | Var<Double> | DEFAULT_PUZZLE_ACTIVATION_RADIUS | Detection radius in blocks around the levers. The board is only rendered for players standing in their world, within this radius. 0 = no distance limit (the world is still enforced). | ||||||||||||
levers | List<LeverDef> | empty | Levers in this puzzle, each with a position and activation order index. A lever rests in the state it has in the world when the player reaches the board; flipping it toggles it from there, and a wrong order puts every lever back to that rest state.
|
| Campo | Tipo | Padrão | Descrição |
|---|---|---|---|
position | Var<Position> | ORIGIN | World position of the lever block. |
orderIndex | Var<Int> | 0 | Activation order index (0 = first, 1 = second, ...). |
correctSoundSoundwrongSoundSoundsolveSoundSoundwrongOrderMessageVar<String><red>Wrong order — the levers have been reset.Campos comuns do TypeWriter (criteria)
| Campo | Tipo | Padrão | Descrição |
|---|---|---|---|
criteria | List<Criteria> | empty | — |