add battery
parent
432e8d2fd2
commit
dced4964aa
|
@ -2,8 +2,16 @@ md_technic = {}
|
||||||
md_technic.path = minetest.get_modpath("md_technic")
|
md_technic.path = minetest.get_modpath("md_technic")
|
||||||
md_technic.modname = minetest.get_current_modname()
|
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 .. "/furnace.lua")
|
||||||
dofile(md_technic.path .. "/smelter.lua")
|
dofile(md_technic.path .. "/smelter.lua")
|
||||||
if technic ~= nil then
|
if technic ~= nil then
|
||||||
dofile(md_technic.path .. "/batteries.lua")
|
dofile(md_technic.path .. "/batteries.lua")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
minetest.log("action", "[MOD]"..minetest.get_current_modname().." -- loaded ")
|
||||||
|
|
Loading…
Reference in New Issue