aboutsummaryrefslogtreecommitdiff
path: root/builtin/game/constants.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/game/constants.lua')
-rw-r--r--builtin/game/constants.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/builtin/game/constants.lua b/builtin/game/constants.lua
index 56fca9289..50c515b24 100644
--- a/builtin/game/constants.lua
+++ b/builtin/game/constants.lua
@@ -19,4 +19,9 @@ core.EMERGE_FROM_DISK = 3
core.EMERGE_GENERATED = 4
-- constants.h
+-- Size of mapblocks in nodes
core.MAP_BLOCKSIZE = 16
+
+-- light.h
+-- Maximum value for node 'light_source' parameter
+core.LIGHT_MAX = 14