[MIRROR] Unglogs Soap and makes it work similar to how it used to (#11135)

Co-authored-by: Reo Lozzot <84661000+ReoDaProtovali@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-07-02 22:16:41 +02:00
committed by GitHub
co-authored by Reo Lozzot Kashargul
parent 7ca2e242b1
commit 043545d05d
6 changed files with 138 additions and 95 deletions
@@ -605,6 +605,12 @@
to_chat(user, span_notice("You wet \the [O] in \the [src]."))
playsound(src, 'sound/effects/slosh.ogg', 25, 1)
return
else if(istype(O, /obj/item/soap))
var/obj/item/soap/soap = O
to_chat(user, span_notice("You wet \the [O] in \the [src]"))
soap.wet()
O.wash(CLEAN_SCRUB)
return
var/turf/location = user.loc
if(!isturf(location)) return