summaryrefslogtreecommitdiff
path: root/autoplace.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-01 18:00:16 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-01 18:00:16 -0500
commitdc5617db896b0feef8b7a4935a693af7fb4a9d97 (patch)
tree6991d2fb778956d18319f26fd8171dfec69c90af /autoplace.lua
parent4eaad140482091d06a06c800dbfbf8b4b453465d (diff)
downloadpipeworks-dc5617db896b0feef8b7a4935a693af7fb4a9d97.tar
pipeworks-dc5617db896b0feef8b7a4935a693af7fb4a9d97.tar.gz
pipeworks-dc5617db896b0feef8b7a4935a693af7fb4a9d97.tar.bz2
pipeworks-dc5617db896b0feef8b7a4935a693af7fb4a9d97.tar.xz
pipeworks-dc5617db896b0feef8b7a4935a693af7fb4a9d97.zip
changed default orientation of spigot to make it easier to place.
Diffstat (limited to 'autoplace.lua')
-rw-r--r--autoplace.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/autoplace.lua b/autoplace.lua
index c70095f..7e6a329 100644
--- a/autoplace.lua
+++ b/autoplace.lua
@@ -130,22 +130,22 @@ function pipes_scansurroundings(pos)
-- ...spigots...
if (string.find(nxm.name, "pipeworks:spigot") ~= nil)
- and nxm.param2 == 2 then
+ and nxm.param2 == 1 then
pxm=1
end
if (string.find(nxp.name, "pipeworks:spigot") ~= nil)
- and nxp.param2 == 0 then
+ and nxp.param2 == 3 then
pxp=1
end
if (string.find(nzm.name, "pipeworks:spigot") ~= nil)
- and nzm.param2 == 1 then
+ and nzm.param2 == 0 then
pzm=1
end
if (string.find(nzp.name, "pipeworks:spigot") ~= nil)
- and nzp.param2 == 3 then
+ and nzp.param2 == 2 then
pzp=1
end