diff --git a/autoplace.lua b/autoplace.lua index ac97d30..30965c4 100644 --- a/autoplace.lua +++ b/autoplace.lua @@ -125,6 +125,19 @@ function tube_autoroute(pos) and nzp.param2 == 2 then pzp=1 end + if string.find(nxm.name, "technic:deployer_") ~= nil + and nxm.param2 == 1 then + pxm=1 end + if string.find(nxp.name, "technic:deployer_") ~= nil + and nxp.param2 == 3 then + pxp=1 end + if string.find(nzm.name, "technic:deployer_") ~= nil + and nzm.param2 == 0 then + pzm=1 end + if string.find(nzp.name, "technic:deployer_") ~= nil + and nzp.param2 == 2 then + pzp=1 end + --node breakers if string.find(nxm.name, "pipeworks:nodebreaker_") ~= nil @@ -140,6 +153,19 @@ function tube_autoroute(pos) and nzp.param2 == 2 then pzp=1 end + if string.find(nxm.name, "technic:nodebreaker_") ~= nil + and nxm.param2 == 1 then + pxm=1 end + if string.find(nxp.name, "technic:nodebreaker_") ~= nil + and nxp.param2 == 3 then + pxp=1 end + if string.find(nzm.name, "technic:nodebreaker_") ~= nil + and nzm.param2 == 0 then + pzm=1 end + if string.find(nzp.name, "technic:nodebreaker_") ~= nil + and nzp.param2 == 2 then + pzp=1 end + -- autocrafter if string.find(nxm.name, "pipeworks:autocrafter") ~= nil then pxm = 1 end