Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit b532846

Browse files
guh (#22696)
1 parent ec5d81b commit b532846

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

code/datums/components/bloodysoles.dm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,10 @@ Like its parent but can be applied to carbon mobs instead of clothing items
238238
if(ishuman(wielder))// Monkeys get no bloody feet :(
239239
var/obj/item/bodypart/l_leg/left_leg = wielder.get_bodypart(BODY_ZONE_L_LEG)
240240
var/obj/item/bodypart/r_leg/right_leg = wielder.get_bodypart(BODY_ZONE_R_LEG)
241-
if(left_leg?.species_id == right_leg?.species_id)
242-
if(icon_exists(bloody_feet.icon, "shoeblood_[left_leg.species_id]"))
243-
bloody_feet.icon_state = "shoeblood_[left_leg.species_id]"
241+
if(left_leg?.species_id == right_leg?.species_id && icon_exists(bloody_feet.icon, "shoeblood_[left_leg.species_id]"))
242+
bloody_feet.icon_state = "shoeblood_[left_leg.species_id]"
243+
else if(HAS_TRAIT(wielder, TRAIT_DIGITIGRADE) && !HAS_TRAIT(wielder, TRAIT_DIGI_SQUISH))
244+
bloody_feet.icon_state = "shoeblood_digi"
244245
if(HAS_BLOOD_DNA(wielder))
245246
bloody_feet.color = get_blood_dna_color(wielder.return_blood_DNA())
246247
. += bloody_feet

code/modules/clothing/shoes/_shoes.dm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@
5555
bloody_shoes = mutable_appearance('icons/effects/blood.dmi', "shoeblood")
5656
if(species_fitted && icon_exists(bloody_shoes.icon, "shoeblood_[species_fitted]"))
5757
bloody_shoes.icon_state = "shoeblood_[species_fitted]"
58+
else if(HAS_TRAIT(loc, TRAIT_DIGITIGRADE) && !HAS_TRAIT(loc, TRAIT_DIGI_SQUISH))
59+
bloody_shoes.icon_state = "shoeblood_digi"
5860
bloody_shoes.color = get_blood_dna_color(return_blood_DNA())
5961
. += bloody_shoes
6062

code/modules/clothing/suits/_suits.dm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
var/mutable_appearance/bloody_armor = mutable_appearance('icons/effects/blood.dmi', "[blood_overlay_type]blood")
3333
if(species_fitted && icon_exists(bloody_armor.icon, "[bloody_armor.icon_state]_[species_fitted]"))
3434
bloody_armor.icon_state = "[bloody_armor.icon_state]_[species_fitted]"
35+
else if(HAS_TRAIT(loc, TRAIT_DIGITIGRADE) && !HAS_TRAIT(loc, TRAIT_DIGI_SQUISH) && icon_exists(bloody_armor.icon, "[bloody_armor.icon_state]_digi"))
36+
bloody_armor.icon_state = "[bloody_armor.icon_state]_digi"
3537
bloody_armor.color = get_blood_dna_color(return_blood_DNA())
3638
. += bloody_armor
3739
var/mob/living/carbon/human/M = loc

code/modules/clothing/under/_under.dm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
var/mutable_appearance/bloody_uniform = mutable_appearance('icons/effects/blood.dmi', "uniformblood")
3636
if(species_fitted && icon_exists(bloody_uniform.icon, "uniformblood_[species_fitted]"))
3737
bloody_uniform.icon_state = "uniformblood_[species_fitted]"
38+
else if(HAS_TRAIT(loc, TRAIT_DIGITIGRADE) && !HAS_TRAIT(loc, TRAIT_DIGI_SQUISH))
39+
bloody_uniform.icon_state = "uniformblood_digi" // not using species_id because other digi legs exist
3840
bloody_uniform.color = get_blood_dna_color(return_blood_DNA())
3941
. += bloody_uniform
4042
if(accessory_overlay)

icons/effects/blood.dmi

590 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)