init.lua 776 B

12345678910111213141516171819202122232425262728293031323334
  1. local path = minetest.get_modpath("mobs_monster")
  2. -- Intllib
  3. local S
  4. if minetest.global_exists("intllib") then
  5. if intllib.make_gettext_pair then
  6. -- New method using gettext.
  7. S = intllib.make_gettext_pair()
  8. else
  9. -- Old method using text files.
  10. S = intllib.Getter()
  11. end
  12. else
  13. S = function(s) return s end
  14. end
  15. mobs.intllib = S
  16. -- Monsters
  17. dofile(path .. "/dirt_monster.lua") -- PilzAdam
  18. dofile(path .. "/dungeon_master.lua")
  19. dofile(path .. "/oerkki.lua")
  20. dofile(path .. "/sand_monster.lua")
  21. dofile(path .. "/stone_monster.lua")
  22. dofile(path .. "/tree_monster.lua")
  23. dofile(path .. "/lava_flan.lua") -- Zeg9
  24. dofile(path .. "/mese_monster.lua")
  25. dofile(path .. "/spider.lua") -- AspireMint
  26. dofile(path .. "/lucky_block.lua")
  27. print ("[MOD] Mobs Redo Monsters loaded")