Panakotta00 / FicsIt-Networks

Control, Monitor, Manage and Automate your Satisfactory.
https://ficsit.app/mod/FicsItNetworks
GNU General Public License v3.0
161 stars 51 forks source link

Manufacturer.getOutputInv() returns wrong number of inventories #245

Closed kfpopeye closed 1 year ago

kfpopeye commented 1 year ago

The following code always seems to return and additional inventory. IE: Blenders have 3 but only have 2 outputs, same with refiners. Particle accelerators and manufacturers show 2 but only have 1 output.

invs = Manufacturer:getOutputInv()
print(invs.Size)
Panakotta00 commented 1 year ago

Its not the number of inventories but the number of output slots. And its set by the game, it just provides the data what the game gives us.