Permanent result quality
Posted: Fri Nov 15, 2024 9:30 am
I want to make an item that upgrades quality which would be produced at cost, to bypass recycler-crafting machine loops. I am able to do that by checking for when a crafting machine sets its recipe and setting LuaEntity.result_quality.
But recipes can be completed more than once per tick. It's therefore, given sufficient (modded) speed modules, not possible to guarantee that every craft will be caught by a on_tick loop.
My request is thus: Add a LuaEntity.recipe_result_quality that, while result_quality is nil, will determine the quality of the item crafted, and is set to nil when the recipe on the crafting machine changes.
But recipes can be completed more than once per tick. It's therefore, given sufficient (modded) speed modules, not possible to guarantee that every craft will be caught by a on_tick loop.
My request is thus: Add a LuaEntity.recipe_result_quality that, while result_quality is nil, will determine the quality of the item crafted, and is set to nil when the recipe on the crafting machine changes.