Page 1 of 1

Technology show up only after prerequisite researched?

Posted: Sat May 18, 2013 2:50 pm
by metzyn
How do I have a technology not show up until another is researched? I have searched throughout all data files and cannot seem to find this. Please help!

Re: Technology show up only after prerequisite researched?

Posted: Sat May 18, 2013 4:08 pm
by FreeER
The only way that I know of is using the upgrade flag (wiki page). Unless you wanted to have it disabled and use lua code :D to enable it after the prerequisites are researched (which would be game.player.force.technologies["iron-working"].setenabled(true|false))...

Re: Technology show up only after prerequisite researched?

Posted: Sat May 18, 2013 4:16 pm
by metzyn
Thank you for the info! I decided what would be best for my project would be to have "tech abc", "tech abc-2", and "tech abc-3". I discovered that by simply adding "-x" after the technology name you'd get a sequential technology like Logistics. This particular method will be best for my needs but I will keep your info in mind for later. Thanks again.