Including new recipe on vanilla tech when it's already researched
Posted: Sun Jul 18, 2021 9:56 pm
I'm creating a mod with a new combinator that interacts with trains and I'd like to unlock it with the vanilla "circuit-network" technology. This is how I do it:
technology.lua
But it doesn't work in saves that already researched that technology. How can I fix that?
Thank you.
technology.lua
Code: Select all
table.insert(data.raw["technology"]["circuit-network"].effects, {type = "unlock-recipe",recipe = "train-requests-reader"})
Thank you.