Configurable Scrap Recycling

by Rykon_

Set the drop chance of every possible output of the Fulgoran scrap recycling recipe individually via startup settings.

Tweaks
10 days ago
2.0
5
Owner:
Rykon_
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
10 days ago
Latest Version:
1.0.0 (10 days ago)
Factorio version:
2.0
Downloaded by:
5 users

Makes Fulgora's scrap recycling probabilities fully configurable via mod settings, instead of the fixed vanilla values.

What it does

Adds one setting per scrap recycling output (csr-chance-<item>), each a 0-100% chance, rolled independently per output - so a single scrap can yield multiple items, matching how the vanilla recipe itself is set up. There's no normalization: the chances don't need to add up to anything in particular.

Defaults match vanilla (about 0.60 items per scrap on average):

  • Gear wheel: 20%
  • Solid fuel: 7%
  • Concrete: 6%
  • Ice: 5%
  • Steel plate: 4%
  • Battery: 4%
  • Stone: 4%
  • Advanced circuit: 3%
  • Copper cable: 3%
  • Processing unit: 2%
  • Low density structure: 1%
  • Holmium ore: 1%

Setting every chance to 0 is safe and simply results in no outputs from recycling.

Built and verified against the real scrap-recycling recipe data on Factorio 2.0 (Space Age), by loading the actual game data stage in an isolated sandbox and comparing against the default recipe. Compatible with adjustable_recycler (different recipe category, no conflict).

Notes

  • A settings change requires a restart to take effect.
  • Built for factorio_version = "2.0" (tested against 2.0.77) - not the 2.1 shared_probability recipe format.