bunch of global vars (#19091)

* bunch of global vars

* .
This commit is contained in:
Kashargul
2026-01-25 22:18:03 +01:00
committed by GitHub
parent 2f810d0f3e
commit de17517e42
92 changed files with 328 additions and 438 deletions
+1 -1
View File
@@ -395,7 +395,7 @@ var/list/runechat_image_cache = list()
var/static/rseed = rand(1,26)
// get hsl using the selected 6 characters of the md5 hash
var/hash = copytext(md5(name + "[world_startup_time]"), rseed, rseed + 6)
var/hash = copytext(md5(name + "[GLOB.world_startup_time]"), rseed, rseed + 6)
var/h = hex2num(copytext(hash, 1, 3)) * (360 / 255)
var/s = (hex2num(copytext(hash, 3, 5)) >> 2) * ((CM_COLOR_SAT_MAX - CM_COLOR_SAT_MIN) / 63) + CM_COLOR_SAT_MIN
var/l = (hex2num(copytext(hash, 5, 7)) >> 2) * ((CM_COLOR_LUM_MAX - CM_COLOR_LUM_MIN) / 63) + CM_COLOR_LUM_MIN
+2 -2
View File
@@ -20,7 +20,7 @@
gloves = /obj/item/clothing/gloves/swat
glasses = /obj/item/clothing/glasses/sunglasses
back = /obj/item/storage/backpack/satchel
id_type = /obj/item/card/id/centcom/ERT
id_type = /obj/item/card/id/centcom/ert
pda_type = /obj/item/pda/centcom
flags = OUTFIT_EXTENDED_SURVIVAL|OUTFIT_COMPREHENSIVE_SURVIVAL
@@ -30,7 +30,7 @@
/decl/hierarchy/outfit/job/emergency_responder/post_equip(var/mob/living/carbon/human/H)
..()
ert.add_antagonist(H.mind)
GLOB.ert.add_antagonist(H.mind)
/decl/hierarchy/outfit/job/clown
name = OUTFIT_JOB_NAME(JOB_CLOWN)
+4 -4
View File
@@ -11,7 +11,7 @@
gloves = /obj/item/clothing/gloves/combat
id_slot = slot_wear_id
id_type = /obj/item/card/id/centcom/ERT
id_type = /obj/item/card/id/centcom/ert
id_desc = "Special operations ID."
id_pda_assignment = "Special Operations Officer"
@@ -37,7 +37,7 @@
back = /obj/item/storage/backpack/satchel
id_slot = slot_wear_id
id_type = /obj/item/card/id/centcom/ERT
id_type = /obj/item/card/id/centcom/ert
headset = /obj/item/radio/headset/ert
headset_alt = /obj/item/radio/headset/ert
@@ -47,14 +47,14 @@
name = "Spec ops - Death commando"
/decl/hierarchy/outfit/death_command/equip(var/mob/living/carbon/human/H)
deathsquad.equip(H)
GLOB.deathsquad.equip(H)
return 1
/decl/hierarchy/outfit/syndicate_command
name = "Spec ops - Syndicate commando"
/decl/hierarchy/outfit/syndicate_command/equip(var/mob/living/carbon/human/H)
commandos.equip(H)
GLOB.commandos.equip(H)
return 1
/decl/hierarchy/outfit/mercenary