Page 1 of 1

Define Primary Recipe on Item / Fluid

Posted: Sun May 25, 2025 9:52 am
by KiwiHawk
Currently Item / Fluid entries will merge with a recipe prototype if they have the same internal name. Can we please have a way of overriding this? Allow us to (optionally) specify the name of a recipe on the item / fluid prototype. This is the recipe that will be merged.

This change would allow multiple items / fluids to define the same recipe as their primary source.

Example: In Angel's, this recipe is the first source you get access to for both Saline water and Purified water. Later on, players can unlock specialized recipes that will produce just one of these fluids. However this is the relevant recipe early game - the time when players are most likely to be looking up how to make these fluids.

05-25-2025, 21-47-53.png
05-25-2025, 21-47-53.png (72.42 KiB) Viewed 616 times

Being able to manually control this will make mod compatibility much simpler! In Angel's we often have a basic smelting recipe (which will have the same name as the resulting plate item) as well as multiple higher tier recipes. However depending on which combination of mods and settings you have enabled (e.g. having some of Bob's mods enabled) then the basic recipe is disabled. Currently to make the merging work we would need to nil the basic recipe and rename one of our other recipes. Also updating the technology prototypes to match.

05-25-2025, 21-50-04.png
05-25-2025, 21-50-04.png (266.54 KiB) Viewed 616 times

Related (but different) requests:
viewtopic.php?p=639621
viewtopic.php?p=633024

Re: Define Primary Recipe on Item / Fluid

Posted: Sun May 25, 2025 10:28 am
by MrSmoothieHuman
+1 dealing with alternative recipes on the factoriopedia is a massive chore at best, so any way to control it would be super appreciated

Re: Define Primary Recipe on Item / Fluid

Posted: Sun May 25, 2025 11:56 am
by curiosity
This is how the recipe/product merging should have been done from the start, not via mystic relation between prototype names (which only causes problems).

Re: Define Primary Recipe on Item / Fluid

Posted: Sun May 25, 2025 4:09 pm
by MrSmoothieHuman
the automatic merging is nice (although it fucked me up because i didnt have synced names), but i agree that it should have 100% came with a way to force factoriopedia to merge with a specified recipe - it feels like such an obvious feature

Re: Define Primary Recipe on Item / Fluid

Posted: Mon Jun 09, 2025 6:27 pm
by protocol_1903
+1, automatic merging by default is appreciated but the ability to override those defaults should be possible