From d859bc0269d581556e663ed81ee099f4a7ec6e56 Mon Sep 17 00:00:00 2001 From: TechRunner2 Date: Thu, 19 Jan 2017 15:58:49 -0600 Subject: [PATCH] Create init.lua --- init.lua | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 init.lua diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..11099fe --- /dev/null +++ b/init.lua @@ -0,0 +1,34 @@ +techrunner_mod = {} + +--Load File + dofile(minetest.get_modpath("techrunner_mod") .. "/config.txt") + +if run_ABM then + dofile(minetest.get_modpath('techrunner_mod')..'/abm.lua') +end +if enable_mobs then + dofile(minetest.get_modpath('techrunner_mod')..'/mobs.lua') +end +if enable_crafting then + dofile(minetest.get_modpath('techrunner_mod')..'/crafting.lua') +end +if enable_nodes then + dofile(minetest.get_modpath('techrunner_mod')..'/nodes.lua') +end +if enable_cooking then + dofile(minetest.get_modpath('techrunner_mod')..'/cooking.lua') +end +if enable_items then + dofile(minetest.get_modpath('techrunner_mod')..'/craft_items.lua') +end +if enable_fuels then + dofile(minetest.get_modpath('techrunner_mod')..'/fuels.lua') +end +if enable_tools then + dofile(minetest.get_modpath('techrunner_mod')..'/tools.lua') +end +if enable_functions then + dofile(minetest.get_modpath('techrunner_mod')..'/functions.lua') +end + +