Robot Attrition


Very occasionally if you have heavy logistic bot congestion a logistic bot will crash. This means logistic bots are best used for higher value items like engines or power poles, using them for low value items like ore and copper wire is OK but less resource efficient. The goal is not to stop the use of bots, but to provide a small incentive to use belts in some situations late-game.

Tweaks
27 days ago
0.15 - 2.0
493K
Logistic network

Changelog

Version: 0.6.2
Date: 27. 10. 2024
  Bugfixes:
    - Having the repair bots setting on no longer causes a load error on startup.
Version: 0.6.1
Date: 21. 10. 2024
  Info:
    - Updated for Factorio 2.0.

  Bugfixes:
    - Fix rare crash where a logistic network is invalidated while robot died of attrition.
Version: 0.5.15
Date: 04. 05. 2023
  Bugfixes:
    - Fixed load error introduced in the last version when using the "repair" option.
Version: 0.5.14
Date: 04. 05. 2023
  Bugfixes:
    - Fixed "CRC mismatch" error when joining a server with a different "repair" mod setting.

  Locale:
    - Added Japanese translation thanks to YAMATO_Hajime.
Version: 0.5.13
Date: 26. 12. 2022
  Bugfixes:
    - Fixed bot crashes losing item-with-entity data (e.g. spidertron colors or equipment grids inside items).
    - Fixed robots always dying in pairs. Average bots lost over time is unchanged.
    - Fixed crash when using the "repair" option, if another mod deleted a bot corpse after Robot Attrition marked it for deconstruction.
    - Fixed bots with absurd speed (e.g. Editor Extensions) causing all bots to instantly die for the rest of the game when chosen for attrition.

  Compatibility:
    - The "repair" option is now compatible with a wider range of modded bots, including those that might be missing remnants or dying effects (e.g. Bob's Logistics).
    - Repair and recombine recipes will attempt to use a repair pack of matching level to the bot's level.

  Locale:
    - Added Turkish translation thanks to superbnoobster.
Version: 0.5.12
Date: 08. 01. 2022
  Bugfixes:
    - Fixed problem loading if a mod added robots with icons in a specific format.
Version: 0.5.11
Date: 12. 07. 2021
  Changes:
    - Dropped cargo now goes to a deconstructable container instead of items on the ground.
    - If you use the repair option, the collectible item is a deconstructable remnant instead of an item on the ground.
Version: 0.5.10
Date: 14. 05. 2021
  Locale:
    - Added Russian translation thanks to Shadow_Man.
Version: 0.5.9
Date: 29. 01. 2021
  Bugfixes:
    - Fix crash if a bot became invalid during the processing loop.
Version: 0.5.8
Date: 18. 01. 2021
  Bugfixes:
    - Fix that crashed robots could be deployed as working robots.
Version: 0.5.7
Date: 13. 12. 2020
  Bugfixes:
    - Fix for layered robot icons and the repair recipes.
Version: 0.5.6
Date: 13. 12. 2020
  Changes:
    - Updated repair recipe to have % secondary products if not all of 1 ingredient is needed.
    - Added 2nd restoration recipe for robot recombination.
Version: 0.5.5
Date: 07. 12. 2020
  Compatibility:
    - Creative mod test bots don't cause a crash during loading.
Version: 0.5.3
Date: 07. 12. 2020
  Bugfixes:
    - Fixed problem with robot repair activating.
Version: 0.5.2
Date: 04. 12. 2020
  Changes:
    - Added option for robot repair.

  Bugfixes:
    - Fixed swarm safety levels not being applied correctly.
Version: 0.5.1
Date: 24. 11. 2020
  Info:
    - Updated for Factorio 1.1.
Version: 0.4.5
Date: 22. 11. 2020
  Changes:
    - UPS improvement for games with lots of surfaces (400x faster in some cases).
Version: 0.4.4
Date: 24. 07. 2020
  Changes:
    - Added explosion reduction technology for increasing logistic swarm sizes (500 per level).
    - Uses a faster method to drop items to the ground (thanks to Mylon).
Version: 0.4.3
Date: 31. 05. 2020
  Locale:
    - Added chinese translation thanks to Frost.
Version: 0.4.2
Date: 07. 02. 2020
  Info:
    - Updated for Factorio 0.18.4.
Version: 0.4.1
Date: 27. 01. 2020
  Info:
    - Updated for Factorio 0.18.
Version: 0.3.8
  Changes:
    - Code optimizations.
Version: 0.3.7
  Changes:
    - Fixed remote interface call.
Version: 0.3.6
  Changes:
    - Attrition can now be altered per-surface by mods, this can multiply or override the mod setting.
    - Surfaces with attrition rates of 0.001 and below do not process attrition at all (saves UPS).
    - Further UPS optimisations.
    - Fixed bots dropping items on belts.
Version: 0.3.5
  Changes:
    - Code optimizations.
Version: 0.3.4
  Changes:
    - Updated description.
    - Minimum attrition multiplier is now 0.001.
Version: 0.3.3
  Changes:
    - Re-worked the code for continuous processing instead of batches on longer interval. (Reduces UPS stutters).
    - Default attrition factor is now 1 instead of 10 to match the new code structure (actual crash rate is slightly lower).
    - Minimum attrition multiplier is now 0.01.
Version: 0.3.2
  Changes:
    - Changed robots creating fire on death to robots doing weak AOE explosion damage (fire did not make sense in space).
Version: 0.3.1
  Info:
    - Updated for Factorio 0.17.