Code: Select all
products = {
{
amount = 10,
catalyst_amount = 4,
name = "thing",
probability = 0.7,
type = "item"
}
}
The productivity bonus of the assembler only affects anything in excess over the catalyst. So 4 + 6 * 120% for the productivity.
But do the 0.7 probability apply to the whole amount or just the excess over the catalyst? So is it 0.7 * 10 = 7 or 4 + 0.7 * 6 = 8.2 on average?
Actually how doe the productivity work? My understanding is that every cycle the productivity progress in the assembler increases by 20%. When it reaches 100% the assembler produces an extra cycle of the recipe except with catalyst amounts removed. Is the probability applied before or after the catalyst amount is removed from the equation? I figure it can't be before because what if the amount without catalyst becomes negative?
In total I think the formula would be (assuming thing isn't also an ingredient): 4 + 0.7 * 6 * 120% = 9.04.
Now if thing is also an ingredient, say 7 (catalyst = 4) then it would be 4 + 0.7 * 6 * 120% - 7 = 2.04.
PS: Why do ingredients have a catalyst_amount value? How does that figure into anything?