1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-23 23:50:18 +02:00

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

@ -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
}
}
})