Robot Replacer

by Peppe
Utility mod to help replace/upgrade bots within a network. Bots in the replacer provider chest are released to the network when a bot of the same type, but different name is found in a roboport. The bots that do not match the provider are removed from the roboport and placed in the logistics storage network. Should work with all modded bots and roboports (Tested with Bob's and Yuoki's).
1 year, 3 months ago
0.14 - 0.16
12361
Owner: Peppe
Source: N/A
Homepage: https://www.reddit.com/r/factorio/com...
License: MIT
Created: 2 years ago
Latest Version: 0.16.0 (1 year, 3 months ago)
Factorio version: 0.14 - 0.16
Downloaded: 12361 times

No use in vanilla, but if a mod adds an upgraded construction or logistics bot it can be a pain to upgrade them once they are in a roboport.

Example process:
Network contains dozens of roboports with construction bot MK1 in them.
You place construction bot mk2 in the replacer provider chest in the network with storage chests/space available.
The chest checks each roboport and places mk1 bots into storage and release mk2 bots in the same quantity as those moved to storage.

Example Gif

The chest can do the reverse if you wish to downgrade. Whatever is in the chest becomes the target bot of that type (construction or logistics) to populate the roboports with. It will keep the same population of bots just seek to standardize them to the type in the replacer provider chest.

Only searches/uses the network the provider chest is in for both storage and replacement.

16.0 Initial Version for .16
15.0 Version Update
14.3 Fix corner case upgrade issue (stack size 0) when bot is removed same tick as upgrade.