Skip to content

Commit

Permalink
Update _box_magazine.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Auris456852 committed Oct 1, 2023
1 parent 2e5bf74 commit 1455af8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/projectiles/boxes_magazines/_box_magazine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,15 @@
/obj/item/ammo_box/AltClick(mob/user)
if(ishuman(user))
var/mob/living/carbon/human/H = user
if((H.l_store == src || H.r_store == src) && !(caliber || istype(src, /obj/item/ammo_box/magazine) || instant_load)) //caliber because boxes have none, instant load because speedloaders use the base ammo box type with instant load on, and magazine for the obvious.
if((user.is_holding(src) ||H.l_store == src || H.r_store == src) && !(caliber || istype(src, /obj/item/ammo_box/magazine) || instant_load)) //caliber because boxes have none, instant load because speedloaders use the base ammo box type with instant load on, and magazine for the obvious.
attack_self(user)
return
..()

/obj/item/ammo_box/examine(mob/user)
. = ..()
if(!(caliber || istype(src, /obj/item/ammo_box/magazine) || instant_load))
. += "Alt-click on [src] while it in a pocket to take out a round while it is in your pocket."
. += "Alt-click on [src] while it in a pocket or your off-hand to take out a round while it is there."

/obj/item/ammo_box/magazine
w_class = WEIGHT_CLASS_SMALL //Default magazine weight, only differs for tiny mags and drums
Expand Down

0 comments on commit 1455af8

Please sign in to comment.