init.lua 699 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. =====================================================================
  3. ** Map Tools **
  4. By Calinou.
  5. Copyright (c) 2012-2015 Calinou and contributors.
  6. Licensed under the zlib license. See LICENSE.md for more information.
  7. =====================================================================
  8. --]]
  9. maptools = {}
  10. local S
  11. if minetest.get_modpath("intllib") then
  12. S = intllib.Getter()
  13. else
  14. S = function(s) return s end
  15. end
  16. maptools.intllib = S
  17. local modpath = minetest.get_modpath("maptools")
  18. dofile(modpath .. "/config.lua")
  19. dofile(modpath .. "/aliases.lua")
  20. dofile(modpath .. "/craftitems.lua")
  21. dofile(modpath .. "/default_nodes.lua")
  22. dofile(modpath .. "/nodes.lua")