mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Fixes the washing bug with boots
This commit is contained in:
@@ -388,7 +388,8 @@
|
|||||||
blood_DNA = list()
|
blood_DNA = list()
|
||||||
|
|
||||||
was_bloodied = 1
|
was_bloodied = 1
|
||||||
blood_color = "#A10808"
|
if(!blood_color)
|
||||||
|
blood_color = "#A10808"
|
||||||
if(istype(M))
|
if(istype(M))
|
||||||
if (!istype(M.dna, /datum/dna))
|
if (!istype(M.dna, /datum/dna))
|
||||||
M.dna = new /datum/dna(null)
|
M.dna = new /datum/dna(null)
|
||||||
|
|||||||
@@ -581,10 +581,9 @@ var/list/global/slot_flags_enumeration = list(
|
|||||||
if( !blood_overlay )
|
if( !blood_overlay )
|
||||||
generate_blood_overlay()
|
generate_blood_overlay()
|
||||||
|
|
||||||
//apply the blood-splatter overlay if it isn't already in there
|
//Make the blood_overlay have the proper color then apply it.
|
||||||
if(!blood_DNA.len)
|
blood_overlay.color = blood_color
|
||||||
blood_overlay.color = blood_color
|
overlays += blood_overlay
|
||||||
overlays += blood_overlay
|
|
||||||
|
|
||||||
//if this blood isn't already in the list, add it
|
//if this blood isn't already in the list, add it
|
||||||
if(istype(M))
|
if(istype(M))
|
||||||
|
|||||||
@@ -558,8 +558,17 @@
|
|||||||
update_icon()
|
update_icon()
|
||||||
|
|
||||||
/obj/item/clothing/shoes/update_icon()
|
/obj/item/clothing/shoes/update_icon()
|
||||||
|
overlays.Cut() //This removes all the overlays on the sprite and then goes down a checklist adding them as required.
|
||||||
|
if(blood_DNA)
|
||||||
|
add_blood()
|
||||||
if(holding)
|
if(holding)
|
||||||
overlays += image(icon, "[icon_state]_knife")
|
overlays += image(icon, "[icon_state]_knife")
|
||||||
|
if(contaminated)
|
||||||
|
overlays += contamination_overlay
|
||||||
|
//VOREStation Edit Start
|
||||||
|
if(gurgled)
|
||||||
|
decontaminate()
|
||||||
|
gurgle_contaminate()
|
||||||
if(ismob(usr))
|
if(ismob(usr))
|
||||||
var/mob/M = usr
|
var/mob/M = usr
|
||||||
M.update_inv_shoes()
|
M.update_inv_shoes()
|
||||||
|
|||||||
Reference in New Issue
Block a user