FactoryPlanner icon indicating copy to clipboard operation
FactoryPlanner copied to clipboard

fix prod calculation for random output amounts with catalyst specified

Open kalenedrael opened this issue 6 months ago • 3 comments

Productivity only applies to amounts above the catalyst amount. When the productivity bar fills, a set of outputs (random or not) is generated and the catalyst amount is subtracted from each output, with a minimum of 0 (no negative outputs). This fixes the calculation of the "proddable amount" - the effective amount of output that prod can apply to.

This behavior was tested using this mod. Compare with expected and actual results in this spreadsheet.

Fixes issue #88.

kalenedrael avatar Aug 20 '24 02:08 kalenedrael