Complementary tech

Place to get help with not working mods / modding interface.
Post Reply
Kill3rCat
Burner Inserter
Burner Inserter
Posts: 17
Joined: Wed Aug 10, 2016 12:28 am
Contact:

Complementary tech

Post 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.

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Complementary tech

Post by prg »

You could check which other technologies have already been researched, then unlock the recipe manually in an on_research_finished event handler.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

Kill3rCat
Burner Inserter
Burner Inserter
Posts: 17
Joined: Wed Aug 10, 2016 12:28 am
Contact:

Re: Complementary tech

Post by Kill3rCat »

Hmm, I didn't think of that. I was trying to do it all inside the technology prototype file (derp). Thanks.

Post Reply

Return to “Modding help”