Merge pull request #7651 from paprka/tacticalfleshlight

makes flashlight attaching more modular
This commit is contained in:
Cheridan
2015-02-12 07:55:26 -06:00
3 changed files with 3 additions and 2 deletions

View File

@@ -83,9 +83,9 @@
overlays.Cut()
if(F)
if(F.on)
overlays += "flight-on"
overlays += "flight-[initial(icon_state)]-on"
else
overlays += "flight"
overlays += "flight-[initial(icon_state)]"
return
/obj/item/weapon/gun/energy/ui_action_click()

View File

@@ -27,6 +27,7 @@
icon_state = "pulse_carbine"
item_state = "pulse"
cell_type = "/obj/item/weapon/stock_parts/cell/pulse/carbine"
can_flashlight = 1
/obj/item/weapon/gun/energy/pulse/carbine/loyalpin
pin = /obj/item/device/firing_pin/implant/loyalty