minerdream/md_technic/init.lua

19 lines
681 B
Lua
Raw Permalink Normal View History

md_technic = {}
md_technic.path = minetest.get_modpath("md_technic")
md_technic.modname = minetest.get_current_modname()
2019-02-03 21:22:56 -08:00
minetest.log("action", "[MOD]"..minetest.get_current_modname().." -- start loading from "..minetest.get_modpath(minetest.get_current_modname()))
-- Load files
-- import settingtypes.txt
basic_functions.import_settingtype(md_technic.path .. "/settingtypes.txt")
2019-02-04 06:50:55 -08:00
dofile(md_technic.path .. "/config.lua")
dofile(md_technic.path .. "/furnace.lua")
dofile(md_technic.path .. "/smelter.lua")
2019-02-03 20:32:51 -08:00
if technic ~= nil then
dofile(md_technic.path .. "/batteries.lua")
end
2019-02-03 21:22:56 -08:00
minetest.log("action", "[MOD]"..minetest.get_current_modname().." -- loaded ")