Files
fulpstation/code/modules/events/dust.dm
MrDoomBringer 16be1163c0 Gives random events a ghost follow link (#40727)
Also improves the code for anomalies a bit

cl MrDoomBringer
tweak: Random Events now have a follow link for ghosts!
/cl

Untested, and anomalies are broken right now but that takes like 2 seconds to fix
2018-10-27 13:11:48 +13:00

31 lines
716 B
Plaintext

/datum/round_event_control/space_dust
name = "Minor Space Dust"
typepath = /datum/round_event/space_dust
weight = 200
max_occurrences = 1000
earliest_start = 0 MINUTES
alert_observers = FALSE
/datum/round_event/space_dust
startWhen = 1
endWhen = 2
fakeable = FALSE
/datum/round_event/space_dust/start()
spawn_meteors(1, GLOB.meteorsC)
/datum/round_event_control/sandstorm
name = "Sandstorm"
typepath = /datum/round_event/sandstorm
weight = 0
max_occurrences = 0
earliest_start = 0 MINUTES
/datum/round_event/sandstorm
startWhen = 1
endWhen = 150 // ~5 min
announceWhen = 0
fakeable = FALSE
/datum/round_event/sandstorm/tick()
spawn_meteors(10, GLOB.meteorsC)