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

mine

Vars

arm_delayIf set, we default armed to FALSE and set it to TRUE after this long from initializing
armedCan be set to FALSE if we want a short 'coming online' delay, then set to TRUE. Can still be set off by damage
foot_on_mineWho's got their foot on the mine's pressure plate Stepping on the mine will set this to the first mob who stepped over it The mine will not detonate via movement unless the first mob steps off of it
triggeredWe manually check to see if we've been triggered in case multiple atoms cross us in the time between the mine being triggered and it actually deleting, to avoid a race condition with multiple detonations

Procs

can_triggerCan this mine trigger on the passed movable?
mineEffectThe effect of the mine
now_armedIf the landmine was previously inactive, this beeps and displays a message marking it active
triggermineWhen something sets off a mine

Var Details

arm_delay

If set, we default armed to FALSE and set it to TRUE after this long from initializing

armed

Can be set to FALSE if we want a short 'coming online' delay, then set to TRUE. Can still be set off by damage

foot_on_mine

Who's got their foot on the mine's pressure plate Stepping on the mine will set this to the first mob who stepped over it The mine will not detonate via movement unless the first mob steps off of it

triggered

We manually check to see if we've been triggered in case multiple atoms cross us in the time between the mine being triggered and it actually deleting, to avoid a race condition with multiple detonations

Proc Details

can_trigger

Can this mine trigger on the passed movable?

mineEffect

The effect of the mine

now_armed

If the landmine was previously inactive, this beeps and displays a message marking it active

triggermine

When something sets off a mine