unified_inventory needs 'description' to show nodes

This commit is contained in:
Och Noe 2019-05-27 15:18:44 +02:00
parent 5694bb1dfb
commit 62ffd2258b
2 changed files with 101 additions and 100 deletions

View File

@ -192,6 +192,7 @@ for _,lengths in pairs(woodpath_lengths) do
minetest.register_node(own_name..h,
{
tiles = { tile_name[nr], },
description = h,
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@ -199,7 +200,6 @@ for _,lengths in pairs(woodpath_lengths) do
{
type = "fixed",
fixed = {
-- schmal {-0.4, -0.5, b/-10, 0.4, -0.4, f/10},
{-0.5, -0.5, b/-10, 0.5, -0.4, f/10},
}
},
@ -213,6 +213,7 @@ for _,lengths in pairs(woodpath_lengths) do
minetest.register_node(own_name..h2,
{
tiles = { tile_name[nr], },
description = h2,
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 697 B

After

Width:  |  Height:  |  Size: 691 B