summaryrefslogtreecommitdiff
path: root/autoplace.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-04 01:12:39 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-04 01:12:39 -0500
commit88bc800ccb6c9445a76cf06f8ba73e3caeceb2de (patch)
tree91107611823d1a39eb5edc99ad48c6343b5e275a /autoplace.lua
parent6419ecb1178fb6073fa9b7e153f96c3fd5946a87 (diff)
downloadpipeworks-88bc800ccb6c9445a76cf06f8ba73e3caeceb2de.tar
pipeworks-88bc800ccb6c9445a76cf06f8ba73e3caeceb2de.tar.gz
pipeworks-88bc800ccb6c9445a76cf06f8ba73e3caeceb2de.tar.bz2
pipeworks-88bc800ccb6c9445a76cf06f8ba73e3caeceb2de.tar.xz
pipeworks-88bc800ccb6c9445a76cf06f8ba73e3caeceb2de.zip
minor spacing tweaks, nothing functional
Diffstat (limited to 'autoplace.lua')
-rw-r--r--autoplace.lua14
1 files changed, 12 insertions, 2 deletions
diff --git a/autoplace.lua b/autoplace.lua
index 1a53bf3..54df02a 100644
--- a/autoplace.lua
+++ b/autoplace.lua
@@ -182,9 +182,19 @@ function pipes_scansurroundings(pos)
-- ...extra devices specified via the function's parameters
-- ...except that this part is not implemented yet
--
--- if (string.find(nym.name, "aero:outlet") ~= nil) then
--- pxm, pxp, pym, and/or pyp = 1 depending on the needed rules
+-- xxx = nxm, nxp, nym, nyp, nzm, or nzp depending on the direction to check
+-- yyy = pxm, pxp, pym, pyp, pzm, or pzp accordingly.
+--
+-- if string.find(xxx.name, "modname:nodename") ~= nil then
+-- yyy = 1
-- end
+--
+-- for example:
+--
+-- if string.find(nym.name, "aero:outlet") ~= nil then
+-- pym = 1
+-- end
+--
end