mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-11 01:13:18 +00:00
About The Pull Request Brings back the scrubber overflow event, previously removed in #53549 This version has nerfed numbers because foam changes made it stupidly powerful. Also snake_cases some event variables. Why It's Good For The Game More dangerous but not station-damaging events. Bonus: janitor content. Changelog cl add: Re-adds the scrubber overflow event as a random event /cl
19 lines
720 B
Plaintext
19 lines
720 B
Plaintext
/datum/round_event_control/grid_check
|
|
name = "Grid Check"
|
|
typepath = /datum/round_event/grid_check
|
|
weight = 10
|
|
max_occurrences = 3
|
|
category = EVENT_CATEGORY_ENGINEERING
|
|
description = "Turns off all APCs for a while, or until they are manually rebooted."
|
|
|
|
/datum/round_event/grid_check
|
|
announce_when = 1
|
|
start_when = 1
|
|
|
|
/datum/round_event/grid_check/announce(fake)
|
|
if(fake || (GLOB.power_failure_message_cooldown > world.time))
|
|
priority_announce("Abnormal activity detected in [station_name()]'s powernet. As a precautionary measure, the station's power will be shut off for an indeterminate duration.", "Critical Power Failure", ANNOUNCER_POWEROFF)
|
|
|
|
/datum/round_event/grid_check/start()
|
|
power_fail(30, 120)
|