puzzle_combination_lock
A row of buttons or levers acts as a keypad. The player presses them in sequence to enter a code.
Fields
| Field | Type | Description |
|---|---|---|
digits | List<Var<Position>> | Digit button positions. Index 0 is digit 0, index 1 is digit 1, and so on. |
code | List<Var<Int>> | The unlock code as digit indices. [0, 2, 1, 3] means press digits 0, 2, 1 then 3. |
digitPressSound | Sound | Played when a correct digit is pressed. |
wrongDigitSound | Sound | Played when a wrong digit is pressed. |
solveSound | Sound | Played on completion. |
See the shared puzzle fields for lifecycle, timing and trigger options.
How could this be used?
A vault keypad whose code is written on a note found elsewhere — with maxAttempts set to 3 and
cooldownOnFail to a minute, so brute force is not an option.