mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-11-10 20:30:33 +01:00
26 lines
498 B
Lua
26 lines
498 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
|
|
dofile(path .. "/lucky_block.lua")
|
|
|
|
minetest.log("action", "[MOD] Mobs Redo loaded")
|