mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 08:31:57 +00:00
The announcement system just got an upgrade. Also made the delta siren more concerning. And made a custom slightly annoying sound for the night mode announcement.
24 lines
680 B
Plaintext
24 lines
680 B
Plaintext
/datum/event/dust
|
|
startWhen = 10
|
|
endWhen = 30
|
|
ic_name = "space dust"
|
|
|
|
/datum/event/dust/announce()
|
|
command_announcement.Announce("The station is now passing through a belt of space dust.", "Dust Alert", new_sound = 'sound/AI/spacedust.ogg')
|
|
|
|
/datum/event/dust/start()
|
|
dust_swarm(get_severity())
|
|
|
|
/datum/event/dust/end()
|
|
command_announcement.Announce("The station has now passed through the belt of space dust.", "Dust Notice")
|
|
|
|
/datum/event/dust/proc/get_severity()
|
|
switch(severity)
|
|
if(EVENT_LEVEL_MUNDANE)
|
|
return "weak"
|
|
if(EVENT_LEVEL_MODERATE)
|
|
return prob(80) ? "norm" : "strong"
|
|
if(EVENT_LEVEL_MAJOR)
|
|
return "super"
|
|
return "weak"
|