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

Bugs that are actually features.
MrSmoothieHuman
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Sat Aug 05, 2023 1:20 am
Contact:

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

Post 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 316 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 316 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 316 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 316 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 316 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 316 times
I have also included the test mod used in this post, just so you can test it out if you so wish :]
Attachments
test_mod_1.0.1.zip
(39.08 KiB) Downloaded 11 times
12-28-2024, 16-50-51.png
12-28-2024, 16-50-51.png (67.73 KiB) Viewed 316 times
12-28-2024, 16-50-48.png
12-28-2024, 16-50-48.png (67.73 KiB) Viewed 316 times
coder? i hardly know her!
Pard
Factorio Staff
Factorio Staff
Posts: 28
Joined: Mon Aug 28, 2023 6:21 pm
Contact:

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

Post 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.
Muche
Filter Inserter
Filter Inserter
Posts: 704
Joined: Fri Jun 02, 2017 6:20 pm
Contact:

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

Post 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 106 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 106 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 106 times
Attachments
test_mod_1.0.2.zip
(40.1 KiB) Downloaded 8 times
MrSmoothieHuman
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Sat Aug 05, 2023 1:20 am
Contact:

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

Post 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:
coder? i hardly know her!
Post Reply

Return to “Not a bug”