mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-26 01:52:15 +00:00
Only two more this time: Random space dust attack. Random gravity failure. Moves space vines from moderate to major events, due to its now more dangerous nature. Removes now irrelevant alien/ninja customized event handlers. Adds Excel sheet for aiding in event probability calculations.
23 lines
617 B
Plaintext
23 lines
617 B
Plaintext
/datum/event/dust
|
|
startWhen = 10
|
|
endWhen = 30
|
|
|
|
/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"
|