Files
Bubberstation/code/modules/events/anomaly/anomaly_hallucination.dm
9ab415d742 [MIRROR] Fixed false anomaly announcements. [MDB IGNORE] (#25509)
* 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>
2023-12-08 18:59:41 -05:00

21 lines
937 B
Plaintext

/datum/round_event_control/anomaly/anomaly_hallucination
name = "Anomaly: Hallucination"
typepath = /datum/round_event/anomaly/anomaly_hallucination
min_players = 10
max_occurrences = 5
weight = 20
description = "This anomaly causes you to hallucinate."
min_wizard_trigger_potency = 0
max_wizard_trigger_potency = 2
/datum/round_event/anomaly/anomaly_hallucination
start_when = ANOMALY_START_MEDIUM_TIME
announce_when = ANOMALY_ANNOUNCE_MEDIUM_TIME
anomaly_path = /obj/effect/anomaly/hallucination
/datum/round_event/anomaly/anomaly_hallucination/announce(fake)
if(isnull(impact_area))
impact_area = placer.findValidArea()
priority_announce("Hallucinatory event detected on [ANOMALY_ANNOUNCE_MEDIUM_TEXT] [impact_area.name].", "Anomaly Alert", ANNOUNCER_ANOMALIES) //SKYRAT EDIT CHANGE - ORIGINAL: priority_announce("Hallucinatory event detected on [ANOMALY_ANNOUNCE_MEDIUM_TEXT] [impact_area.name].", "Anomaly Alert")