Recursive Resource Calculator

by Herddex

An in-game calculator that can be used to automatically compute the information you need to build a final product at a given rate of production: precise number of machines for each intermediate product, required production rates for all said intermediate products, pollution and energy costs, with options for specifying module configurations, as well as machine types.

Utilities
10 days ago
1.1 - 2.0
13.6K

b Brackets for probabilities are wrong

11 days ago
(updated 11 days ago)

line 25 ind logic/utils.lua should be:
return (product.amount or (product.amount_min + product.amount_max) / 2) * (product.probability or 1)
instead of
return product.amount or ((product.amount_min + product.amount_max) / 2 * product.probability)

10 days ago

Thank you for the report! I am surprised nobody has said anything in the past year... I will be releasing a patch in no time.

If you see any other issues (or would like to improve certain aspects of the mod yourself), I have just made public a call for new contributors, since unfortunately I just don't have the time to work on the mod anymore and I haven't played Factorio in a long time either.

10 days ago

Catalysts are not supported so I assumed probabilities are also not. Until I saw that they work sometimes...
I assume most people didn't recognize and the rest just ignored it or took the result without verifying.
There are not that many recipes with probabilities that are not catalysts.

New response