This commit is contained in:
kilbith 2014-08-24 10:11:42 +00:00
commit c875c2e96c
1 changed files with 28 additions and 0 deletions

View File

@ -633,6 +633,34 @@ minetest.register_node("food:cake_carrot", {
}
}
})
minetest.register_node('food:pizza', {
description = S('Pizza'),
drawtype = 'nodebox',
tiles = {
'pizza.png',
'pizza_sides.png'
},
paramtype = 'light',
walkable = true,
groups={food=3,crumbly=3},
paramtype2 = "facedir",
node_box = {
type = "fixed",
fixed = {
{ -0.25, -0.5, -0.5, 0.25, -0.48, 0.5 },
{ -0.375, -0.5, -0.4375, 0.375, -0.48, 0.4375 },
{ -0.5, -0.5, -0.25, 0.5, -0.48, 0.25 },
{ -0.4375, -0.5, -0.375, 0.4375, -0.48, 0.375 },
{ -0.25, -0.5, -0.5, 0.25, -0.48, 0.5 },
}
},
selection_box = {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 0.5, -0.4375, 0.5 },
},
})
food.craft({
type = "cooking",
output = "food:cake",