1
0
mirror of https://github.com/rubenwardy/food.git synced 2024-12-23 00:10:18 +01:00

Added a simple pizza

Added a simple pizza : https://cdn.mediacru.sh/XSEOKLZkpCCe.png
Textures : http://mamadou3.free.fr/pizza.zip
This commit is contained in:
kilbith 2014-08-24 12:11:35 +02:00
parent e4b9ff0373
commit 6be3b1a2d8

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",