Fixes lockbox variants of automatic projectile weapons conjuring ammo from thin air. (#26081)

* Fixes lockbox variants of automatic projectile weapons and glock receiving ammo 4noraisin.

* lol

* what the fuck

Co-authored-by: scuffedjays <yetanotherscuffed@gmail.com>
This commit is contained in:
FL-OZ
2020-04-06 15:33:45 -04:00
committed by GitHub
parent 92c70e5e59
commit c06a431d76
2 changed files with 5 additions and 1 deletions

View File

@@ -71,6 +71,7 @@
return ..()
/obj/item/weapon/gun/projectile/automatic/lockbox
max_shells = 0
spawn_mag = FALSE
/obj/item/weapon/gun/projectile/automatic/uzi
@@ -181,6 +182,7 @@
return FALSE
/obj/item/weapon/gun/projectile/automatic/xcom/lockbox
max_shells = 0
spawn_mag = FALSE
@@ -351,6 +353,7 @@
update_icon()
/obj/item/weapon/gun/projectile/automatic/vector/lockbox
max_shells = 0
spawn_mag = FALSE
//Vector receivers.

View File

@@ -177,6 +177,7 @@
icon_state = "secglockfancy[chambered ? "" : "-e"][silenced ? "-s" : ""][stored_magazine ? "" : "-m"]"
/obj/item/weapon/gun/projectile/glock/lockbox
max_shells = 0
spawn_mag = FALSE
/obj/item/weapon/gun/projectile/luger
@@ -245,4 +246,4 @@
/obj/item/weapon/gun/projectile/automag/prestige/update_icon()
..()
icon_state = "automag-prestige[chambered ? "" : "-e"]"
icon_state = "automag-prestige[chambered ? "" : "-e"]"