Recipe "solid-fuel-from-petroleum-gas" for example:https://wiki.factorio.com/Prototype/Recipe#main_product wrote:main_product
Type: string
Optional.
For recipes with more than one product: This defines of which result the icon, subgroup and name is used. If it is not set and the recipe has more than 1 result the recipe will use the recipe-name and recipe-description locale and its own subgroup and icon.
For recipes with 1 result: The recipe uses the icon, subgroup and name of the result by default. If set this property is set to an empty string, the recipe will use the properties of the recipe instead of the result.
Code: Select all
{
type = "recipe",
name = "solid-fuel-from-petroleum-gas",
--
results = { [1] = {type="item", name="solid-fuel", amount=1} },
icon = "__base__/graphics/icons/solid-fuel-from-petroleum-gas.png",
icon_size = 64, icon_mipmaps = 4,
subgroup = "fluid-recipes",
enabled = false,
order = "b[fluid-chemistry]-d[solid-fuel-from-petroleum-gas]",
--
}
Whats wrong?