The problem seems to be that the MtnFortressAddons mod modifies the same dataset as my mod. The following happens according to my understanding, e.g. my mod replaces the array data.raw[“character”][“character”].animations[4].mining_with_tool.layers[1] with 27 frames. Then the MtnFortressAddons mod is loaded and tries to overwrite the same entry again but only with 26 frames, but the game now expects 27 frames.
See following error message:
Failed to load mods: Error while loading entity prototype "character" (character): Different frame counts (expected 27, but has 26) in animation layers of base/graphics/entity/character/level3addon_mining_tool.png in property tree at ROOT.character.character.animations[3].mining_with_tool.layers[2]
Modifications: Base mod › Mountain Fortress Addons › Space Age › Factorio HD Age: Space Age Base
Mods to be disabled:
• MtnFortressAddons (1.0.8)
• space-age (2.0.23)
• factorio_hd_age_space_age_base (1.0.0)
Since the MtnFortressAddons mod automatically comes after my mod in the loading order, there is nothing I can do about it.