init.lua 481 B

1234567891011121314151617181920212223242526
  1. local path = minetest.get_modpath("mobs")
  2. -- Peaceful player privilege
  3. minetest.register_privilege("peaceful_player", {
  4. description = "Prevents Mobs Redo mobs from attacking player",
  5. give_to_singleplayer = false
  6. })
  7. -- Mob API
  8. dofile(path .. "/api.lua")
  9. -- Rideable Mobs
  10. dofile(path .. "/mount.lua")
  11. -- Mob Items
  12. dofile(path .. "/crafts.lua")
  13. -- Mob Spawner
  14. dofile(path .. "/spawner.lua")
  15. -- Lucky Blocks
  16. dofile(path .. "/lucky_block.lua")
  17. print("[MOD] Mobs Redo loaded")