mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-27 18:51:53 +00:00
* 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
18 lines
611 B
Plaintext
18 lines
611 B
Plaintext
/datum/event/anomaly/anomaly_flux
|
|
startWhen = 3
|
|
announceWhen = 20
|
|
endWhen = 180
|
|
|
|
/datum/event/anomaly/anomaly_flux/announce()
|
|
GLOB.event_announcement.Announce("Localized hyper-energetic flux wave detected on long range scanners. Expected location: [impact_area.name].", "Anomaly Alert")
|
|
|
|
/datum/event/anomaly/anomaly_flux/start()
|
|
var/turf/T = pick(get_area_turfs(impact_area))
|
|
if(T)
|
|
newAnomaly = new /obj/effect/anomaly/flux(T.loc)
|
|
|
|
/datum/event/anomaly/anomaly_flux/end()
|
|
if(newAnomaly.loc)//If it hasn't been neutralized, it's time to blow up.
|
|
explosion(newAnomaly, -1, 3, 5, 5)
|
|
qdel(newAnomaly)
|