Probabilistic Agriculture


Adds random variance to recipes for Jellynut, Yumako and Bioflux. This makes waste products harder to avoid on Gleba, nerfing certain strategies.

Tweaks
10 months ago
2.0
4.27K
Factorio: Space Age Icon Space Age Mod
Environment Manufacturing

g [Suggestion] Small bioflux fix

3 months ago
(updated 3 months ago)

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:

  1. Add a custom locale: [recipe-name] bioflux=1–6 x Bioflux
  2. Add the first recipe attribute: data.raw.recipe["bioflux"].show_amount_in_title = false
  3. 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.

3 months ago

I consider this a game bug and reported it here: https://forums.factorio.com/viewtopic.php?p=683841#p683841

New response