Smoke Grenade Module + Blob Buff (#24224)

* is good for you

* DESCRIPTION

* fix

* Update code/modules/mod/modules/modules_security.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

---------

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
Marm
2024-03-01 12:38:09 +00:00
committed by GitHub
co-authored by DGamerL
parent f016100149
commit 1f3e991b2a
5 changed files with 30 additions and 5 deletions
@@ -697,6 +697,14 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
cost = 5
surplus = 10
/datum/uplink_item/suits/smoke_grenade
name = "Smoke Grenade Module"
desc = "A module that dispenses primed smoke grenades to disperse crowds."
reference = "SGM"
item = /obj/item/mod/module/dispenser/smoke
cost = 10
surplus = 10
/datum/uplink_item/device_tools/binary
name = "Binary Translator Key"
desc = "A key, that when inserted into a radio headset, allows you to listen to and talk with artificial intelligences and cybernetic organisms in binary. To talk on the binary channel, type :+ before your radio message."
@@ -28,10 +28,5 @@
src.smoke.start()
sleep(10)
src.smoke.start()
for(var/obj/structure/blob/B in view(8,src))
var/damage = round(30/(get_dist(B,src)+1))
B.take_damage(damage, BURN, MELEE, 0)
sleep(80)
qdel(src)
return
@@ -289,3 +289,18 @@
C.reagents.add_reagent("ice", reagent_volume)
qdel(src)
/// Smoke Grenade Module, its tacticool.
/obj/item/mod/module/dispenser/smoke
name = "MOD smoke grenade dispenser module"
desc = "A module that dispenses primed smoke grenades to disperse crowds."
icon_state = "smoke_grenade"
cooldown_time = 10 SECONDS
complexity = 1
overlay_state_inactive = "module_smoke_grenade"
dispense_type = /obj/item/grenade/smokebomb
/obj/item/mod/module/dispenser/smoke/on_use()
var/obj/item/grenade/smokebomb/grenade = ..()
if(!grenade)
return
grenade.attack_self(mod.wearer)
@@ -338,6 +338,13 @@
materials = list(MAT_METAL = 10000, MAT_GLASS = 4000, MAT_SILVER = 2000)
build_path = /obj/item/mod/module/plasma_stabilizer
/datum/design/module/smoke_grenade
name = "Smoke Grenade Module"
id = "mod_smokegrenade"
req_tech = list("materials" = 5, "engineering" = 6, "syndicate" = 2)
materials = list(MAT_METAL = 12500, MAT_SILVER = 12050, MAT_GOLD = 2000, MAT_PLASMA = 5000)
build_path = /obj/item/mod/module/dispenser/smoke
/datum/design/module/plate_compression
name = "Plate Compression Module"
id = "mod_compression"
Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB