Turn more unmanaged global vars into GLOB (#20446)

Turned a ton of unmanaged globals into managed globals.
Refactored some UT output.
Removed some unused things, including vars.
Added a test to ensure people don't keep adding new unmanaged vars.
This commit is contained in:
Fluffy
2025-02-17 23:34:02 +00:00
committed by GitHub
parent eff1fb22de
commit 7265630dde
377 changed files with 1893 additions and 2288 deletions
@@ -1,4 +1,4 @@
var/global/ntnet_card_uid = 1
GLOBAL_VAR_INIT(ntnet_card_uid, 1)
/obj/item/computer_hardware/network_card
name = "basic NTNet network card"
@@ -30,8 +30,8 @@ var/global/ntnet_card_uid = 1
/obj/item/computer_hardware/network_card/Initialize()
. = ..()
identification_id = ntnet_card_uid
ntnet_card_uid++
identification_id = GLOB.ntnet_card_uid
GLOB.ntnet_card_uid++
/obj/item/computer_hardware/network_card/signaler
name = "NTNet signaler network card"