safe

Vars | |
| current_tumbler_index | The index in the tumblers list of the tumbler dial position that needs to be hit |
|---|---|
| dial | The position the dial is pointing to |
| explosion_count | Tough, but breakable if explosion counts reaches set value |
| locked | Whether the safe is locked or not |
| maxspace | The maximum combined w_class of stuff in the safe |
| number_of_tumblers | The amount of tumblers that will be generated |
| open | Whether the safe is open or not |
| space | The combined w_class of everything in the safe |
| tumblers | The list of tumbler dial positions that need to be hit |
Procs | |
| check_broken | Checks if safe is considered in a broken state for force-opening the safe |
| check_unlocked | Called every dial turn to determine whether the safe should unlock or not. |
| notify_user | Called every dial turn to provide feedback if possible. |
Var Details
current_tumbler_index

The index in the tumblers list of the tumbler dial position that needs to be hit
dial

The position the dial is pointing to
explosion_count

Tough, but breakable if explosion counts reaches set value
locked

Whether the safe is locked or not
maxspace

The maximum combined w_class of stuff in the safe
number_of_tumblers

The amount of tumblers that will be generated
open

Whether the safe is open or not
space

The combined w_class of everything in the safe
tumblers

The list of tumbler dial positions that need to be hit
Proc Details
check_broken
Checks if safe is considered in a broken state for force-opening the safe
check_unlocked
Called every dial turn to determine whether the safe should unlock or not.
notify_user
Called every dial turn to provide feedback if possible.