Skip to content

Commit

Permalink
Update master_items.dm
Browse files Browse the repository at this point in the history
blinking hotfix
  • Loading branch information
silencer-pl committed Jul 4, 2024
1 parent 011d3d2 commit 9d62cb9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions code/modules/salvage/master_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,15 @@
qdel(src)
return

/obj/structure/salvage/proc/useblink()
var/current_color = color
color = "#acacac"
sleep(3)
color = current_color

/obj/structure/salvage/proc/salvage_process_decon_generate_av(tool = null)
if(tool == null) return
INVOKE_ASYNC(src, TYPE_PROC_REF(/obj/structure/salvage/,useblink))
var/av_to_play = tool
switch(av_to_play)
if(TRAIT_TOOL_SCREWDRIVER)
Expand Down Expand Up @@ -597,8 +604,15 @@
salvage_tiles_recycled = 1
return

/turf/open/salvage/proc/useblink()
var/current_color = color
color = "#acacac"
sleep(3)
color = current_color

/turf/open/salvage/proc/salvage_process_decon_generate_av(tool = null)
if(tool == null) return
INVOKE_ASYNC(src, TYPE_PROC_REF(/turf/open/salvage/,useblink))
var/av_to_play = tool
switch(av_to_play)
if(TRAIT_TOOL_SCREWDRIVER)
Expand Down

0 comments on commit 9d62cb9

Please sign in to comment.