Janitor balloon alerts (#76284)

## About The Pull Request

Adds some balloon alerts to the mop, /datum/component/cleaner, and the
light replacer
edits some balloon alerts on the janicart

## Why It's Good For The Game

Doing your duties as a janitor tends to clog up chat, and this stuff
seems better for balloon alerts anyway.
Newer players are also often directed towards janitor, and this will
help with feedback for someone unaccustomed to looking at chat.
If any of these are too long let me know.

## Changelog

🆑 Seven
qol: Mops, some cleaning items, and light replacers now use balloon
alerts
/🆑
This commit is contained in:
Lufferly
2023-06-26 22:16:08 -06:00
committed by GitHub
parent 16ac04b486
commit 5057e65041
5 changed files with 26 additions and 25 deletions
@@ -405,10 +405,10 @@
/obj/item/reagent_containers/cup/bucket/attackby(obj/O, mob/user, params)
if(istype(O, /obj/item/mop))
if(reagents.total_volume < 1)
to_chat(user, span_warning("[src] is out of water!"))
user.balloon_alert(user, "empty!")
else
reagents.trans_to(O, 5, transfered_by = user)
to_chat(user, span_notice("You wet [O] in [src]."))
user.balloon_alert(user, "doused [O]")
playsound(loc, 'sound/effects/slosh.ogg', 25, TRUE)
return
else if(isprox(O)) //This works with wooden buckets for now. Somewhat unintended, but maybe someone will add sprites for it soon(TM)