grenade

Vars | |
ex_dev | how big of a devastation explosion radius on prime |
---|---|
ex_flame | how big of a flame explosion radius on prime |
ex_heavy | how big of a heavy explosion radius on prime |
ex_light | how big of a light explosion radius on prime |
shrapnel_radius | the higher this number, the more projectiles are created as shrapnel |
shrapnel_type | if set, will spew out projectiles of this type |
Procs | |
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 |
detonate | detonate (formerly prime) refers to when the grenade actually delivers its payload (whether or not a boom/bang/detonation is involved) |
Var Details
ex_dev

how big of a devastation explosion radius on prime
ex_flame

how big of a flame explosion radius on prime
ex_heavy

how big of a heavy explosion radius on prime
ex_light

how big of a light explosion radius on prime
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
detonate
detonate (formerly prime) refers to when the grenade actually delivers its payload (whether or not a boom/bang/detonation is involved)
Arguments:
- lanced_by- If this grenade was detonated by an elance, we need to pass that along with the COMSIG_GRENADE_DETONATE signal for pellet clouds