diff --git a/README.md b/README.md index 7d9de6b..d729969 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # Hunger with HUD bar [`hbhunger`] -* Version: 0.7.1 +* Version: 1.0.0 ## Using the mod This mod adds a mechanic for hunger. This mod depends on the HUD bars mod [`hudbars`], version 1.4.1 or any later version -starting with “1.”. +starting with “1.” or “2.”. ## About hunger This mod adds a hunger mechanic to the game. Players get a new attribute called “satiation”: diff --git a/depends.txt b/depends.txt deleted file mode 100644 index 6bd271b..0000000 --- a/depends.txt +++ /dev/null @@ -1,32 +0,0 @@ -hudbars -intllib? -default? -flowers? -animalmaterials? -bucket? -bushes? -bushes_classic? -cooking? -creatures? -docfarming? -dwarves? -ethereal? -farming? -farming_plus? -ferns? -fishing? -fruit? -glooptest? -jkanimals? -jkfarming? -jkwine? -kpgmobs? -mobfcooking? -mobs? -moretrees? -mtfoods? -mush45? -mushroom? -seaplants? -pizza? -nssm? diff --git a/description.txt b/description.txt deleted file mode 100644 index 77e6159..0000000 --- a/description.txt +++ /dev/null @@ -1 +0,0 @@ -Adds a simple hunger meachanic with satiation, food poisoning and different healing. diff --git a/init.lua b/init.lua index 86a13e7..e91bbff 100644 --- a/init.lua +++ b/init.lua @@ -1,9 +1,4 @@ -local S -if (minetest.get_modpath("intllib")) then - S = intllib.Getter() -else - S = function ( s ) return s end -end +local S = minetest.get_translator("hbhunger") if minetest.settings:get_bool("enable_damage") then diff --git a/locale/de.txt b/locale/de.txt deleted file mode 100644 index 3a06d93..0000000 --- a/locale/de.txt +++ /dev/null @@ -1 +0,0 @@ -Satiation = Sättigung diff --git a/locale/hbhunger.de.tr b/locale/hbhunger.de.tr new file mode 100644 index 0000000..4223564 --- /dev/null +++ b/locale/hbhunger.de.tr @@ -0,0 +1,2 @@ +# textdomain:hbhunger +Satiation=Sättigung diff --git a/locale/hbhunger.it.tr b/locale/hbhunger.it.tr new file mode 100644 index 0000000..b99dc61 --- /dev/null +++ b/locale/hbhunger.it.tr @@ -0,0 +1,2 @@ +# textdomain:hbhunger +Satiation=Sazietà diff --git a/locale/hbhunger.ms.tr b/locale/hbhunger.ms.tr new file mode 100644 index 0000000..67f08f7 --- /dev/null +++ b/locale/hbhunger.ms.tr @@ -0,0 +1,2 @@ +# textdomain:hbhunger +Satiation=Kekenyangan diff --git a/locale/hbhunger.pt.tr b/locale/hbhunger.pt.tr new file mode 100644 index 0000000..82be594 --- /dev/null +++ b/locale/hbhunger.pt.tr @@ -0,0 +1,2 @@ +# textdomain:hbhunger +Satiation=Saciedade diff --git a/locale/it.txt b/locale/it.txt deleted file mode 100644 index 94dbc2e..0000000 --- a/locale/it.txt +++ /dev/null @@ -1 +0,0 @@ -Satiation = Sazietà diff --git a/locale/ms.txt b/locale/ms.txt deleted file mode 100644 index 5cee0d9..0000000 --- a/locale/ms.txt +++ /dev/null @@ -1 +0,0 @@ -Satiation = Kekenyangan diff --git a/locale/pt.txt b/locale/pt.txt deleted file mode 100644 index 44fe452..0000000 --- a/locale/pt.txt +++ /dev/null @@ -1 +0,0 @@ -Satiation = Saciedade diff --git a/locale/template.txt b/locale/template.txt index 37a578d..84ad832 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -1 +1,2 @@ -Satiation +# textdomain:hbhunger +Satiation= diff --git a/mod.conf b/mod.conf index dc67cd6..da6c465 100644 --- a/mod.conf +++ b/mod.conf @@ -1 +1,4 @@ name = hbhunger +description = Adds a simple hunger meachanic with satiation, food poisoning and different healing. +depends = hudbars +optional_depends = default, flowers, animalmaterials, bucket, bushes, bushes_classic, cooking, creatures, docfarming, dwarves, ethereal, farming, farming_plus, ferns, fishing, fruit, glooptest, jkanimals, jkfarming, jkwine, kpgmobs, mobfcooking, mobs, moretrees, mtfoods, mush45, mushroom, seaplants, pizza, nssm diff --git a/old_changelog.txt b/old_changelog.txt deleted file mode 100644 index 32db368..0000000 --- a/old_changelog.txt +++ /dev/null @@ -1,54 +0,0 @@ -OLD CHANGELOG -------------- - -0.1.0 ------ -Initial release - -0.2.0 ------ -- Change “saturation” to “satiation” -- Rename global table to “hbhunger” to avoid collisions -- General cleanup - -0.3.0 ------ -- Play simple eating sound when something is eaten - -0.3.1 ------ -- Add Ethereal orange -- Fix exhaus variable - -0.3.2 ------ -- Fix another crash - -0.4.0 ------ -- Generic eating functionality, items using the minetest.item_eat are automatically supported -- Change health bar and icon when poisoned -- Special support for red and brown mushroom from Minetest Game [flowers] -- Special support for [pizza] -- Special support for beans from Farming Redo [farming] -- Fix crash when poisoned player leaves server -- Changed license to LGPL v2.1 - -0.4.1 ------ -- Add foods from Not So Simple Mobs [nssm] - -0.5.0 ------ -- Fix custom sound not working -- Add Portuguese translation - -0.5.1 ------ -- Fix incompability problem with pipeworks mod - -0.5.2 ------ -- Fix mod not working with both intllib and mod security enabled -- Add missing screenshot -- Rewrite README and use Markdown format