init.lua 1011 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. -- Load support for intllib.
  2. local path = minetest.get_modpath(minetest.get_current_modname()) .. "/"
  3. local S = minetest.get_translator and minetest.get_translator("mobs_monster") or
  4. dofile(path .. "intllib.lua")
  5. mobs.intllib = S
  6. -- Check for custom mob spawn file
  7. local input = io.open(path .. "spawn.lua", "r")
  8. if input then
  9. mobs.custom_spawn_monster = true
  10. input:close()
  11. input = nil
  12. end
  13. -- Monsters
  14. dofile(path .. "dirt_monster.lua") -- PilzAdam
  15. dofile(path .. "dungeon_master.lua")
  16. dofile(path .. "oerkki.lua")
  17. dofile(path .. "sand_monster.lua")
  18. dofile(path .. "stone_monster.lua")
  19. dofile(path .. "tree_monster.lua")
  20. dofile(path .. "lava_flan.lua") -- Zeg9
  21. dofile(path .. "mese_monster.lua")
  22. dofile(path .. "spider.lua") -- AspireMint
  23. dofile(path .. "land_guard.lua")
  24. dofile(path .. "fire_spirit.lua")
  25. -- Load custom spawning
  26. if mobs.custom_spawn_monster then
  27. dofile(path .. "spawn.lua")
  28. end
  29. -- Lucky Blocks
  30. dofile(path .. "lucky_block.lua")
  31. print (S("[MOD] Mobs Redo Monsters loaded"))