I'm finding that some specific recipes seem to have their "enabled" flag overridden on game load. I've searched and I can't find the culprit. I thought it might be the freeplay scenario but don't see any calls to recipes there.
Essentially if you do things like this in data-final-fixes:
Code: Select all
data.raw.recipe["wood"].enabled = false
data.raw.recipe["iron-chest"].enabled = false
data.raw.recipe["stone-brick"].enabled = false
data.raw.recipe["electronic-circuit"].enabled = false
electronic-circuit
pipe (but not pipe-to-ground)
small-electric-pole
steam-engine (but not boiler)
electric-mining-drill
Everything else (tested so far) is disabled as you'd expect.
What am I missing?
If this is hard-coded somewhere, what's the workaround? I can't do it in control.lua.