homedecor_modpack/homedecor/paintings.lua
Vanessa Ezekowitz 8465422c37 added a whole bunch of paintings
total of 20, wall-hanging style
no crafting recipes yet.
2014-06-25 07:31:50 -04:00

26 lines
570 B
Lua

--Various kinds of paintings
for i = 1,20 do
minetest.register_node("homedecor:painting_"..i, {
description = "Decorative painting",
drawtype = "nodebox",
tiles = {
"homedecor_painting_edges.png",
"homedecor_painting_edges.png",
"homedecor_painting_edges.png",
"homedecor_painting_edges.png",
"homedecor_painting_back.png",
"homedecor_painting"..i..".png"
},
paramtype = "light",
paramtype2 = "facedir",
node_box = {
type = "fixed",
fixed = {
{ -8/16, -8/16, 7/16, 8/16, 8/16, 8/16 },
}
},
groups = {snappy=3},
})
end