Adds Stinger Grenades (#29178)

* ballin

* sprite change

* curse of balance

* Update code/game/objects/items/weapons/storage/boxes.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: PopeDaveThe3th <80988376+PopeDaveThe3th@users.noreply.github.com>

---------

Signed-off-by: PopeDaveThe3th <80988376+PopeDaveThe3th@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
PopeDaveThe3th
2025-07-04 15:13:08 -04:00
committed by GitHub
parent 9309ca46fb
commit f0c83f9803
11 changed files with 48 additions and 0 deletions
@@ -17,6 +17,22 @@
create_shrapnel(loc, shrapnel_contained, shrapnel_type = embedded_type)
qdel(src)
/obj/item/grenade/frag/stinger
name = "stingball grenade"
desc = "A specialized less-lethal hand grenade used for police action. Launches hard rubber balls in all directions upon detonation."
icon_state = "stinger"
item_state = "grenade"
det_time = 5 SECONDS
modifiable_timer = FALSE
shrapnel_contained = 50
embedded_type = /obj/item/projectile/bullet/pellet/rubber/stinger
/obj/item/grenade/frag/prime()
update_mob()
explosion(loc, 0, 0, 0, 0, DEFAULT_SHRAPNEL_RANGE + 2, cause = name, breach = FALSE)
create_shrapnel(loc, shrapnel_contained, shrapnel_type = embedded_type)
qdel(src)
/**
* Shrapnel that flies through the air and hits you
*/
@@ -311,6 +311,7 @@
/obj/item/grenade/barrier,
/obj/item/grenade/flashbang,
/obj/item/grenade/chem_grenade/teargas,
/obj/item/grenade/frag/stinger,
/obj/item/reagent_containers/spray/pepper,
/obj/item/restraints/handcuffs,
/obj/item/flash,
@@ -569,6 +569,15 @@
for(var/I in 1 to 7)
new /obj/item/grenade/flashbang(src)
/obj/item/storage/box/stingers
name = "box of stinger grenades (WARNING)"
desc = "<b>WARNING: These devices are dangerous and can cause significant physical harm with repeated use.</b>"
icon_state = "flashbang_box"
/obj/item/storage/box/stingers/populate_contents()
for(var/I in 1 to 7)
new /obj/item/grenade/frag/stinger(src)
/obj/item/storage/box/smoke_grenades
name = "smoke grenades"
desc = "A box with 7 smoke grenades."