forked from VoxeLibre/VoxeLibre
Add hidden hunger debug setting
This commit is contained in:
parent
61838ced7a
commit
65a874136d
|
@ -10,7 +10,11 @@ if minetest.setting_getbool("enable_damage") then
|
||||||
mcl_hunger = {}
|
mcl_hunger = {}
|
||||||
mcl_hunger.food = {}
|
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:
|
--[[ Data value format notes:
|
||||||
Hunger values is identical to Minecraft's and ranges from 0 to 20.
|
Hunger values is identical to Minecraft's and ranges from 0 to 20.
|
||||||
|
|
Loading…
Reference in New Issue