1
0
Fork 0
Commit Graph

133 Commits

Author SHA1 Message Date
Eliy21 61ed9e44cf Make food health regen delay a configurable setting 2023-11-19 10:21:06 +00:00
Eliy21 98a61ec0be Make health regen from food not almost instant to balance spam eating
This came from testing the new mob combat balance that I noticed I can spam eat food and regen very quickly.

This health regen time change is actually the same as Minecraft.

"Whenever a player's hunger is 18 (🍗 × 9) or higher, they regenerate 1♥ every 4 seconds."

https://minecraft.wiki/w/Healing
2023-11-11 15:25:55 +00:00
Sab Pyrope 5b4a79a26d Update russian translation 2023-08-31 14:16:42 +08:00
syl ac4073a259 Improve french translation 2023-04-07 17:05:06 +02:00
Michieal 6265148727 Move textures all into one centralized directory. 2023-01-30 22:55:53 -05:00
Riu Sakura 2b61231f82 add japanese translation 2022-12-19 15:33:31 +09:00
cora 3a37b1c8cc Add a setting to disable hunger 2022-11-03 14:31:08 +01:00
cora f1915ef2f1 Fix globalstep in mcl_hunger taking a long time 2022-07-26 00:27:34 +02:00
MysticTempest e3abe72522 Fix healing speed, and saturation usage again; to be more accurate. 2022-06-25 01:41:10 -05:00
MysticTempest a6e2c94028 Tweak hunger/health mechanics:
Ensure hunger is always ticking away, and ensure that health regen
is quicker when hunger bar is full.
And, tweak saturation to partially use up hunger to heal; instead
of healing on top of hunger.
2022-06-24 05:38:26 -05:00
1F616EMO 3aff1f8981 mcl_hunger 2022-02-23 23:58:05 +01:00
iliekprogrammar 0564121183
Code style for #1890 2021-11-12 02:36:17 +08:00
Dieter44 017bf705e9 Fixing that player can regenerate health in death screen and then respawn without HP being set to maximum 2021-11-09 19:35:32 +01:00
Dieter44 e82d21040c minor changes, ipairs() replaced with pairs() 2021-11-08 19:15:56 +01:00
Dieter44 2f05388541 Add one food_tick_timer per player instead of using one for all players. 2021-11-08 15:49:05 +01:00
Dieter44 976f522b9d Combine slowFoodTickTimer and fastFoodTickTimer to a single food_tick_timer 2021-11-08 15:33:53 +01:00
Dieter44 d0d60804a3 Implemented health regeneration mechanics as described in minecraft wiki. Saturation values and different regeneration speeds now used. 2021-11-04 21:01:28 +01:00
Dieter44 d1d11f9740 Fixed debug hudbars for player saturation and exhaustion when mcl_hunger_debug=true is set in .config file 2021-11-04 20:58:54 +01:00
NO11 5c563d6ffd Make eating particles much more MC like! 2021-08-02 12:24:34 +00:00
marcin-serwin cbe8583cef Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
AFCMS cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
Marcin Serwin dcceafad41 Add polish translation of mcl_hunger 2021-05-25 21:55:16 +02:00
AFCMS 84a800f22b fix many warnings 2021-05-22 19:58:09 +02:00
jordan4ibanez ad4e86deca Fix #1726 2021-05-10 20:17:43 -04:00
Lizzy Fleckenstein f7280dc4f0 Remove mod screenshots since they only take up space and are partly outdated 2021-05-04 20:16:30 +02:00
Lizzy Fleckenstein 302175691a Integrate death messages 2021-04-25 16:42:38 +02:00
Lizzy Fleckenstein 62ed39bd76 Merge branch 'master' into damage 2021-04-23 13:43:00 +02:00
Sven792 038066f0c5 Mirrored foodbar icons to fit the right-to-left change 2021-04-23 09:52:09 +02:00
Lizzy Fleckenstein 2827542002 Implement food poisoning damage properly~ 2021-04-18 18:49:00 +02:00
Lizzy Fleckenstein ca75a893db Merge branch 'master' into damage 2021-04-17 12:58:19 +02:00
AFCMS a602f64ea5 fix many warnings 2021-04-15 23:41:34 +02:00
Lizzy Fleckenstein 9c75cd1a79 Implement starve damage 2021-04-14 19:09:46 +02:00
iliekprogrammar 61cef21cd1 Add right-to-left statbars, for hunger and air. 2021-04-07 22:26:42 +08:00
AFCMS 8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
Lizzy Fleckenstein d57db0444f Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +01:00
kay27 4d54766590 quick fix of Wuzzy/MineClone2#954 2021-01-05 12:15:43 +01:00
Lizzy Fleckenstein cfc86bcf3d Fix #952 and other occurences of get_player_velocity 2021-01-04 18:06:31 +01:00
Wuzzy 0d7e957694 Fix player eating item when pointing a mob 2020-12-05 01:56:19 +01:00
Wuzzy eff6c4c476 Clean up poisonous foods 2020-08-13 19:20:52 +02:00
Wuzzy 152d69f91f mcl_hunger: Remove non-food poison mechanic
It was moved to mcl_potions, so it's OK
2020-08-13 18:44:33 +02:00
Brandon acea309564 Add poison effect for pufferfish, remove mcl_hunger control for pufferfish effect 2020-08-01 08:36:22 -04:00
Brandon 1563fc7b96 comment sections of mcl_hunger that "poison" player. This is handled in mcl_potions. 2020-07-28 17:13:54 -04:00
kay27 ba51686e6c Russian translation 2020-07-20 00:11:13 +00:00
Wuzzy c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Rocher Laurent 4957bd1118 Translate In French 2020-05-03 22:39:07 +02:00
Wuzzy c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy 6096b8dd9a Fix translation placeholder in mcl_hunger 2020-02-19 17:07:42 +01:00
Wuzzy 604e1c4d19 Link eating sound back to object again 2020-02-18 23:53:33 +01:00
wuniversales 15481cb24d Add Spanish translation 2020-02-04 21:43:50 +01:00
Wuzzy 7175ffb975 Add workaround for broken eat sound 2019-12-09 08:36:34 +01:00