summaryrefslogtreecommitdiff
path: root/builtin/game/constants.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/game/constants.lua')
-rw-r--r--builtin/game/constants.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/builtin/game/constants.lua b/builtin/game/constants.lua
index 50c515b24..29eeb8330 100644
--- a/builtin/game/constants.lua
+++ b/builtin/game/constants.lua
@@ -21,6 +21,10 @@ core.EMERGE_GENERATED = 4
-- constants.h
-- Size of mapblocks in nodes
core.MAP_BLOCKSIZE = 16
+-- Default maximal HP of a player
+core.PLAYER_MAX_HP_DEFAULT = 20
+-- Maximal breath of a player
+core.PLAYER_MAX_BREATH = 11
-- light.h
-- Maximum value for node 'light_source' parameter