ae90f8d699
Customizeable max breath and max hp for players
...
* it closes https://codeberg.org/minenux/minetest-engine-minetest/issues/33
* Statbars: Downscale bar to full 20 HP when exceeding this value
Add default max HP for players and breath constants to builtin
Document the constants
Rename PLAYER_MAX_HP -> PLAYER_MAX_HP_DEFAULT
* implements PLAYER_MAX_BREATH_DEFAULT Customizeable max breath for players
edbc533414
so close https://github.com/minetest/minetest/issues/1972 that
imports pr https://github.com/minetest/minetest/pull/6411
* implements PLAYER_MAX_HP_DEFAULT Respect object property hp_max field for players
f7d50a8078
* so close https://github.com/minetest/minetest/issues/2246 that
imports https://github.com/minetest/minetest/pull/6287
2023-09-12 23:54:00 -04:00
paramat
3aefa5d3ce
Register.lua: Throw error if node 'light_source' > core.LIGHT_MAX
...
Add 'core.LIGHT_MAX = 14' to builtin/game/constants.lua with the intention
to replace misplaced 'default.LIGHT_MAX = 14' in Minetest Game.
Add comment in light.h requiring the constant be changed in both places.
Add lighting bug warning to note in lua_api.txt.
There are hundreds of mod uses of 15 which causes a lighting bug.
2016-09-17 09:33:25 +01:00
Tim
c8b4bedaa8
Builtin: Add core.MAP_BLOCKSIZE constant
2016-07-26 04:17:07 +01:00
kwolekr
f9e394a466
Improve LuaVoxelManip documentation
2015-11-07 11:59:24 -05:00
kwolekr
c2b5da735e
Add callback parameter for core.emerge_area()
2015-11-02 18:43:09 -05:00