summaryrefslogtreecommitdiff
path: root/pipeworks/pipes.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-03-17 11:28:20 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-03-17 11:28:20 -0400
commit06d9243586cecb1abed74550ce2544b436572a35 (patch)
treee3cc3b59c313ffea4ef69f2be6f3182e8fc0ffa3 /pipeworks/pipes.lua
parentcaeaae8e17f696c7bd387dd1080b1dd7edfeb379 (diff)
downloaddreambuilder_modpack-06d9243586cecb1abed74550ce2544b436572a35.tar
dreambuilder_modpack-06d9243586cecb1abed74550ce2544b436572a35.tar.gz
dreambuilder_modpack-06d9243586cecb1abed74550ce2544b436572a35.tar.bz2
dreambuilder_modpack-06d9243586cecb1abed74550ce2544b436572a35.tar.xz
dreambuilder_modpack-06d9243586cecb1abed74550ce2544b436572a35.zip
update pipeworks again
Diffstat (limited to 'pipeworks/pipes.lua')
-rw-r--r--pipeworks/pipes.lua11
1 files changed, 9 insertions, 2 deletions
diff --git a/pipeworks/pipes.lua b/pipeworks/pipes.lua
index 2056fdf..9771e3b 100644
--- a/pipeworks/pipes.lua
+++ b/pipeworks/pipes.lua
@@ -80,7 +80,8 @@ for index, connects in ipairs(cconnects) do
end,
after_dig_node = function(pos)
pipeworks.scan_for_pipe_objects(pos)
- end
+ end,
+ on_rotate = false
})
local pgroups = {snappy = 3, pipe = 1, not_in_creative_inventory = 1}
@@ -106,11 +107,13 @@ for index, connects in ipairs(cconnects) do
walkable = true,
drop = "pipeworks:pipe_1_empty",
after_place_node = function(pos)
+ minetest.set_node(pos, { name = "pipeworks:pipe_"..index.."_empty" })
pipeworks.scan_for_pipe_objects(pos)
end,
after_dig_node = function(pos)
pipeworks.scan_for_pipe_objects(pos)
- end
+ end,
+ on_rotate = false
})
table.insert(pipes_empty_nodenames, "pipeworks:pipe_"..index.."_empty")
@@ -134,6 +137,8 @@ if REGISTER_COMPATIBILITY then
after_place_node = function(pos)
pipeworks.scan_for_pipe_objects(pos)
end,
+ on_rotate = false
+
})
minetest.register_node(cloaded, {
drawtype = "airlike",
@@ -145,6 +150,8 @@ if REGISTER_COMPATIBILITY then
after_place_node = function(pos)
pipeworks.scan_for_pipe_objects(pos)
end,
+ on_rotate = false
+
})
for xm = 0, 1 do
for xp = 0, 1 do