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:
parent
4cc117ddf6
commit
09c48b60bd
2 changed files with 31 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue