Sinks can act as endless sources and drains for reagent hoses (#17897)

This commit is contained in:
Will
2025-06-21 21:46:46 -04:00
committed by GitHub
parent 165eaebc47
commit 2033cdfd9a
2 changed files with 45 additions and 0 deletions
@@ -500,6 +500,11 @@
anchored = TRUE
var/busy = 0 //Something's being washed at the moment
/obj/structure/sink/Initialize(mapload)
. = ..()
AddComponent(/datum/component/hose_connector/endless_source/water)
AddComponent(/datum/component/hose_connector/endless_drain)
/obj/structure/sink/MouseDrop_T(var/obj/item/thing, var/mob/user)
..()
if(!istype(thing) || !thing.is_open_container())