2023-10-20 18:31:56 +02:00
|
|
|
-- storage/init.lua
|
|
|
|
|
|
|
|
local module_path = microexpansion.get_module_path("item_transfer")
|
|
|
|
|
|
|
|
microexpansion.require_module("network")
|
|
|
|
|
2023-12-19 20:12:29 +01:00
|
|
|
|
|
|
|
-- Iron Ingot Ingredient for MineClone2
|
2023-12-27 15:22:56 +01:00
|
|
|
microexpansion.iron_ingot_ingredient = nil
|
2023-12-19 20:12:29 +01:00
|
|
|
if minetest.get_modpath("mcl_core") then
|
2023-12-27 15:22:56 +01:00
|
|
|
microexpansion.iron_ingot_ingredient = "mcl_core:iron_ingot"
|
2023-12-19 20:12:29 +01:00
|
|
|
else
|
2023-12-27 15:22:56 +01:00
|
|
|
microexpansion.iron_ingot_ingredient = "default:steel_ingot"
|
2023-12-19 20:12:29 +01:00
|
|
|
end
|
|
|
|
|
2023-10-20 18:31:56 +02:00
|
|
|
-- Load API
|
|
|
|
dofile(module_path.."/api.lua")
|
|
|
|
|
|
|
|
-- Load upgrade cards
|
|
|
|
dofile(module_path.."/upgrades.lua")
|
|
|
|
|
|
|
|
-- Load ports
|
|
|
|
dofile(module_path.."/importer.lua")
|
|
|
|
dofile(module_path.."/exporter.lua")
|
|
|
|
--dofile(module_path.."/interface.lua")
|