minetest-mm/mods/mobs_redo/init.lua

26 lines
498 B
Lua
Raw Normal View History

2020-10-26 17:38:53 +01:00
local path = minetest.get_modpath("mobs")
2021-01-06 16:05:43 +01:00
-- Peaceful player privilege
minetest.register_privilege("peaceful_player", {
description = "Prevents Mobs Redo mobs from attacking player",
give_to_singleplayer = false
})
2020-10-26 17:38:53 +01:00
-- 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
dofile(path .. "/lucky_block.lua")
minetest.log("action", "[MOD] Mobs Redo loaded")