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 01:16:02 +00:00
committed by GitHub
co-authored by Matt Atlas
parent 19292f01d3
commit cadd19beac
966 changed files with 4785 additions and 4784 deletions
+2 -2
View File
@@ -114,8 +114,8 @@
var/list/eligible_delivery_points = list()
for(var/obj/structure/cargo_receptacle/delivery_point in all_cargo_receptacles)
var/obj/effect/overmap/visitable/my_sector = map_sectors["[current_turf.z]"]
var/obj/effect/overmap/visitable/delivery_point_sector = map_sectors["[delivery_point.z]"]
var/obj/effect/overmap/visitable/my_sector = GLOB.map_sectors["[current_turf.z]"]
var/obj/effect/overmap/visitable/delivery_point_sector = GLOB.map_sectors["[delivery_point.z]"]
// no delivering to ourselves
if(my_sector == delivery_point_sector)
continue
+1 -1
View File
@@ -22,7 +22,7 @@ var/global/list/all_cargo_receptacles = list()
if(current_map.use_overmap)
var/turf/current_turf = get_turf(loc)
var/obj/effect/overmap/visitable/my_sector = map_sectors["[current_turf.z]"]
var/obj/effect/overmap/visitable/my_sector = GLOB.map_sectors["[current_turf.z]"]
if(my_sector)
delivery_sector = WEAKREF(my_sector)
else
@@ -107,7 +107,7 @@ STOCK_ITEM_UNCOMMON(chempack, 5)
STOCK_ITEM_UNCOMMON(robolimbs, 3)
for(var/i in 1 to rand(1, 2))
var/manuf = pick(fabricator_robolimbs)
var/manuf = pick(GLOB.fabricator_robolimbs)
var/type = pick( \
/obj/item/robot_parts/l_arm, \
/obj/item/robot_parts/r_arm, \