summaryrefslogtreecommitdiff
path: root/pipes.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-01-01 13:21:40 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-01-01 13:21:40 -0500
commitf700aa8531d4a4473169286eb4203dc5b9094c6a (patch)
tree9b3eb57d0bc308183e1f64f5099a09bba052e7c7 /pipes.lua
parentddfc8173ac89e03b38ced53f095acf7fcb7e3249 (diff)
downloadpipeworks-f700aa8531d4a4473169286eb4203dc5b9094c6a.tar
pipeworks-f700aa8531d4a4473169286eb4203dc5b9094c6a.tar.gz
pipeworks-f700aa8531d4a4473169286eb4203dc5b9094c6a.tar.bz2
pipeworks-f700aa8531d4a4473169286eb4203dc5b9094c6a.tar.xz
pipeworks-f700aa8531d4a4473169286eb4203dc5b9094c6a.zip
fix pipe inventory images
Diffstat (limited to 'pipes.lua')
-rw-r--r--pipes.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/pipes.lua b/pipes.lua
index 20f770b..bc0a1e7 100644
--- a/pipes.lua
+++ b/pipes.lua
@@ -54,7 +54,7 @@ for index, connects in ipairs(cconnects) do
if #connects == 0 then
pgroups = {snappy = 3, tube = 1}
pipedesc = "Pipe segment"
- image = "pipeworks_plain.png"
+ image = "pipeworks_pipe_inv.png"
end
--table.insert(pipeworks.tubenodes, name.."_"..tname)
@@ -87,12 +87,13 @@ for index, connects in ipairs(cconnects) do
end
})
+ local pgroups = {snappy = 3, pipe = 1, not_in_creative_inventory = 1}
+
minetest.register_node("pipeworks:pipe_"..index.."_loaded", {
description = pipedesc,
drawtype = "nodebox",
tiles = pipeworks.fix_image_names(outimgs, "_loaded"),
sunlight_propagates = true,
- inventory_image = image,
paramtype = "light",
paramtype2 = "facedir",
selection_box = {