aether/init.lua

35 lines
933 B
Lua
Raw Normal View History

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