No Empty Barrels 3


Your barreling doesn't need empty barrels.

Tweaks
a month ago
2.1
85
Fluids
Owner:
gavin1978
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
2 months ago
Latest Version:
0.1.1 (a month ago)
Factorio version:
2.1
Downloaded by:
85 users

No Empty Barrels

新增功能 / New Features

  • 自动检测容器 / Auto-detect containers
    自动从装桶/倒桶配方结构中识别容器物品,无需手动配置即可支持大多数模组。
    Automatically detect container items from recipe structures, supporting most mods without manual configuration.

  • 手动添加容器 / Manual container addition
    支持在设置中手动添加额外容器名称(逗号分隔),解决自动检测遗漏的情况。
    Add extra container names manually in settings (comma-separated) to cover cases missed by auto-detection.

  • 燃尽产物处理 / Burnt result handling
    移除桶装流体燃烧后返还的空容器,防止通过燃烧凭空获得容器。
    Remove containers returned as burnt results from barrelled fluids, preventing container duplication via burning.

  • 下游配方修复 / Downstream recipe fix
    自动移除使用桶装物品的下游配方中返还的空容器,保持容器数量守恒。
    Automatically remove containers returned by downstream recipes that use barrelled items, preserving container balance.

  • 子配方支持 / Sub-recipe support
    正确处理 normal / expensive 难度变体,确保所有难度下生效。
    Correctly handle normal / expensive difficulty variants, ensuring the changes apply to all difficulties.

兼容性 / Compatibility

  • 适用于 Factorio 2.1+。
    Works with Factorio 2.1+.

  • 兼容原版空桶及模组添加的各种容器(如 tankempty-cellempty-iron-canister 等)。
    Compatible with vanilla barrels and various modded containers (e.g., tank, empty-cell, empty-iron-canister).

  • 自动检测依赖配方结构,对于特殊命名的容器可能无法识别,此时可通过手动添加解决。
    Auto-detection relies on recipe structure; containers with unusual names may not be recognized, in which case manual addition is recommended.

  • 若容器仅用于装桶而无对应倒桶配方,自动检测可能遗漏,建议手动添加。
    If a container is only used in filling recipes without a corresponding emptying recipe, auto-detection may miss it—manual addition is advised.

可能问题 / Potential Issues

  • 自动识别错误 / Auto-detection errors
    在复杂的模组组合中,自动识别可能误判或遗漏容器。
    In complex mod combinations, auto-detection may misidentify or miss containers.

  • 模组加载顺序导致不生效 / Load order issues
    某些模组可能在数据阶段后期修改物品的 burnt_result,导致燃尽产物移除失效。本模组已将处理移至 data-final-fixes.lua 以尽量规避,但仍建议验证。
    Some mods may alter burnt_result late in the data stage, potentially overriding the burnt result removal. This mod processes in data-final-fixes.lua to mitigate, but verification is advised.

原模组来源 / Original Mod Source