2016-10-09 23:05:30 +03:00
|
|
|
MOD_NAME = minetest.get_current_modname()
|
|
|
|
|
2016-10-08 21:54:26 +03:00
|
|
|
-- Main settings
|
2016-10-09 23:05:30 +03:00
|
|
|
dofile(minetest.get_modpath(MOD_NAME).."/settings.txt")
|
2016-10-08 21:54:26 +03:00
|
|
|
|
|
|
|
-- Spawners configurations
|
2016-10-09 23:05:30 +03:00
|
|
|
dofile(minetest.get_modpath(MOD_NAME).."/config.lua")
|
2016-10-08 21:54:26 +03:00
|
|
|
|
|
|
|
-- API
|
2016-10-09 23:05:30 +03:00
|
|
|
dofile(minetest.get_modpath(MOD_NAME).."/api.lua")
|
2016-10-08 21:54:26 +03:00
|
|
|
|
|
|
|
-- Spawners Pyramids
|
|
|
|
if SPAWN_PYRAMIDS then
|
2016-10-09 23:05:30 +03:00
|
|
|
dofile(minetest.get_modpath(MOD_NAME).."/pyramids.lua")
|
2016-10-08 21:54:26 +03:00
|
|
|
|
|
|
|
print("[Mod][spawners] Pyramids enabled")
|
|
|
|
end
|
|
|
|
|
|
|
|
-- Add Spawners to dungeons, temples..
|
|
|
|
if SPAWNERS_GENERATE then
|
2016-10-09 23:05:30 +03:00
|
|
|
dofile(minetest.get_modpath(MOD_NAME).."/spawners_gen.lua")
|
2016-10-08 21:54:26 +03:00
|
|
|
|
|
|
|
print("[Mod][spawners] Spawners generate enabled")
|
|
|
|
end
|
|
|
|
|
|
|
|
-- Add Chests to dungeons, temples..
|
|
|
|
if CHESTS_GENERATE then
|
2016-10-09 23:05:30 +03:00
|
|
|
dofile(minetest.get_modpath(MOD_NAME).."/chests_gen.lua")
|
2016-10-08 21:54:26 +03:00
|
|
|
|
|
|
|
print("[Mod][spawners] Chests generate enabled")
|
|
|
|
end
|
|
|
|
|
2016-10-09 22:53:07 +03:00
|
|
|
print ("[Mod] Spawners Environmental 0.6 Loaded.")
|