mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 15:18:09 +01:00
[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:
co-authored by
Guti
Kashargul
parent
6badc27205
commit
4558eaab04
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user