Add window flowerbox

This commit is contained in:
kilbith 2014-09-11 14:01:48 +02:00 committed by Vanessa Ezekowitz
parent 4093ca5021
commit 80c30e49bf
6 changed files with 31 additions and 0 deletions

View File

@ -2688,3 +2688,11 @@ minetest.register_craft({
},
})
minetest.register_craft( {
output = "homedecor:window_flowerbox",
recipe = {
{ "homedecor:roof_tile_terracotta", "default:dirt", "homedecor:roof_tile_terracotta" },
{ "", "homedecor:roof_tile_terracotta", "" },
},
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

View File

@ -289,3 +289,26 @@ for i in ipairs(mats) do
}
})
end
minetest.register_node("homedecor:window_flowerbox", {
description = "Window flowerbow",
tiles = {
"homedecor_flowerbox_top.png",
"homedecor_flowerbox_bottom.png",
"homedecor_flowerbox_sides.png"
},
inventory_image = "homedecor_flowerbox_inv.png",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
groups = { snappy = 3 },
node_box = {
type = "fixed",
fixed = {
{-0.375, 0.25, -0.125, 0.375, 0.5, 0.375}, -- NodeBox1
{-0.3125, 0.4375, 0.375, -0.25, 0.4875, 0.5}, -- NodeBox2
{0.25, 0.4375, 0.375, 0.3125, 0.4875, 0.5}, -- NodeBox3
}
}
})