mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 04:57:57 +01:00
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:
@@ -38,13 +38,13 @@
|
||||
/obj/structure/mop_bucket/attackby_secondary(obj/item/weapon, mob/user, params)
|
||||
if(istype(weapon, /obj/item/mop))
|
||||
if(weapon.reagents.total_volume >= weapon.reagents.maximum_volume)
|
||||
balloon_alert(user, "mop is already soaked!")
|
||||
balloon_alert(user, "already soaked!")
|
||||
return SECONDARY_ATTACK_CANCEL_ATTACK_CHAIN
|
||||
if(!CART_HAS_MINIMUM_REAGENT_VOLUME)
|
||||
balloon_alert(user, "mop bucket is empty!")
|
||||
balloon_alert(user, "empty!")
|
||||
return SECONDARY_ATTACK_CANCEL_ATTACK_CHAIN
|
||||
reagents.trans_to(weapon, weapon.reagents.maximum_volume, transfered_by = user)
|
||||
balloon_alert(user, "wet mop")
|
||||
balloon_alert(user, "doused mop")
|
||||
playsound(src, 'sound/effects/slosh.ogg', 25, vary = TRUE)
|
||||
|
||||
if(istype(weapon, /obj/item/reagent_containers) || istype(weapon, /obj/item/mop))
|
||||
|
||||
Reference in New Issue
Block a user