Add wafer recipe with 'mesecons_materials:silicon'

This commit is contained in:
Joachim Stolberg 2022-12-31 10:49:25 +01:00
parent c1645fc9b9
commit c69cb294a0

View File

@ -19,6 +19,18 @@ minetest.register_craftitem("techage:ta4_silicon_wafer", {
inventory_image = "techage_silicon_wafer.png", inventory_image = "techage_silicon_wafer.png",
}) })
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({ techage.furnace.register_recipe({
output = "techage:ta4_silicon_wafer 16", output = "techage:ta4_silicon_wafer 16",
recipe = { recipe = {
@ -29,3 +41,5 @@ techage.furnace.register_recipe({
}, },
time = 6, time = 6,
}) })
end