mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-11 16:07:36 +01:00
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:
@@ -20,7 +20,6 @@
|
||||
|
||||
/datum/computer_file/program/atmos_control/New(obj/item/modular_computer/comp, var/list/new_access, var/list/monitored_alarm_ids)
|
||||
..()
|
||||
|
||||
if(islist(new_access) && length(new_access))
|
||||
required_access_run = new_access
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
filedesc = "Power Monitoring"
|
||||
program_icon_state = "power_monitor"
|
||||
program_key_icon_state = "yellow_key"
|
||||
extended_desc = "This program connects to sensors around the station to provide information about electrical systems"
|
||||
extended_desc = "This program connects to sensors around the station to provide information about electrical systems."
|
||||
ui_header = "power_norm.gif"
|
||||
required_access_run = ACCESS_ENGINE
|
||||
required_access_download = ACCESS_CE
|
||||
@@ -18,6 +18,9 @@
|
||||
var/list/grid_sensors
|
||||
var/active_sensor //name_tag of the currently selected sensor
|
||||
|
||||
/datum/computer_file/program/power_monitor/New()
|
||||
..()
|
||||
|
||||
/datum/computer_file/program/power_monitor/ui_data(mob/user)
|
||||
var/list/data = initial_data()
|
||||
var/list/sensors = list()
|
||||
|
||||
@@ -16,6 +16,9 @@
|
||||
tgui_theme = "hephaestus"
|
||||
ui_auto_update = FALSE
|
||||
|
||||
/datum/computer_file/program/rcon_console/New()
|
||||
..()
|
||||
|
||||
/datum/computer_file/program/rcon_console/ui_data(mob/user)
|
||||
var/list/data = initial_data()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user