From ea1edd965dbf18c496ff62f95ba382b1f265e0ac Mon Sep 17 00:00:00 2001 From: Arturlang Date: Fri, 24 May 2019 12:18:13 +0300 Subject: [PATCH] Update mixer.dm --- .../machinery/components/trinary_devices/mixer.dm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/code/modules/atmospherics/machinery/components/trinary_devices/mixer.dm b/code/modules/atmospherics/machinery/components/trinary_devices/mixer.dm index 4dd2972526..50c1db2b04 100644 --- a/code/modules/atmospherics/machinery/components/trinary_devices/mixer.dm +++ b/code/modules/atmospherics/machinery/components/trinary_devices/mixer.dm @@ -14,6 +14,17 @@ pipe_state = "mixer" //node 3 is the outlet, nodes 1 & 2 are intakes +/obj/machinery/atmospherics/components/trinary/mixer/CtrlClick(mob/user) + if(user.canUseTopic(src, BE_CLOSE, FALSE, NO_TK)) + on = !on + update_icon() + return ..() + +/obj/machinery/atmospherics/components/trinary/mixer/AltClick(mob/user) + if(user.canUseTopic(src, BE_CLOSE, FALSE, NO_TK)) + target_pressure = MAX_OUTPUT_PRESSURE + update_icon() + return ..() /obj/machinery/atmospherics/components/trinary/mixer/layer1 piping_layer = PIPING_LAYER_MIN