mobs_redo/init.lua

30 lines
532 B
Lua
Raw Permalink Normal View History

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
})
2016-04-15 16:51:04 +02:00
-- Mob API
2016-12-01 19:41:27 +01:00
dofile(path .. "/api.lua")
-- Rideable Mobs
dofile(path .. "/mount.lua")
-- Mob Items
2016-12-01 19:41:27 +01:00
dofile(path .. "/crafts.lua")
2016-12-01 19:41:27 +01:00
-- Mob Spawner
dofile(path .. "/spawner.lua")
-- Lucky Blocks
2023-08-09 14:08:54 +02:00
if minetest.get_modpath("lucky_block") then
dofile(path .. "/lucky_block.lua")
end
2021-11-14 15:21:32 +01:00
print("[MOD] Mobs Redo loaded")