From 36a1b23490b01702fb3745924bdfec082eabc644 Mon Sep 17 00:00:00 2001 From: BlockMen Date: Sat, 16 Aug 2014 13:24:41 +0200 Subject: [PATCH] Add support for ethereal and push to 1.3.3 --- README.txt | 2 +- changelog.txt | 7 ++++++- depends.txt | 2 ++ hunger.lua | 25 +++++++++++++++++++++++++ 4 files changed, 34 insertions(+), 2 deletions(-) diff --git a/README.txt b/README.txt index 625f045..3e920ff 100644 --- a/README.txt +++ b/README.txt @@ -1,6 +1,6 @@ Minetest mod "Better HUD" ========================= -Version: 1.3.2 +Version: 1.3.3 License of source code: WTFPL ----------------------------- diff --git a/changelog.txt b/changelog.txt index 017eabb..bbc4175 100644 --- a/changelog.txt +++ b/changelog.txt @@ -74,4 +74,9 @@ ----- - Fix dependecies (by Chris Beelby) - Add support for creatures mod -- Add optional healing for food (by TenPlus1) \ No newline at end of file +- Add optional healing for food (by TenPlus1) + +1.3.3 +----- +- Prevent crash with armor mod and missing player +- Add support for ethereal mod (by TenPlus1) diff --git a/depends.txt b/depends.txt index 33364c4..99f3405 100644 --- a/depends.txt +++ b/depends.txt @@ -1,10 +1,12 @@ default animalmaterials? +bucket? bushes? bushes_classic? creatures? docfarming? dwarves? +ethereal? farming? farming_plus? fishing? diff --git a/hunger.lua b/hunger.lua index d5a6a13..d3956c4 100644 --- a/hunger.lua +++ b/hunger.lua @@ -234,3 +234,28 @@ if minetest.get_modpath("creatures") ~= nil then overwrite("creatures:flesh", 3) 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", 4, "ethereal:bowl") + overwrite("ethereal:mushroom_soup_cooked", 6, "ethereal:bowl") + overwrite("ethereal:hearty_stew", 6, "ethereal:bowl", 3) + 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) +end