Add sportbench

This commit is contained in:
kilbith 2014-09-10 12:34:09 -04:00 committed by Vanessa Ezekowitz
parent 8c68ad9662
commit e606ee176c
7 changed files with 46 additions and 0 deletions

View File

@ -2661,4 +2661,13 @@ minetest.register_craft({
},
})
minetest.register_craft({
output = "homedecor:sportbench",
recipe = {
{ "stairs:slab_steelblock","homedecor:pole_wrought_iron","stairs:slab_steelblock" },
{ "default:steel_ingot","wool:black","default:steel_ingot" },
{ "default:steel_ingot","wool:black","default:steel_ingot" }
},
})

View File

@ -1388,3 +1388,40 @@ minetest.register_node("homedecor:trophy", {
fixed = { -0.21, -0.5, -0.125, 0.2725, 0.125, 0.1875 }
}
})
minetest.register_node("homedecor:sportbench", {
description = "Sport bench",
tiles = {
"homedecor_sportbench_top.png",
"wool_black.png",
"homedecor_sportbench_right.png",
"homedecor_sportbench_left.png",
"homedecor_sportbench_bottom.png",
"homedecor_sportbench_front.png"
},
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
groups = { snappy=3 },
node_box = {
type = "fixed",
fixed = {
{-0.1875, -0.3125, -0.5, 0.1875, -0.25, 0.5}, -- NodeBox1
{-0.1875, -0.5, -0.5, -0.125, -0.3125, -0.4375}, -- NodeBox2
{0.125, -0.5, -0.5, 0.1875, -0.3125, -0.4375}, -- NodeBox3
{0.1875, -0.5, 0.375, 0.25, 0.375, 0.4375}, -- NodeBox4
{-0.25, -0.5, 0.375, -0.1875, 0.375, 0.4375}, -- NodeBox5
{-0.5, 0.125, 0.36, 0.5, 0.14, 0.375}, -- NodeBox6
{0.3125, 0, 0.225, 0.35, 0.285, 0.5}, -- NodeBox7
{-0.35, 0, 0.225, -0.3125, 0.285, 0.5}, -- NodeBox8
{-0.1875, -0.375, 0.375, 0.1875, -0.3125, 0.4375}, -- NodeBox9
{-0.23, 0.11, 0.33, -0.2075, 0.125, 0.375}, -- NodeBox10
{0.2075, 0.11, 0.33, 0.23, 0.125, 0.375}, -- NodeBox11
}
},
selection_box = {
type = "fixed",
fixed = { -0.4, -0.5, -0.5, 0.4, 0.375, 0.5 }
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB