1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Add EnvRef:get_node_light(pos, timeofday)

This commit is contained in:
Perttu Ahola 2011-12-04 15:55:37 +02:00
parent 4cc117ddf6
commit 09c48b60bd
2 changed files with 31 additions and 0 deletions

View file

@ -146,6 +146,8 @@
-- ^ Returns {name="ignore", ...} for unloaded area
-- - get_node_or_nil(pos)
-- ^ Returns nil for unloaded area
-- - get_node_light(pos, timeofday) -> 0...15 or nil
-- ^ timeofday: nil = current time, 0 = night, 0.5 = day
-- - add_luaentity(pos, name)
-- - add_item(pos, itemstring)
-- - add_rat(pos)