diff --git a/code/game/machinery/computer/camera.dm b/code/game/machinery/computer/camera.dm index 244598ad09..20bb20a3db 100644 --- a/code/game/machinery/computer/camera.dm +++ b/code/game/machinery/computer/camera.dm @@ -35,7 +35,6 @@ return viewflag /obj/machinery/computer/security/ui_interact(mob/user, ui_key = "main", datum/nanoui/ui = null, force_open = 1) - if(src.z > 6) return if(stat & (NOPOWER|BROKEN)) return if(user.stat) return @@ -48,6 +47,7 @@ data["cameras"] = camera_repository.cameras_in_network(current_network) if(current_camera) switch_to_camera(user, current_camera) + data["station_levels"] = using_map.station_levels ui = nanomanager.try_update_ui(user, src, ui_key, ui, data, force_open) if (!ui) diff --git a/code/modules/nano/modules/power_monitor.dm b/code/modules/nano/modules/power_monitor.dm index 032b648fbf..8eea3bef9c 100644 --- a/code/modules/nano/modules/power_monitor.dm +++ b/code/modules/nano/modules/power_monitor.dm @@ -25,6 +25,7 @@ data["all_sensors"] = sensors if(focus) data["focus"] = focus.return_reading_data() + data["station_levels"] = using_map.station_levels ui = nanomanager.try_update_ui(user, src, ui_key, ui, data, force_open) if (!ui) diff --git a/nano/templates/atmos_control_map_header.tmpl b/nano/templates/atmos_control_map_header.tmpl index 02e6f3fa93..8c67be2dfe 100644 --- a/nano/templates/atmos_control_map_header.tmpl +++ b/nano/templates/atmos_control_map_header.tmpl @@ -3,12 +3,14 @@ Title: Atmos Control Console (Map Header) Used In File(s): \code\modules\nano\modules\atmos_control.dm --> {{:helper.link('Show List', 'script', {'showMap' : 0})}} +{{if data.station_levels.length > 1}}
Z Level:  {{for data.station_levels }} - {{:helper.link(value, null, {'mapZLevel' : value}) }} + {{:helper.link(value, null, {'mapZLevel' : value}) }} {{/for}}
+{{/if}}
Zoom Level:  diff --git a/nano/templates/power_monitor_map_header.tmpl b/nano/templates/power_monitor_map_header.tmpl index 22ae30247f..fa9f39d168 100644 --- a/nano/templates/power_monitor_map_header.tmpl +++ b/nano/templates/power_monitor_map_header.tmpl @@ -4,6 +4,14 @@ Used In File(s): \code\modules\nano\modules\power_monitor.dm --> {{:helper.link('Show Network Information', 'script', {'showMap' : 0})}} {{if data.focus}}Sensor selected: {{:data.focus.name}}{{/if}} +{{if data.station_levels.length > 1}} +
+ Z Level:  + {{for data.station_levels }} + {{:helper.link(value, null, {'mapZLevel' : value}) }} + {{/for}} +
+{{/if}}
Zoom Level:  diff --git a/nano/templates/sec_camera_map_content.tmpl b/nano/templates/sec_camera_map_content.tmpl index ebe409efc1..e9369c4b01 100644 --- a/nano/templates/sec_camera_map_content.tmpl +++ b/nano/templates/sec_camera_map_content.tmpl @@ -3,7 +3,7 @@ Title: Security Camera Console (Map content) Used In File(s): \code\game\machinery\computer\camera.dm --> {{for data.cameras}} - {{if value.z == 1}} + {{if value.z == config.mapZLevel}}
{{if data.current && value.name == data.current.name}} {{:helper.link("#", '', {'switch_camera' : value.camera}, 'selected')}} diff --git a/nano/templates/sec_camera_map_header.tmpl b/nano/templates/sec_camera_map_header.tmpl index 1fcfc02e09..e4e424f095 100644 --- a/nano/templates/sec_camera_map_header.tmpl +++ b/nano/templates/sec_camera_map_header.tmpl @@ -14,6 +14,14 @@ Used In File(s): \code\game\machinery\computer\camera.dm {{/if}}
+{{if data.station_levels.length > 1}} +
+ Z Level:  + {{for data.station_levels }} + {{:helper.link(value, null, {'mapZLevel' : value}) }} + {{/for}} +
+{{/if}}
Zoom Level: