Add custom tooltips for ingredients and products, similar to quality-related tooltips
Posted: Tue Jul 28, 2026 5:14 pm
Factorio 2.1 introduced more specific quality effects for individual products in recipes, including tooltips for individual products.
Now that on_crafted events are capable of performing effects on crafting recipes in a relatively performant way, it's possible to do effects that would benefit from ingredient and product tooltips, similar to the tooltips added for quality changes. The example that comes to mind is the following: An input ingredient acts as a catalyst for a crafting recipe, and it only has a 10% chance of being consumed on craft. To achieve this effect, the recipe would be given an on_craft effect that has a 90% chance of adding a copy of the ingredient to the machine's input inventory. This catalyst ingredient would have a tooltip saying the ingredient has a "90% return chance."
Now that on_crafted events are capable of performing effects on crafting recipes in a relatively performant way, it's possible to do effects that would benefit from ingredient and product tooltips, similar to the tooltips added for quality changes. The example that comes to mind is the following: An input ingredient acts as a catalyst for a crafting recipe, and it only has a 10% chance of being consumed on craft. To achieve this effect, the recipe would be given an on_craft effect that has a 90% chance of adding a copy of the ingredient to the machine's input inventory. This catalyst ingredient would have a tooltip saying the ingredient has a "90% return chance."