Перейти к основному содержимому

Puzzle Combination Lock

Enter the correct code by pressing buttons/levers in sequence

Поля

ПолеТипПо умолчаниюОписание
puzzleTypePuzzleTypeCOMBINATION_LOCK—Значения:BLOCK_PUSHLASER_GRIDMEMORY_SEQUENCELEVER_ORDERPATTERN_PLACEMENTCOOP_PRESSUREITEM_FRAMECOMBINATION_LOCKPEDESTAL_OFFERING
factRef<CachableFactEntry>——
amountVar<Int>1—
timeLimitVar<Int>0—
cooldownOnFailVar<Int>0—
maxAttemptsVar<Int>0—
resetOnWrongVar<Boolean>true—
showHintsVar<Boolean>true—
hintMessageVar<String><yellow>Enter the correct code sequence! {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.ПлейсхолдерыЦвета
completionMessageVar<String>DEFAULT_PUZZLE_COMPLETION_MESSAGEChat message sent once to the player who solves the puzzle. Leave it empty to send nothing.ПлейсхолдерыЦвета
onStartRef<TriggerableEntry>——
onCompleteRef<TriggerableEntry>——
onFailRef<TriggerableEntry>——
onTimeoutRef<TriggerableEntry>——
onLifespanExpireRef<TriggerableEntry>——
lifespanVar<Int>0—
isSharedVar<Boolean>falseShare 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.
activationRadiusVar<Double>DEFAULT_PUZZLE_ACTIVATION_RADIUSDetection radius in blocks. The lock only answers players standing in the world of the digits, within this radius. 0 = no distance limit (the world is still enforced).
digitsList<Var<Position>>emptyDigit button/lever positions. Digits are numbered from 0 in list order: the first position of the list is digit 0, the second is digit 1, and so on.
codeList<Var<Int>>emptyThe unlock code as a list of digit numbers, counted from 0 like in the digits list. With 4 digits (0 to 3), [0, 2, 1, 3] means: press the 1st, 3rd, 2nd then 4th position of the digits list. A number outside 0 to (digits - 1) makes the lock ignore every press; the server log names it.
digitPressSoundSound—Sound played when a digit is pressed (correct step).
wrongDigitSoundSound—Sound played when a wrong digit is pressed.
solveSoundSound—Sound played on puzzle completion.
Общие поля TypeWriter (criteria)
ПолеТипПо умолчаниюОписание
criteriaList<Criteria>empty—