Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Добавлены коробки с взрывающимеся гранатми для гранатомета в заказы карго #13734

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
11 changes: 11 additions & 0 deletions code/game/objects/items/weapons/storage/boxes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,17 @@
for(var/i in 1 to 7)
new /obj/item/ammo_casing/r4046/chem/EMP(src)

//Explosion 40x46mm
/obj/item/weapon/storage/box/r4046/explosion
name = "box of 40x46mm explosion grenades (WARNING)"
desc = "<span class='bold'>WARNING: These devices are extremely dangerous and can cause injury.</span>"
icon_state = "4046_box(exp)"

/obj/item/weapon/storage/box/r4046/explosion/atom_init()
. = ..()
for(var/i in 1 to 7)
new /obj/item/ammo_casing/r4046/explosive(src)

//EMPs
/obj/item/weapon/storage/box/emps
name = "box of emp grenades"
Expand Down
10 changes: 10 additions & 0 deletions code/modules/cargo/packs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,16 @@ var/global/list/all_supply_groups = list("Operations","Security","Hospitality","
access = access_armory
group = "Security"

/datum/supply_pack/ballistic/exp4046
name = "40x46mm explosion grenades"
contains = list(/obj/item/weapon/storage/box/r4046/explosion,
/obj/item/weapon/storage/box/r4046/explosion)
additional_costs = 520
crate_type = /obj/structure/closet/crate/secure
crate_name = "40x46mm explosion grenades"
access = access_armory
group = "Security"

/datum/supply_pack/ballistic/m79
name = "m79 grenade launcher"
contains = list(/obj/item/weapon/gun/projectile/grenade_launcher/m79,
Expand Down
Binary file modified icons/obj/storage.dmi
Binary file not shown.
Loading