New janicart sprites/features

This commit is contained in:
Atermonera
2020-05-22 20:37:49 -04:00
committed by VirgoBot
parent 23f414ac7b
commit e7af0b2587
3 changed files with 45 additions and 0 deletions
+5
View File
@@ -3,6 +3,7 @@ GLOBAL_LIST_BOILERPLATE(all_janitorial_carts, /obj/structure/janitorialcart)
/obj/structure/janitorialcart
name = "janitorial cart"
desc = "The ultimate in janitorial carts! Has space for water, mops, signs, trash bags, and more!"
description_info = "You can use alt-click while holding a mop to stow the mop. Alt-click holding a reagent container will empty the contents into the bucket without trying to put the container in any attached trash bag."
icon = 'icons/obj/janitor.dmi'
icon_state = "cart"
anchored = 0
@@ -56,7 +57,11 @@ GLOBAL_LIST_BOILERPLATE(all_janitorial_carts, /obj/structure/janitorialcart)
else
mybucket.reagents.trans_to_obj(I, 5) //
to_chat(user, "<span class='notice'>You wet [I] in [mybucket].</span>")
<<<<<<< HEAD
playsound(src, 'sound/effects/slosh.ogg', 25, 1)
=======
playsound(loc, 'sound/effects/slosh.ogg', 25, 1)
>>>>>>> 656cbe7... Merge pull request #7190 from VOREStation/Arokha/janicart
else
to_chat(user, "<span class='notice'>[I] can't absorb anymore liquid!</span>")
else