aboutsummaryrefslogtreecommitdiff
path: root/data/mods/default
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-12-11 16:49:40 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-12-11 16:49:40 +0200
commitbd21f00f0a1bb23d4503d58a502a796dbe3fd5b4 (patch)
treeba1e29a21fafe612bdb05bd2a5bfbf8466f92ee0 /data/mods/default
parent012bcbcb4852c78e803485a4fc6fe6628ce0dcd3 (diff)
downloadminetest-bd21f00f0a1bb23d4503d58a502a796dbe3fd5b4.tar.gz
minetest-bd21f00f0a1bb23d4503d58a502a796dbe3fd5b4.tar.bz2
minetest-bd21f00f0a1bb23d4503d58a502a796dbe3fd5b4.zip
Add minetest.get_modpath(modname)
Diffstat (limited to 'data/mods/default')
-rw-r--r--data/mods/default/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua
index 782eba5a5..95d9c19ff 100644
--- a/data/mods/default/init.lua
+++ b/data/mods/default/init.lua
@@ -110,6 +110,7 @@
-- minetest.chat_send_all(text)
-- minetest.chat_send_player(name, text)
-- minetest.get_player_privs(name) -> set of privs
+-- minetest.get_modpath(modname) -> eg. "/home/user/.minetest/usermods/modname"
--
-- stackstring_take_item(stackstring) -> stackstring, item
-- stackstring_put_item(stackstring, item) -> stackstring, success