Permanent result quality

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Moterius
Burner Inserter
Burner Inserter
Posts: 14
Joined: Wed Jun 07, 2023 7:39 am
Contact:

Permanent result quality

Post by Moterius »

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.
Post Reply

Return to “Modding interface requests”