Skip to content

Commit

Permalink
Merge pull request #17 from silencer-pl/dev
Browse files Browse the repository at this point in the history
Adds blinking to indicate salvaging decon has started
  • Loading branch information
silencer-pl authored Jul 4, 2024
2 parents 8887a66 + 9d62cb9 commit ca6f590
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 ca6f590

Please sign in to comment.