Added a coffee maker

This commit is contained in:
kilbith 2014-08-23 13:57:20 +02:00 committed by Vanessa Ezekowitz
parent 1dc2be2756
commit 2aec716aac
9 changed files with 59 additions and 12 deletions

View File

@ -2593,3 +2593,12 @@ minetest.register_craft({
},
})
minetest.register_craft({
output = "homedecor:coffee_maker",
recipe = {
{"homedecor:plastic_sheeting", "bucket:bucket_water", "homedecor:plastic_sheeting"},
{"homedecor:plastic_sheeting", "default:glass", "homedecor:plastic_sheeting"},
{"homedecor:plastic_sheeting", "homedecor:heating_element", "homedecor:plastic_sheeting"}
},
})

View File

@ -1214,7 +1214,7 @@ minetest.register_node("homedecor:bottle_brown", {
{-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", {
@ -1235,5 +1235,43 @@ minetest.register_node("homedecor:bottle_green", {
{-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:coffee_maker", {
tiles = {
"homedecor_coffeemaker_top.png",
"homedecor_coffeemaker_bottom.png",
"homedecor_coffeemaker_right.png",
"homedecor_coffeemaker_left.png",
"homedecor_coffeemaker_back.png",
"homedecor_coffeemaker_front.png"
},
description = "Coffee Maker",
inventory_image = "homedecor_coffeemaker_inv.png",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3},
node_box = {
type = "fixed",
fixed = {
{0.0625, -0.5, -0.025, 0.375, -0.375, 0.5}, -- NodeBox1
{0.0625, -0.375, 0.3125, 0.375, 0, 0.5}, -- NodeBox2
{0.0625, -0.052, 0.02, 0.375, 0.19, 0.5}, -- NodeBox3
{0.078, -0.375, 0, 0.36, -0.0625, 0.3125}, -- NodeBox4
{0.1875, -0.098, -0.0525, 0.25, -0.078, 0}, -- NodeBox5
{0.1875, -0.36, -0.090, 0.25, -0.078, -0.0525}, -- NodeBox6
{0.1875, -0.36, -0.0525, 0.25, -0.34, 0}, -- NodeBox7
{-0.1875, -0.5, -0.3125, -0.1, -0.4, -0.225}, -- NodeBox8
{-0.1975, -0.5, -0.3225, -0.1, -0.375, -0.3125}, -- NodeBox9
{-0.1975, -0.5, -0.235, -0.1, -0.375, -0.225}, -- NodeBox10
{-0.1975, -0.5, -0.3225, -0.1875, -0.375, -0.225}, -- NodeBox11
{-0.11, -0.5, -0.3225, -0.1, -0.375, -0.225}, -- NodeBox12
{-0.1, -0.485, -0.2838, -0.06, -0.475, -0.2638}, -- NodeBox13
{-0.1, -0.4, -0.2838, -0.06, -0.39, -0.2638}, -- NodeBox14
{-0.075, -0.485, -0.2838, -0.06, -0.39, -0.2638}, -- NodeBox15
}
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 417 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 B