Files
Aurora.3/code/modules/events/dust.dm
NanakoAC 4c7e1eb595 False Alarm Fixes (#1022)
-Makes a lot of unsuitable events excluded from faking. Some of them could do with reworking to make them function, like the infestation and prison breaks, but for now i just had to exclude them
-Adds an In-character/descriptive name, used for the announcement apologising for the mistake
-Fixes an issue where using debug Trigger Event verb would fill the events list with empty severe events and cause runtime errors
2016-10-02 21:24:00 +03:00

24 lines
642 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")
/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"