Ports the TG globals controller and converts globals. (#18057)

* SDQL2 update

* fix that verb

* cl

* fix that

* toworld

* this is pointless

* update info

* siiiiick..

* vv edit update

* fix that

* fix editing vars

* fix VV

* Port the /TG/ globals controller.

* part 1

* part 2

* oops

* part 3

* Hollow Purple

* sadas

* bsbsdb

* muda na agaki ta

* ids 1-15

* 16-31

* 41-75

* bring me back to how things used to be before i lost it all

* the strength of mayhem

* final touches

* cl

* protect some vars

* update sdql2 to use glob

* stuff?

* forgot that is not defined there

* whoops

* observ

* but it never gets better

* a

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2023-12-26 02:16:02 +01:00
committed by GitHub
parent 19292f01d3
commit cadd19beac
966 changed files with 4785 additions and 4784 deletions
@@ -22,8 +22,8 @@
/datum/computer_file/program/alarm_monitor/all
filename = "alarmmonitorall"
filedesc = "Alarm Monitoring (All)"
required_access_download = access_heads
required_access_run = list(access_heads, access_equipment)
required_access_download = ACCESS_HEADS
required_access_run = list(ACCESS_HEADS, ACCESS_EQUIPMENT)
requires_access_to_run = PROGRAM_ACCESS_LIST_ONE
/datum/computer_file/program/alarm_monitor/all/New()
@@ -33,8 +33,8 @@
/datum/computer_file/program/alarm_monitor/engineering
filename = "alarmmonitoreng"
filedesc = "Alarm Monitoring (Engineering)"
required_access_download = access_engine
required_access_run = access_engine
required_access_download = ACCESS_ENGINE
required_access_run = ACCESS_ENGINE
/datum/computer_file/program/alarm_monitor/engineering/New()
..()
@@ -43,8 +43,8 @@
/datum/computer_file/program/alarm_monitor/security
filename = "alarmmonitorsec"
filedesc = "Alarm Monitoring (Security)"
required_access_download = access_security
required_access_run = access_security
required_access_download = ACCESS_SECURITY
required_access_run = ACCESS_SECURITY
/datum/computer_file/program/alarm_monitor/security/New()
..()
@@ -92,7 +92,7 @@
if(.)
return
if(action == "switchTo")
var/obj/machinery/camera/C = locate(params["switchTo"]) in cameranet.cameras
var/obj/machinery/camera/C = locate(params["switchTo"]) in GLOB.cameranet.cameras
if(!C)
return
@@ -5,8 +5,8 @@
program_key_icon_state = "cyan_key"
extended_desc = "This program allows remote control of air alarms around the station. This program can not be run on tablet computers."
requires_access_to_run = PROGRAM_ACCESS_LIST_ONE
required_access_run = list(access_atmospherics)
required_access_download = list(access_atmospherics)
required_access_run = list(ACCESS_ATMOSPHERICS)
required_access_download = list(ACCESS_ATMOSPHERICS)
requires_ntnet = TRUE
network_destination = "atmospheric control system"
requires_ntnet_feature = NTNET_SYSTEMCONTROL
@@ -4,8 +4,8 @@
program_icon_state = "power_monitor"
program_key_icon_state = "yellow_key"
extended_desc = "This program allows mass-control of the station's lighting systems. This program cannot be run on tablet computers."
required_access_run = access_heads
required_access_download = access_ce
required_access_run = ACCESS_HEADS
required_access_download = ACCESS_CE
requires_ntnet = TRUE
network_destination = "APC Coordinator"
requires_ntnet_feature = NTNET_SYSTEMCONTROL
@@ -5,8 +5,8 @@
program_key_icon_state = "yellow_key"
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
required_access_run = ACCESS_ENGINE
required_access_download = ACCESS_CE
requires_ntnet = TRUE
network_destination = "power monitoring system"
usage_flags = PROGRAM_ALL
@@ -4,8 +4,8 @@
program_icon_state = "power_monitor"
program_key_icon_state = "yellow_key"
extended_desc = "This program allows remote control of power distribution systems around the station. This program can not be run on tablet computers."
required_access_run = access_engine
required_access_download = access_ce
required_access_run = ACCESS_ENGINE
required_access_download = ACCESS_CE
requires_ntnet = TRUE
network_destination = "RCON remote control system"
requires_ntnet_feature = NTNET_SYSTEMCONTROL