5dim / Bob's Tech Unlock Sync

by V1irus

5dim and Bob's define some technologies with the same internal names, so one side overwrites the other and you can never unlock 5dim beacons, belts, assemblers or furnaces past a certain tier. This mod repairs those unlocks.

Tweaks
6 hours ago
2.0
0
Owner:
V1irus
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
6 hours ago
Latest Version:
1.0.1 (6 hours ago)
Factorio version:
2.0
Downloaded by:
0 users

If you play 5dim together with Bob's mods you will eventually notice that some upgrade chains just stop. For me it was the beacons first: the MK4 recipe showed up but needed MK3, and MK3 was nowhere to be found. A few days later the same thing happened with belts at tier 4.

The reason is that both mod packs register technologies under the same internal names:

  • effect-transmission-2 and -3 (beacons)
  • logistics-4 and -5 (belts, undergrounds, splitters, loaders and the matching inserters)
  • automation-4, -5 and -6 (assembling machines)
  • advanced-material-processing-3 and -4 (electric furnaces)

Factorio loads bob's after 5dim and neither depends on the other, so Bob's version of each technology simply replaces 5dim's. All recipe unlocks that 5dim attached to it are gone at that point. The recipes themselves still exist, there is just no research left that enables them. And because every 5dim tier needs the previous tier as ingredient, everything above the broken tier is dead too.

This mod runs in data-final-fixes, looks at the technologies listed above and re-adds the missing unlocks from both sides. It doesn't matter which mod "won" the name clash, the surviving technology ends up unlocking both mods' machines. If a recipe doesn't exist in your game (because you only run part of the mods), it is skipped, which is why all dependencies are optional.

No prototypes are modified beyond adding unlock effects, so updates of 5dim or Bob's won't break anything here.

There are two more name clashes (toolbelt-2/-3 and inserter-capacity-bonus-8), but those are pure bonus researches without recipe unlocks, so I left them alone.