mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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"]"
|
||||
|
||||
Reference in New Issue
Block a user