mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-22 20:56:33 +01:00
Merge pull request #8531 from Spookerton/spkrtn/sys/global-agenda
updates all bare globals to use /global/ semantics, and all shared members to /static/
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
var/datum/category_collection/autolathe/autolathe_recipes
|
||||
var/global/datum/category_collection/autolathe/autolathe_recipes
|
||||
|
||||
/datum/category_item/autolathe/New()
|
||||
..()
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
*/
|
||||
|
||||
// Cached runechat icon
|
||||
var/list/runechat_image_cache = list()
|
||||
var/global/list/runechat_image_cache = list()
|
||||
|
||||
|
||||
/hook/startup/proc/runechat_images()
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
var/list/modcount = list() // assoc list of the count of modules for a type
|
||||
|
||||
|
||||
var/list/modules = list( // global associative list
|
||||
var/global/list/modules = list( // global associative list
|
||||
"/obj/machinery/power/apc" = "card_reader,power_control,id_auth,cell_power,cell_charge")
|
||||
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
// /old_opacity: Opacity before the change
|
||||
// /new_opacity: Opacity after the change
|
||||
|
||||
var/decl/observ/turf_changed/turf_changed_event = new()
|
||||
var/global/decl/observ/turf_changed/turf_changed_event = new()
|
||||
|
||||
/decl/observ/turf_changed
|
||||
name = "Turf Changed"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
var/list/outfits_decls_
|
||||
var/list/outfits_decls_root_
|
||||
var/list/outfits_decls_by_type_
|
||||
var/global/list/outfits_decls_
|
||||
var/global/list/outfits_decls_root_
|
||||
var/global/list/outfits_decls_by_type_
|
||||
|
||||
/proc/outfit_by_type(var/outfit_type)
|
||||
if(!outfits_decls_root_)
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
// III. Thou shalt not write a decl that relies on arguments supplied to New().
|
||||
// IV. Thou shalt not call Initialize() on a /decl.
|
||||
|
||||
var/repository/decls/decls_repository = new()
|
||||
var/global/repository/decls/decls_repository = new()
|
||||
/repository/decls
|
||||
var/list/fetched_decls
|
||||
var/list/fetched_decl_types
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
var/repository/unique/uniqueness_repository = new()
|
||||
var/global/repository/unique/uniqueness_repository = new()
|
||||
|
||||
/repository/unique
|
||||
var/list/generators
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//NOTE NOTE: Hidden var is now deprecated, whoever removed support for it should've removed the var altogether
|
||||
|
||||
//var/list/all_supply_groups = list("Operations","Security","Hospitality","Engineering","Atmospherics","Medical","Reagents","Reagent Cartridges","Science","Hydroponics", "Supply", "Miscellaneous")
|
||||
var/list/all_supply_groups = list("Atmospherics",
|
||||
var/global/list/all_supply_groups = list("Atmospherics",
|
||||
"Costumes",
|
||||
"Engineering",
|
||||
"Hospitality",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
var/datum/uplink/uplink = new()
|
||||
var/global/datum/uplink/uplink = new()
|
||||
|
||||
/datum/uplink
|
||||
var/list/items_assoc
|
||||
|
||||
Reference in New Issue
Block a user