From bc43ecd28fa922cceeeb4ced1986978f6c2798b1 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 28 Feb 2017 05:15:29 +0100 Subject: [PATCH] Make poisonous food temp. less nutricious --- mods/PLAYER/mcl_hunger/hunger.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mods/PLAYER/mcl_hunger/hunger.lua b/mods/PLAYER/mcl_hunger/hunger.lua index ce62206fac..eb45ae6a0a 100644 --- a/mods/PLAYER/mcl_hunger/hunger.lua +++ b/mods/PLAYER/mcl_hunger/hunger.lua @@ -190,14 +190,14 @@ end -- Apply simple poison effect as long there are no real status effect -- TODO: Remove this when status effects are in place if minetest.get_modpath("mcl_farming") then - mcl_hunger.register_food("mcl_farming:potato_item_poison", 2, "", 3) + mcl_hunger.register_food("mcl_farming:potato_item_poison", 1, "", 3) end if minetest.get_modpath("mcl_mobitems") then - mcl_hunger.register_food("mcl_mobitems:rotten_flesh", 4, "", 8) - mcl_hunger.register_food("mcl_mobitems:spider_eye", 2, "", 4) + mcl_hunger.register_food("mcl_mobitems:rotten_flesh", 2, "", 8) + mcl_hunger.register_food("mcl_mobitems:spider_eye", 0, "", 4) end if minetest.get_modpath("mcl_fishing") then - mcl_hunger.register_food("mcl_fishing:pufferfish_raw", 1, "", 60) + mcl_hunger.register_food("mcl_fishing:pufferfish_raw", 0, "", 60) end minetest.register_on_placenode(mcl_hunger.handle_node_actions)