Skip to content

Commit

Permalink
Merge branch 'dev-sierra' into upstream-pr-34979
Browse files Browse the repository at this point in the history
  • Loading branch information
LordNest authored Jan 7, 2025
2 parents 6badd68 + f1376ad commit ab8c663
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 14 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
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/examine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
msg += "The message \"[robohead.display_text]\" is displayed on its screen.\n"

//splints
for(var/organ in list(BP_L_LEG, BP_R_LEG, BP_L_ARM, BP_R_ARM))
for(var/organ in list(BP_L_LEG, BP_R_LEG, BP_L_FOOT, BP_R_FOOT, BP_L_ARM, BP_R_ARM, BP_L_HAND, BP_R_HAND))
var/obj/item/organ/external/o = get_organ(organ)
if(o && o.splinted && o.splinted.loc == o)
msg += "[SPAN_WARNING("[P.He] [P.has] \a [o.splinted] on [P.his] [o.name]!")]\n"
Expand Down
30 changes: 17 additions & 13 deletions code/modules/mob/living/carbon/human/update_icons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -143,17 +143,19 @@ 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 HO_EFFECTS_LAYER 28
#define TOTAL_LAYERS 29
#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 @@ -576,9 +578,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: 4 additions & 0 deletions html/changelogs/AutoChangeLog-sierra-pr-3010.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
author: SierraKomodo
changes:
- {tweak: Goggles now render over bandanas when worn and pushed up.}
delete-after: true
4 changes: 4 additions & 0 deletions html/changelogs/AutoChangeLog-sierra-pr-3076.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
author: SierraKomodo
changes:
- {bugfix: Splints on hands and feet now appear in examine text when examining mobs.}
delete-after: true

0 comments on commit ab8c663

Please sign in to comment.