Skip to content

Commit

Permalink
Merge branch 'master' into AA-APC
Browse files Browse the repository at this point in the history
  • Loading branch information
BonniePandora committed Sep 27, 2024
2 parents 15d680b + fdf2f5d commit 2937bad
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions code/game/objects/structures/gun_rack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
/obj/structure/gun_rack/m41/unloaded
populate_type = /obj/item/weapon/gun/rifle/m41aMK1/unloaded

/obj/structure/gun_rack/m41/empty
initial_stored = 0

/obj/structure/gun_rack/type71
icon_state = "type71"
desc = "Some off-branded gun rack. Per SOF and UPPA regulations, weapons should be stored in secure safes and only given out when necessary. Of course, most (but not all!) units overlook this regulation, only storing their firearms in safes when inspection arrives."
Expand All @@ -64,6 +67,9 @@
/obj/structure/gun_rack/type71/unloaded
populate_type = /obj/item/weapon/gun/rifle/type71/unloaded

/obj/structure/gun_rack/type71/empty
initial_stored = 0

/obj/structure/gun_rack/apc
name = "APC ammo compartment"
icon_state = "frontal"
Expand Down Expand Up @@ -120,6 +126,9 @@
/obj/structure/gun_rack/flamer/unloaded
populate_type = /obj/item/weapon/gun/flamer/unloaded

/obj/structure/gun_rack/flamer/empty
initial_stored = 0

/obj/structure/gun_rack/mk221
name = "M120 shotgun rack"
icon_state = "mk221"
Expand All @@ -128,3 +137,6 @@
initial_stored = 2
allowed_type = /obj/item/weapon/gun/shotgun/combat
populate_type = /obj/item/weapon/gun/shotgun/combat

/obj/structure/gun_rack/mk221/empty
initial_stored = 0
2 changes: 1 addition & 1 deletion code/modules/projectiles/ammo_boxes/magazine_boxes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@
/obj/item/ammo_box/magazine/mk1
name = "magazine box (M41A MK1 x 10)"
overlay_ammo_type = "_reg_mk1"
overlay_gun_type = "_mk1"
overlay_gun_type = "_m41"
overlay_content = "_reg"
magazine_type = /obj/item/ammo_magazine/rifle/m41aMK1
allowed_magazines = list(/obj/item/ammo_magazine/rifle/m41aMK1/recon)
Expand Down

0 comments on commit 2937bad

Please sign in to comment.