mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Allows soap and rags to be wet using mopbuckets
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
user << "[src] \icon[src] contains [reagents.total_volume] unit\s of water!"
|
user << "[src] \icon[src] contains [reagents.total_volume] unit\s of water!"
|
||||||
|
|
||||||
/obj/structure/mopbucket/attackby(obj/item/I, mob/user)
|
/obj/structure/mopbucket/attackby(obj/item/I, mob/user)
|
||||||
if(istype(I, /obj/item/weapon/mop))
|
if(istype(I, /obj/item/weapon/mop) || istype(I, /obj/item/weapon/soap) || istype(I, /obj/item/weapon/reagent_containers/glass/rag))
|
||||||
if(reagents.total_volume < 1)
|
if(reagents.total_volume < 1)
|
||||||
user << "<span class='warning'>\The [src] is out of water!</span>"
|
user << "<span class='warning'>\The [src] is out of water!</span>"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user