Missing "results" icons in fluid recipes...
Missing "results" icons in fluid recipes...
[Edit note: I fixed this first problem (thanks, Angel!) but it's lead to a second problem.]
Howdy.
I'm working on a mod some friends of mine have been asking for, allowing Coal to be gassified and converted into petroleum gas, crude-oil, and some useful intermediaries. Right now the values for energy usage, etc, are very hand-wavey, but before I work to get things balanced, I just want them to show up.
My mod can be found here: https://github.com/AutoDMC/Factorio-Carbon
With what I got now, my very basic and likely incorrect understanding was that the recipes would be available in chemical plants. I would eventually like to make this it's own tech, but right now I just want it to appear in a chemical plant so I can make sure it works.
Right now I'm not seeing the recipes in my chemical plants. I am using an older save file that already has oil infrastructure... is that the problem? Or am I missing something vital?
I'm not sure what I'm missing; I tried basing my recipes on the recipes in the Factorio files themselves, and perhaps I missed something vital.
Howdy.
I'm working on a mod some friends of mine have been asking for, allowing Coal to be gassified and converted into petroleum gas, crude-oil, and some useful intermediaries. Right now the values for energy usage, etc, are very hand-wavey, but before I work to get things balanced, I just want them to show up.
My mod can be found here: https://github.com/AutoDMC/Factorio-Carbon
With what I got now, my very basic and likely incorrect understanding was that the recipes would be available in chemical plants. I would eventually like to make this it's own tech, but right now I just want it to appear in a chemical plant so I can make sure it works.
Right now I'm not seeing the recipes in my chemical plants. I am using an older save file that already has oil infrastructure... is that the problem? Or am I missing something vital?
I'm not sure what I'm missing; I tried basing my recipes on the recipes in the Factorio files themselves, and perhaps I missed something vital.
Last edited by AutoDMC on Wed May 25, 2016 3:17 am, edited 2 times in total.
- Arch666Angel
- Smart Inserter
- Posts: 1636
- Joined: Sun Oct 18, 2015 11:52 am
- Contact:
Re: Fluid Processing Recipes not appearing in Chemical Plants.
There are already some mods that do similar things, for example klonans bergius process.
To your problem, if you don't have a tech that enables the recipes, you need to set the recipes to enabled=true so they show ingame and are useable. When you implement a tech for them, set the enabled= back to false, so they have to be researched. For the recipes to show up in the corresponding buildings you have to set the categories accordingly, the categories determines where the recipes (which machine) can be crafted, which at a glance seem to be all right with your mod.
To your problem, if you don't have a tech that enables the recipes, you need to set the recipes to enabled=true so they show ingame and are useable. When you implement a tech for them, set the enabled= back to false, so they have to be researched. For the recipes to show up in the corresponding buildings you have to set the categories accordingly, the categories determines where the recipes (which machine) can be crafted, which at a glance seem to be all right with your mod.
Angels Mods
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ

"should be fixed"
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ

"should be fixed"
Now I'm showing no results...
Okay, so I got that fixed. Thanks Angel! Almost everything is working...
...except that my Fischer-Tropsch recipes all have no products, except one, and I don't know what I'm missing.
Once you learn advanced-oil-processing, you gain access to the F-T tech; you research that and your chemical factories and refineries can now process F-T recipes... but only the coal-to-syngas recipe actually shows results. All the other ones show the ingredients required when you hover over their (placeholder) icons, but none show their results.
Updated code is available at Github: https://github.com/AutoDMC/Factorio-Carbon
Zip here: https://github.com/AutoDMC/Factorio-Car ... master.zip
...except that my Fischer-Tropsch recipes all have no products, except one, and I don't know what I'm missing.
Once you learn advanced-oil-processing, you gain access to the F-T tech; you research that and your chemical factories and refineries can now process F-T recipes... but only the coal-to-syngas recipe actually shows results. All the other ones show the ingredients required when you hover over their (placeholder) icons, but none show their results.
Updated code is available at Github: https://github.com/AutoDMC/Factorio-Carbon
Zip here: https://github.com/AutoDMC/Factorio-Car ... master.zip
- Arch666Angel
- Smart Inserter
- Posts: 1636
- Joined: Sun Oct 18, 2015 11:52 am
- Contact:
Re: Missing "results" icons in fluid recipes...
Quick guess would be that you have conflicting order strings that are messing up the recipes. I do it like that:
This just determines the position of the recipe in the row, which is defined by the subgroup. Don't know why they use more than one string in the base game.
Code: Select all
type = "recipe",
name = "recipe1",
...
order = "a[recipe1]"
type = "recipe",
name = "recipe2",
...
order = "b[recipe2]"
Angels Mods
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ

"should be fixed"
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ

"should be fixed"
Re: Missing "results" icons in fluid recipes...
I tried that and, alas, it didn't work.
What's up with the a/b in front of the braces? Are those supposed to increment? a, b, c, d? Or are they all something else?
What's up with the a/b in front of the braces? Are those supposed to increment? a, b, c, d? Or are they all something else?
Re: Missing "results" icons in fluid recipes...
They're just strings.AutoDMC wrote:I tried that and, alas, it didn't work.
What's up with the a/b in front of the braces? Are those supposed to increment? a, b, c, d? Or are they all something else?
If you want to get ahold of me I'm almost always on Discord.
- DedlySpyder
- Filter Inserter
- Posts: 254
- Joined: Fri Jun 20, 2014 11:42 am
- Contact:
Re: Missing "results" icons in fluid recipes...
From my understanding of the ordering strings, the recipes are ordered by those strings. So the single letters are an easy way to make sure one recipe is in front of another (otherwise they are just alphabetical)AutoDMC wrote:I tried that and, alas, it didn't work.
What's up with the a/b in front of the braces? Are those supposed to increment? a, b, c, d? Or are they all something else?
Re: Missing "results" icons in fluid recipes...
So, interestingly enough, the recipes actually work; you can set them and they'll produce the crude oil, syngas, petroleum gas, etc. They just don't show the results in the hover popover.
- Arch666Angel
- Smart Inserter
- Posts: 1636
- Joined: Sun Oct 18, 2015 11:52 am
- Contact:
Re: Missing "results" icons in fluid recipes...
Are they single result recipes? Than that's normal game behavior and yes that is weird you are right. You can set the "main_product=" (?not sure about the name, could be main_result?) than the recipe will have the icon and name of the main_product
Angels Mods
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ

"should be fixed"
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ

"should be fixed"
Re: Missing "results" icons in fluid recipes...
That was it, Angel. The rest of the recipes all have single outputs, and I hadn't noticed until I started debugging my module that Factorio acts that way with single-output recipes.
*sigh*
Thanks again!
*sigh*
Thanks again!
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: Missing "results" icons in fluid recipes...
if you don't use main_product, you can specify the recipe name in locale, and the icon separately, you just also need a few other tags adding on too, like order and subgroup, which by default are taken from the item.
I need to remember to edit my library mod so that the new unreleased result to results function adds main_product, or even better, checks to see if an icon, order and subgroup exist, and if one or more do, fill in the blanks from the old result item, else use main_product. since it was originally only for resources that don't suffer from the issue, I forgot to add these extra bits.
I need to remember to edit my library mod so that the new unreleased result to results function adds main_product, or even better, checks to see if an icon, order and subgroup exist, and if one or more do, fill in the blanks from the old result item, else use main_product. since it was originally only for resources that don't suffer from the issue, I forgot to add these extra bits.