[MIRROR] Cleaning machines and the cleanbot now scrubs instead of washes, wiping forensics (#402)

* Cleaning machines and the cleanbot now scrubs instead of washes, wiping forensics (#52983)

* Cleaning machines and the cleanbot now scrubs instead of washes, wiping forensics

Co-authored-by: Donkie <daniel.cf.hultgren@gmail.com>
This commit is contained in:
SkyratBot
2020-08-19 04:42:48 +02:00
committed by GitHub
co-authored by Donkie
parent 0a42289bdb
commit d8f5dc18d4
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -14,17 +14,17 @@
if(!isturf(tile))
return
tile.wash(CLEAN_WASH)
tile.wash(CLEAN_SCRUB)
for(var/A in tile)
// Clean small items that are lying on the ground
if(isitem(A))
var/obj/item/I = A
if(I.w_class <= WEIGHT_CLASS_SMALL && !ismob(I.loc))
I.wash(CLEAN_WASH)
I.wash(CLEAN_SCRUB)
// Clean humans that are lying down
else if(ishuman(A))
var/mob/living/carbon/human/cleaned_human = A
if(!(cleaned_human.mobility_flags & MOBILITY_STAND))
cleaned_human.wash(CLEAN_WASH)
cleaned_human.wash(CLEAN_SCRUB)
cleaned_human.regenerate_icons()
to_chat(cleaned_human, "<span class='danger'>[AM] cleans your face!</span>")
@@ -318,7 +318,7 @@
var/turf/T = get_turf(A)
if(do_after(src, 1, target = T))
T.wash(CLEAN_WASH)
T.wash(CLEAN_SCRUB)
visible_message("<span class='notice'>[src] cleans \the [T].</span>")
target = null
@@ -177,7 +177,7 @@
/mob/living/simple_animal/hostile/alien/maid/AttackingTarget()
if(ismovable(target))
target.wash(CLEAN_WASH)
target.wash(CLEAN_SCRUB)
if(istype(target, /obj/effect/decal/cleanable))
visible_message("<span class='notice'>[src] cleans up \the [target].</span>")
else