aboutsummaryrefslogtreecommitdiff
path: root/data/mods
diff options
context:
space:
mode:
Diffstat (limited to 'data/mods')
-rw-r--r--data/mods/default/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua
index 7f0614e20..1bd1eba4a 100644
--- a/data/mods/default/init.lua
+++ b/data/mods/default/init.lua
@@ -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)