a97355fda9
Pyroclastic anomalies make player-controlled adult slimes. Tweaks announcement/spawn of anomalies some. Flux anomalies are super dangerous and are now announced ahead of time, and pyroclastic anomalies are somewhat less devastating so they're given some time before announcing, like gravitational ones.
21 lines
643 B
Plaintext
21 lines
643 B
Plaintext
/datum/round_event_control/anomaly/anomaly_flux
|
|
name = "Anomaly: Hyper-Energetic Flux"
|
|
typepath = /datum/round_event/anomaly/anomaly_flux
|
|
|
|
min_players = 10
|
|
max_occurrences = 5
|
|
weight = 20
|
|
|
|
/datum/round_event/anomaly/anomaly_flux
|
|
startWhen = 10
|
|
announceWhen = 3
|
|
|
|
/datum/round_event/anomaly/anomaly_flux/announce()
|
|
priority_announce("Localized hyper-energetic flux wave detected on long range scanners. Expected location: [impact_area.name].", "Anomaly Alert")
|
|
|
|
|
|
/datum/round_event/anomaly/anomaly_flux/start()
|
|
var/turf/T = safepick(get_area_turfs(impact_area))
|
|
if(T)
|
|
newAnomaly = new /obj/effect/anomaly/flux(T)
|