mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 06:07:22 +01:00
[MIRROR] next grep, no spaces (#10548)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
16a213f699
commit
8d0febfbb6
@@ -2,27 +2,27 @@
|
||||
* ENDGAME STUFF
|
||||
**********************/
|
||||
|
||||
// Universal State
|
||||
// Handles stuff like space icon_state, constants, etc.
|
||||
// Essentially a policy manager. Once shit hits the fan, this changes its policies.
|
||||
// Called by master controller.
|
||||
// Universal State
|
||||
// Handles stuff like space icon_state, constants, etc.
|
||||
// Essentially a policy manager. Once shit hits the fan, this changes its policies.
|
||||
// Called by master controller.
|
||||
|
||||
// Default shit.
|
||||
// Default shit.
|
||||
/datum/universal_state
|
||||
// Just for reference, for now.
|
||||
// Might eventually add an observatory job.
|
||||
var/name = "Normal"
|
||||
var/desc = "Nothing seems awry."
|
||||
var/name = "Normal"
|
||||
var/desc = "Nothing seems awry."
|
||||
|
||||
// Sets world.turf, replaces all turfs of type /turf/space.
|
||||
var/space_type = /turf/space
|
||||
// Sets world.turf, replaces all turfs of type /turf/space.
|
||||
var/space_type = /turf/space
|
||||
|
||||
// Replaces all turfs of type /turf/space/transit
|
||||
var/transit_space_type = /turf/space/transit
|
||||
// Replaces all turfs of type /turf/space/transit
|
||||
var/transit_space_type = /turf/space/transit
|
||||
|
||||
// Chance of a floor or wall getting damaged [0-100]
|
||||
// Simulates stuff getting broken due to molecular bonds decaying.
|
||||
var/decay_rate = 0
|
||||
// Chance of a floor or wall getting damaged [0-100]
|
||||
// Simulates stuff getting broken due to molecular bonds decaying.
|
||||
var/decay_rate = 0
|
||||
|
||||
// Actually decay the turf.
|
||||
/datum/universal_state/proc/DecayTurf(var/turf/T)
|
||||
@@ -50,15 +50,15 @@
|
||||
|
||||
// Apply changes when exiting state
|
||||
/datum/universal_state/proc/OnExit()
|
||||
// Does nothing by default
|
||||
// Does nothing by default
|
||||
|
||||
// Apply changes when entering state
|
||||
/datum/universal_state/proc/OnEnter()
|
||||
// Does nothing by default
|
||||
// Does nothing by default
|
||||
|
||||
// Apply changes to a new turf.
|
||||
/datum/universal_state/proc/OnTurfChange(var/turf/NT)
|
||||
return
|
||||
return
|
||||
|
||||
/datum/universal_state/proc/OverlayAndAmbientSet()
|
||||
return
|
||||
|
||||
@@ -2,10 +2,10 @@ var/global/universe_has_ended = 0
|
||||
|
||||
|
||||
/datum/universal_state/supermatter_cascade
|
||||
name = "Supermatter Cascade"
|
||||
desc = "Unknown harmonance affecting universal substructure, converting nearby matter to supermatter."
|
||||
name = "Supermatter Cascade"
|
||||
desc = "Unknown harmonance affecting universal substructure, converting nearby matter to supermatter."
|
||||
|
||||
decay_rate = 5 // 5% chance of a turf decaying on lighting update/airflow (there's no actual tick for turfs)
|
||||
decay_rate = 5 // 5% chance of a turf decaying on lighting update/airflow (there's no actual tick for turfs)
|
||||
|
||||
/datum/universal_state/supermatter_cascade/OnShuttleCall(var/mob/user)
|
||||
if(user)
|
||||
@@ -61,16 +61,15 @@ var/global/universe_has_ended = 0
|
||||
new /obj/singularity/narsie/large/exit(pick(endgame_exits))
|
||||
spawn(rand(30,60) SECONDS)
|
||||
var/txt = {"
|
||||
There's been a galaxy-wide electromagnetic pulse. All of our systems are heavily damaged and many personnel are dead or dying. We are seeing increasing indications of the universe itself beginning to unravel.
|
||||
There's been a galaxy-wide electromagnetic pulse. All of our systems are heavily damaged and many personnel are dead or dying. We are seeing increasing indications of the universe itself beginning to unravel.
|
||||
|
||||
[station_name()], you are the only facility nearby a bluespace rift, which is near your research outpost. You are hereby directed to enter the rift using all means necessary, quite possibly as the last of your species alive.
|
||||
[station_name()], you are the only facility nearby a bluespace rift, which is near your research outpost. You are hereby directed to enter the rift using all means necessary, quite possibly as the last of your species alive.
|
||||
|
||||
You have five minutes before the universe collapses. Good l\[\[###!!!-
|
||||
You have five minutes before the universe collapses. Good l\[\[###!!!-
|
||||
AUTOMATED ALERT: Link to [command_name()] lost.
|
||||
|
||||
AUTOMATED ALERT: Link to [command_name()] lost.
|
||||
|
||||
The access requirements on the Asteroid Shuttles' consoles have now been revoked.
|
||||
"}
|
||||
The access requirements on the Asteroid Shuttles' consoles have now been revoked.
|
||||
"}
|
||||
priority_announcement.Announce(txt,"SUPERMATTER CASCADE DETECTED")
|
||||
|
||||
for(var/obj/machinery/computer/shuttle_control/C in machines)
|
||||
|
||||
Reference in New Issue
Block a user