I have modified the High Tech science pack recipe to output used fuel cells too:
data.raw.recipe['high-tech-science-pack'].ingredients = {
{'uranium-fuel-cell', 1},
{'processing-unit', 2},
{'productivity-module', 1},
{'effectivity-module', 1},
}
data.raw.recipe['high-tech-science-pack'].icon = "__base__/graphics/icons/high-tech-science-pack.png"
data.raw.recipe['high-tech-science-pack'].subgroup = "science-pack"
data.raw.recipe['high-tech-science-pack'].order = "f[high-tech-science-pack]"
data.raw.recipe['high-tech-science-pack'].result = nil
data.raw.recipe['high-tech-science-pack'].results = {
{type="item", name="high-tech-science-pack", amount=1},
{type="item", name="used-up-uranium-fuel-cell", amount=1},
}
This requires another entry in locales, so I figured out how to generate all locales correctly. To update/generate locales (copy data from base mod) using bash:
A="/path/to/mods/AntisScienceOverhaul_0.1.3/locale"
cd factorio15/data/base/locale
for lo in *; do ht="$(grep item-name $lo/base.cfg -A100| grep high-tech-science-pack)"; up="$(grep uranium-processing $lo/base.cfg)"; echo -e "[recipe-name]\n$ht\n\n[technology-name]\n$up" > "$A/$lo/config.cfg"; done