Add garden stone path

This commit is contained in:
kilbith 2014-09-17 11:37:11 +02:00 committed by Vanessa Ezekowitz
parent 0599239a62
commit 066430d956
3 changed files with 55 additions and 0 deletions

View File

@ -2703,3 +2703,30 @@ minetest.register_craft({
}, },
}) })
minetest.register_craft({
output = "homedecor:stonepath 16",
recipe = {
{ "stairs:slab_stone","","stairs:slab_stone" },
{ "","stairs:slab_stone","" },
{ "stairs:slab_stone","","stairs:slab_stone" }
},
})
minetest.register_craft({
output = "homedecor:stonepath 16",
recipe = {
{ "moreblocks:slab_stone","","moreblocks:slab_stone" },
{ "","moreblocks:slab_stone","" },
{ "moreblocks:slab_stone","","moreblocks:slab_stone" }
},
})
minetest.register_craft({
output = "homedecor:stonepath 3",
recipe = {
{ "moreblocks:micro_stone_1","","moreblocks:micro_stone_1" },
{ "","moreblocks:micro_stone_1","" },
{ "moreblocks:micro_stone_1","","moreblocks:micro_stone_1" }
},
})

View File

@ -1519,3 +1519,31 @@ minetest.register_node("homedecor:paper_towel", {
groups = { snappy=3 } groups = { snappy=3 }
}) })
minetest.register_node("homedecor:stonepath", {
description = "Garden stone path",
tiles = {
"default_stone.png"
},
inventory_image = "homedecor_stonepath_inv.png",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
groups = { snappy=3 },
node_box = {
type = "fixed",
fixed = {
{-0.4375, -0.5, 0.3125, -0.3125, -0.48, 0.4375}, -- NodeBox1
{-0.25, -0.5, 0.125, 0, -0.48, 0.375}, -- NodeBox2
{0.125, -0.5, 0.125, 0.4375, -0.48, 0.4375}, -- NodeBox3
{-0.4375, -0.5, -0.125, -0.25, -0.48, 0.0625}, -- NodeBox4
{-0.0625, -0.5, -0.25, 0.25, -0.48, 0.0625}, -- NodeBox5
{0.3125, -0.5, -0.25, 0.4375, -0.48, -0.125}, -- NodeBox6
{-0.3125, -0.5, -0.375, -0.125, -0.48, -0.1875}, -- NodeBox7
{0.125, -0.5, -0.4375, 0.25, -0.48, -0.3125}, -- NodeBox8
}
},
selection_box = {
type = "fixed",
fixed = { -0.4375, -0.5, -0.4375, 0.4375, -0.4, 0.4375 }
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB