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
|
|
|
|
})
|
|
|
|
|
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
|
|
|
|
dofile(path .. "/lucky_block.lua")
|
2016-04-15 15:57:57 +02:00
|
|
|
|
2021-11-14 15:21:32 +01:00
|
|
|
print("[MOD] Mobs Redo loaded")
|