mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Fix for #4458.
This commit is contained in:
@@ -268,10 +268,12 @@
|
|||||||
if(H.belt)
|
if(H.belt)
|
||||||
if(H.belt.clean_blood())
|
if(H.belt.clean_blood())
|
||||||
H.update_inv_belt(0)
|
H.update_inv_belt(0)
|
||||||
|
H.clean_blood(washshoes)
|
||||||
else
|
else
|
||||||
if(M.wear_mask) //if the mob is not human, it cleans the mask without asking for bitflags
|
if(M.wear_mask) //if the mob is not human, it cleans the mask without asking for bitflags
|
||||||
if(M.wear_mask.clean_blood())
|
if(M.wear_mask.clean_blood())
|
||||||
M.update_inv_wear_mask(0)
|
M.update_inv_wear_mask(0)
|
||||||
|
M.clean_blood()
|
||||||
else
|
else
|
||||||
O.clean_blood()
|
O.clean_blood()
|
||||||
|
|
||||||
|
|||||||
@@ -1113,10 +1113,12 @@
|
|||||||
verbs += /mob/living/carbon/human/proc/bloody_doodle
|
verbs += /mob/living/carbon/human/proc/bloody_doodle
|
||||||
return 1 //we applied blood to the item
|
return 1 //we applied blood to the item
|
||||||
|
|
||||||
/mob/living/carbon/human/clean_blood()
|
/mob/living/carbon/human/clean_blood(var/clean_feet)
|
||||||
.=..()
|
.=..()
|
||||||
if(istype(feet_blood_DNA, /list) && feet_blood_DNA.len)
|
if(clean_feet && !shoes && istype(feet_blood_DNA, /list) && feet_blood_DNA.len)
|
||||||
|
feet_blood_color = null
|
||||||
del(feet_blood_DNA)
|
del(feet_blood_DNA)
|
||||||
|
update_inv_shoes(1)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
/mob/living/carbon/human/get_visible_implants(var/class = 0)
|
/mob/living/carbon/human/get_visible_implants(var/class = 0)
|
||||||
|
|||||||
@@ -1189,7 +1189,7 @@
|
|||||||
if(cleaned_human.shoes)
|
if(cleaned_human.shoes)
|
||||||
cleaned_human.shoes.clean_blood()
|
cleaned_human.shoes.clean_blood()
|
||||||
cleaned_human.update_inv_shoes(0)
|
cleaned_human.update_inv_shoes(0)
|
||||||
cleaned_human.clean_blood()
|
cleaned_human.clean_blood(1)
|
||||||
cleaned_human << "\red [src] cleans your face!"
|
cleaned_human << "\red [src] cleans your face!"
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
@@ -962,6 +962,9 @@ datum
|
|||||||
if(H.shoes)
|
if(H.shoes)
|
||||||
if(H.shoes.clean_blood())
|
if(H.shoes.clean_blood())
|
||||||
H.update_inv_shoes(0)
|
H.update_inv_shoes(0)
|
||||||
|
else
|
||||||
|
H.clean_blood(1)
|
||||||
|
return
|
||||||
M.clean_blood()
|
M.clean_blood()
|
||||||
|
|
||||||
leporazine
|
leporazine
|
||||||
|
|||||||
Reference in New Issue
Block a user