Page 1 of 1

[Pard] [2.0.28] Fluids not merged with their recipes in Factoriopedia

Posted: Sat Dec 28, 2024 5:09 pm
by MrSmoothieHuman
While working on fixing and improving the Factoriopedia for my own mod, I begun to notice something odd going on with some of the entries: Items would merge with their recipes if the recipe had the same name as them, even with byproducts, but fluids seemed not to

Some examples of this are with this one recipe in my mod, where an item merged with its recipe after changing the recipe name, which seems to be the intended behaviour:
12-28-2024, 16-34-21.png
12-28-2024, 16-34-21.png (90.13 KiB) Viewed 320 times
however, a similar fluid recipe would not merge with its actual fluid and considered the intended recipe for obtaining that fluid an "Alternative recipe":
12-28-2024, 16-35-58.png
12-28-2024, 16-35-58.png (317.82 KiB) Viewed 320 times
despite the recipe and main_product being exact same as the fluid:
12-28-2024, 16-36-46.png
12-28-2024, 16-36-46.png (42.49 KiB) Viewed 320 times
this also occurs with another fluid that only has one way of being produced, and is only used in one recipe to create another fluid:
12-28-2024, 16-37-45.png
12-28-2024, 16-37-45.png (160.59 KiB) Viewed 320 times
(you get the point by now :lol: ), i was advised to make a test mod to see if it was specifically fluids that wouldnt merge with their existing recipes, even if an item would - as you can see here, the test item merged with the item:
12-28-2024, 16-50-55.png
12-28-2024, 16-50-55.png (67.73 KiB) Viewed 320 times
however, when i change the test item into a fluid, this happens:
12-28-2024, 17-08-41.png
12-28-2024, 17-08-41.png (189.41 KiB) Viewed 320 times
I have also included the test mod used in this post, just so you can test it out if you so wish :]

Re: [Pard] [2.0.28] Fluids not merged with their recipes in Factoriopedia

Posted: Tue Jan 28, 2025 9:50 pm
by Pard
You are describing intended behavior of fluids. If you check the game without third-party mods, you will see that all fluids are in the separate tab and not merged with recipes. I currently don't see any way I could help you with your problem.

Re: [Pard] [2.0.28] Fluids not merged with their recipes in Factoriopedia

Posted: Wed Jan 29, 2025 5:23 am
by Muche
The following vanillaSA fluids are merged with their recipes: Lubricant, Sulfuric acid, Thruster fuel, Thruster oxidizer, Molten iron, Molten copper, Holmium solution, Electrolyte.
125260-Lubricant.jpg
125260-Lubricant.jpg (25.83 KiB) Viewed 110 times
As noted by OP, the required condition is that the fluid name matches the recipe name.

The inconstistency is how this merging happens regarding recipes with more than one product.
In vanillaSA I did not find any merged recipe+item with multiple products. The closest are Iron/copper bacteria, hovewer, they are still separate. Designating iron-bacteria as main_product does merge them.
125260-IronBacteriaMainProduct.jpg
125260-IronBacteriaMainProduct.jpg (33.84 KiB) Viewed 110 times
The similar does not happen with fluids (the order of products is also not preserved, the fluid is moved back; no idea if it's relevant and/or intended) - fluid and recipe are still separate.
125260-FluidMainProduct.jpg
125260-FluidMainProduct.jpg (20.37 KiB) Viewed 110 times

Re: [Pard] [2.0.28] Fluids not merged with their recipes in Factoriopedia

Posted: Wed Jan 29, 2025 5:53 pm
by MrSmoothieHuman
yeah i worded this terribly, thats on my part - the issue is that fluid recipes with *byproducts* do not merge with their recipe, despite items doing that, which i presume is not intended behaviour :lol: