2
0

api.lua 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --call all files in this directory
  2. -- ===================================================================
  3. -- Minetest Specific Overrides of modpol functions
  4. -- ===================================================================
  5. local localdir = minetest.get_modpath("modpol") .. "/modpol_minetest"
  6. --Users
  7. dofile (localdir .. "/overrides/users/users.lua")
  8. --orgs
  9. --dofile (localdir .. "/overrides/orgs/orgs.lua")
  10. --interactions
  11. dofile (localdir .. "/overrides/interactions/interactions.lua")
  12. -- messaging functions
  13. -- dofile (localdir .. "/overrides/processes/processes.lua")
  14. -- ===================================================================
  15. -- Minetest Chatcommands
  16. -- ===================================================================
  17. dofile (localdir .. "/chatcommands/chatcommands.lua")
  18. -- ===================================================================
  19. -- Minetest Specific code
  20. -- ===================================================================
  21. -- orgs
  22. -- ===================
  23. dofile (localdir .. "/orgs/instance.lua") --add players to the instance when they join.