Sushi Splitters


Use a single splitter to extract all the stuff you need from your sushi belt using all circuit conditions. When the output is full, it won't block but will pass the filtered items to the unfiltered output.

Tweaks
6 days ago
2.0 - 2.1
735
Logistics

g Error on Startup (Krastorio 2 - SO)

9 days ago

Hey, I just installed your mod to an existing savegame which uses the Krastorio 2 - Spaced Out overhaul. Regarding to your answer in another post it should work with Krastorio 2 (though you didn't specifically that it'll work with Spaced Out too, so maybe that's the problem). Sadly I get an error when trying to load the savegame with your awesome mod:

Failed to load mods: Error while loading recipe prototype "sushi-express-splitter-upgrade" (recipe): Recipe has invalid main product express-splitter. The product does not exist in the recipe product list. Modifications: Sushi Splitters

Mods to be disabled:
- sushi-splitters (0.2.1)

Thanks in advance :)

7 days ago

Found the problem, solved it with a single line of code.

For the curious, Krastorio sets a [optional] property for the express-splitter recipe. This property was not used for all the other splitters.
https://lua-api.factorio.com/latest/prototypes/RecipePrototype.html#main_product
To create the sushi-splitter recipe I copy the original recipe. In this case I also copied the main_product property. So the sushi-express-splitter recipe had a sushi-express-splitter as the result, but express-splitter still as the main_product. This rightfully gave an error since the main-product should be one of the results (in case the recipe has multiple results).

7 days ago

Thanks for your work, the fast response and the explanation. Keep up the good work <3

7 days ago
(updated 7 days ago)

Just tried it and the same error occurs. Not sure if the problem is on my end now. I removed and reinstalled the mod to make sure that this isn't the problem.

Edit: I think I found the problem. If you're using the 2.0 version instead of experimental 2.1, you are only able to install Sushi splitter 0.2.1

7 days ago

You're all right. Only updated the experimental 2.1 ...
I can patch the 2.0 branch but I'm not going to test it because switching between 2.0 and 2.1 is quite troublesome. Maybe tomorrow I'll take the risk.

6 days ago

I just updated to 2.1 to test this and I'll stay on this patch anyway. But good to know for everyone who wants to stay on 2.0 a little longer

6 days ago

@TeXiCiTy just download the factorio zip version for 2.0 or 2.1 so you have a separate installation to test with, without messing your factorios user directory

6 days ago

https://factorio.com/download
O wow, that was surprisingly easy. No steam troubles.

New response