Hello Thesixthroc,
When your mod changes the “results” attribute in the Bioflux recipe, I noticed a minor issue: the recipe still displays as “4 x Bioflux” in the player’s inventory. This is only a visual label, the recipe itself works correctly.
To keep things consistent, we can make three small adjustments:
- Add a custom locale: [recipe-name] bioflux=1–6 x Bioflux
- Add the first recipe attribute: data.raw.recipe["bioflux"].show_amount_in_title = false
- Add the second recipe attribute: data.raw.recipe["bioflux"].localised_name = {"recipe-name.bioflux"}
With these changes, the title will display nicely as "1–6 x Bioflux". Of course, we could achieve something similar by adding a new description, but I think this approach looks cleaner.