Allow simply putting soap/mop/rag in storage if clean. (#32092)

* Allow simply putting soap/mop/rag in storage if clean.

* Apply suggestion from review.

Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
Signed-off-by: Alan <alfalfascout@users.noreply.github.com>

---------

Signed-off-by: Alan <alfalfascout@users.noreply.github.com>
Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
This commit is contained in:
Alan
2026-07-01 23:13:20 +00:00
committed by GitHub
co-authored by PollardTheDragon
parent 07a6890803
commit 4c7e65d7b2
4 changed files with 26 additions and 14 deletions
@@ -22,6 +22,9 @@
return ..()
/obj/item/reagent_containers/glass/rag/normal_act(atom/target, mob/living/user)
// if it's a storage item and it isn't dirty, just put the rag in the storage
if(isstorage(target) && !target.is_dirty())
return ..()
target.cleaning_act(user, src, wipespeed)
return TRUE