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
@@ -19,8 +19,8 @@ PROCESSING_SUBSYSTEM_DEF(ntsl2)
* Builds request object meant to do certain action. Returns FALSE (0) when there was an issue.
*/
/datum/controller/subsystem/processing/ntsl2/proc/build_request(var/command, var/list/arguments, var/method = RUSTG_HTTP_METHOD_GET)
if(config.ntsl_hostname && config.ntsl_port) // Requires config to be set.
var/url = "http://[config.ntsl_hostname]:[config.ntsl_port]/[command]"
if(GLOB.config.ntsl_hostname && GLOB.config.ntsl_port) // Requires config to be set.
var/url = "http://[GLOB.config.ntsl_hostname]:[GLOB.config.ntsl_port]/[command]"
var/body = ""
switch(method)
if(RUSTG_HTTP_METHOD_GET)
@@ -113,7 +113,7 @@ PROCESSING_SUBSYSTEM_DEF(ntsl2)
/datum/controller/subsystem/processing/ntsl2/proc/attempt_connect()
if(config.ntsl_disabled)
if(GLOB.config.ntsl_disabled)
LOG_DEBUG("NTSL2++ Daemon disabled via config")
return FALSE
var/res = sync_send("clear")
@@ -101,7 +101,7 @@ SUBSYSTEM_DEF(shuttle)
try_add_landmark_tag(shuttle_landmark_tag, O)
landmarks_still_needed -= shuttle_landmark_tag
else if(istype(shuttle_landmark, /obj/effect/shuttle_landmark/automatic)) //These find their sector automatically
O = map_sectors["[shuttle_landmark.z]"]
O = GLOB.map_sectors["[shuttle_landmark.z]"]
if(O)
O.add_landmark(shuttle_landmark, shuttle_landmark.shuttle_restricted)
else