Files
Paradise/code/modules/events/meaty_ops.dm
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

20 lines
723 B
Plaintext

/datum/event/meteor_wave/goreop/announce()
var/meteor_declaration = "MeteorOps have declared their intent to utterly destroy [station_name()] with their own bodies, and dares the crew to try and stop them."
GLOB.event_announcement.Announce(meteor_declaration, "Declaration of 'War'", 'sound/effects/siren.ogg')
/datum/event/meteor_wave/goreop/setup()
waves = 3
/datum/event/meteor_wave/goreop/tick()
if(waves && activeFor >= next_meteor)
spawn() spawn_meteors(5, GLOB.meteors_ops)
next_meteor += rand(15, 30)
waves--
endWhen = (waves ? next_meteor + 1 : activeFor + 15)
/datum/event/meteor_wave/goreop/end()
GLOB.event_announcement.Announce("All MeteorOps are dead. Major Station Victory.", "MeteorOps")