[MIRROR] More globals (#12530)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-03-15 11:26:29 -07:00
committed by GitHub
parent de8fed65df
commit 4f5dce5ebe
238 changed files with 984 additions and 1026 deletions
@@ -1,4 +1,4 @@
var/global/ntnrc_uid = 0
GLOBAL_VAR_INIT(ntnrc_uid, 0)
/datum/ntnet_conversation/
var/id = null
@@ -9,8 +9,8 @@ var/global/ntnrc_uid = 0
var/password
/datum/ntnet_conversation/New()
id = ntnrc_uid
ntnrc_uid++
id = GLOB.ntnrc_uid
GLOB.ntnrc_uid++
if(GLOB.ntnet_global)
GLOB.ntnet_global.chat_channels.Add(src)
..()
@@ -1,4 +1,5 @@
var/warrant_uid = 0
GLOBAL_VAR_INIT(warrant_uid, 0)
/datum/datacore
var/list/warrants = list()
@@ -7,7 +8,7 @@ var/warrant_uid = 0
/datum/data/record/warrant/New()
..()
warrant_id = warrant_uid++
warrant_id = GLOB.warrant_uid++
/datum/computer_file/program/digitalwarrant
filename = "digitalwarrant"
@@ -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"
@@ -35,8 +35,8 @@ var/global/ntnet_card_uid = 1
/obj/item/computer_hardware/network_card/Initialize(mapload)
. = ..()
identification_id = ntnet_card_uid
ntnet_card_uid++
identification_id = GLOB.ntnet_card_uid
GLOB.ntnet_card_uid++
/obj/item/computer_hardware/network_card/advanced
name = "advanced NTNet network card"