What did you do?
I added a single "iron-plate" to the product of the "sulfuric-acid" recipe, and set the "main_product" of the recipe to "sulfuric-acid".
What happened?
The recipe is no longer merged with the "sulfuric-acid" fluid on the Fluid tab of the Factoriopedia
What did you expect to happen instead?
I expected the recipe to remain merged with the "sulfuric-acid" fluid on the Fluid tab of the Factoriopedia, as I believe even after the updates I made to the recipe, the conditions required for the recipe to be merged to met (same prototype names, main_product is set on the recipe if there are multiple products).
Screenshot without any mods running to show that the recipe and fluid start merged.
I have also attached the minimal mod I used to show this behaviour in Factoriopedia.
[Pard] [2.0.44] Unexpected behaviour in merging Fluid and Recipe entries in Factoriopedia.
[Pard] [2.0.44] Unexpected behaviour in merging Fluid and Recipe entries in Factoriopedia.
- Attachments
-
- minimal-mod-for-factoriopedia-bug-2_0.0.1.zip
- (1.25 KiB) Downloaded 14 times
Re: [2.0.44] Unexpected behaviour in merging Fluid and Recipe entries in Factoriopedia.
What you are describing is expected behavior of merging recipes with items. The recipe is merged with item/entity/fluid only in the case where the output of said recipe is the item of the same name. If you have more products, then the recipe is always a separate entry.
Re: [2.0.44] Unexpected behaviour in merging Fluid and Recipe entries in Factoriopedia.
I am confused by your reply, as from my experience of the Factoriopedia it seems to contradict itself.
You have stated that what I described is the expected behaviour of merging recipes with items, I assume you mean that this means the following conditions:
This is untrue, as when an item and a recipe are merged, the recipe can have multiple products. There are multiple examples of this in Space Age with Quantum Processors, Iron and Copper Bacteri. Did you mean to say that recipes are merged with entities and fluids when there is only one singular product, if so I must ask why they are not treated in the same way as items, especially fluids as they are can be as distinct a product in the factory as items are, especially when it comes to mods.
You have stated that what I described is the expected behaviour of merging recipes with items, I assume you mean that this means the following conditions:
- The item and the recipe have the same name
- The recipe has the main_product set to the item
This is untrue, as when an item and a recipe are merged, the recipe can have multiple products. There are multiple examples of this in Space Age with Quantum Processors, Iron and Copper Bacteri. Did you mean to say that recipes are merged with entities and fluids when there is only one singular product, if so I must ask why they are not treated in the same way as items, especially fluids as they are can be as distinct a product in the factory as items are, especially when it comes to mods.
Re: [Pard] [2.0.44] Unexpected behaviour in merging Fluid and Recipe entries in Factoriopedia.
My bad I forgot about usage of main_product. In this case it should work as you were ecpecting. The fix should be part of the next release.