From 23a37e5e7937f7db2adafe33336cf77ce3b95ea0 Mon Sep 17 00:00:00 2001 From: Novatux Date: Thu, 14 May 2015 17:33:10 +0200 Subject: [PATCH] Apples give 2 HP instead of 1 HP, bread gives 5 HP instead of 4 HP --- mods/default/nodes.lua | 2 +- mods/farming/init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 1980fa8e..7f348e5c 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -464,7 +464,7 @@ minetest.register_node("default:apple", { fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2} }, groups = {fleshy=3,dig_immediate=3,flammable=2,leafdecay=3,leafdecay_drop=1}, - on_use = minetest.item_eat(1), + on_use = minetest.item_eat(2), sounds = default.node_sound_leaves_defaults(), after_place_node = function(pos, placer, itemstack) diff --git a/mods/farming/init.lua b/mods/farming/init.lua index 8606e94a..45370e73 100644 --- a/mods/farming/init.lua +++ b/mods/farming/init.lua @@ -24,7 +24,7 @@ minetest.register_craftitem("farming:flour", { minetest.register_craftitem("farming:bread", { description = "Bread", inventory_image = "farming_bread.png", - on_use = minetest.item_eat(4), + on_use = minetest.item_eat(5), }) minetest.register_craft({