2017-01-20 17:02:45 +01:00
|
|
|
aether2_minetest = {}
|
2017-01-19 22:58:49 +01:00
|
|
|
|
|
|
|
--Load File
|
2017-01-20 17:02:45 +01:00
|
|
|
dofile(minetest.get_modpath("aether2_minetest") .. "/config.txt")
|
2017-01-19 22:58:49 +01:00
|
|
|
|
|
|
|
if run_ABM then
|
2017-01-20 17:02:45 +01:00
|
|
|
dofile(minetest.get_modpath('aether2_minetest')..'/abm.lua')
|
2017-01-19 22:58:49 +01:00
|
|
|
end
|
|
|
|
if enable_mobs then
|
2017-01-20 17:02:45 +01:00
|
|
|
dofile(minetest.get_modpath('aether2_minetest')..'/mobs.lua')
|
2017-01-19 22:58:49 +01:00
|
|
|
end
|
|
|
|
if enable_crafting then
|
2017-01-20 17:02:45 +01:00
|
|
|
dofile(minetest.get_modpath('aether2_minetest')..'/crafting.lua')
|
2017-01-19 22:58:49 +01:00
|
|
|
end
|
|
|
|
if enable_nodes then
|
2017-01-20 17:02:45 +01:00
|
|
|
dofile(minetest.get_modpath('aether2_minetest')..'/nodes.lua')
|
2017-01-19 22:58:49 +01:00
|
|
|
end
|
|
|
|
if enable_cooking then
|
2017-01-20 17:02:45 +01:00
|
|
|
dofile(minetest.get_modpath('aether2_minetest')..'/cooking.lua')
|
2017-01-19 22:58:49 +01:00
|
|
|
end
|
|
|
|
if enable_items then
|
2017-01-20 17:02:45 +01:00
|
|
|
dofile(minetest.get_modpath('aether2_minetest')..'/craft_items.lua')
|
2017-01-19 22:58:49 +01:00
|
|
|
end
|
|
|
|
if enable_fuels then
|
2017-01-20 17:02:45 +01:00
|
|
|
dofile(minetest.get_modpath('aether2_minetest')..'/fuels.lua')
|
2017-01-19 22:58:49 +01:00
|
|
|
end
|
|
|
|
if enable_tools then
|
2017-01-20 17:02:45 +01:00
|
|
|
dofile(minetest.get_modpath('aether2_minetest')..'/tools.lua')
|
2017-01-19 22:58:49 +01:00
|
|
|
end
|
|
|
|
if enable_functions then
|
2017-01-20 17:02:45 +01:00
|
|
|
dofile(minetest.get_modpath('aether2_minetest')..'/functions.lua')
|
2017-01-19 22:58:49 +01:00
|
|
|
end
|