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:
parent
012bcbcb48
commit
bd21f00f0a
6 changed files with 50 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -405,4 +405,6 @@ minetest.register_abm({
|
|||
end,
|
||||
})--]]
|
||||
|
||||
print("experimental modpath="..dump(minetest.get_modpath("experimental")))
|
||||
|
||||
-- END
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue