mirror of
git://repo.or.cz/minetest_hbhunger.git
synced 2025-06-29 13:20:42 +02:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
53df2c500b |
@ -1,12 +1,12 @@
|
|||||||
# Hunger with HUD bar [`hbhunger`]
|
# Hunger with HUD bar [`hbhunger`]
|
||||||
|
|
||||||
* Version: 1.0.0
|
* Version: 0.7.1
|
||||||
|
|
||||||
## Using the mod
|
## Using the mod
|
||||||
|
|
||||||
This mod adds a mechanic for hunger.
|
This mod adds a mechanic for hunger.
|
||||||
This mod depends on the HUD bars mod [`hudbars`], version 1.4.1 or any later version
|
This mod depends on the HUD bars mod [`hudbars`], version 1.4.1 or any later version
|
||||||
starting with “1.” or “2.”.
|
starting with “1.”.
|
||||||
|
|
||||||
## About hunger
|
## About hunger
|
||||||
This mod adds a hunger mechanic to the game. Players get a new attribute called “satiation”:
|
This mod adds a hunger mechanic to the game. Players get a new attribute called “satiation”:
|
||||||
|
32
depends.txt
Normal file
32
depends.txt
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
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?
|
1
description.txt
Normal file
1
description.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Adds a simple hunger meachanic with satiation, food poisoning and different healing.
|
9
init.lua
9
init.lua
@ -1,4 +1,9 @@
|
|||||||
local S = minetest.get_translator("hbhunger")
|
local S
|
||||||
|
if (minetest.get_modpath("intllib")) then
|
||||||
|
S = intllib.Getter()
|
||||||
|
else
|
||||||
|
S = function ( s ) return s end
|
||||||
|
end
|
||||||
|
|
||||||
if minetest.settings:get_bool("enable_damage") then
|
if minetest.settings:get_bool("enable_damage") then
|
||||||
|
|
||||||
@ -148,3 +153,5 @@ minetest.register_globalstep(function(dtime)
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
minetest.log("action", "[hbhunger] loaded.")
|
||||||
|
1
locale/de.txt
Normal file
1
locale/de.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Satiation = Sättigung
|
@ -1,2 +0,0 @@
|
|||||||
# textdomain:hbhunger
|
|
||||||
Satiation=Sättigung
|
|
@ -1,2 +0,0 @@
|
|||||||
# textdomain:hbhunger
|
|
||||||
Satiation=Sazietà
|
|
@ -1,2 +0,0 @@
|
|||||||
# textdomain:hbhunger
|
|
||||||
Satiation=Kekenyangan
|
|
@ -1,2 +0,0 @@
|
|||||||
# textdomain:hbhunger
|
|
||||||
Satiation=Saciedade
|
|
1
locale/it.txt
Normal file
1
locale/it.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Satiation = Sazietà
|
1
locale/ms.txt
Normal file
1
locale/ms.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Satiation = Kekenyangan
|
1
locale/pt.txt
Normal file
1
locale/pt.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Satiation = Saciedade
|
@ -1,2 +1 @@
|
|||||||
# textdomain:hbhunger
|
Satiation
|
||||||
Satiation=
|
|
||||||
|
3
mod.conf
3
mod.conf
@ -1,4 +1 @@
|
|||||||
name = hbhunger
|
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
|
|
||||||
|
54
old_changelog.txt
Normal file
54
old_changelog.txt
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
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
|
Reference in New Issue
Block a user