forked from mtcontrib/pipeworks
fix pipe inventory images
This commit is contained in:
parent
ddfc8173ac
commit
f700aa8531
@ -54,7 +54,7 @@ for index, connects in ipairs(cconnects) do
|
|||||||
if #connects == 0 then
|
if #connects == 0 then
|
||||||
pgroups = {snappy = 3, tube = 1}
|
pgroups = {snappy = 3, tube = 1}
|
||||||
pipedesc = "Pipe segment"
|
pipedesc = "Pipe segment"
|
||||||
image = "pipeworks_plain.png"
|
image = "pipeworks_pipe_inv.png"
|
||||||
end
|
end
|
||||||
|
|
||||||
--table.insert(pipeworks.tubenodes, name.."_"..tname)
|
--table.insert(pipeworks.tubenodes, name.."_"..tname)
|
||||||
@ -87,12 +87,13 @@ for index, connects in ipairs(cconnects) do
|
|||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
local pgroups = {snappy = 3, pipe = 1, not_in_creative_inventory = 1}
|
||||||
|
|
||||||
minetest.register_node("pipeworks:pipe_"..index.."_loaded", {
|
minetest.register_node("pipeworks:pipe_"..index.."_loaded", {
|
||||||
description = pipedesc,
|
description = pipedesc,
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
tiles = pipeworks.fix_image_names(outimgs, "_loaded"),
|
tiles = pipeworks.fix_image_names(outimgs, "_loaded"),
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
inventory_image = image,
|
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
selection_box = {
|
selection_box = {
|
||||||
|
BIN
textures/pipeworks_pipe_inv.png
Normal file
BIN
textures/pipeworks_pipe_inv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in New Issue
Block a user