/obj/structure/mopbucket//SKYRAT EDIT - ICON OVERRIDEN BY AESTHETICS - SEE MODULE name = "mop bucket" desc = "Fill it with water, but don't forget a mop!" icon = 'icons/obj/janitor.dmi' icon_state = "mopbucket" density = TRUE var/amount_per_transfer_from_this = 5 //shit I dunno, adding this so syringes stop runtime erroring. --NeoFite /obj/structure/mopbucket/Initialize(mapload) . = ..() create_reagents(100, OPENCONTAINER) /obj/structure/mopbucket/attackby(obj/item/I, mob/user, params) if(istype(I, /obj/item/mop)) if(reagents.total_volume < 1) to_chat(user, span_warning("[src] is out of water!")) else reagents.trans_to(I, 5, transfered_by = user) to_chat(user, span_notice("You wet [I] in [src].")) playsound(loc, 'sound/effects/slosh.ogg', 25, TRUE) update_appearance() return TRUE //Stop the click handling chain so the mop after attack doesn't proc and you don't wet the turf the bucket is on else . = ..() update_appearance() /obj/structure/mopbucket/update_overlays() . = ..() if(reagents.total_volume > 0) . += "mopbucket_water"