From 54b2bee97a619c39c5f06db2d0b2cb931b0eaf9e Mon Sep 17 00:00:00 2001 From: Leshana Date: Wed, 17 May 2017 00:59:35 -0400 Subject: [PATCH] Added custom tether crew monitor computer z-level logic. --- maps/tether/tether_things.dm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/maps/tether/tether_things.dm b/maps/tether/tether_things.dm index cb57cd47b5..ee55cca310 100644 --- a/maps/tether/tether_things.dm +++ b/maps/tether/tether_things.dm @@ -190,6 +190,19 @@ var/global/list/latejoin_tram = list() ..() turfs = latejoin_tram +// Override crew monitors so that ones on the station see the whole station, and ones on surface the whole surface. +/datum/nano_module/crew_monitor/get_z_levels(var/turf/T) + switch(T.z) + if(Z_LEVEL_SURFACE_LOW to Z_LEVEL_SURFACE_HIGH) + return list(Z_LEVEL_SURFACE_LOW, Z_LEVEL_SURFACE_MID, Z_LEVEL_SURFACE_HIGH) + if(Z_LEVEL_SPACE_LOW to Z_LEVEL_SPACE_HIGH) + return list(Z_LEVEL_SPACE_LOW, Z_LEVEL_SPACE_MID, Z_LEVEL_SPACE_HIGH) + else + return ..() + +// +// Holodorms +// /obj/machinery/computer/HolodeckControl/holodorm name = "Don't use this one!!!" powerdown_program = "Off"