From da5bcd6717b884586f0ad96c32f3c21d9dcc5184 Mon Sep 17 00:00:00 2001 From: Maverick2797 <49946595+Maverick2797@users.noreply.github.com> Date: Sun, 23 Nov 2025 21:14:23 +0800 Subject: [PATCH] Correct ejection side for param2=1&3 Machines should always eject to their right. Prior to this patch that was incorrect depending on the rotation of the machine --- technic/machines/register/common.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/technic/machines/register/common.lua b/technic/machines/register/common.lua index 9d874cc2..66b6202b 100644 --- a/technic/machines/register/common.lua +++ b/technic/machines/register/common.lua @@ -97,9 +97,9 @@ function technic.handle_machine_pipeworks(pos, tube_upgrade, send_function) local z_velocity = 0 -- Output is on the left side of the furnace - if node.param2 == 3 then pos1.z = pos1.z - 1 z_velocity = -1 end + if node.param2 == 3 then pos1.z = pos1.z + 1 z_velocity = 1 end if node.param2 == 2 then pos1.x = pos1.x - 1 x_velocity = -1 end - if node.param2 == 1 then pos1.z = pos1.z + 1 z_velocity = 1 end + if node.param2 == 1 then pos1.z = pos1.z - 1 z_velocity = -1 end if node.param2 == 0 then pos1.x = pos1.x + 1 x_velocity = 1 end local output_tube_connected = false