Skip to content

Commit

Permalink
Merge branch 'master' into folder-icon-update
Browse files Browse the repository at this point in the history
  • Loading branch information
AndroBetel committed Sep 27, 2024
2 parents f78ee1d + fdf2f5d commit 4be0a98
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions code/game/machinery/vending/vendor_types/medical.dm
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@
)

/obj/structure/machinery/cm_vending/sorted/medical/Destroy()
STOP_PROCESSING(SSslowobj, src)
QDEL_NULL(last_health_display)
. = ..()

Expand Down
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 @@ -104,6 +110,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 @@ -112,3 +121,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 4be0a98

Please sign in to comment.