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:
ChevyChevron
2020-12-16 23:21:46 +02:00
committed by GitHub
parent 41fedaa142
commit 696cfba5fd
3 changed files with 14 additions and 0 deletions
@@ -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"