mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-11 07:58:57 +01:00
0c7ab8baa7
changes: - refactor: "Refactors Gravity Generator UI from HTML to TGUI." - rscadd: "Adds sector-based modifier var 'overmap_hazards_multiplier' for generating total overmap hazard count." - soundadd: "Adds new Lemurian Sea 'welcome' announcements." - rscadd: "Added Lemurian Sea gravitic anomalies as overmap hazards and random events." - rscadd: "Adds ADPI/The Voices." - rscadd: "Adds ADPI Panel for modmins to send ADPI messages to a single character or all characters from their respective pools, or custom messages." - balance: "Vaurca Hivenet communication, the Hivenet Manifest, and Hivenet Echoes are now disabled while the ship is in Lemurian Sea sectors."
18 lines
677 B
Plaintext
18 lines
677 B
Plaintext
/datum/event/gravity
|
|
announceWhen = 5
|
|
ic_name = "a gravity failure"
|
|
no_fake = 1
|
|
|
|
/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", zlevels = affecting_z)
|
|
|
|
/datum/event/gravity/start()
|
|
..()
|
|
for(var/obj/structure/machinery/gravity_generator/main/generator in SSmachinery.gravity_generators)
|
|
if(generator.z in affecting_z)
|
|
return
|
|
// generator.eventshutofftoggle()
|