1
0
mirror of git://repo.or.cz/minetest_hbhunger.git synced 2025-09-10 19:15:28 +02:00

11 Commits

Author SHA1 Message Date
ad2dbf5647 Merge remote-tracking branch 'upstream/master' 2021-06-20 17:09:34 +02:00
Wuzzy
ea958fbf6b Version 1.1.1 2021-06-08 14:08:32 +02:00
Wuzzy
738c660489 Hearty stew is no longer poisonous 2021-06-08 14:07:52 +02:00
d90513c22b Merge remote-tracking branch 'upstream/master' 2020-11-07 11:35:06 +01:00
Wuzzy
a92747cabc getpos → get_pos 2020-11-04 15:14:31 +01:00
Wuzzy
f9f9e577e8 Update README 2020-11-04 15:11:26 +01:00
Duvalon
4c80a84649 Add French translation 2020-11-04 15:05:48 +01:00
1d78be907b Modifie le son du joueur qui mange 2020-01-05 18:31:08 +01:00
235a8652eb Merge branch 'master' of yunohost.local:mtcontrib/minetest_hbhunger into nalc-1.2-dev 2019-12-22 13:16:16 +01:00
9989c26c65 Merge branch 'master' into nalc-1.2 2019-05-09 22:05:07 +02:00
sys4-fr
53df2c500b Ajoute message de chargement du mod dans le journal "action" 2018-12-25 17:13:57 +01:00
6 changed files with 9 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
# Hunger with HUD bar [`hbhunger`]
* Version: 1.1.0
* Version: 1.1.1
## Using the mod
@@ -39,7 +39,7 @@ All mods which add food through standard measures (`minetest.item_eat`) are alre
supported automatically. Poisoned food needs special support.
### Known supported food mods
* Apple from Minetest Game [`default`]
* Apple and Blueberries from Minetest Game [`default`]
* Red and brown mushroom from Minetest Game [`flowers`]
* Bread from Minetest Game [`farming`]
* [`animalmaterials`] (Mob Framework (`mobf` modpack))
@@ -90,7 +90,7 @@ This mod is free software.
* `hbhunger_icon.png`—PilzAdam ([MIT License](https://opensource.org/licenses/MIT)), modified by BlockMen
* `hbhunger_bgicon.png`—PilzAdam (MIT License), modified by BlockMen
* `hbhunger_bar.png—Wuzzy` (MIT License)
* `hbhunger_bar.png`—Wuzzy (MIT License)
* `hbhunger_icon_health_poison.png`—celeron55 ([CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/)), modified by BlockMen, modified again by Wuzzy
* Everything else: MIT License, by BlockMen and Wuzzy

View File

@@ -116,7 +116,7 @@ function hbhunger.item_eat(hunger_change, replace_with_item, poisen, heal, sound
if inv:room_for_item("main", replace_with_item) then
inv:add_item("main", replace_with_item)
else
minetest.add_item(user:getpos(), replace_with_item)
minetest.add_item(user:get_pos(), replace_with_item)
end
end
end

View File

@@ -186,3 +186,5 @@ minetest.register_chatcommand("satiation", {
})
end
minetest.log("action", "[hbhunger] loaded.")

2
locale/hbhunger.fr.tr Normal file
View File

@@ -0,0 +1,2 @@
# textdomain:hbhunger
Satiation=Satiété

View File

@@ -217,7 +217,7 @@ if minetest.get_modpath("ethereal") then
hbhunger.register_food("ethereal:wild_onion_plant", 2)
hbhunger.register_food("ethereal:mushroom_soup", 4, "ethereal:bowl")
hbhunger.register_food("ethereal:mushroom_soup_cooked", 6, "ethereal:bowl")
hbhunger.register_food("ethereal:hearty_stew", 6, "ethereal:bowl", 3)
hbhunger.register_food("ethereal:hearty_stew", 6, "ethereal:bowl")
hbhunger.register_food("ethereal:hearty_stew_cooked", 10, "ethereal:bowl")
if minetest.get_modpath("bucket") then
hbhunger.register_food("ethereal:bucket_cactus", 2, "bucket:bucket_empty")

Binary file not shown.