From 4ae8e504dfa825cb6ca4eff7549e48f8526de245 Mon Sep 17 00:00:00 2001 From: Leo Date: Fri, 12 Jan 2018 10:01:58 -0200 Subject: [PATCH 1/2] Remove unnused random event --- code/modules/events/weightless.dm | 32 ------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 code/modules/events/weightless.dm diff --git a/code/modules/events/weightless.dm b/code/modules/events/weightless.dm deleted file mode 100644 index bb5b3fd15a..0000000000 --- a/code/modules/events/weightless.dm +++ /dev/null @@ -1,32 +0,0 @@ -/datum/round_event_control/weightless - name = "Gravity Systems Failure" - typepath = /datum/round_event/weightless - weight = 15 - -/datum/round_event/weightless - startWhen = 5 - endWhen = 65 - announceWhen = 1 - -/datum/round_event/weightless/setup() - startWhen = rand(0,10) - endWhen = rand(40,80) - -/datum/round_event/weightless/announce(fake) - command_alert("Warning: Failsafes for the station's artificial gravity arrays have been triggered. Please be aware that if this problem recurs it may result in formation of gravitational anomalies. Nanotrasen wishes to remind you that the unauthorised formation of anomalies within Nanotrasen facilities is strictly prohibited by health and safety regulation [rand(99,9999)][pick("a","b","c")]:subclause[rand(1,20)][pick("a","b","c")].") - -/datum/round_event/weightless/start() - for(var/area/A in world) - A.gravitychange(0) - - if(control) - control.weight *= 2 - -/datum/round_event/weightless/end() - for(var/area/A in world) - A.gravitychange(1) - - if(announceWhen >= 0) - command_alert("Artificial gravity arrays are now functioning within normal parameters. Please report any irregularities to your respective head of staff.") - -