summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2016-09-11 22:48:04 +0100
committerparamat <mat.gregory@virginmedia.com>2016-09-15 05:25:38 +0100
commit297546af3d3b5b3a07a61ade041ad7c26e9a531d (patch)
tree67add6edd901d21641324ccda5ed28324496873e /doc
parent1475c1b1c8bb1a2a2812d485d3590e1f817f7c7b (diff)
downloadminetest-297546af3d3b5b3a07a61ade041ad7c26e9a531d.tar.gz
minetest-297546af3d3b5b3a07a61ade041ad7c26e9a531d.tar.bz2
minetest-297546af3d3b5b3a07a61ade041ad7c26e9a531d.zip
Lua_api.txt: Add note of maximum value for node 'light_source'
Maximum is 14. A value of 15 (reserved for direct sunlight) causes a lighting bug.
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 41e7c00eb..b6e6520b2 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -3664,7 +3664,7 @@ Definition tables
^ Don't forget to use "leveled" type nodebox. ]]
liquid_range = 8, -- number of flowing nodes around source (max. 8)
drowning = 0, -- Player will take this amount of damage if no bubbles are left
- light_source = 0, -- Amount of light emitted by node
+ light_source = 0, -- Amount of light emitted by node (max. 14)
damage_per_second = 0, -- If player is inside node, this damage is caused
node_box = {type="regular"}, -- See "Node boxes"
connects_to = nodenames, --[[