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

New recipe prototype definition is not handled #84

Closed DRY411S closed 4 years ago

DRY411S commented 4 years ago

The mod has always used the recipe specification at: https://lua-api.factorio.com/latest/LuaRecipePrototype.html with known changes to that specification (which is not up to date) documented in the mod code.

However, it has been highlighted to me that the wiki is actually more up to date: https://wiki.factorio.com/Prototype/Recipe

The mod blanks out some of the new optional fields documented in the wiki, instead of passing them through, and does not cope at all with normal = false (or expensive = false). Recipes with those constructs cause the mod to fail completely.