Files
Paradise/code/modules/events/meaty_gore.dm
T
AffectedArc07 210f8badf4 Makes all global variables handled by the GLOB controller (#13152)
* Handlers converted, now to fix 3532 compile errors

* 3532 compile fixes later, got runtimes on startup

* Well the server loads now atleast

* Take 2

* Oops
2020-03-20 21:56:37 -06:00

18 lines
584 B
Plaintext

/datum/event/meteor_wave/gore/announce()
GLOB.event_announcement.Announce("Unknown biological debris have been detected near [station_name()], please stand-by.", "Debris Alert")
/datum/event/meteor_wave/gore/setup()
waves = 3
/datum/event/meteor_wave/gore/tick()
if(waves && activeFor >= next_meteor)
spawn() spawn_meteors(rand(5,8), GLOB.meteors_gore)
next_meteor += rand(15, 30)
waves--
endWhen = (waves ? next_meteor + 1 : activeFor + 15)
/datum/event/meteor_wave/gore/end()
GLOB.event_announcement.Announce("The station has cleared the debris.", "Debris Alert")