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:
Atermonera
2022-04-24 19:56:07 -08:00
committed by GitHub
240 changed files with 787 additions and 775 deletions
+5 -5
View File
@@ -4,12 +4,12 @@
//Blood levels. These are percentages based on the species blood_volume var.
//Retained for archival/reference purposes - KK
/*
var/const/BLOOD_VOLUME_SAFE = 85
var/const/BLOOD_VOLUME_OKAY = 75
var/const/BLOOD_VOLUME_BAD = 60
var/const/BLOOD_VOLUME_SURVIVE = 40
var/global/const/BLOOD_VOLUME_SAFE = 85
var/global/const/BLOOD_VOLUME_OKAY = 75
var/global/const/BLOOD_VOLUME_BAD = 60
var/global/const/BLOOD_VOLUME_SURVIVE = 40
*/
var/const/CE_STABLE_THRESHOLD = 0.5
var/global/const/CE_STABLE_THRESHOLD = 0.5
/mob/living/carbon/human/var/datum/reagents/vessel // Container for blood and BLOOD ONLY. Do not transfer other chems here.
/mob/living/carbon/human/var/var/pale = 0 // Should affect how mob sprite is drawn, but currently doesn't.
+1 -1
View File
@@ -1,4 +1,4 @@
var/list/organ_cache = list()
var/global/list/organ_cache = list()
/obj/item/organ
name = "organ"
+2 -2
View File
@@ -195,8 +195,8 @@ var/global/list/limb_icon_cache = list()
// damage amount to represent the pain of the injuries involved.
// Global scope, used in code below.
var/list/flesh_hud_colours = list("#02BA08","#9ECF19","#DEDE10","#FFAA00","#FF0000","#AA0000","#660000")
var/list/robot_hud_colours = list("#CFCFCF","#AFAFAF","#8F8F8F","#6F6F6F","#4F4F4F","#2F2F2F","#000000")
var/global/list/flesh_hud_colours = list("#02BA08","#9ECF19","#DEDE10","#FFAA00","#FF0000","#AA0000","#660000")
var/global/list/robot_hud_colours = list("#CFCFCF","#AFAFAF","#8F8F8F","#6F6F6F","#4F4F4F","#2F2F2F","#000000")
/obj/item/organ/external/proc/get_damage_hud_image(var/min_dam_state)
+5 -5
View File
@@ -1,8 +1,8 @@
var/list/all_robolimbs = list()
var/list/robolimb_data = list()
var/list/chargen_robolimbs = list()
var/datum/robolimb/basic_robolimb
var/const/standard_monitor_styles = "blank=ipc_blank;\
var/global/list/all_robolimbs = list()
var/global/list/robolimb_data = list()
var/global/list/chargen_robolimbs = list()
var/global/datum/robolimb/basic_robolimb
var/global/const/standard_monitor_styles = "blank=ipc_blank;\
pink=ipc_pink;\
green=ipc_green;\
red=ipc_red;\