From 373ae22c641024272048effcd5b46d95200b6f22 Mon Sep 17 00:00:00 2001 From: Yawet330 Date: Fri, 26 Apr 2024 15:26:25 +0100 Subject: [PATCH] Additions additions additions. --- code/datums/components/bloodysoles.dm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/datums/components/bloodysoles.dm b/code/datums/components/bloodysoles.dm index 9fab9bf8d4b5..a01bc060a1e1 100644 --- a/code/datums/components/bloodysoles.dm +++ b/code/datums/components/bloodysoles.dm @@ -23,6 +23,9 @@ var/footprint_sprite = FOOTPRINT_SPRITE_SHOES + //Monkeystation edit. Holds colors. + var/blood_color + /datum/component/bloodysoles/Initialize() if(!isclothing(parent)) return COMPONENT_INCOMPATIBLE @@ -92,7 +95,7 @@ set_bloody_shoes(pool.blood_state, new_our_bloodiness) pool.bloodiness = total_bloodiness - new_our_bloodiness // Give the pool the remaining blood incase we were limited - + blood_color = pool.color //Monkeystation Edit. if(HAS_TRAIT(parent_atom, TRAIT_LIGHT_STEP)) //the character is agile enough to don't mess their clothing and hands just from one blood splatter at floor return TRUE @@ -184,6 +187,7 @@ oldLocFP.bloodiness = half_our_blood oldLocFP.add_blood_DNA(GET_ATOM_BLOOD_DNA(parent_atom)) oldLocFP.update_appearance() + oldLocFP.color = blood_color //Monkeystation Edit. Blood color for footprints. half_our_blood = bloody_shoes[last_blood_state] / 2 @@ -197,6 +201,7 @@ update_icon() var/obj/effect/decal/cleanable/blood/footprints/FP = new(get_turf(parent_atom), footprint_sprite) + FP.color = blood_color //Monkeystation edit. if(!QDELETED(FP)) ///prints merged FP.blood_state = last_blood_state FP.entered_dirs |= wielder.dir