Add Beer Tap

This commit is contained in:
kilbith 2014-09-18 00:30:07 -04:00 committed by Vanessa Ezekowitz
parent 83b62da350
commit 0ae222c9c8
6 changed files with 44 additions and 0 deletions

View File

@ -2739,3 +2739,12 @@ minetest.register_craft({
}, },
}) })
minetest.register_craft({
output = "homedecor:beer_tap",
recipe = {
{ "group:stick","default:steel_ingot","group:stick" },
{ "homedecor:kitchen_faucet","default:steel_ingot","homedecor:kitchen_faucet" },
{ "default:steel_ingot","default:steel_ingot","default:steel_ingot" }
},
})

View File

@ -1618,3 +1618,38 @@ minetest.register_node("homedecor:barbecue_meat", {
} }
}) })
minetest.register_node("homedecor:beer_tap", {
description = "Beer tap",
tiles = {
"homedecor_beertap_front.png",
"homedecor_beertap_front.png",
"homedecor_beertap_right.png",
"homedecor_beertap_left.png",
"homedecor_beertap_front.png",
"homedecor_beertap_front.png"
},
inventory_image = "homedecor_beertap_inv.png",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
groups = { snappy=3 },
node_box = {
type = "fixed",
fixed = {
{-0.25, -0.5, -0.4375, 0.25, -0.48, 0}, -- NodeBox1
{-0.0625, -0.48, -0.1875, 0.0625, 0.125, -0.0625}, -- NodeBox2
{-0.1875, 0, -0.375, -0.125, 0.0315, -0.125}, -- NodeBox3
{-0.1875, 0, -0.1875, 0.1875, 0.0315, -0.125}, -- NodeBox4
{0.125, 0, -0.375, 0.1875, 0.0315, -0.125}, -- NodeBox5
{0.135, 0.0315, -0.3225, 0.1775, 0.235, -0.29}, -- NodeBox6
{-0.1775, 0.0315, -0.3225, -0.135, 0.235, -0.29}, -- NodeBox7
{-0.1675, -0.0825, -0.355, -0.145, 0, -0.3325}, -- NodeBox8
{0.145, -0.0825, -0.355, 0.1675, 0, -0.3325}, -- NodeBox9
}
},
selection_box = {
type = "fixed",
fixed = { -0.25, -0.5, -0.4375, 0.25, 0.235, 0 }
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 957 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 939 B