spawners/spawners_env/init.lua
2016-10-12 23:49:57 +02:00

42 lines
1.1 KiB
Lua

MOD_NAME = minetest.get_current_modname()
-- Main settings
dofile(minetest.get_modpath(MOD_NAME).."/settings.txt")
-- Spawners configurations
dofile(minetest.get_modpath(MOD_NAME).."/config.lua")
-- API
dofile(minetest.get_modpath(MOD_NAME).."/api.lua")
-- Spawners for mobs
dofile(minetest.get_modpath(MOD_NAME).."/spawners_env.lua")
-- Spawners Pyramids - works best with mapgen v6
if SPAWN_PYRAMIDS then
dofile(minetest.get_modpath(MOD_NAME).."/pyramids.lua")
print("[Mod][spawners] Pyramids enabled")
end
-- include mummy mobs redo addon (mob)
if minetest.get_modpath("mobs") then
dofile(minetest.get_modpath(MOD_NAME).."/mob_env_mummy.lua")
dofile(minetest.get_modpath(MOD_NAME).."/nodes_env_additional.lua")
end
-- Add Spawners to dungeons, temples..
if SPAWNERS_GENERATE then
dofile(minetest.get_modpath(MOD_NAME).."/spawners_gen.lua")
print("[Mod][spawners] Spawners generate enabled")
end
-- Add Chests to dungeons, temples..
if CHESTS_GENERATE then
dofile(minetest.get_modpath(MOD_NAME).."/chests_gen.lua")
print("[Mod][spawners] Chests generate enabled")
end
print ("[Mod] Spawners Environmental 0.7 Loaded.")