ajustes com hbhunger

master
BrunoMine 2017-08-16 17:16:21 -03:00
parent ccc8f374e5
commit cf8ec32e53
2 changed files with 8 additions and 1 deletions

View File

@ -1 +1,2 @@
farming
farming
hbhunger?

View File

@ -45,6 +45,12 @@ for nome,valor in pairs(tb_alimenticios) do
minetest.override_item(nome, {on_use = minetest.item_eat(valor[1], valor[2])})
end
if hbhunger.register_food then
for nome,valor in pairs(tb_alimenticios) do
hbhunger.register_food(nome, valor[1], valor[2])
end
end
-- Remoção de algumas receitas para desativar
minetest.clear_craft({output = 'farming:carrot_gold'}) -- Cenoura Dourada