grenade
![code/game/objects/items/grenades/grenade.dm 1](git.png)
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 | |
resolve | Don't call qdel() directly on the grenade after it booms, call this instead so it can still resolve its pellet_cloud component if it has shrapnel, then the component will qdel it |
Var Details
ex_dev
![code/game/objects/items/grenades/grenade.dm 23](git.png)
how big of a devastation explosion radius on prime
ex_flame
![code/game/objects/items/grenades/grenade.dm 29](git.png)
how big of a flame explosion radius on prime
ex_heavy
![code/game/objects/items/grenades/grenade.dm 25](git.png)
how big of a heavy explosion radius on prime
ex_light
![code/game/objects/items/grenades/grenade.dm 27](git.png)
how big of a light explosion radius on prime
shrapnel_radius
![code/game/objects/items/grenades/grenade.dm 35](git.png)
the higher this number, the more projectiles are created as shrapnel
shrapnel_type
![code/game/objects/items/grenades/grenade.dm 33](git.png)
if set, will spew out projectiles of this type
Proc Details
resolve
Don't call qdel() directly on the grenade after it booms, call this instead so it can still resolve its pellet_cloud component if it has shrapnel, then the component will qdel it