2016-04-15 15:57:57 +02:00
|
|
|
|
|
|
|
local path = minetest.get_modpath("mobs")
|
|
|
|
|
2021-01-04 13:28:17 +01:00
|
|
|
-- Peaceful player privilege
|
|
|
|
minetest.register_privilege("peaceful_player", {
|
|
|
|
description = "Prevents Mobs Redo mobs from attacking player",
|
|
|
|
give_to_singleplayer = false
|
|
|
|
})
|
|
|
|
|
2023-07-26 14:43:06 +02:00
|
|
|
|
2016-04-15 16:51:04 +02:00
|
|
|
-- Mob API
|
2016-12-01 19:41:27 +01:00
|
|
|
dofile(path .. "/api.lua")
|
2016-04-15 15:57:57 +02:00
|
|
|
|
2016-12-29 13:28:25 +01:00
|
|
|
-- Rideable Mobs
|
|
|
|
dofile(path .. "/mount.lua")
|
|
|
|
|
2016-04-15 15:57:57 +02:00
|
|
|
-- Mob Items
|
2016-12-01 19:41:27 +01:00
|
|
|
dofile(path .. "/crafts.lua")
|
2016-04-15 15:57:57 +02:00
|
|
|
|
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
|
|
|
|
|
2016-04-15 15:57:57 +02:00
|
|
|
|
2021-11-14 15:21:32 +01:00
|
|
|
print("[MOD] Mobs Redo loaded")
|