init.lua 944 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. -- Load custom spawning
  24. if mobs.custom_spawn_monster then
  25. dofile(path .. "spawn.lua")
  26. end
  27. -- Lucky Blocks
  28. dofile(path .. "lucky_block.lua")
  29. print (S("[MOD] Mobs Redo Monsters loaded"))