Crafting Combinator


Includes combinators that allow you to set or read the recipe of any crafting machine, get ingredients or products of a recipe and more!

Content
3 years ago
0.14 - 1.1
21.1K
Manufacturing

b Rocket-Silo-construction compatability

5 years ago

Crash when trying to read recipe of https://mods.factorio.com/mod/Rocket-Silo-Construction . Also, can accidentally reset the recipe of the rocket silo construction.

No idea on which side the funky coding did this.

5 years ago

That's interesting, it seems that scripts can reset recipes of assemblers with fixed_recipe. Not sure if that's a bug in the game or not, but I should be able to patch it either way.

5 years ago

Fixed in 0.11.2. Crafting combinators now don't work with fixed recipe machines. I hope this doesn't cause more problems than it solves tho, since mods can use fixed recipe machines in all kinds of ways...

5 years ago

Why not allow the recipe to be read? Did not understand why it would crash...

5 years ago

The reason for the crash was that the recipes in the rocket silo were set to be hidden. For various reasons, the mod doesn't generate signals for hidden recipes, so when it tries to read one, it tries to set a non-existent signal to the output, which causes a crash.

I realize that this isn't exactly great, so I'll try to come up with a better solution, but for now it's better than a crash... It should be easy enough to just check whether the machine is or isn't fixed_recipe when setting it, so only reading would work, but the problem with hidden recipes is going to be more complicated...

New response