Files
WillandGitHub 60202429a7 Customizable Announcer (#19387)
* starting work

* most generic

* more alerts

* remaining alerts

* many fixes

* fix

* properly set

* virgo doesn't use those lines?

* actually they are used

* smallfixes

* oops

* silence of the bots

* docs
2026-04-14 16:32:50 -04:00

20 lines
585 B
Plaintext

/datum/event2/meta/dust
name = "dust"
departments = list(DEPARTMENT_ENGINEERING)
chaos = 10
chaotic_threshold = EVENT_CHAOS_THRESHOLD_LOW_IMPACT
reusable = TRUE
event_type = /datum/event2/event/dust
/datum/event2/meta/dust/get_weight()
return GLOB.metric.count_people_in_department(DEPARTMENT_ENGINEERING) * 20
/datum/event2/event/dust/announce()
if(prob(33))
GLOB.command_announcement.Announce("Dust has been detected on a collision course with \the [location_name()].", new_sound = ANNOUNCER_MSG_DEBRISFIELD_START)
/datum/event2/event/dust/start()
dust_swarm("norm")