mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
* Anomalies now have observer-visible countdowns 🆑 coiax add: Anomalies now have observer-visible countdowns to their detonation. /🆑 - Behind the scenes, moved the detonation code from the event to the anomalies themselves. May be some differences of lifespan, given we're going from event ticks to world.time, but meh. * Changes the name of the anomaly cores
20 lines
640 B
Plaintext
20 lines
640 B
Plaintext
/datum/round_event_control/anomaly/anomaly_vortex
|
|
name = "Anomaly: Vortex"
|
|
typepath = /datum/round_event/anomaly/anomaly_vortex
|
|
|
|
min_players = 20
|
|
max_occurrences = 2
|
|
weight = 5
|
|
|
|
/datum/round_event/anomaly/anomaly_vortex
|
|
startWhen = 10
|
|
announceWhen = 3
|
|
|
|
/datum/round_event/anomaly/anomaly_vortex/announce()
|
|
priority_announce("Localized high-intensity vortex anomaly detected on long range scanners. Expected location: [impact_area.name]", "Anomaly Alert")
|
|
|
|
/datum/round_event/anomaly/anomaly_vortex/start()
|
|
var/turf/T = safepick(get_area_turfs(impact_area))
|
|
if(T)
|
|
newAnomaly = new /obj/effect/anomaly/bhole(T)
|