mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-05 09:13:16 +01:00
Revert healing interval default to the lower value
parent
027e0e8337
commit
e29654a0f6
@ -146,7 +146,7 @@ minetest.register_globalstep(function(dtime)
|
|||||||
local food_level = mcl_hunger.get_hunger(player)
|
local food_level = mcl_hunger.get_hunger(player)
|
||||||
local food_saturation_level = mcl_hunger.get_saturation(player)
|
local food_saturation_level = mcl_hunger.get_saturation(player)
|
||||||
local player_health = player:get_hp()
|
local player_health = player:get_hp()
|
||||||
local max_tick_timer = tonumber(minetest.settings:get("mcl_health_regen_delay")) or 4
|
local max_tick_timer = tonumber(minetest.settings:get("mcl_health_regen_delay")) or 0.5
|
||||||
|
|
||||||
if food_tick_timer > max_tick_timer then
|
if food_tick_timer > max_tick_timer then
|
||||||
food_tick_timer = 0
|
food_tick_timer = 0
|
||||||
|
@ -99,8 +99,8 @@ mcl_creative_dig_speed (Creative mode dig speed) float 0.2
|
|||||||
mcl_enable_hunger (Hunger mechanic) bool true
|
mcl_enable_hunger (Hunger mechanic) bool true
|
||||||
|
|
||||||
# Health regeneration delay when hunger bar is full
|
# Health regeneration delay when hunger bar is full
|
||||||
# Default:4
|
# Default: 0.5 s
|
||||||
mcl_health_regen_delay (Health regen delay) float 4 0
|
mcl_health_regen_delay (Health regen delay) float 0.5 0
|
||||||
|
|
||||||
[Mobs]
|
[Mobs]
|
||||||
# If enabled, mobs will spawn naturally. This does not affect
|
# If enabled, mobs will spawn naturally. This does not affect
|
||||||
|
Loading…
Reference in New Issue
Block a user