Refactors Item Blood Overlays (#16826)

* Refactors Item Blood Overlays

* update

* remove blood color changing
This commit is contained in:
Fox McCloud
2021-10-01 16:57:54 -04:00
committed by GitHub
parent 5db2b348ff
commit ee22c8d4ee
6 changed files with 29 additions and 94 deletions
@@ -88,9 +88,8 @@
/datum/species/slime/proc/blend(mob/living/carbon/human/H)
var/new_color = BlendRGB(H.skin_colour, "#acacac", 0.5) // Blends this to make it work better
if(H.blood_color != new_color) // Put here, so if it's a roundstart, dyed, or CMA'd slime, their blood changes to match skin
H.blood_color = new_color
H.dna.species.blood_color = H.blood_color
if(H.dna.species.blood_color != new_color) // Put here, so if it's a roundstart, dyed, or CMA'd slime, their blood changes to match skin
H.dna.species.blood_color = new_color
/datum/species/slime/handle_life(mob/living/carbon/human/H)
// Slowly shifting to the color of the reagents