/tg/ Station 13 - Modules - TypesVar Details - Proc Details

flashlight

Vars

disabled_timeIf we've been forcibly disabled for a temporary amount of time.
sound_offThe sound the light makes when it's turned off
sound_onThe sound the light makes when it's turned on
start_onShould the flashlight start turned on?
toggle_contextCan we toggle this light on and off (used for contexual screentips only)

Procs

droppedfor directional sprites - so when we drop the flashlight, it drops facing the same way the user is facing
equippedfor directional sprites - so we get the same sprite in the inventory each time we pick one up
on_saboteurwhen hit by a light disruptor - turns the light off, forces the light to be disabled for a few seconds

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

on_saboteur

when hit by a light disruptor - turns the light off, forces the light to be disabled for a few seconds