1
0

Minor Hunger tune

This commit is contained in:
Maksym H 2022-12-27 20:40:40 +02:00
parent 8c205f5bed
commit 93232becc0
2 changed files with 23 additions and 1 deletions

View File

@ -382,7 +382,7 @@ hunger.bar_definition = {
number = settings.visual_max,
item = settings.visual_max,
size = {x = 24, y = 24},
offset = {x = -265, y = -126}
offset = {x = -265, y = -118}
}
core.register_on_joinplayer(function(player)

View File

@ -2241,3 +2241,25 @@ contentdb_flag_blacklist (ContentDB Flag Blacklist) string nonfree, desktop_defa
# Maximum number of concurrent downloads. Downloads exceeding this limit will be queued.
# This should be lower than curl_parallel_limit.
contentdb_max_concurrent_downloads (ContentDB Max Concurrent Downloads) int 3
[Hunger]
hunger.enabled (Hunger enabled) bool true
hunger.tick (Time in seconds after that 1 saturation point is taken) float 600
hunger.tick_min (Hunger ticks won't reduce saturation below this level) int 4
hunger.health_tick (Time in seconds after player gets healed/damaged) float 4.0
hunger.move_tick (Time in seconds after the movement is checked) float 0.5
hunger.poison_tick (Time in seconds between actions of poisoning) float 1.0
hunger.exhaust_dig (Exhaustion for digging a node) float 2.0
hunger.exhaust_place (Exhaustion for placing a node) float 1.0
hunger.exhaust_move (Exhaustion for moving) float 2.0
hunger.exhaust_jump (Exhaustion for jumping) float 4.0
hunger.exhaust_craft (Exhaustion for crafting) float 2.0
hunger.exhaust_punch (Exhaustion for punching) float 5.0
hunger.exhaust_lvl (Exhaustion level at which saturation gets lowered) int 192
hunger.heal (Amount of HP a player gains per health tick) int 1 0 20
hunger.heal_lvl (Minimum saturation needed for healing) int 5 1 20
hunger.starve (Amount of HP a player loses per health tick) int 1 0 20
hunger.starve_lvl (Maximum hunger needed for starving) int 2 0 19
hunger.level_max (Maximum hunger level) int 21 3 21
hunger.visual_max (Visual hunger bar size) int 20 2 20