diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/mods/default/init.lua | 1 | ||||
-rw-r--r-- | data/mods/experimental/init.lua | 2 |
2 files changed, 3 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 diff --git a/data/mods/experimental/init.lua b/data/mods/experimental/init.lua index 6b82b02a2..d180d4778 100644 --- a/data/mods/experimental/init.lua +++ b/data/mods/experimental/init.lua @@ -405,4 +405,6 @@ minetest.register_abm({ end, })--]] +print("experimental modpath="..dump(minetest.get_modpath("experimental"))) +-- END |