Page 1 of 1

Complementary tech

Posted: Thu Aug 18, 2016 11:05 am
by Kill3rCat
Hello, it's me again...

Is it possible to have complementary technologies in Factorio? For example:

Two technologies, "tech-1" and "tech-2". "tech-1" unlocks recipe "recipe-1", "tech-2" unlocks "recipe-2". When both are researched, "recipe-3" is unlocked.

I know this could be done easily by having "tech-1" a prerequisite of "tech-2" and having "recipe-2" and "recipe-3" unlocked by "tech-2", but is it possible to have the same effect, but allowing the tech to be researched in either order? I am guessing not.

Re: Complementary tech

Posted: Thu Aug 18, 2016 11:54 am
by prg
You could check which other technologies have already been researched, then unlock the recipe manually in an on_research_finished event handler.

Re: Complementary tech

Posted: Thu Aug 18, 2016 2:25 pm
by Kill3rCat
Hmm, I didn't think of that. I was trying to do it all inside the technology prototype file (derp). Thanks.