Files
S.P.L.U.R.T-Station-13/code/modules/events/grid_check.dm
silicons 803bff4e5f funny
2020-11-12 23:34:42 -07:00

17 lines
521 B
Plaintext

/datum/round_event_control/grid_check
name = "Grid Check"
typepath = /datum/round_event/grid_check
weight = 10
max_occurrences = 3
/datum/round_event/grid_check
announceWhen = 1
startWhen = 1
/datum/round_event/grid_check/announce(fake)
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", "poweroff")
/datum/round_event/grid_check/start()
power_fail(30, 120)