From b0c7b8a2a68a91e0bbf5198421c0961cae1a38e5 Mon Sep 17 00:00:00 2001 From: tchncs <tchncs@vivaldi.net> Date: Wed, 18 May 2016 19:54:28 +0200 Subject: [PATCH] make xdecor:honey compatible with hunger --- hbhunger/hunger.lua | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/hbhunger/hunger.lua b/hbhunger/hunger.lua index d2c1ce6..5e69234 100644 --- a/hbhunger/hunger.lua +++ b/hbhunger/hunger.lua @@ -283,32 +283,6 @@ if minetest.get_modpath("creatures") ~= nil then overwrite("creatures:rotten_flesh", 3, "", 3) end -if minetest.get_modpath("ethereal") then - overwrite("ethereal:strawberry", 1) - overwrite("ethereal:banana", 4) - overwrite("ethereal:pine_nuts", 1) - overwrite("ethereal:bamboo_sprout", 0, "", 3) - overwrite("ethereal:fern_tubers", 1) - overwrite("ethereal:banana_bread", 7) - overwrite("ethereal:mushroom_plant", 2) - overwrite("ethereal:coconut_slice", 2) - overwrite("ethereal:golden_apple", 4, "", nil, 10) - overwrite("ethereal:wild_onion_plant", 2) - overwrite("ethereal:mushroom_soup", 5, "ethereal:bowl") --- overwrite("ethereal:mushroom_soup_cooked", 6, "ethereal:bowl") - overwrite("ethereal:hearty_stew", 10, "ethereal:bowl") --- overwrite("ethereal:hearty_stew_cooked", 10, "ethereal:bowl") - if minetest.get_modpath("bucket") then - overwrite("ethereal:bucket_cactus", 2, "bucket:bucket_empty") - end - overwrite("ethereal:fish_raw", 2) - overwrite("ethereal:fish_cooked", 5) - overwrite("ethereal:seaweed", 1) - overwrite("ethereal:yellowleaves", 1, "", nil, 1) - overwrite("ethereal:sashimi", 4) - overwrite("ethereal:orange", 2) -end - if minetest.get_modpath("farming") and farming.mod == "redo" then overwrite("farming:bread", 6) overwrite("farming:potato", 1) @@ -402,6 +376,7 @@ end if minetest.get_modpath("xdecor") then overwrite("xdecor:bowl_soup", 20) + overwrite("xdecor:honey",2) end -- player-action based hunger changes -- GitLab