diff options
author | root <root@linux-forks.de> | 2018-08-11 23:59:56 +0200 |
---|---|---|
committer | root <root@linux-forks.de> | 2018-08-11 23:59:56 +0200 |
commit | c33899b81ae313c28d7b5aa1cbddd460f7c86cbb (patch) | |
tree | bd6ee8009d8952f8b1bd87e700d7658f06a921b0 | |
parent | ee4c2f4e0ed0e697beef2341eda8885492da8368 (diff) | |
parent | 286e6d57cddbbea1eb5cd0ae622f82754bdd6930 (diff) |
Merge https://github.com/h-v-smacker/technic
-rw-r--r-- | technic/machines/register/common.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/technic/machines/register/common.lua b/technic/machines/register/common.lua index 0dcdbe1..f21303f 100644 --- a/technic/machines/register/common.lua +++ b/technic/machines/register/common.lua @@ -132,9 +132,10 @@ function technic.handle_machine_pipeworks(pos, tube_upgrade, send_function) -- The machines shall always eject items to the right side -- This will be easy to remember, since the destination inventory is always on the right as well - 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 |