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

Mod crashes when recipe amounts appear before the name #89

Closed Ludibria2 closed 4 years ago

Ludibria2 commented 4 years ago

Good day! Your mod is great and phenomenal! I faced a misfortune with...

Error downloading ZRecycling with Enchanted Industries & Chemicals by Enchant3d https://mods.factorio.com/mod/EnchantedIndustries

it says "Error while loading recipe prototype "dry411srev-wood-fiber" (recipe): Difficulty normal: Key "name" not found in properly tree at ROOT.recipe.dry411srev-wood-fiber.ingredients[0]

Can you please help me out with that? Will be greatful for any assistance!)

DRY411S commented 4 years ago

Enchanted Industries & Chemicals mod adds a recipe that produces wood.

However, "wood" is a vanilla 'raw-resource' built into the game that should have no recipe.

There's nothing I can do to deal with this. I have contacted the author of Enchanted Industries & Chemicals and suggest that he looks at it.

In future I may look at a 'plug in' for the Enchanted Industries & Chemicals mod, that can handle this, if many people request it.

DRY411S commented 4 years ago

Actually, this IS a bug. The mod author has created recipes that specify the amount produced first, and then the name of the product. This is extremely unusual, but is valid and my mod does not handle it.

Reference: https://wiki.factorio.com/Types/ItemProductPrototype

DRY411S commented 4 years ago

Fixed in v1.0.2

Ludibria2 commented 4 years ago

Sir, my deepest gratitude! It works perfectly! I didn't even expect it to be fixed so fast. Thank you so much.