flashlight

Vars | |
| disabled_time | If we've been forcibly disabled for a temporary amount of time. |
|---|---|
| sound_off | The sound the light makes when it's turned off |
| sound_on | The sound the light makes when it's turned on |
| start_on | Should the flashlight start turned on? |
| toggle_context | Can we toggle this light on and off (used for contexual screentips only) |
Procs | |
| dropped | for directional sprites - so when we drop the flashlight, it drops facing the same way the user is facing |
| equipped | for directional sprites - so we get the same sprite in the inventory each time we pick one up |
Var Details
disabled_time

If we've been forcibly disabled for a temporary amount of time.
sound_off

The sound the light makes when it's turned off
sound_on

The sound the light makes when it's turned on
start_on

Should the flashlight start turned on?
toggle_context

Can we toggle this light on and off (used for contexual screentips only)
Proc Details
dropped
for directional sprites - so when we drop the flashlight, it drops facing the same way the user is facing
equipped
for directional sprites - so we get the same sprite in the inventory each time we pick one up