aether/init.lua

34 lines
1.1 KiB
Lua
Raw Normal View History

2017-01-20 17:02:45 +01:00
aether2_minetest = {}
2017-01-20 18:16:44 +01:00
local default_path = minetest.get_modpath("aether2_minetest")
2017-01-19 22:58:49 +01:00
--Load File
2017-01-23 20:20:03 +01:00
dofile(minetest.get_modpath("aether2_minetest") .. "/config.txt")
dofile(minetest.get_modpath("aether2_minetest") .. "/aliases.lua")
2017-01-19 22:58:49 +01:00
2017-01-23 20:20:03 +01:00
if run_ABM == true 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
2017-01-23 20:20:03 +01:00
if enable_mobs == true 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
2017-01-23 20:20:03 +01:00
if enable_crafting == true 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
2017-01-23 20:20:03 +01:00
if enable_nodes == true 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
2017-01-23 20:20:03 +01:00
if enable_cooking == true 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
2017-01-23 20:20:03 +01:00
if enable_items == true 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
2017-01-23 20:20:03 +01:00
if enable_fuels == true 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
2017-01-23 20:20:03 +01:00
if enable_tools == true 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
2017-01-23 20:20:03 +01:00
if enable_functions == true 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