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
|
return
|
||||||
|
|
||||||
/obj/item/weapon/gun/energy/update_icon()
|
/obj/item/weapon/gun/energy/update_icon()
|
||||||
|
..()
|
||||||
if(charge_meter && power_supply && power_supply.maxcharge)
|
if(charge_meter && power_supply && power_supply.maxcharge)
|
||||||
var/ratio = power_supply.charge / power_supply.maxcharge
|
var/ratio = power_supply.charge / power_supply.maxcharge
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,10 @@
|
|||||||
firemodes = list()
|
firemodes = list()
|
||||||
modifystate = null
|
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)
|
/obj/item/weapon/gun/energy/rifle/icelance/attack_self(mob/living/user as mob)
|
||||||
if(is_charging)
|
if(is_charging)
|
||||||
user << "<span class='warning'>You are already charging \the [src].</span>"
|
user << "<span class='warning'>You are already charging \the [src].</span>"
|
||||||
|
|||||||
6
html/changelogs/alberyk-icelancebuff.yml
Normal file
6
html/changelogs/alberyk-icelancebuff.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
author: Alberyk
|
||||||
|
|
||||||
|
delete-after: True
|
||||||
|
|
||||||
|
changes:
|
||||||
|
- rscadd: "You can now attach bayonets to the icelance rifle."
|
||||||
Reference in New Issue
Block a user