mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
NT ER-2 Facelift (#10791)
Revamps the sprites of the energy rifle. Y'know, the one that Odin Security gets. Due to artistic differences with Dream Maker and a desire to finally make this PR after, like, a couple months: Wielded sprites are non-functional. However, the gun doesn't turn invisible when you wield it anymore, so that's good.
This commit is contained in:
@@ -35,6 +35,14 @@
|
||||
list(mode_name="lethal", projectile_type=/obj/item/projectile/beam, modifystate="eriflekill", fire_sound='sound/weapons/laser1.ogg')
|
||||
)
|
||||
|
||||
/obj/item/gun/energy/rifle/update_icon()
|
||||
..()
|
||||
if(wielded)
|
||||
item_state = "[initial(icon_state)]-wielded"
|
||||
else
|
||||
item_state = initial(item_state)
|
||||
update_held_icon()
|
||||
|
||||
|
||||
/obj/item/gun/energy/rifle/laser
|
||||
name = "laser rifle"
|
||||
|
||||
Reference in New Issue
Block a user