Code: Select all
concreterecipe = {
type = "recipe",
name = "water-sediment",
ingredients =
{
{"water", 50}
},
result = {"refined-concrete", 10}
energy_required = 5
}
thanks in advance!
Code: Select all
concreterecipe = {
type = "recipe",
name = "water-sediment",
ingredients =
{
{"water", 50}
},
result = {"refined-concrete", 10}
energy_required = 5
}
Code: Select all
{"item-name", amount}
Code: Select all
{type = "item", name = "item-name", amount = amount}
Code: Select all
{type = "fluid", name = "water", amount = 50}
Code: Select all
result = "refined-concrete",
result_count = 10,
Code: Select all
results =
{
{type = "fluid", name = "crude-oil", amount = 50}
}
Code: Select all
results = {
{type = "fluid", name = "crude-oil", amount = 50}
}
Code: Select all
results = {
{type = "item", name = "refined-concrete", amount = 10}
}
Code: Select all
results = {
{"refined-concrete", 10}
}
That's what i used after a bit of messing around in the API. Will have to try the other methods as well!darkfrei wrote: Tue Apr 02, 2019 10:17 am
This format works, but makes crashing some mods:Code: Select all
results = { {"refined-concrete", 10} }