Skip to content

Commit 297546a

Browse files
committedSep 15, 2016
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.
1 parent 1475c1b commit 297546a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎doc/lua_api.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3664,7 +3664,7 @@ Definition tables
36643664
^ Don't forget to use "leveled" type nodebox. ]]
36653665
liquid_range = 8, -- number of flowing nodes around source (max. 8)
36663666
drowning = 0, -- Player will take this amount of damage if no bubbles are left
3667-
light_source = 0, -- Amount of light emitted by node
3667+
light_source = 0, -- Amount of light emitted by node (max. 14)
36683668
damage_per_second = 0, -- If player is inside node, this damage is caused
36693669
node_box = {type="regular"}, -- See "Node boxes"
36703670
connects_to = nodenames, --[[

0 commit comments

Comments
 (0)
Please sign in to comment.