Better Mop and Cart love

Slight tweak to the behavior of attacking the janicart with a mop.
Changed it so that it stores the mop when it is soaked (or the bucket is empty), as I'm sure most players would prefer their mop to always be fully soaked when they remove it from the cart.

Also changed the examine text from 'water' to 'liquid' as it was misleading. It can actually be filled with any reagent, even welder fuel...or acid... or blood... or dr.gibb...space lube... you get the picture.
This commit is contained in:
Malkevin
2013-05-14 17:02:35 +01:00
parent cfbd530a2b
commit cef6bd2786
+2 -2
View File
@@ -23,7 +23,7 @@
/obj/structure/janitorialcart/examine()
set src in usr
usr << "[src] \icon[src] contains [reagents.total_volume] unit\s of water!"
usr << "[src] \icon[src] contains [reagents.total_volume] unit\s of liquid!"
..()
//everything else is visible, so doesn't need to be mentioned
@@ -38,7 +38,7 @@
user << "<span class='notice'>You put [I] into [src].</span>"
else if(istype(I, /obj/item/weapon/mop))
if(I.reagents.total_volume < 1) //if it's at all wet, we assume they want to store the mop.
if(I.reagents.total_volume < 5) //if it's not completely soaked we assume they want to wet it, otherwise store it
if(reagents.total_volume < 1)
user << "[src] is out of water!</span>"
else