aboutsummaryrefslogtreecommitdiff
path: root/data/mods/default/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'data/mods/default/init.lua')
-rw-r--r--data/mods/default/init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua
index d07337379..3f4a8175e 100644
--- a/data/mods/default/init.lua
+++ b/data/mods/default/init.lua
@@ -118,6 +118,9 @@
-- {type="node", pos={x=, y=, z=}}
-- minetest.get_current_modname() -> string
-- minetest.get_modpath(modname) -> eg. "/home/user/.minetest/usermods/modname"
+-- ^ Useful for loading additional .lua modules or static data from mod
+-- minetest.get_worldpath(modname) -> eg. "/home/user/.minetest/world"
+-- ^ Useful for storing custom data
--
-- minetest.debug(line)
-- ^ Goes to dstream