From 51d96108ae367fb0b53e5226c7a692d39a100020 Mon Sep 17 00:00:00 2001 From: SierraKomodo <11140088+SierraKomodo@users.noreply.github.com> Date: Wed, 18 Dec 2024 13:35:14 +0000 Subject: [PATCH] [MIRROR] Goggles now render over bandanas --- code/modules/clothing/masks/miscellaneous.dm | 1 + .../mob/living/carbon/human/update_icons.dm | 28 +++++++++++-------- maps/torch/job/service_jobs.dm | 4 --- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/code/modules/clothing/masks/miscellaneous.dm b/code/modules/clothing/masks/miscellaneous.dm index 67a791d07e82f..02e62edd50e30 100644 --- a/code/modules/clothing/masks/miscellaneous.dm +++ b/code/modules/clothing/masks/miscellaneous.dm @@ -249,6 +249,7 @@ item_state = "bandana" item_flags = ITEM_FLAG_FLEXIBLEMATERIAL | ITEM_FLAG_WASHER_ALLOWED w_class = ITEM_SIZE_SMALL + use_alt_layer = TRUE /obj/item/clothing/mask/bandana/equipped(mob/user, slot) switch(slot) diff --git a/code/modules/mob/living/carbon/human/update_icons.dm b/code/modules/mob/living/carbon/human/update_icons.dm index 604313ccf91e6..d6dafaf9a3509 100644 --- a/code/modules/mob/living/carbon/human/update_icons.dm +++ b/code/modules/mob/living/carbon/human/update_icons.dm @@ -138,16 +138,18 @@ Please contact me on #coderbus IRC. ~Carn x #define HO_SUIT_STORE_LAYER 16 #define HO_BACK_LAYER 17 #define HO_HAIR_LAYER 18 //TODO: make part of head layer? -#define HO_GOGGLES_LAYER 19 -#define HO_EARS_LAYER 20 -#define HO_FACEMASK_LAYER 21 -#define HO_HEAD_LAYER 22 -#define HO_COLLAR_LAYER 23 -#define HO_HANDCUFF_LAYER 24 -#define HO_L_HAND_LAYER 25 -#define HO_R_HAND_LAYER 26 -#define HO_FIRE_LAYER 27 //If you're on fire -#define TOTAL_LAYERS 28 +#define HO_EARS_LAYER 19 +#define HO_ALT_HEAD_LAYER 20 +#define HO_GOGGLES_LAYER 21 +#define HO_FACEMASK_LAYER 22 +#define HO_HEAD_LAYER 23 +#define HO_COLLAR_LAYER 24 +#define HO_HANDCUFF_LAYER 25 +#define HO_L_HAND_LAYER 26 +#define HO_R_HAND_LAYER 27 +#define HO_FIRE_LAYER 28 //If you're on fire +#define HO_EFFECTS_LAYER 29 +#define TOTAL_LAYERS 30 ////////////////////////////////// /mob/living/carbon/human @@ -569,9 +571,11 @@ var/global/list/damage_icon_parts = list() /mob/living/carbon/human/update_inv_head(update_icons=1) if(head) - overlays_standing[HO_HEAD_LAYER] = head.get_mob_overlay(src,slot_head_str) + overlays_standing[head.use_alt_layer ? HO_ALT_HEAD_LAYER : HO_HEAD_LAYER] = head.get_mob_overlay(src,slot_head_str) + overlays_standing[head.use_alt_layer ? HO_HEAD_LAYER : HO_ALT_HEAD_LAYER] = null else - overlays_standing[HO_HEAD_LAYER] = null + overlays_standing[HO_HEAD_LAYER] = null + overlays_standing[HO_ALT_HEAD_LAYER] = null if(update_icons) queue_icon_update() diff --git a/maps/torch/job/service_jobs.dm b/maps/torch/job/service_jobs.dm index d21b75f02c2a5..b4f0386f596b8 100644 --- a/maps/torch/job/service_jobs.dm +++ b/maps/torch/job/service_jobs.dm @@ -61,14 +61,10 @@ /datum/mil_rank/fleet/o1, /datum/mil_rank/fleet/o2, /datum/mil_rank/ec/o1) -<<<<<<< ours - min_skill = list(SKILL_BUREAUCRACY = SKILL_BASIC) -======= min_skill = list( // 1 point SKILL_BUREAUCRACY = SKILL_BASIC, // 1 point SKILL_WEAPONS = SKILL_UNSKILLED // Fleet chaplains may refuse weapon training ) ->>>>>>> theirs access = list( access_morgue, access_chapel_office,