There are two variables for recipes to manipulate their visibility/availability ingame, one is the "enable" variable the other is the "hidden" variable. I suggest to add an effect to the technology API to change the "hidden" via research like it is for "enable".
The idea is to tie a hidden recipe to a furnace type machine at the game start and make it later available via research to more advanced machine as selectable recipe.
technology/effects/unhide-recipe
- Arch666Angel
- Smart Inserter
- Posts: 1636
- Joined: Sun Oct 18, 2015 11:52 am
- Contact:
technology/effects/unhide-recipe
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: technology/effects/unhide-recipe
Hidden is a prototype property and as such can't be changed runtime. Hidden simply makes the recipe not show up in GUIs. It has no other effect.
Enabled hides the technology and disables it so it can't be used at all and can be changed runtime. Hidden is useful when you want a technology to exist normally but for some scenario you don't want it enabled/researchable so you disable it.
Enabled hides the technology and disables it so it can't be used at all and can be changed runtime. Hidden is useful when you want a technology to exist normally but for some scenario you don't want it enabled/researchable so you disable it.
If you want to get ahold of me I'm almost always on Discord.
- Arch666Angel
- Smart Inserter
- Posts: 1636
- Joined: Sun Oct 18, 2015 11:52 am
- Contact:
Re: technology/effects/unhide-recipe
Then this might ne a cases where your intended use is outmatched by the way mod makers use it. In most cases it is used to hide recipes in/for furnace type machine since they will automatically choose their recipes. See most recycling mods for example, or mods with void features.
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: technology/effects/unhide-recipe
Yes, that's what the hidden flag is for in the recipe. The enabled flag disables the recipe completely.Arch666Angel wrote:Then this might ne a cases where your intended use is outmatched by the way mod makers use it. In most cases it is used to hide recipes in/for furnace type machine since they will automatically choose their recipes. See most recycling mods for example, or mods with void features.
If you want to get ahold of me I'm almost always on Discord.