init.lua 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. steles mod for Minetest. Steles / graves with text on it.
  3. (c) Pierre-Yves Rollo
  4. This file is part of steles.
  5. steles is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 3 of the License, or
  8. (at your option) any later version.
  9. steles is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with steles. If not, see <http://www.gnu.org/licenses/>.
  15. --]]
  16. steles = {}
  17. steles.name = minetest.get_current_modname()
  18. steles.path = minetest.get_modpath(steles.name)
  19. -- Load support for intllib.
  20. local S, NS = dofile(steles.path.."/intllib.lua")
  21. steles.intllib = S
  22. dofile(steles.path.."/config.lua")
  23. dofile(steles.path.."/nodes.lua")
  24. dofile(steles.path.."/crafts.lua")