mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 08:31:57 +00:00
Fixes the gravity generator using the wrong processing, the event not working, and overlays. Closes #3589
16 lines
608 B
Plaintext
16 lines
608 B
Plaintext
/datum/event/gravity
|
|
announceWhen = 5
|
|
ic_name = "a gravity failure"
|
|
|
|
/datum/event/gravity/setup()
|
|
endWhen = rand(15, 60)
|
|
|
|
/datum/event/gravity/announce()
|
|
command_announcement.Announce("Feedback surge detected in the gravity generation systems. Artificial gravity has been disabled whilst the system reinitializes. Further failures may result in a gravitational collapse and formation of blackholes.", "Gravity Failure")
|
|
|
|
/datum/event/gravity/start()
|
|
gravity_is_on = 0
|
|
for(var/A in SSmachinery.gravity_generators)
|
|
var/obj/machinery/gravity_generator/main/B = A
|
|
B.eventshutofftoggle()
|