diff options
Diffstat (limited to 'pipes.lua')
-rw-r--r-- | pipes.lua | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 |