diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-03-17 11:04:59 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-03-17 11:04:59 -0400 |
commit | 64b2611d8adbbc07bb92315eca9d71b74ea51756 (patch) | |
tree | 124e48b2d6b6de84e7d158f34d3d053f0e10be47 /pipes.lua | |
parent | 1bfc2d4e5b19b643190c4996b458eb3d63f8152c (diff) |
prevent being able to place "loaded" and "on" items
(forces them to "empty" and "off")
Diffstat (limited to 'pipes.lua')
-rw-r--r-- | pipes.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -107,6 +107,7 @@ 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) |