Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Commit

Permalink
super cool powerloss sound
Browse files Browse the repository at this point in the history
  • Loading branch information
Ty-Omaha committed Mar 30, 2019
1 parent eb345f0 commit 250e8ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/modules/events/grid_check.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

/datum/event/grid_check/start()
power_failure(0)
for(var/mob/M in GLOB.player_list)
if(!M.client)
continue
SEND_SOUND(M, sound('sound/effects/powerloss.ogg'))

/datum/event/grid_check/announce()
event_announcement.Announce("Abnormal activity detected in [station_name()]'s powernet. As a precautionary measure, the station's power will be shut off for an indeterminate duration.", "Automated Grid Check", new_sound = 'sound/AI/poweroff.ogg')
Expand Down
Binary file added sound/effects/powerloss.ogg
Binary file not shown.

0 comments on commit 250e8ec

Please sign in to comment.