24 lines
675 B
Plaintext
24 lines
675 B
Plaintext
/datum/round_event_control/meteor_wave
|
|
name = "Meteor Wave"
|
|
typepath = /datum/round_event/meteor_wave
|
|
weight = 5
|
|
max_occurrences = 3
|
|
|
|
/datum/round_event/meteor_wave
|
|
startWhen = 6
|
|
endWhen = 66
|
|
var/announce = 1
|
|
|
|
/datum/round_event/meteor_wave/New(should_announce = 1)
|
|
..()
|
|
announce = should_announce
|
|
|
|
/datum/round_event/meteor_wave/announce()
|
|
if(announce)
|
|
priority_announce("Meteors have been detected on collision course with the station.", "Meteor Alert", 'sound/AI/meteors.ogg')
|
|
|
|
|
|
/datum/round_event/meteor_wave/tick()
|
|
if(IsMultiple(activeFor, 3))
|
|
spawn_meteors(5, meteorsA) //meteor list types defined in gamemode/meteor/meteors.dm
|