18 lines
595 B
Lua

appliances = {};
local modpath = minetest.get_modpath(minetest.get_current_modname());
appliances.have_mesecons = minetest.get_modpath("mesecons")~=nil;
appliances.have_pipeworks = minetest.get_modpath("pipeworks")~=nil;
appliances.have_technic = minetest.get_modpath("technic")~=nil;
appliances.have_unified = minetest.get_modpath("unified_inventory")~=nil;
appliances.have_craftguide = minetest.get_modpath("craftguide")~=nil;
appliances.have_i3 = minetest.get_modpath("i3")~=nil;
dofile(modpath.."/functions.lua");
dofile(modpath.."/appliance.lua");
dofile(modpath.."/extensions.lua");