mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-18 04:41:27 +01:00
72628d226c
* More globals * planets * . * . * Update jukebox.dm * Fix timer callback syntax in jukebox.dm * .
20 lines
540 B
Plaintext
20 lines
540 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()].")
|
|
|
|
/datum/event2/event/dust/start()
|
|
dust_swarm("norm")
|