summaryrefslogtreecommitdiff
path: root/tubes.lua
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2013-12-31 10:32:53 +0100
committerNovatux <nathanael.courant@laposte.net>2013-12-31 13:54:13 +0100
commitca700695868e83a48d7991fbd70205470c6f9de8 (patch)
treebdc67eedfc3e0b7759c7cec7b8f7c8fad9ca77cf /tubes.lua
parent76183bc325cccf9f001554bf946f25bd467d1686 (diff)
downloadpipeworks-ca700695868e83a48d7991fbd70205470c6f9de8.tar
pipeworks-ca700695868e83a48d7991fbd70205470c6f9de8.tar.gz
pipeworks-ca700695868e83a48d7991fbd70205470c6f9de8.tar.bz2
pipeworks-ca700695868e83a48d7991fbd70205470c6f9de8.tar.xz
pipeworks-ca700695868e83a48d7991fbd70205470c6f9de8.zip
Add a few comments
Diffstat (limited to 'tubes.lua')
-rw-r--r--tubes.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tubes.lua b/tubes.lua
index f966b5d..862da40 100644
--- a/tubes.lua
+++ b/tubes.lua
@@ -170,6 +170,7 @@ pipeworks.register_tube = function(name, desc, plain, noctrs, ends, short, inv,
end
end
else
+ -- 6d tubes: uses only 10 nodes instead of 64, but the textures must be rotated
local cconnects = {{}, {1}, {1, 2}, {1, 3}, {1, 3, 5}, {1, 2, 3}, {1, 2, 3, 5}, {1, 2, 3, 4}, {1, 2, 3, 4, 5}, {1, 2, 3, 4, 5, 6}}
for index, connects in ipairs(cconnects) do
register_one_tube(name, tostring(index), "1", desc, plain, noctrs, ends, short, inv, special, connects, "6d")
@@ -332,7 +333,7 @@ if pipeworks.enable_mese_tube then
return (inv:is_empty("line1") and inv:is_empty("line2") and inv:is_empty("line3") and
inv:is_empty("line4") and inv:is_empty("line5") and inv:is_empty("line6"))
end
- }, true)
+ }, true) -- Must use old tubes, since the textures are rotated with 6d ones
end
if pipeworks.enable_detector_tube then