diff --git a/doc/lua_api.txt b/doc/lua_api.txt index af70a1047..b7f637a7f 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1046,7 +1046,9 @@ methods: - get_node_or_nil(pos) ^ Returns nil for unloaded area - get_node_light(pos, timeofday) -> 0...15 or nil +- get_node_propagated_light(pos, timeofday) -> 0...15 or nil ^ timeofday: nil = current time, 0 = night, 0.5 = day + 'propagated' variant ignores light emitted by the node at pos - place_node(pos, node) ^ Place node with the same effects that a player would cause