diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-12-11 16:49:40 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-12-11 16:49:40 +0200 |
commit | bd21f00f0a1bb23d4503d58a502a796dbe3fd5b4 (patch) | |
tree | ba1e29a21fafe612bdb05bd2a5bfbf8466f92ee0 /data/mods/default | |
parent | 012bcbcb4852c78e803485a4fc6fe6628ce0dcd3 (diff) | |
download | minetest-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.lua | 1 |
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 |