elswindle / factorio_annealer

Program to generate a layout of factory cells in Factorio using simulated annealing
MIT License
4 stars 0 forks source link

Factory block calculation is incorrect for oil products #2

Open elswindle opened 1 year ago

elswindle commented 1 year ago

Factory block calculation is incorrect with respect to the oil products. It current looks at part_reqs when calculating this, but this assumes a preferred recipe is the only thing that produces that item. This needs to be broken down for light oil and petroleum gas as they have multiple sources of production. Something needs to store the amount produced from oil processing and cracking so the correct number of blocks can be placed.