From 58467b3ed14d576caae775c212df026ba97b5aa0 Mon Sep 17 00:00:00 2001 From: Hayden Redacted <91229275+haydenredacted@users.noreply.github.com> Date: Tue, 28 Apr 2026 19:46:32 -0400 Subject: [PATCH] initial commit (#31905) --- .../components/binary_devices/passive_gate.dm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/code/modules/atmospherics/machinery/components/binary_devices/passive_gate.dm b/code/modules/atmospherics/machinery/components/binary_devices/passive_gate.dm index 02cc315d343..48323e799a8 100644 --- a/code/modules/atmospherics/machinery/components/binary_devices/passive_gate.dm +++ b/code/modules/atmospherics/machinery/components/binary_devices/passive_gate.dm @@ -23,6 +23,19 @@ investigate_log("was turned [on ? "on" : "off"] by [key_name(user)]", INVESTIGATE_ATMOS) return ..() +/obj/machinery/atmospherics/binary/passive_gate/AICtrlClick(mob/living/silicon/user) + toggle(user) + investigate_log("was turned [on ? "on" : "off"] by [key_name(user)]", INVESTIGATE_ATMOS) + +/obj/machinery/atmospherics/binary/passive_gate/AltClick(mob/living/user) + if(can_use_shortcut(user)) + set_max(user) + investigate_log("was set to [target_pressure] kPa by [key_name(user)]", INVESTIGATE_ATMOS) + +/obj/machinery/atmospherics/binary/passive_gate/AIAltClick(mob/living/silicon/user) + set_max(user) + investigate_log("was set to [target_pressure] kPa by [key_name(user)]", INVESTIGATE_ATMOS) + /obj/machinery/atmospherics/binary/passive_gate/examine(mob/user) . = ..() . += SPAN_NOTICE("This is a one-way regulator, allowing gas to flow only at a specific pressure and flow rate. If the light is green, gas is flowing.")