mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Add hidden hunger debug setting
This commit is contained in:
parent
61838ced7a
commit
65a874136d
1 changed files with 5 additions and 1 deletions
|
@ -10,7 +10,11 @@ if minetest.setting_getbool("enable_damage") then
|
|||
mcl_hunger = {}
|
||||
mcl_hunger.food = {}
|
||||
|
||||
local debug = true -- Debug Mode. If enabled, saturation and exhaustion are shown as well
|
||||
-- Debug Mode. If enabled, saturation and exhaustion are shown as well
|
||||
local debug = minetest.setting_getbool("mcl_hunger_debug")
|
||||
if debug == nil then
|
||||
debug = false
|
||||
end
|
||||
|
||||
--[[ Data value format notes:
|
||||
Hunger values is identical to Minecraft's and ranges from 0 to 20.
|
||||
|
|
Loading…
Reference in a new issue