[MIRROR] Sinks can act as endless sources and drains for reagent hoses (#11104)

Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-06-22 19:56:36 +02:00
committed by GitHub
co-authored by Will
parent 75e51afa86
commit 79169d3469
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())