After I manually select the output items, the input raw materials are variable, and I may not be able to express them clearly. Use the following script to give an example:
I know using "or" is definitely not good. I just want to express my meaning. Can my idea be realized?data:extend(
{
{
type = "recipe",
name = "transformation-iron-ore",
ingredients =
{
{"copper-ore", 5},
or {"coal", 5},
or {"stonel", 5},
},
result = "iron-ore"
},
{
type = "recipe",
name = "transformation-copper-ore",
ingredients =
{
{"iron-ore", 5},
or {"coal", 5},
or {"stonel", 5},
},
result = "copper-ore"
},
}
)