mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
[MIRROR] var/global/list -> GLOB. conversion (#11193)
Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6f8cbcf612
commit
2c9453b5c3
@@ -243,7 +243,7 @@ GLOBAL_LIST_BOILERPLATE(all_brain_organs, /obj/item/organ/internal/brain)
|
||||
if(ckey(clonemind.key) != R.ckey)
|
||||
return 0
|
||||
else
|
||||
for(var/mob/observer/dead/G in player_list)
|
||||
for(var/mob/observer/dead/G in GLOB.player_list)
|
||||
if(G.ckey == R.ckey)
|
||||
if(G.can_reenter_corpse)
|
||||
break
|
||||
|
||||
@@ -55,7 +55,7 @@ GLOBAL_LIST_EMPTY(limb_icon_cache)
|
||||
var/image/res = image('icons/mob/human_face.dmi',"bald_s")
|
||||
//Facial hair
|
||||
if(owner.f_style)
|
||||
var/datum/sprite_accessory/facial_hair_style = facial_hair_styles_list[owner.f_style]
|
||||
var/datum/sprite_accessory/facial_hair_style = GLOB.facial_hair_styles_list[owner.f_style]
|
||||
if(facial_hair_style && facial_hair_style.species_allowed && (data.get_species_bodytype(owner) in facial_hair_style.species_allowed))
|
||||
var/icon/facial_s = new/icon("icon" = facial_hair_style.icon, "icon_state" = "[facial_hair_style.icon_state]_s")
|
||||
if(facial_hair_style.do_colouration)
|
||||
@@ -65,10 +65,10 @@ GLOBAL_LIST_EMPTY(limb_icon_cache)
|
||||
//Head hair
|
||||
if(owner.h_style)
|
||||
var/style = owner.h_style
|
||||
var/datum/sprite_accessory/hair/hair_style = hair_styles_list[style]
|
||||
var/datum/sprite_accessory/hair/hair_style = GLOB.hair_styles_list[style]
|
||||
if(owner.head && (owner.head.flags_inv & BLOCKHEADHAIR))
|
||||
if(!(hair_style.flags & HAIR_VERY_SHORT))
|
||||
hair_style = hair_styles_list["Short Hair"]
|
||||
hair_style = GLOB.hair_styles_list["Short Hair"]
|
||||
if(hair_style && (data.get_species_bodytype(owner) in hair_style.species_allowed))
|
||||
var/icon/hair_s = new/icon("icon" = hair_style.icon, "icon_state" = "[hair_style.icon_state]_s")
|
||||
var/icon/hair_s_add = new/icon("icon" = hair_style.icon_add, "icon_state" = "[hair_style.icon_state]_s")
|
||||
|
||||
@@ -91,8 +91,8 @@
|
||||
|
||||
if(owner && owner.stat == DEAD)
|
||||
owner.set_stat(CONSCIOUS)
|
||||
dead_mob_list -= owner
|
||||
living_mob_list |= owner
|
||||
GLOB.dead_mob_list -= owner
|
||||
GLOB.living_mob_list |= owner
|
||||
owner.visible_message(span_danger("\The [owner] twitches visibly!"))
|
||||
|
||||
/obj/item/organ/internal/mmi_holder/removed(var/mob/living/user)
|
||||
|
||||
Reference in New Issue
Block a user