SS1984 - Modules - TypesVar Details - Proc Details

grenade

Vars

activeWill it detonate soon?
det_timeTime between activation and detonation
display_timerAre we able to see the detonation time on examine?
shrapnel_initializedDid we add the component responsible for spawning shrapnel to this?
shrapnel_radiusthe higher this number, the more projectiles are created as shrapnel
shrapnel_typeif set, will spew out projectiles of this type

Procs

arm_grenadearm_grenade (formerly preprime) refers to when a grenade with a standard time fuze is activated, making it go beepbeepbeep and then detonate a few seconds later. Grenades with other triggers like remote igniters probably skip this step and go straight to [/obj/item/grenade/proc/detonate]

Var Details

active

Will it detonate soon?

det_time

Time between activation and detonation

display_timer

Are we able to see the detonation time on examine?

shrapnel_initialized

Did we add the component responsible for spawning shrapnel to this?

shrapnel_radius

the higher this number, the more projectiles are created as shrapnel

shrapnel_type

if set, will spew out projectiles of this type

Proc Details

arm_grenade

arm_grenade (formerly preprime) refers to when a grenade with a standard time fuze is activated, making it go beepbeepbeep and then detonate a few seconds later. Grenades with other triggers like remote igniters probably skip this step and go straight to [/obj/item/grenade/proc/detonate]