mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-20 15:12:19 +00:00
Allows icelance rifles to be equipped with bayonets (#5895)
This commit is contained in:
@@ -94,6 +94,7 @@
|
||||
return
|
||||
|
||||
/obj/item/weapon/gun/energy/update_icon()
|
||||
..()
|
||||
if(charge_meter && power_supply && power_supply.maxcharge)
|
||||
var/ratio = power_supply.charge / power_supply.maxcharge
|
||||
|
||||
|
||||
@@ -19,6 +19,10 @@
|
||||
firemodes = list()
|
||||
modifystate = null
|
||||
|
||||
can_bayonet = TRUE
|
||||
knife_x_offset = 23
|
||||
knife_y_offset = 13
|
||||
|
||||
/obj/item/weapon/gun/energy/rifle/icelance/attack_self(mob/living/user as mob)
|
||||
if(is_charging)
|
||||
user << "<span class='warning'>You are already charging \the [src].</span>"
|
||||
|
||||
Reference in New Issue
Block a user