ShadowTheAge / yafc

Powerful Factorio calculator/analyser that works with mods
GNU General Public License v3.0
161 stars 50 forks source link

[Feature request] Show research requirement in specific recipe on dependency explorer. #225

Open StellarX20 opened 9 months ago

StellarX20 commented 9 months ago

Currently, only the total research requirement is shown. To clarify, I'm requesting to see how many science packs are used researching the single tech in specific rather than it and its prerequisite (e.g. 2 automation, 3 military, 1 logistics for 30 seconds x35, rather than the total amount of automation, military and logistics science packs I ever would have used if I spent them purely to reach this technology, which might include another 60 automation or 300 chemical). It's quite a simple change, but a welcome one, as finding out the number of science packs required on the specific research node is hard to calculate when there's more than 1 parent. As an example, if I have 4 nodes, A being the parent, B and C being child nodes, and D requiring B and C, to calculate the number required for D I have to sum up all the others' requirements and then subtract that from the total given by YAFC. If all the nodes had extra parents which also have 2 or more parents of their own, this becomes extremely lengthy to calculate and gives more and more chances for mistakes