init.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. -- Copyright (C) 2020 2024 PsycoJaker
  2. -- This file is part of UwU Minetest Mod.
  3. -- UwU Mod is free software: you can redistribute it and/or modify
  4. -- it under the terms of the GNU Affero General Public License as
  5. -- published by the Free Software Foundation, either version 3 of the
  6. -- License, or (at your option) any later version.
  7. -- UwU Mod is distributed in the hope that it will be useful,
  8. -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. -- GNU Affero General Public License for more details.
  11. -- You should have received a copy of the GNU Affero General Public License
  12. -- along with UwU Mod. If not, see <https://www.gnu.org/licenses/>.
  13. -----------------UWU-----------------
  14. local modpath = core.get_modpath(core.get_current_modname())
  15. dofile(modpath .. "/tools.lua")
  16. dofile(modpath .. "/crafts.lua")
  17. dofile(modpath .. "/functions.lua")
  18. dofile(modpath .. "/nodes.lua")
  19. dofile(modpath .. "/oregen.lua")
  20. -- legacy alias
  21. core.register_alias("uwu:espadita_uwu", "uwu:sword")
  22. core.register_alias("uwu:piquito_uwu", "uwu:pick")
  23. core.register_alias("uwu:hachita_uwu", "uwu:axe")
  24. core.register_alias("uwu:palita_uwu", "uwu:shovel")
  25. core.register_alias("uwu:bloque_uwu", "uwu:block")
  26. core.register_alias("uwu:cristalcito_uwu", "uwu:crystal")
  27. core.register_alias("uwu:stone_with_uwu", "uwu:ore")