Namespacing pt. 2

This commit is contained in:
2022-11-22 02:03:45 -05:00
parent b1fa8c6a75
commit 3c5b6ee4bc
485 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
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")