My code so far (item.lua):
Code: Select all
local inserter2 = table.deepcopy(data.raw["inserter"]["inserter"])
inserter2.name = "inserter2"
inserter2.icons = {
{
icon = inserter2.icon,
tint = {r=1,g=0,b=0,a=0.3}
},
}
local recipe = table.deepcopy(data.raw["recipe"]["inserter"])
recipe.enabled = true
recipe.name = "inserter2"
recipe.ingredients = {{"copper-plate",200},{"steel-plate",50}}
recipe.result = "inserter2"
data:extend{inserter2,recipe}