1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Add minetest.get_modpath(modname)

This commit is contained in:
Perttu Ahola 2011-12-11 16:49:40 +02:00
parent 012bcbcb48
commit bd21f00f0a
6 changed files with 50 additions and 8 deletions

View file

@ -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

View file

@ -405,4 +405,6 @@ minetest.register_abm({
end,
})--]]
print("experimental modpath="..dump(minetest.get_modpath("experimental")))
-- END