mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
code/global.dm => code/_global_vars/ (#17244)
* 1 * Full conversion * . * . --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -126,9 +126,9 @@
|
||||
|
||||
/obj/structure/filingcabinet/security/proc/populate()
|
||||
if(virgin)
|
||||
for(var/datum/data/record/G in data_core.general)
|
||||
for(var/datum/data/record/G in GLOB.data_core.general)
|
||||
var/datum/data/record/S
|
||||
for(var/datum/data/record/R in data_core.security)
|
||||
for(var/datum/data/record/R in GLOB.data_core.security)
|
||||
if((R.fields["name"] == G.fields["name"] || R.fields["id"] == G.fields["id"]))
|
||||
S = R
|
||||
break
|
||||
@@ -161,9 +161,9 @@
|
||||
|
||||
/obj/structure/filingcabinet/medical/proc/populate()
|
||||
if(virgin)
|
||||
for(var/datum/data/record/G in data_core.general)
|
||||
for(var/datum/data/record/G in GLOB.data_core.general)
|
||||
var/datum/data/record/M
|
||||
for(var/datum/data/record/R in data_core.medical)
|
||||
for(var/datum/data/record/R in GLOB.data_core.medical)
|
||||
if((R.fields["name"] == G.fields["name"] || R.fields["id"] == G.fields["id"]))
|
||||
M = R
|
||||
break
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
for(var/i=(paperamount-max_paper);i>0;i--)
|
||||
var/obj/item/shreddedp/SP = get_shredded_paper()
|
||||
SP.loc = get_turf(src)
|
||||
SP.throw_at(get_edge_target_turf(src,pick(alldirs)),1,5)
|
||||
SP.throw_at(get_edge_target_turf(src,pick(GLOB.alldirs)),1,5)
|
||||
paperamount = max_paper
|
||||
update_icon()
|
||||
return
|
||||
|
||||
@@ -274,7 +274,7 @@
|
||||
/*
|
||||
// Limit signatures to official crew members
|
||||
var/personnel_list[] = list()
|
||||
for(var/datum/data/record/t in data_core.locked) //Look in data core locked.
|
||||
for(var/datum/data/record/t in GLOB.data_core.locked) //Look in data core locked.
|
||||
personnel_list.Add(t.fields["name"])
|
||||
personnel_list.Add("Anonymous")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user