Skip to content

Commit

Permalink
Revert "ammo economy rework"
Browse files Browse the repository at this point in the history
This reverts commit ccc6fff.
  • Loading branch information
Zonespace27 committed Aug 5, 2023
1 parent acc9ccc commit c30502a
Show file tree
Hide file tree
Showing 17 changed files with 70 additions and 9 deletions.
2 changes: 2 additions & 0 deletions code/datums/supply_packs/ammo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@
/obj/item/ammo_magazine/rifle,
/obj/item/ammo_magazine/rifle,
/obj/item/ammo_magazine/rifle,
/obj/item/ammo_magazine/rifle/extended,
/obj/item/ammo_magazine/rifle/ap,
/obj/item/ammo_magazine/rifle/incendiary,
/obj/item/ammo_magazine/rifle/m4ra/incendiary,
Expand All @@ -409,6 +410,7 @@
/obj/item/ammo_magazine/smg/m39,
/obj/item/ammo_magazine/smg/m39,
/obj/item/ammo_magazine/smg/m39,
/obj/item/ammo_magazine/smg/m39/extended,
/obj/item/ammo_magazine/smg/m39/ap,
/obj/item/ammo_magazine/smg/m39/ap,
/obj/item/ammo_magazine/revolver,
Expand Down
13 changes: 13 additions & 0 deletions code/datums/supply_packs/weapons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,19 @@
group = "Weapons"

/datum/supply_packs/gun
contains = list(
/obj/item/weapon/gun/rifle/m41aMK1,
/obj/item/weapon/gun/rifle/m41aMK1,
/obj/item/ammo_magazine/rifle/m41aMK1,
/obj/item/ammo_magazine/rifle/m41aMK1,
)
name = "M41A MK1 Rifle Crate (x2 MK1, x2 magazines)"
cost = 40
containertype = /obj/structure/closet/crate/weapon
containername = "M41A MK1 Rifle Crate"
group = "Weapons"

/datum/supply_packs/gun/heavyweapons
contains = list(
/obj/item/storage/box/guncase/lmg,
/obj/item/storage/box/guncase/lmg,
Expand Down
12 changes: 8 additions & 4 deletions code/game/machinery/vending/vendor_types/crew/pilot_officer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ GLOBAL_LIST_INIT(cm_vending_clothing_pilot_officer, list(
list("M30 Tactical Helmet", 0, /obj/item/clothing/head/helmet/marine/pilot, MARINE_CAN_BUY_HELMET, VENDOR_ITEM_MANDATORY),
list("Leather Satchel", 0, /obj/item/storage/backpack/satchel, MARINE_CAN_BUY_BACKPACK, VENDOR_ITEM_MANDATORY),
list("MRE", 0, /obj/item/storage/box/MRE, MARINE_CAN_BUY_MRE, VENDOR_ITEM_MANDATORY),

list("ARMOR (CHOOSE 1)", 0, null, null, null),
list("M70 Flak Jacket", 0, /obj/item/clothing/suit/armor/vest/pilot, MARINE_CAN_BUY_ARMOR, VENDOR_ITEM_MANDATORY),
list("M3-VL Pattern Flak Vest", 0, /obj/item/clothing/suit/storage/marine/light/vest/dcc, MARINE_CAN_BUY_ARMOR, VENDOR_ITEM_MANDATORY),

list("PERSONAL SIDEARM (CHOOSE 1)", 0, null, null, null),
list("88 Mod 4 Combat Pistol", 0, /obj/item/weapon/gun/pistol/mod88, MARINE_CAN_BUY_ATTACHMENT, VENDOR_ITEM_REGULAR),
list("VP78 Pistol", 0, /obj/item/weapon/gun/pistol/vp78, MARINE_CAN_BUY_ATTACHMENT, VENDOR_ITEM_REGULAR),
Expand Down Expand Up @@ -133,7 +133,9 @@ GLOBAL_LIST_INIT(cm_vending_clothing_pilot_officer, list(
list("AMMUNITION", 0, null, null, null),
list("M4RA AP Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/m4ra/ap, null, VENDOR_ITEM_REGULAR),
list("M39 AP Magazine (10x20mm)", 10, /obj/item/ammo_magazine/smg/m39/ap, null, VENDOR_ITEM_REGULAR),
list("M39 Extended Magazine (10x20mm)", 10, /obj/item/ammo_magazine/smg/m39/extended, null, VENDOR_ITEM_REGULAR),
list("M41A AP Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/ap, null, VENDOR_ITEM_REGULAR),
list("M41A Extended Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/extended, null, VENDOR_ITEM_REGULAR),
list("M44 Heavy Speed Loader (.44)", 10, /obj/item/ammo_magazine/revolver/heavy, null, VENDOR_ITEM_REGULAR),

list("UTILITIES", 0, null, null, null),
Expand All @@ -151,8 +153,8 @@ GLOBAL_LIST_INIT(cm_vending_clothing_dropship_crew_chief, list(
list("Gloves", 0, /obj/item/clothing/gloves/yellow, MARINE_CAN_BUY_GLOVES, VENDOR_ITEM_MANDATORY),
list("Patrol Cap", 0, /obj/item/clothing/head/cmcap, MARINE_CAN_BUY_HELMET, VENDOR_ITEM_MANDATORY),
list("Leather Satchel", 0, /obj/item/storage/backpack/satchel, MARINE_CAN_BUY_BACKPACK, VENDOR_ITEM_MANDATORY),
list("MRE", 0, /obj/item/storage/box/MRE, MARINE_CAN_BUY_MRE, VENDOR_ITEM_MANDATORY),

list("MRE", 0, /obj/item/storage/box/MRE, MARINE_CAN_BUY_MRE, VENDOR_ITEM_MANDATORY),
list("ARMOR (CHOOSE 1)", 0, null, null, null),
list("M70 Flak Jacket", 0, /obj/item/clothing/suit/armor/vest/pilot, MARINE_CAN_BUY_ARMOR, VENDOR_ITEM_MANDATORY),
list("M3-VL Pattern Flak Vest", 0, /obj/item/clothing/suit/storage/marine/light/vest/dcc, MARINE_CAN_BUY_ARMOR, VENDOR_ITEM_MANDATORY),
Expand Down Expand Up @@ -221,7 +223,9 @@ GLOBAL_LIST_INIT(cm_vending_clothing_dropship_crew_chief, list(
list("AMMUNITION", 0, null, null, null),
list("M4RA AP Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/m4ra/ap, null, VENDOR_ITEM_REGULAR),
list("M39 AP Magazine (10x20mm)", 10, /obj/item/ammo_magazine/smg/m39/ap, null, VENDOR_ITEM_REGULAR),
list("M39 Extended Magazine (10x20mm)", 10, /obj/item/ammo_magazine/smg/m39/extended, null, VENDOR_ITEM_REGULAR),
list("M41A AP Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/ap, null, VENDOR_ITEM_REGULAR),
list("M41A Extended Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/extended, null, VENDOR_ITEM_REGULAR),
list("M44 Heavy Speed Loader (.44)", 10, /obj/item/ammo_magazine/revolver/heavy, null, VENDOR_ITEM_REGULAR),

list("UTILITIES", 0, null, null, null),
Expand Down
2 changes: 2 additions & 0 deletions code/game/machinery/vending/vendor_types/crew/vehicle_crew.dm
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,10 @@ GLOBAL_LIST_INIT(cm_vending_clothing_vehicle_crew, list(
list("AMMUNITION", 0, null, null, null),
list("M4RA AP Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/m4ra/ap, null, VENDOR_ITEM_REGULAR),
list("M39 AP Magazine (10x20mm)", 10, /obj/item/ammo_magazine/smg/m39/ap , null, VENDOR_ITEM_REGULAR),
list("M39 Extended Magazine (10x20mm)", 10, /obj/item/ammo_magazine/smg/m39/extended , null, VENDOR_ITEM_REGULAR),
list("M40 HEDP Grenade", 10, /obj/item/explosive/grenade/high_explosive, null, VENDOR_ITEM_REGULAR),
list("M41A AP Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/ap , null, VENDOR_ITEM_REGULAR),
list("M41A Extended Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/extended , null, VENDOR_ITEM_REGULAR),
list("M44 Heavy Speed Loader (.44)", 10, /obj/item/ammo_magazine/revolver/heavy, null, VENDOR_ITEM_REGULAR),

list("UTILITIES", 0, null, null, null),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ GLOBAL_LIST_INIT(cm_vending_gear_intelligence_officer, list(
list("PRIMARY AMMUNITION", 0, null, null, null),
list("M4RA AP Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/m4ra/ap, null, VENDOR_ITEM_REGULAR),
list("M39 AP Magazine (10x20mm)", 10, /obj/item/ammo_magazine/smg/m39/ap , null, VENDOR_ITEM_REGULAR),
list("M39 Extended Magazine (10x20mm)", 10, /obj/item/ammo_magazine/smg/m39/extended , null, VENDOR_ITEM_REGULAR),
list("M41A AP Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/ap , null, VENDOR_ITEM_REGULAR),
list("M41A Extended Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/extended , null, VENDOR_ITEM_REGULAR),

list("SIDEARM AMMUNITION", 0, null, null, null),
list("M44 Heavy Speed Loader (.44)", 10, /obj/item/ammo_magazine/revolver/heavy, null, VENDOR_ITEM_REGULAR),
Expand Down
6 changes: 6 additions & 0 deletions code/game/machinery/vending/vendor_types/requisitions.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
list("MOU-53 Shotgun", round(scale * 2), /obj/item/storage/box/guncase/mou53, VENDOR_ITEM_REGULAR),
list("XM88 Heavy Rifle", round(scale * 3), /obj/item/storage/box/guncase/xm88, VENDOR_ITEM_REGULAR),
list("M41AE2 Heavy Pulse Rifle", round(scale * 2.5), /obj/item/storage/box/guncase/lmg, VENDOR_ITEM_REGULAR),
list("M41A Pulse Rifle MK1", round(scale * 3), /obj/item/storage/box/guncase/m41aMK1, VENDOR_ITEM_REGULAR),
list("M56D Heavy Machine Gun", round(scale * 2), /obj/item/storage/box/guncase/m56d, VENDOR_ITEM_REGULAR),
list("M2C Heavy Machine Gun", round(scale * 2), /obj/item/storage/box/guncase/m2c, VENDOR_ITEM_REGULAR),
list("M240 Incinerator Unit", round(scale * 2), /obj/item/storage/box/guncase/flamer, VENDOR_ITEM_REGULAR),
Expand Down Expand Up @@ -235,6 +236,9 @@
list("M41A MK2 AP Magazine (10x24mm)", round(scale * 10.5), /obj/item/ammo_magazine/rifle/ap, VENDOR_ITEM_REGULAR),
list("M4A3 AP Magazine (9mm)", round(scale * 2), /obj/item/ammo_magazine/pistol/ap, VENDOR_ITEM_REGULAR),

list("EXTENDED AMMUNITION", -1, null, null),
list("M39 Extended Magazine (10x20mm)", round(scale * 9.5) + 3, /obj/item/ammo_magazine/smg/m39/extended, VENDOR_ITEM_REGULAR),
list("M41A MK2 Extended Magazine (10x24mm)", round(scale * 8.1), /obj/item/ammo_magazine/rifle/extended, VENDOR_ITEM_REGULAR),

list("SPECIAL AMMUNITION", -1, null, null),
list("M56 Battery", 4, /obj/item/smartgun_battery, VENDOR_ITEM_REGULAR),
Expand All @@ -249,6 +253,8 @@
list("SU-6 Smartpistol Magazine (.45)", round(scale * 12,8), /obj/item/ammo_magazine/pistol/smart, VENDOR_ITEM_REGULAR),
list("M240 Incinerator Tank", round(scale * 3), /obj/item/ammo_magazine/flamer_tank, VENDOR_ITEM_REGULAR),
list("M41AE2 Box Magazine (10x24mm)", round(scale * 3), /obj/item/ammo_magazine/rifle/lmg, VENDOR_ITEM_REGULAR),
list("M41A MK1 Magazine (10x24mm)", round(scale * 4.5), /obj/item/ammo_magazine/rifle/m41aMK1, VENDOR_ITEM_REGULAR),
list("M41A MK1 AP Magazine (10x24mm)", round(scale * 2), /obj/item/ammo_magazine/rifle/m41aMK1/ap, VENDOR_ITEM_REGULAR),
list("M56D Drum Magazine", round(scale * 2), /obj/item/ammo_magazine/m56d, VENDOR_ITEM_REGULAR),
list("M2C Box Magazine", round(scale * 2), /obj/item/ammo_magazine/m2c, VENDOR_ITEM_REGULAR),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ GLOBAL_LIST_INIT(cm_vending_gear_engi, list(
list("AMMUNITION", 0, null, null, null),
list("M4RA AP Magazine (10x24mm)", 6, /obj/item/ammo_magazine/rifle/m4ra/ap, null, VENDOR_ITEM_REGULAR),
list("M39 AP Magazine (10x20mm)", 6, /obj/item/ammo_magazine/smg/m39/ap , null, VENDOR_ITEM_REGULAR),
list("M39 Extended Magazine (10x20mm)", 6, /obj/item/ammo_magazine/smg/m39/extended , null, VENDOR_ITEM_REGULAR),
list("M41A AP Magazine (10x24mm)", 6, /obj/item/ammo_magazine/rifle/ap , null, VENDOR_ITEM_REGULAR),
list("M41A Extended Magazine (10x24mm)", 6, /obj/item/ammo_magazine/rifle/extended , null, VENDOR_ITEM_REGULAR),

list("RESTRICTED FIREARMS", 0, null, null, null),
list("VP78 Pistol", 8, /obj/item/storage/box/guncase/vp78, null, VENDOR_ITEM_REGULAR),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ GLOBAL_LIST_INIT(cm_vending_gear_leader, list(
list("SPECIAL AMMUNITION", 0, null, null, null),
list("M4RA AP Magazine (10x24mm)", 6, /obj/item/ammo_magazine/rifle/m4ra/ap, null, VENDOR_ITEM_REGULAR),
list("M39 AP Magazine (10x20mm)", 6, /obj/item/ammo_magazine/smg/m39/ap , null, VENDOR_ITEM_REGULAR),
list("M39 Extended Magazine (10x20mm)", 6, /obj/item/ammo_magazine/smg/m39/extended , null, VENDOR_ITEM_REGULAR),
list("M41A AP Magazine (10x24mm)", 6, /obj/item/ammo_magazine/rifle/ap , null, VENDOR_ITEM_REGULAR),
list("M41A Extended Magazine (10x24mm)", 6, /obj/item/ammo_magazine/rifle/extended , null, VENDOR_ITEM_REGULAR),
list("M240 Incinerator Tank (Napthal)", 3, /obj/item/ammo_magazine/flamer_tank, null, VENDOR_ITEM_REGULAR),
list("M240 Incinerator Tank (B-Gel)", 3, /obj/item/ammo_magazine/flamer_tank/gellied, null, VENDOR_ITEM_REGULAR),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ GLOBAL_LIST_INIT(cm_vending_gear_medic, list(
list("AMMUNITION", 0, null, null, null),
list("M4RA AP Magazine (10x24mm)", 6, /obj/item/ammo_magazine/rifle/m4ra/ap, null, VENDOR_ITEM_REGULAR),
list("M39 AP Magazine (10x20mm)", 6, /obj/item/ammo_magazine/smg/m39/ap , null, VENDOR_ITEM_REGULAR),
list("M39 Extended Magazine (10x20mm)", 6, /obj/item/ammo_magazine/smg/m39/extended , null, VENDOR_ITEM_REGULAR),
list("M41A AP Magazine (10x24mm)", 6, /obj/item/ammo_magazine/rifle/ap , null, VENDOR_ITEM_REGULAR),
list("M41A Extended Magazine (10x24mm)", 6, /obj/item/ammo_magazine/rifle/extended , null, VENDOR_ITEM_REGULAR),

list("RESTRICTED FIREARMS", 0, null, null, null),
list("VP78 Pistol", 8, /obj/item/storage/box/guncase/vp78, null, VENDOR_ITEM_REGULAR),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@
list("M39 AP Magazine (10x20mm)", round(scale * 3), /obj/item/ammo_magazine/smg/m39/ap, VENDOR_ITEM_REGULAR),
list("M41A AP Magazine (10x24mm)", round(scale * 3), /obj/item/ammo_magazine/rifle/ap, VENDOR_ITEM_REGULAR),

list("EXTENDED AMMUNITION", -1, null, null),
list("M39 Extended Magazine (10x20mm)", round(scale * 1.8), /obj/item/ammo_magazine/smg/m39/extended, VENDOR_ITEM_REGULAR),
list("M41A Extended Magazine (10x24mm)", round(scale * 1.9), /obj/item/ammo_magazine/rifle/extended, VENDOR_ITEM_REGULAR),

list("SPECIAL AMMUNITION", -1, null, null),
list("M56 Smartgun Drum", 1, /obj/item/ammo_magazine/smartgun, VENDOR_ITEM_REGULAR),
list("M44 Heavy Speed Loader (.44)", round(scale * 2), /obj/item/ammo_magazine/revolver/heavy, VENDOR_ITEM_REGULAR),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ GLOBAL_LIST_INIT(cm_vending_clothing_marine, list(
list("AMMUNITION", 0, null, null, null),
list("M4RA AP Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/m4ra/ap, null, VENDOR_ITEM_REGULAR),
list("M39 AP Magazine (10x20mm)", 10, /obj/item/ammo_magazine/smg/m39/ap , null, VENDOR_ITEM_REGULAR),
list("M39 Extended Magazine (10x20mm)", 10, /obj/item/ammo_magazine/smg/m39/extended , null, VENDOR_ITEM_REGULAR),
list("M41A AP Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/ap , null, VENDOR_ITEM_REGULAR),
list("M41A Extended Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/extended , null, VENDOR_ITEM_REGULAR),
list("M44 Heavy Speed Loader (.44)", 10, /obj/item/ammo_magazine/revolver/heavy, null, VENDOR_ITEM_REGULAR),

list("UTILITIES", 0, null, null, null),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ GLOBAL_LIST_INIT(cm_vending_gear_tl, list(
list("AMMUNITION", 0, null, null, null),
list("M4RA AP Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/m4ra/ap, null, VENDOR_ITEM_REGULAR),
list("M39 AP Magazine (10x20mm)", 10, /obj/item/ammo_magazine/smg/m39/ap , null, VENDOR_ITEM_REGULAR),
list("M39 Extended Magazine (10x20mm)", 10, /obj/item/ammo_magazine/smg/m39/extended , null, VENDOR_ITEM_REGULAR),
list("M41A AP Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/ap , null, VENDOR_ITEM_REGULAR),
list("M41A Extended Magazine (10x24mm)", 10, /obj/item/ammo_magazine/rifle/extended , null, VENDOR_ITEM_REGULAR),
list("M44 Heavy Speed Loader (.44)", 10, /obj/item/ammo_magazine/revolver/heavy, null, VENDOR_ITEM_REGULAR),
list("M4A3 HP Magazine", 5, /obj/item/ammo_magazine/pistol/hp, null, VENDOR_ITEM_REGULAR),
list("M4A3 AP Magazine", 5, /obj/item/ammo_magazine/pistol/ap, null, VENDOR_ITEM_REGULAR),
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/storage/backpack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@
throw_range = 0
xeno_types = null
var/base_icon_state = "ammo_pack"
var/move_delay_mult = 0.6
var/move_delay_mult = 0.4

/obj/item/storage/backpack/marine/ammo_rack/update_icon()
. = ..()
Expand Down
4 changes: 2 additions & 2 deletions code/game/objects/structures/crates_lockers/largecrate.dm
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,12 @@
/obj/item/ammo_magazine/pistol,
/obj/item/ammo_magazine/revolver,
/obj/item/ammo_magazine/rifle,
/obj/item/ammo_magazine/rifle,
/obj/item/ammo_magazine/rifle/extended,
/obj/item/ammo_magazine/shotgun,
/obj/item/ammo_magazine/shotgun/buckshot,
/obj/item/ammo_magazine/shotgun/flechette,
/obj/item/ammo_magazine/smg/m39,
/obj/item/ammo_magazine/smg/m39,
/obj/item/ammo_magazine/smg/m39/extended,
)

/obj/structure/largecrate/random/mini/med
Expand Down
5 changes: 3 additions & 2 deletions code/modules/projectiles/ammo_boxes/ammo_boxes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

/obj/item/ammo_box/proc/deploy_ammo_box(mob/user, turf/T)
user.drop_held_item()

//---------------------FIRE HANDLING PROCS
/obj/item/ammo_box/flamer_fire_act(severity, datum/cause_data/flame_cause_data)
if(burning)
Expand Down Expand Up @@ -260,9 +260,10 @@

/obj/item/ammo_box/rounds
name = "\improper rifle ammunition box (10x24mm)"
desc = "A 10x24mm ammunition box. Used to refill M41A MK1, MK2, M4RA and M41AE2 HPR magazines."
desc = "A 10x24mm ammunition box. Used to refill M41A MK1, MK2, M4RA and M41AE2 HPR magazines. It comes with a leather strap allowing to wear it on the back."
icon_state = "base_m41"
item_state = "base_m41"
flags_equip_slot = SLOT_BACK
var/overlay_gun_type = "_rounds" //used for ammo type color overlay
var/overlay_content = "_reg"
var/default_ammo = /datum/ammo/bullet/rifle
Expand Down
1 change: 1 addition & 0 deletions code/modules/projectiles/ammo_boxes/handful_boxes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/obj/item/ammo_box/magazine/shotgun
name = "\improper shotgun shell box (Slugs x 100)"
icon_state = "base_slug"
flags_equip_slot = SLOT_BACK
overlay_ammo_type = ""
overlay_gun_type = "_shells"
overlay_content = "_slug"
Expand Down
16 changes: 16 additions & 0 deletions code/modules/projectiles/ammo_boxes/magazine_boxes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

/obj/item/ammo_box/magazine/ap
name = "\improper magazine box (AP M41A x 10)"
flags_equip_slot = SLOT_BACK
overlay_ammo_type = "_ap"
overlay_content = "_ap"
magazine_type = /obj/item/ammo_magazine/rifle/ap
Expand All @@ -11,6 +12,7 @@

/obj/item/ammo_box/magazine/le
name = "\improper magazine box (LE M41A x 10)"
flags_equip_slot = SLOT_BACK
overlay_ammo_type = "_le"
overlay_content = "_le"
magazine_type = /obj/item/ammo_magazine/rifle/le
Expand All @@ -20,6 +22,7 @@

/obj/item/ammo_box/magazine/ext
name = "\improper magazine box (Ext M41A x 8)"
flags_equip_slot = SLOT_BACK
overlay_ammo_type = "_ext"
num_of_magazines = 8
magazine_type = /obj/item/ammo_magazine/rifle/extended
Expand All @@ -29,6 +32,7 @@

/obj/item/ammo_box/magazine/incen
name = "\improper magazine box (Incen M41A x 10)"
flags_equip_slot = SLOT_BACK
overlay_ammo_type = "_incen"
overlay_content = "_incen"
magazine_type = /obj/item/ammo_magazine/rifle/incendiary
Expand All @@ -38,6 +42,7 @@

/obj/item/ammo_box/magazine/explosive
name = "\improper magazine box (Explosive M41A x 10)"
flags_equip_slot = SLOT_BACK
overlay_ammo_type = "_expl"
overlay_content = "_expl"
magazine_type = /obj/item/ammo_magazine/rifle/explosive
Expand All @@ -47,6 +52,7 @@

/obj/item/ammo_box/magazine/heap
name = "magazine box (HEAP M41A x 10)"
flags_equip_slot = SLOT_BACK
overlay_ammo_type = "_heap"
overlay_content = "_heap"
magazine_type = /obj/item/ammo_magazine/rifle/heap
Expand All @@ -59,6 +65,7 @@
/obj/item/ammo_box/magazine/m39
name = "\improper magazine box (M39 x 12)"
icon_state = "base_m39"
flags_equip_slot = SLOT_BACK
overlay_ammo_type = "_reg"
overlay_gun_type = "_m39"
overlay_content = "_hv"
Expand Down Expand Up @@ -119,6 +126,7 @@
/obj/item/ammo_box/magazine/m4ra
name = "\improper magazine box (M4RA x 16)"
icon_state = "base_m4ra"
flags_equip_slot = SLOT_BACK
overlay_gun_type = "_m4ra"
num_of_magazines = 16
magazine_type = /obj/item/ammo_magazine/rifle/m4ra
Expand Down Expand Up @@ -167,6 +175,7 @@
/obj/item/ammo_box/magazine/l42a
name = "\improper magazine box (L42A x 16)"
icon_state = "base_l42"
flags_equip_slot = SLOT_BACK
overlay_gun_type = "_l42"
num_of_magazines = 16
magazine_type = /obj/item/ammo_magazine/rifle/l42a
Expand Down Expand Up @@ -225,6 +234,7 @@
/obj/item/ammo_box/magazine/M16
name = "\improper magazine box (M16 x 12)"
icon_state = "base_m16"
flags_equip_slot = SLOT_BACK
overlay_ammo_type = "_reg"
overlay_gun_type = "_m16"
num_of_magazines = 12
Expand All @@ -249,6 +259,7 @@
/obj/item/ammo_box/magazine/m4a3
name = "\improper magazine box (M4A3 x 16)"
icon_state = "base_m4a3"
flags_equip_slot = SLOT_BACK
overlay_ammo_type = "_reg"
overlay_gun_type = "_m4a3"
num_of_magazines = 16
Expand Down Expand Up @@ -280,6 +291,7 @@
/obj/item/ammo_box/magazine/m44
name = "\improper speed loaders box (M44 x 16)"
icon_state = "base_m44"
flags_equip_slot = SLOT_BACK
overlay_ammo_type = "_m44_reg"
overlay_gun_type = "_m44"
overlay_content = "_speed"
Expand Down Expand Up @@ -310,6 +322,7 @@
/obj/item/ammo_box/magazine/su6
name = "\improper magazine box (SU-6 x 16)"
icon_state = "base_su6"
flags_equip_slot = SLOT_BACK
overlay_ammo_type = "_reg"
overlay_gun_type = "_su6"
num_of_magazines = 16
Expand All @@ -323,6 +336,7 @@
/obj/item/ammo_box/magazine/mod88
name = "\improper magazine box (88 Mod 4 AP x 16)"
icon_state = "base_mod88"
flags_equip_slot = SLOT_BACK
overlay_ammo_type = "_ap"
overlay_gun_type = "_mod88"
overlay_content = "_ap"
Expand All @@ -337,6 +351,7 @@
/obj/item/ammo_box/magazine/vp78
name = "\improper magazine box (VP78 x 16)"
icon_state = "base_vp78"
flags_equip_slot = SLOT_BACK
overlay_ammo_type = "_reg"
overlay_gun_type = "_vp78"
num_of_magazines = 16
Expand All @@ -350,6 +365,7 @@
/obj/item/ammo_box/magazine/type71
name = "\improper magazine box (Type71 x 10)"
icon_state = "base_type71"
flags_equip_slot = SLOT_BACK
overlay_ammo_type = "_type71_reg"
overlay_gun_type = "_type71"
overlay_content = "_type71_reg"
Expand Down

0 comments on commit c30502a

Please sign in to comment.