Files
Paradise/code/modules/events/meaty_gore.dm
T
acaefa9591 Refactors the events to be async (not use sleeps) and not use spawns (#15203)
* Makes the prison break use INVOKE_ASYNC for the (win)doors

* Add documentation

* Refactors the whole event system to not use spawns and be async

* relative proc path

* keep timing

Co-authored-by: joep van der velden <15887760+farie82@users.noreply.github.com>
2021-01-24 21:57:13 +00:00

15 lines
496 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/get_meteor_count()
return rand(5, 8)
/datum/event/meteor_wave/gore/get_meteors()
return GLOB.meteors_gore
/datum/event/meteor_wave/gore/end()
GLOB.event_announcement.Announce("The station has cleared the debris.", "Debris Alert")