[MIRROR] Soap & clean proc refactor (#10989)

Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-06-02 19:18:12 +02:00
committed by GitHub
co-authored by Guti Kashargul
parent 6badc27205
commit 4558eaab04
39 changed files with 465 additions and 327 deletions
+7 -5
View File
@@ -713,11 +713,6 @@ var/list/global/slot_flags_enumeration = list(
M.eye_blurry += rand(3,4)
return
/obj/item/clean_blood()
. = ..()
if(blood_overlay)
overlays.Remove(blood_overlay)
/obj/item/reveal_blood()
if(was_bloodied && !fluorescent)
fluorescent = 1
@@ -1171,3 +1166,10 @@ Note: This proc can be overwritten to allow for different types of auto-alignmen
transform = animation_matrix
animate(src, alpha = old_alpha, pixel_x = old_x, pixel_y = old_y, transform = old_transform, time = 3, easing = CUBIC_EASING)
/obj/item/wash(clean_types)
. = ..()
if(cleanname)
name = cleanname
if(cleandesc)
name = cleandesc