gizmo_puzzle 
Holds the puzzle sequences, receives the pulses, decides if theyre correct, and gives feedback and calls the right callbacks when it does
Vars | |
| code_length | How long a code sequence can be |
|---|---|
| code_sequences | The codes that got generated, formatted as (1 = list(CRYPTIC_WIRE_5, CRYPTIC_WIRE_3, CRYPTIC_WIRE_7, 2 = list(...))) |
| cryptic_pulse | The wires we need to pulse for cracking the code |
| current_sequence | The current sequence we're on. Will reset if it doesn't match anything |
| feedback_cooldown_time | So the ping buzz feedback doesnt spam too much |
| pulsed_callback | For if you want something to happen on merely being pulsed. If null, simply ping, bleep and creak or whatever as feedback |
| solution_callbacks | List of callbacks that the solutions will call on succes |
Procs | |
| default_on_pulsed | Just some feedback so people can start forcing sequences. No feedback if it's done automatically |
| generate_code_sequences | Make up a sequence |
| on_pulse | Whenever a puzzle attempt is made |
Var Details
code_length 
How long a code sequence can be
code_sequences 
The codes that got generated, formatted as (1 = list(CRYPTIC_WIRE_5, CRYPTIC_WIRE_3, CRYPTIC_WIRE_7, 2 = list(...)))
cryptic_pulse 
The wires we need to pulse for cracking the code
current_sequence 
The current sequence we're on. Will reset if it doesn't match anything
feedback_cooldown_time 
So the ping buzz feedback doesnt spam too much
pulsed_callback 
For if you want something to happen on merely being pulsed. If null, simply ping, bleep and creak or whatever as feedback
solution_callbacks 
List of callbacks that the solutions will call on succes
Proc Details
default_on_pulsed
Just some feedback so people can start forcing sequences. No feedback if it's done automatically
generate_code_sequences
Make up a sequence
on_pulse
Whenever a puzzle attempt is made