2021-01-11 21:18:31 +01:00
|
|
|
|
|
|
|
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;
|
2021-03-26 17:15:55 +01:00
|
|
|
|
2021-03-25 13:55:13 +01:00
|
|
|
appliances.have_unified = minetest.get_modpath("unified_inventory")~=nil;
|
2021-03-26 17:15:55 +01:00
|
|
|
appliances.have_craftguide = minetest.get_modpath("craftguide")~=nil;
|
2021-03-27 13:07:39 +01:00
|
|
|
appliances.have_i3 = minetest.get_modpath("i3")~=nil;
|
2021-01-11 21:18:31 +01:00
|
|
|
|
2021-01-12 20:40:34 +01:00
|
|
|
dofile(modpath.."/functions.lua");
|
2021-01-11 21:18:31 +01:00
|
|
|
dofile(modpath.."/appliance.lua");
|
2021-09-04 18:47:47 +02:00
|
|
|
dofile(modpath.."/extensions.lua");
|
2021-01-11 21:18:31 +01:00
|
|
|
|