Page 1 of 1

[2.0.55] Request lists get mangled when combined with calculated formula in parameterized blueprint

Posted: Mon Jul 07, 2025 8:38 pm
by sirprize
Hi,

I have built a parametrized blueprint for the biochamber, requesting up to 6 ingredients as well as 10 nutrients.
Parametrized request list
Parametrized request list
Capture3.PNG (67.15 KiB) Viewed 100 times
The requested ingredient amounts are enough for 30 seconds worth of production, using the formula 30*p0_iN/p0_t, with N ranging from 1 to 6. This works fine.
Formulas
Formulas
Capture2.PNG (134.33 KiB) Viewed 100 times
When I select a product that uses nutrients as ingredient, the calculated request gets merged with the static request for 10 nutrients, which is what I expected. However, in that case the previously unset maximum request amount gets mangled to the near maximum value of an unsigned 32 bit integer (4294967294). It doesn't really hurt since it is only the maximum amount, but it's weird.
Result when selecting biochamber. 17 is correct: 7.5 for 30 seconds of product + 10 base request. The maximum of 4294967294 is the bug.
Result when selecting biochamber. 17 is correct: 7.5 for 30 seconds of product + 10 base request. The maximum of 4294967294 is the bug.
Capture.PNG (77.91 KiB) Viewed 100 times
Here's the blueprint: