Skip to content

Commit

Permalink
fixes suits
Browse files Browse the repository at this point in the history
  • Loading branch information
KoboldCommando committed Nov 1, 2023
1 parent e2c3f3d commit 860469e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions code/modules/clothing/suits/_suits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
var/blood_overlay_type = "suit"
limb_integrity = 0 // disabled for most exo-suits
var/suittoggled = FALSE // sec duster toggling and more
supports_variations_flags = CLOTHING_DIGITIGRADE_VARIATION

/obj/item/clothing/suit/Initialize(mapload)
. = ..()
Expand Down
6 changes: 3 additions & 3 deletions code/modules/mob/living/carbon/human/human_update_icons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,9 @@ There are several things that need to be remembered:
var/icon_file = DEFAULT_SUIT_FILE

var/mutant_override = FALSE
if(dna.species.bodytype & BODYTYPE_DIGITIGRADE)
if(worn_item.supports_variations_flags & CLOTHING_DIGITIGRADE_VARIATION)
icon_file = wear_suit.worn_icon_digitigrade || DIGITIGRADE_SUIT_FILE
if((dna?.species.bodytype & BODYTYPE_DIGITIGRADE) && (wear_suit.supports_variations_flags & CLOTHING_DIGITIGRADE_VARIATION))
icon_file = wear_suit.worn_icon_digitigrade || DIGITIGRADE_SUIT_FILE
mutant_override = TRUE
else if(dna.species.bodytype & BODYTYPE_CUSTOM)
var/species_icon_file = dna.species.generate_custom_worn_icon(LOADOUT_ITEM_SUIT, wear_suit)
if(species_icon_file)
Expand Down
Binary file modified monkestation/icons/mob/species/misc/suit_digi.dmi
Binary file not shown.

0 comments on commit 860469e

Please sign in to comment.