summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-01-01 13:26:25 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-01-01 13:26:25 -0500
commit82f5ba09fe5a5ab8e9959b30e7d15fcc385a5a3f (patch)
tree9f6fca665ad4369c77767253ff9d2bd4905c8e08
parentf700aa8531d4a4473169286eb4203dc5b9094c6a (diff)
downloadpipeworks-82f5ba09fe5a5ab8e9959b30e7d15fcc385a5a3f.tar
pipeworks-82f5ba09fe5a5ab8e9959b30e7d15fcc385a5a3f.tar.gz
pipeworks-82f5ba09fe5a5ab8e9959b30e7d15fcc385a5a3f.tar.bz2
pipeworks-82f5ba09fe5a5ab8e9959b30e7d15fcc385a5a3f.tar.xz
pipeworks-82f5ba09fe5a5ab8e9959b30e7d15fcc385a5a3f.zip
fix tube and pipe drops
-rw-r--r--pipes.lua2
-rw-r--r--tubes.lua1
2 files changed, 3 insertions, 0 deletions
diff --git a/pipes.lua b/pipes.lua
index bc0a1e7..dab3982 100644
--- a/pipes.lua
+++ b/pipes.lua
@@ -128,10 +128,12 @@ if REGISTER_COMPATIBILITY then
minetest.register_node(cempty, {
drawtype = "airlike",
groups = {not_in_creative_inventory = 1, pipe_to_update = 1},
+ drop = "pipeworks:pipe_1_empty",
})
minetest.register_node(cloaded, {
drawtype = "airlike",
groups = {not_in_creative_inventory = 1, pipe_to_update = 1},
+ drop = "pipeworks:pipe_1_empty",
})
for xm = 0, 1 do
for xp = 0, 1 do
diff --git a/tubes.lua b/tubes.lua
index 06cef17..3fa9b4a 100644
--- a/tubes.lua
+++ b/tubes.lua
@@ -179,6 +179,7 @@ pipeworks.register_tube = function(name, desc, plain, noctrs, ends, short, inv,
basename = name,
groups = {not_in_creative_inventory = 1, tube_to_update = 1},
tube = {connect_sides = {front = 1, back = 1, left = 1, right = 1, top = 1, bottom = 1}},
+ drop = name.."_1",
})
table.insert(pipeworks.tubenodes,cname)
for xm = 0, 1 do