[2.0.73] Technology search matches hidden recipes in the technology effects
Posted: Wed Feb 04, 2026 4:52 am
It looks like search matches hidden recipes that technologies unlock.
I would expect search to only match results that the user is able to see.
Steps to reproduce:
Step 1. Hide a recipe that is unlocked by a technology. In the attached picture I had the Automatic Train Painter mod installed, as well as a basic mod that just contained a data-updates.lua with:
if data.raw["recipe"]["manual-color-module"] then
data.raw["recipe"]["manual-color-module"].hidden = true
end
Step 2. Open the technology window and search "module", or the name of whatever recipe you hid. Despite the word "module" not appearing anywhere in the "Automated rail transportation" technology, the technology is still returned by the search.
Step 3. Open prototype explorer for the technology to see that the hidden recipe "Manual color module" is in the technology effects.
I would expect search to only match results that the user is able to see.
Steps to reproduce:
Step 1. Hide a recipe that is unlocked by a technology. In the attached picture I had the Automatic Train Painter mod installed, as well as a basic mod that just contained a data-updates.lua with:
if data.raw["recipe"]["manual-color-module"] then
data.raw["recipe"]["manual-color-module"].hidden = true
end
Step 2. Open the technology window and search "module", or the name of whatever recipe you hid. Despite the word "module" not appearing anywhere in the "Automated rail transportation" technology, the technology is still returned by the search.
Step 3. Open prototype explorer for the technology to see that the hidden recipe "Manual color module" is in the technology effects.