init.lua 992 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 .. "/tree_monster_acacia.lua")
  27. dofile(path .. "/tree_monster_aspen.lua")
  28. dofile(path .. "/tree_monster_apple.lua")
  29. dofile(path .. "/tree_monster_jungle.lua")
  30. dofile(path .. "/tree_monster_pine.lua")
  31. dofile(path .. "/lucky_block.lua")
  32. print ("[MOD] Mobs Redo 'Monsters' loaded")