Skip to content

Commit

Permalink
[MIRROR] Goggles now render over bandanas
Browse files Browse the repository at this point in the history
  • Loading branch information
SierraKomodo authored and LordNest committed Jan 7, 2025
1 parent 826d447 commit 51d9610
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
1 change: 1 addition & 0 deletions code/modules/clothing/masks/miscellaneous.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
28 changes: 16 additions & 12 deletions code/modules/mob/living/carbon/human/update_icons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()

Expand Down
4 changes: 0 additions & 4 deletions maps/torch/job/service_jobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 51d9610

Please sign in to comment.