Page 1 of 1

[Pard] [2.0.44] Unexpected behaviour in merging Fluid and Recipe entries in Factoriopedia.

Posted: Fri Apr 11, 2025 1:51 pm
by Radjack
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
04-11-2025, 14-41-26.png
04-11-2025, 14-41-26.png (272.17 KiB) Viewed 1422 times
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.
04-11-2025, 14-46-09.png
04-11-2025, 14-46-09.png (167.94 KiB) Viewed 1422 times
I have also attached the minimal mod I used to show this behaviour in Factoriopedia.

Re: [2.0.44] Unexpected behaviour in merging Fluid and Recipe entries in Factoriopedia.

Posted: Fri Apr 11, 2025 3:05 pm
by Pard
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.

Posted: Fri Apr 11, 2025 4:00 pm
by Radjack
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:
  • The item and the recipe have the same name
  • The recipe has the main_product set to the item
However you then state that the recipe is merged with the item/entity/fluid only in the case where the output of that recipe is the item of the same name, and if you have more products the recipe is always a seperate entity.

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.
04-11-2025, 16-55-34.png
04-11-2025, 16-55-34.png (530.15 KiB) Viewed 1351 times
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.

Posted: Fri Apr 11, 2025 8:12 pm
by Pard
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.