techage_modpack/techage/items/silicon.lua
2022-12-31 10:51:49 +01:00

46 lines
829 B
Lua

--[[
TechAge
=======
Copyright (C) 2019 Joachim Stolberg
AGPL v3
See LICENSE.txt for more information
TA4 Silicon Wafer
]]--
local S = techage.S
minetest.register_craftitem("techage:ta4_silicon_wafer", {
description = S("TA4 Silicon Wafer"),
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({
output = "techage:ta4_silicon_wafer 16",
recipe = {
"basic_materials:silicon",
"basic_materials:silicon",
"basic_materials:silicon",
"techage:baborium_ingot"
},
time = 6,
})
end