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

interaction_booby_trap

Attached to an atom, creates an explosion when it is interacted with

Vars

active_sound_loopLooping sound to clue people in that something is up
additional_triggersList of additional signals which should make this explode
defuse_toolUsing this tool on the atom will defuse the explosive
explode_timerTime until we explode
explosion_heavy_rangeExplosion radius of heavy damage
explosion_light_rangeExplosion radius of light damage
on_defused_callbackCallback to run when we've been defused
on_triggered_callbackCallback to run when we're going to explode
trigger_delayTime to wait between being triggered and blowing up
triggered_soundSound to play when triggered

Procs

explodeBlow up the parent atom and delete ourselves
on_defusedDefuse the bomb and delete ourselves
on_examineGive people a little hint
on_touchedCalled when someone touches the parent atom with their hands, we want to blow up
trigger_explosiveStart a countdown until destruction

Var Details

active_sound_loop

Looping sound to clue people in that something is up

additional_triggers

List of additional signals which should make this explode

defuse_tool

Using this tool on the atom will defuse the explosive

explode_timer

Time until we explode

explosion_heavy_range

Explosion radius of heavy damage

explosion_light_range

Explosion radius of light damage

on_defused_callback

Callback to run when we've been defused

on_triggered_callback

Callback to run when we're going to explode

trigger_delay

Time to wait between being triggered and blowing up

triggered_sound

Sound to play when triggered

Proc Details

explode

Blow up the parent atom and delete ourselves

on_defused

Defuse the bomb and delete ourselves

on_examine

Give people a little hint

on_touched

Called when someone touches the parent atom with their hands, we want to blow up

trigger_explosive

Start a countdown until destruction