Package list minetest-mod-mobs-redo / c9f6f437-e791-4c8f-b200-751fd3dce9f2/upstream init.lua
c9f6f437-e791-4c8f-b200-751fd3dce9f2/upstream

Tree @c9f6f437-e791-4c8f-b200-751fd3dce9f2/upstream (Download .tar.gz)

init.lua @c9f6f437-e791-4c8f-b200-751fd3dce9f2/upstreamraw · history · blame

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
dofile(path .. "/lucky_block.lua")

minetest.log("action", "[MOD] Mobs Redo loaded")