Fixes washing related issues (#17789)

* .

* Update atoms.dm

* wet
This commit is contained in:
Guti
2025-06-04 00:59:29 +02:00
committed by GitHub
parent 6c9def55be
commit 98c26af2b2
4 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -83,4 +83,4 @@ GLOBAL_VAR_INIT(magic_appearance_detecting_image, new /image) // appearances are
/// NaN isn't a number, damn it. Infinity is a problem too.
#define isnum_safe(x) ( isnum((x)) && !isnan((x)) && !isinf((x)) )
#define ismopable(A) (A && (A.layer <= ABOVE_JUNK_LAYER)) //If something can be cleaned by floor-cleaning devices such as mops or clean bots
#define ismopable(A) (A && (A.plane <= OBJ_PLANE)) //If something can be cleaned by floor-cleaning devices such as mops or clean bots
+1
View File
@@ -847,5 +847,6 @@ GLOBAL_LIST_EMPTY(icon_dimensions)
blood_DNA = null
return TRUE
blood_color = null
germ_level = 0
fluorescent = 0
+1
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)
+2
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!"))