init.lua 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. signs mod for Minetest - Various signs with text displayed on
  3. (c) Pierre-Yves Rollo
  4. This file is part of signs.
  5. signs 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. signs 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 signs. If not, see <http://www.gnu.org/licenses/>.
  15. --]]
  16. signs = {}
  17. signs.name = minetest.get_current_modname()
  18. signs.path = minetest.get_modpath(signs.name)
  19. -- Load support for intllib.
  20. local S, NS = dofile(signs.path.."/intllib.lua")
  21. signs.intllib = S
  22. dofile(signs.path.."/common.lua")
  23. dofile(signs.path.."/nodes.lua")
  24. dofile(signs.path.."/crafts.lua")
  25. dofile(signs.path.."/compatibility.lua")