The Great Unstationing (#20269)

Replaces many references of station with SSatlas variables using
station_name().

Touches alot of things in the process (mostly moving some aspects to
New() to allow for calling of proc/variable.)

---------

Signed-off-by: Ben <91219575+Ben10083@users.noreply.github.com>
Co-authored-by: Ben10083 <Ben10083@users.noreply.github.com>
Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>
This commit is contained in:
Ben
2024-12-24 12:42:53 +00:00
committed by GitHub
co-authored by Ben10083 Fluffy
parent c967a296df
commit 27704cc8d2
62 changed files with 234 additions and 132 deletions
@@ -325,9 +325,13 @@ SUBSYSTEM_DEF(atlas)
sleep(1 MINUTE)
world.Reboot()
/proc/station_name()
/// Called to retrieve the name of the station. When short is TRUE, the short name of the station will be provided instead.
/proc/station_name(var/short = FALSE)
ASSERT(SSatlas.current_map)
. = SSatlas.current_map.station_name
if(short)
. = SSatlas.current_map.station_short
else
. = SSatlas.current_map.station_name
var/sname
if (GLOB.config && GLOB.config.server_name)