the-real-herowl
589de76613
Fixed a code branch never being run
2023-12-05 01:59:05 +01:00
the-real-herowl
e29654a0f6
Revert healing interval default to the lower value
2023-12-05 00:58:10 +00:00
Eliy21
7cbba73d50
Combat (mostly PvE) rebalancing ( #4005 )
...
-Added short mob invulnerability time after being hit
-Added separate shorter range for hitting mobs (as opposed to node interaction)
-Reworked mob knockback
-Slowed down natural health regeneration from saturation
-Added a setting for the saturation health regen speed
Reviewed-on: MineClone2/MineClone2#4005
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Eliy21 <eliy21@noreply.git.minetest.land>
Co-committed-by: Eliy21 <eliy21@noreply.git.minetest.land>
2023-11-23 00:32:23 +00: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
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
AFCMS
cd33d406b2
fix many codestyle issues (functions, strings, modpaths)
2021-05-29 16:12:33 +02:00
jordan4ibanez
ad4e86deca
Fix #1726
2021-05-10 20:17:43 -04:00
Lizzy Fleckenstein
302175691a
Integrate death messages
2021-04-25 16:42:38 +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
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
Wuzzy
b9377a0dbf
Fix broken player init in mcl_hunger causing crash
2019-03-09 08:25:00 +01:00
Wuzzy
793357cdfe
Fix crash in mcl_hunger
2019-03-08 23:47:50 +01:00
Wuzzy
20576431e1
More death messages, more reliable
2019-03-08 20:22:01 +01:00
Wuzzy
7851cee45e
Fix exhauston for attacking and taking dmg
2019-02-28 16:43:52 +01:00
Wuzzy
4bd9be22e0
Apply eat effect when hunger disabled
2019-02-06 21:23:05 +01:00
Wuzzy
2fed50dbbe
Fix crash when drinking milk when damage disabled
2017-08-31 23:13:51 +02:00
Wuzzy
e5a34367c9
Use new Minetest settings API syntax for most mods
2017-08-09 16:17:00 +02:00
Wuzzy
55eba5c54b
Cause more exhaustion when sprint-jumping
2017-08-04 19:49:03 +02:00
Wuzzy
44ea113972
Don't starve player to death if hungry
2017-07-26 18:25:55 +02:00
Wuzzy
c4c3afa375
Fix mcl_hunger init
2017-06-07 01:04:58 +02:00
Wuzzy
9f683542af
Fix some bugs with poison bar displaying
2017-06-06 18:33:01 +02:00
Wuzzy
f1b99dc117
Use new player attribute API for mcl_hunger
2017-06-06 18:04:36 +02:00
Wuzzy
d21eefbb78
Hunger: Remove file loading code
2017-06-06 17:12:21 +02:00
Wuzzy
08beecbc29
No longer regen health at 0.5s at full hunger bar
2017-05-23 18:56:49 +02:00
Wuzzy
90a28d3ec5
Fix poison not reset after respawn
2017-05-23 02:20:10 +02:00
Wuzzy
3ff572d2bc
Force 2 second delay between eating
2017-05-23 01:39:19 +02:00
Wuzzy
3cd02e3262
Clean up jump exhaustion code a bit
2017-05-22 23:51:08 +02:00
Wuzzy
6f56c5cec9
Fix no exhaustion caused by being on top of water
2017-05-22 23:21:29 +02:00
Wuzzy
83d25276a9
Fix broken hunger mod when damage disabled
2017-05-22 08:20:58 +02:00
Wuzzy
50ed336144
Add PvP combat exhaustion
2017-05-21 06:20:00 +02:00
Wuzzy
0167a2f41b
Change food bar when player is food poisoned
2017-05-21 01:32:05 +02:00
Wuzzy
9a520450c1
TODO list for exhaustion
2017-05-20 23:31:54 +02:00
Wuzzy
3dd4b0c522
Rename food HUD Bar back to "hunger"
2017-05-20 23:26:54 +02:00
Wuzzy
7115cc28c4
New images for mcl_hunger debug mode
2017-05-20 23:20:50 +02:00
Wuzzy
65a874136d
Add hidden hunger debug setting
2017-05-20 22:55:33 +02:00
Wuzzy
61838ced7a
Add hunger debug mode
2017-05-20 22:51:40 +02:00
Wuzzy
7af1292b9f
Clarify previous commit
2017-05-20 22:35:50 +02:00