Codebase list minetest-mod-mobs-redo / 8da46539-70e6-4830-b194-951824c01ad6/upstream/20210923+git20230119.1.bbcdc4b init.lua
8da46539-70e6-4830-b194-951824c01ad6/upstream/20210923+git20230119.1.bbcdc4b

Tree @8da46539-70e6-4830-b194-951824c01ad6/upstream/20210923+git20230119.1.bbcdc4b (Download .tar.gz)

init.lua @8da46539-70e6-4830-b194-951824c01ad6/upstream/20210923+git20230119.1.bbcdc4braw · 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")

print("[MOD] Mobs Redo loaded")