Auto Recycling Plant


Adds a recycling plant that scraps things for parts. Original by Ricky Ford, I changed it so that recipies are automatically generated based on all recipies in the game, even ones added or changed by mods.

Content
7 years ago
0.14 - 0.15
21
Manufacturing

b no ingredients

8 years ago

hey i have a bug that some receipt whitout ingredients gets errors. i saw that you fixt that in version 0.14.2 and in this version also all things work fine.
my factorio version is 14.12
this items are from biotech yuoki and dark-matter-replicators as far as i can tell.
i woud like if you take a look on it and perhaps fix it because your mod is awesome

8 years ago

Sounds like I probably re-broke it in 0.14.3. I'll take a look at it, thanks for letting me know. Glad you like the mod!

8 years ago

Same here, played all worked well, upgraded AutoRecyclngplant and Bottleneck and then get an error loading recipe prototype "rec-biotech-sand". I deleted Biotech then I got "rec-repl-iron-ore" which I assume its from the dark-matter-replicator.

8 years ago
(updated 8 years ago)

@Evil Pickle, simple fix, what I had to do for Reverse Factory was just an

if next(recipe.ingredients) then --more ifs then add recipes-- end

Specifically, changing line 29 in rec-update.lua to

if (next(rec.ingredients) and ((not rec.category) or (has_value(allowedcats, rec.category)))) then

fixes the problem

8 years ago

Ahhh, thanks for that! I'll get an update uploaded later.

New response