From 9f3b6a9a192c842ef42e6451dc483593a142d3d0 Mon Sep 17 00:00:00 2001 From: Guti <32563288+TheCaramelion@users.noreply.github.com> Date: Mon, 2 Mar 2026 21:36:51 +0100 Subject: [PATCH] Adds the dust anomaly event (#12474) --- modular_chomp/code/modules/event/anomalies.dm | 11 +++++++++++ .../code/modules/event/event_container_ch.dm | 1 + 2 files changed, 12 insertions(+) diff --git a/modular_chomp/code/modules/event/anomalies.dm b/modular_chomp/code/modules/event/anomalies.dm index 75551a431f..a841c4f568 100644 --- a/modular_chomp/code/modules/event/anomalies.dm +++ b/modular_chomp/code/modules/event/anomalies.dm @@ -121,3 +121,14 @@ if(isnull(impact_area)) impact_area = placer.find_valid_area() command_announcement.Announce("Metereologic anomaly detected on [ANOMALY_ANNOUNCE_MEDIUM_TEXT] [impact_area.name].", "Anomaly Alert") + +// Dust +/datum/event/anomaly/dust + startWhen = 3 + announceWhen = 15 + anomaly_path = /obj/effect/anomaly/dust + +/datum/event/anomaly/dust/announce() + if(isnull(impact_area)) + impact_area = placer.find_valid_area() + command_announcement.Announce("Anomalous dust particles detected on [ANOMALY_ANNOUNCE_MEDIUM_TEXT] [impact_area.name].", "Anomaly Alert") diff --git a/modular_chomp/code/modules/event/event_container_ch.dm b/modular_chomp/code/modules/event/event_container_ch.dm index 7c2d564285..05fd321445 100644 --- a/modular_chomp/code/modules/event/event_container_ch.dm +++ b/modular_chomp/code/modules/event/event_container_ch.dm @@ -64,6 +64,7 @@ new /datum/event_meta(EVENT_LEVEL_MODERATE, "Communication Blackout", /datum/event/communications_blackout, 250, list(JOB_AI = 100, DEPARTMENT_SECURITY = 50, DEPARTMENT_ANY = 2), TRUE), new /datum/event_meta(EVENT_LEVEL_MODERATE, "Dimensional Anomaly", /datum/event/anomaly/dimensional, 40, list(DEPARTMENT_RESEARCH = 30, JOB_RESEARCH_DIRECTOR = 20, DEPARTMENT_ANY = 2), TRUE), new /datum/event_meta(EVENT_LEVEL_MODERATE, "Drone Pod Drop", /datum/event/drone_pod_drop, 10, list(DEPARTMENT_RESEARCH = 40, DEPARTMENT_ANY = 2), TRUE), + new /datum/event_meta(EVENT_LEVEL_MODERATE, "Dust Anomaly", /datum/event/anomaly/dust, 30, list(JOB_JANITOR = 30, DEPARTMENT_RESEARCH = 20, JOB_RESEARCH_DIRECTOR = 15, DEPARTMENT_ANY = 2), TRUE), new /datum/event_meta(EVENT_LEVEL_MODERATE, "Flux Anomaly", /datum/event/anomaly/flux, 20, list(DEPARTMENT_ENGINEERING = 30, JOB_CHIEF_ENGINEER = 20, DEPARTMENT_RESEARCH = 25, JOB_RESEARCH_DIRECTOR = 15, DEPARTMENT_ANY = 2), TRUE), // Just blows out a few lights new /datum/event_meta(EVENT_LEVEL_MODERATE, "Electrical Storm", /datum/event/electrical_storm, 250, list(DEPARTMENT_ENGINEERING = 20, JOB_JANITOR = 150, DEPARTMENT_ANY = 2), TRUE),