removed config file

This commit is contained in:
TechRunner2 2017-01-23 13:24:26 -06:00
parent 1282ee5265
commit bfe9011e72
2 changed files with 9 additions and 29 deletions

View file

@ -1,4 +1,3 @@
--Enable or Disable parts of the mod
run_ABM = true
enable_mobs = true

View file

@ -3,31 +3,12 @@ local default_path = minetest.get_modpath("aether2_minetest")
--Load File
dofile(minetest.get_modpath("aether2_minetest") .. "/config.txt")
dofile(minetest.get_modpath("aether2_minetest") .. "/aliases.lua")
if run_ABM == true then
dofile(minetest.get_modpath('aether2_minetest')..'/abm.lua')
end
if enable_mobs == true then
dofile(minetest.get_modpath('aether2_minetest')..'/mobs.lua')
end
if enable_crafting == true then
dofile(minetest.get_modpath('aether2_minetest')..'/crafting.lua')
end
if enable_nodes == true then
dofile(minetest.get_modpath('aether2_minetest')..'/nodes.lua')
end
if enable_cooking == true then
dofile(minetest.get_modpath('aether2_minetest')..'/cooking.lua')
end
if enable_items == true then
dofile(minetest.get_modpath('aether2_minetest')..'/craft_items.lua')
end
if enable_fuels == true then
dofile(minetest.get_modpath('aether2_minetest')..'/fuels.lua')
end
if enable_tools == true then
dofile(minetest.get_modpath('aether2_minetest')..'/tools.lua')
end
if enable_functions == true then
dofile(minetest.get_modpath('aether2_minetest')..'/functions.lua')
end