Copying the error message from the log file instead of uploading a screenshot would have made replying so much easier …
Anyway, this is the definition of the fertilizer recipe from the last published release of Bio Industries:
Code: Select all
{
type = "recipe",
name = "bi-fertilizer-1",
icon = ICONPATH .. "fertilizer_sulfur.png",
icon_size = 64,
icons = {
{
icon = ICONPATH .. "fertilizer_sulfur.png",
icon_size = 64,
}
},
category = "chemistry",
energy_required = 5,
ingredients = {
{type = "item", name = "sulfur", amount = 1},
{type = "fluid", name = "nitrogen", amount = 10},
{type = "item", name = "bi-ash", amount = 10}
},
results = {
{type = "item", name = "fertilizer", amount = 5}
},
main_product = "",
enabled = false,
--~ always_show_made_in = true,
--~ allow_decomposition = false,
--~ allow_as_intermediate = false,
allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4
always_show_made_in = true, -- Changed for 0.18.34/1.1.4
allow_decomposition = true, -- Changed for 0.18.34/1.1.4
subgroup = "bio-bio-farm-intermediate-product",
order = "b[bi-fertilizer]",
},
As you can see, there is no difficulty in this recipe, we have only recipe.results -- not recipe.normal.results. Guess it would be a good idea to create difficulties (well, just copy things over from the recipe root) for all our recipes in the next release. Nevertheless, you should play it safe and fall back to using the data from the recipe root if no difficulty exists. See
here (scroll down to "Recipe data") for more info on what properties will be affected!