Nahrungspunkte für Pizza-Mod
This commit is contained in:
parent
23dda4593a
commit
9dbc0b2ba1
4 changed files with 6 additions and 5 deletions
|
@ -120,7 +120,7 @@ function jpizza.make_pizzas()
|
|||
description = "Slice of "..base.name.." Pizza",
|
||||
inventory_image = "jelys_pizzaria_pizza_slice.png^"..base.topping_inv[2],
|
||||
stack_max = 6,
|
||||
groups = {food = 1},
|
||||
groups = {food = 1, eatable = (1+base.eat)},
|
||||
on_use = minetest.item_eat(1+base.eat)
|
||||
})
|
||||
if jpizza.has_depends.hunger_ng then
|
||||
|
@ -182,7 +182,7 @@ function jpizza.make_pizzas()
|
|||
description = "Slice of "..base.name.." and "..side.name.." Pizza",
|
||||
inventory_image = "jelys_pizzaria_pizza_slice.png^"..base.topping_inv[num1].."^"..side.topping_inv[num2],
|
||||
stack_max = 6,
|
||||
groups = {food = 1},
|
||||
groups = {food = 1, eatable = (1+base.eat+side.eat)},
|
||||
on_use = minetest.item_eat(1+base.eat+side.eat)
|
||||
})
|
||||
minetest.register_alias(pizza_name.."_slice", "jelys_pizzaria:pizza_"..side.name.."_"..base.name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue