Taking a Vagabond BP as an example I can’t figure out how the above function calculates the composite materials needed.
For quantity of 1 it spits out Ferrogel quantity in components of 200 but in reality for a 0/0 Vagabond blueprint without any structure bonuses it should be:
Plasma Thruster (75 needed) → 75 Ferrogel
Deflection Shield Emitter (450 needed) → 450 Ferrogel
Am I missing something here? Is someone able to reproduce it or has a solution how to properly calculate the composite materials needed for T2 production?