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,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