add battery

master
A. Demant 2019-02-04 06:22:56 +01:00
parent 432e8d2fd2
commit dced4964aa
1 changed files with 8 additions and 0 deletions

View File

@ -2,8 +2,16 @@ md_technic = {}
md_technic.path = minetest.get_modpath("md_technic")
md_technic.modname = minetest.get_current_modname()
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")
dofile(md_technic.path .. "/furnace.lua")
dofile(md_technic.path .. "/smelter.lua")
if technic ~= nil then
dofile(md_technic.path .. "/batteries.lua")
end
minetest.log("action", "[MOD]"..minetest.get_current_modname().." -- loaded ")