DRY411S / Recycling-Machines

A factorio mod that adds Recycling Machines to the game. These disassemble products back into their original ingredients.
GNU General Public License v3.0
10 stars 2 forks source link

Icon in recycling recipes, with no icon_size #78

Closed DRY411S closed 4 years ago

DRY411S commented 4 years ago

Reported at factorio forums https://forums.factorio.com/viewtopic.php?p=484088#p484088

Failed to load mods: Error while loading recipe prototype "dry411srev-tc_export_chest" (recipe): Key "icon_size" not found in property tree at ROOT.recipe.dry411srev-tc_export_chest Modifications: Recycling Machines

Mods to be disabled: ZRecycling

It seems a compatibility problem with mod "Team competition", because once disabled it the error is vanished...

DRY411S commented 4 years ago

This 'bug' in my code is because the author of the Team Competition mod has not correctly implemented the prototype IconSpecification, but the game has not captured this, thus causing my mod to fail.

There are 3 ways forward

  1. The game could error on the other mod which is off specification
  2. The author of the Team Competition mod could amend their mod to conform with specification
  3. I could write code that copes with 'bad' mods

I'm waiting for answers for 1 and 2 above before I do 3.