mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
makes flashlight attaching more modular
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user