Merge pull request #4570 from Belsima/master

Buffs the mop bucket by the same amount as the janicart.
This commit is contained in:
Anewbe
2018-01-18 16:40:03 -06:00
committed by GitHub
+4 -4
View File
@@ -12,18 +12,18 @@
/obj/structure/mopbucket/New()
create_reagents(100)
create_reagents(300)
..()
/obj/structure/mopbucket/examine(mob/user)
if(..(user, 1))
user << "[src] \icon[src] contains [reagents.total_volume] unit\s of water!"
to_chat(user, "[src] \icon[src] contains [reagents.total_volume] unit\s of water!")
/obj/structure/mopbucket/attackby(obj/item/I, mob/user)
if(istype(I, /obj/item/weapon/mop))
if(reagents.total_volume < 1)
user << "<span class='warning'>\The [src] is out of water!</span>"
to_chat(user, "<span class='warning'>\The [src] is out of water!</span>")
else
reagents.trans_to_obj(I, 5)
user << "<span class='notice'>You wet \the [I] in \the [src].</span>"
to_chat(user, "<span class='notice'>You wet \the [I] in \the [src].</span>")
playsound(loc, 'sound/effects/slosh.ogg', 25, 1)