diff --git a/items/silicon.lua b/items/silicon.lua index 2eaac4b..95aeea6 100644 --- a/items/silicon.lua +++ b/items/silicon.lua @@ -19,13 +19,27 @@ minetest.register_craftitem("techage:ta4_silicon_wafer", { inventory_image = "techage_silicon_wafer.png", }) -techage.furnace.register_recipe({ - output = "techage:ta4_silicon_wafer 16", - recipe = { - "basic_materials:silicon", - "basic_materials:silicon", - "basic_materials:silicon", - "techage:baborium_ingot" - }, - time = 6, -}) +if minetest.global_exists("mesecon") then + techage.furnace.register_recipe({ + output = "techage:ta4_silicon_wafer 16", + recipe = { + "mesecons_materials:silicon", + "mesecons_materials:silicon", + "mesecons_materials:silicon", + "techage:baborium_ingot" + }, + time = 6, + }) +else + techage.furnace.register_recipe({ + output = "techage:ta4_silicon_wafer 16", + recipe = { + "basic_materials:silicon", + "basic_materials:silicon", + "basic_materials:silicon", + "techage:baborium_ingot" + }, + time = 6, + }) +end +