general c41176b807 tweak for mineclone and 5.x, backguard compat 0.4, intlib only for older
* backported commit 131c932aa6
  that will tweak detection of player api for mt5, mineclone2 and mt 0.4
* backported adapted 5e96602085
2024-03-30 01:41:54 -04:00

30 lines
532 B
Lua

local path = minetest.get_modpath("mobs")
-- Peaceful player privilege
minetest.register_privilege("peaceful_player", {
description = "Prevents Mobs Redo mobs from attacking player",
give_to_singleplayer = false
})
-- Mob API
dofile(path .. "/api.lua")
-- Rideable Mobs
dofile(path .. "/mount.lua")
-- Mob Items
dofile(path .. "/crafts.lua")
-- Mob Spawner
dofile(path .. "/spawner.lua")
-- Lucky Blocks
if minetest.get_modpath("lucky_block") then
dofile(path .. "/lucky_block.lua")
end
print("[MOD] Mobs Redo loaded")