mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
* Fixed false anomaly announcements. * Update _anomaly.dm * Update anomaly_bioscrambler.dm * Update anomaly_bluespace.dm * Fix merge conflicts --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
33 lines
1.4 KiB
Plaintext
33 lines
1.4 KiB
Plaintext
/datum/round_event_control/anomaly/anomaly_grav
|
|
name = "Anomaly: Gravitational"
|
|
typepath = /datum/round_event/anomaly/anomaly_grav
|
|
|
|
max_occurrences = 5
|
|
weight = 25
|
|
description = "This anomaly throws things around."
|
|
min_wizard_trigger_potency = 1
|
|
max_wizard_trigger_potency = 3
|
|
|
|
/datum/round_event/anomaly/anomaly_grav
|
|
start_when = ANOMALY_START_HARMFUL_TIME
|
|
announce_when = ANOMALY_ANNOUNCE_HARMFUL_TIME
|
|
anomaly_path = /obj/effect/anomaly/grav
|
|
|
|
/datum/round_event_control/anomaly/anomaly_grav/high
|
|
name = "Anomaly: Gravitational (High Intensity)"
|
|
typepath = /datum/round_event/anomaly/anomaly_grav/high
|
|
weight = 15
|
|
max_occurrences = 1
|
|
earliest_start = 20 MINUTES
|
|
description = "This anomaly has an intense gravitational field, and can disable the gravity generator."
|
|
|
|
/datum/round_event/anomaly/anomaly_grav/high
|
|
start_when = ANOMALY_START_HARMFUL_TIME
|
|
announce_when = ANOMALY_ANNOUNCE_HARMFUL_TIME
|
|
anomaly_path = /obj/effect/anomaly/grav/high
|
|
|
|
/datum/round_event/anomaly/anomaly_grav/announce(fake)
|
|
if(isnull(impact_area))
|
|
impact_area = placer.findValidArea()
|
|
priority_announce("Gravitational anomaly detected on [ANOMALY_ANNOUNCE_HARMFUL_TEXT] [impact_area.name].", "Anomaly Alert" , ANNOUNCER_GRAVANOMALIES) //SKYRAT EDIT CHANGE - ORIGINAL: priority_announce("Gravitational anomaly detected on [ANOMALY_ANNOUNCE_HARMFUL_TEXT] [impact_area.name].", "Anomaly Alert" , ANNOUNCER_GRANOMALIES)
|