[Genhis][2.0.15] Weird production stats for recycling recipes
Posted: Wed Nov 06, 2024 8:09 pm
Running the following blueprint shows uncommon+ plates in the consumption section of production stats, even though the recycler is only consuming normal quality plates. This seems like an unintended interaction between ItemProductPrototype.ignored_by_stats, ItemProductPrototype.probability, and how quality is applied to recipes. If the intent is to represent items as "consumed" when they aren't spit back out by the recycler, this effect should be applied before possibly upgrading the quality on the item.
Relatedly, it'd be nice if ignored_by_stats weren't applied when a product's quality is increased (i.e. so that uncommon+ plates show up under production stats in the test case). ignored_by_stats is meant for recipes which create trivial loops, like barreling/unbarreling, uranium enrichment, or coal liquefaction; if quality procs, the products have escaped the loop and should be accounted for separately.
Relatedly, it'd be nice if ignored_by_stats weren't applied when a product's quality is increased (i.e. so that uncommon+ plates show up under production stats in the test case). ignored_by_stats is meant for recipes which create trivial loops, like barreling/unbarreling, uranium enrichment, or coal liquefaction; if quality procs, the products have escaped the loop and should be accounted for separately.