[MIRROR] Fixes washing related issues (#11007)

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-04 10:30:55 -07:00
committed by GitHub
parent 6d73a10ec5
commit 21be1859ac
4 changed files with 5 additions and 2 deletions

View File

@@ -72,6 +72,7 @@
to_chat(user, span_notice("You scrub \the [target.name] clean."))
var/turf/T = target
T.wash(CLEAN_SCRUB)
reagents.trans_to_turf(T, 1, 10)
decreaseUses(user)
else if(ishuman(target) && user.zone_sel.selecting == O_MOUTH)
if(target == user)

View File

@@ -35,6 +35,7 @@ GLOBAL_LIST_BOILERPLATE(all_mops, /obj/item/mop)
var/turf/T = get_turf(A)
if(T)
T.wash(CLEAN_SCRUB)
reagents.trans_to_turf(T, 1, 10)
to_chat(user, span_notice("You have finished mopping!"))
@@ -76,4 +77,5 @@ GLOBAL_LIST_BOILERPLATE(all_mops, /obj/item/mop)
var/turf/T = get_turf(A)
if(T)
T.wash(CLEAN_SCRUB)
reagents.trans_to_turf(T, 1, 10)
to_chat(user, span_notice("You have finished mopping!"))