mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-19 20:23:07 +01:00
afdf00fff2
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
20 lines
585 B
Plaintext
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")
|