Added simple green and brown glass bottles

(e.g. beer and cola but could be anything)
This commit is contained in:
kilbith 2014-08-22 15:27:31 +02:00 committed by Vanessa Ezekowitz
parent 578bc6008b
commit a3c6acc52b
8 changed files with 55 additions and 0 deletions

View File

@ -2535,3 +2535,17 @@ for c in ipairs(bedcolors) do
})
end
minetest.register_craft( {
output = "homedecor:bottle_green",
recipe = {
{ "vessels:glass_bottle", "dye:green" }
},
})
minetest.register_craft( {
output = "homedecor:bottle_brown",
recipe = {
{ "vessels:glass_bottle", "dye:brown" }
},
})

View File

@ -1195,3 +1195,44 @@ minetest.register_node("homedecor:cutlery_set", {
}
})
minetest.register_node("homedecor:bottle_brown", {
tiles = {
"homedecor_bottle_brown_top.png",
"homedecor_bottle_brown_sides.png"
},
inventory_image = "homedecor_bottle_brown_inv.png",
description = "Brown bottle",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
use_texture_alpha = true,
groups = {snappy=3},
node_box = {
type = "fixed",
fixed = {
{-0.032, -0.50, -0.11, 0.032, -0.3, -0.046}, -- NodeBox1
{-0.016, -0.30, -0.094, 0.016, -0.2, -0.062}, -- NodeBox2
}
}
})
minetest.register_node("homedecor:bottle_green", {
tiles = {
"homedecor_bottle_green_top.png",
"homedecor_bottle_green_sides.png"
},
inventory_image = "homedecor_bottle_green_inv.png",
description = "Green bottle",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
use_texture_alpha = true,
groups = {snappy=3},
node_box = {
type = "fixed",
fixed = {
{-0.032, -0.50, -0.11, 0.032, -0.3, -0.046}, -- NodeBox1
{-0.016, -0.30, -0.094, 0.016, -0.2, -0.062}, -- NodeBox2
}
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B