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
a day ago
2.0
315
Logistics

b Game crash when removing belts

a month ago

When a belt that turns into a splitter has the preceding belt removed (i.e. the one that makes it a corner belt) the game crashes --- If done on a space platform.

Error while running event sushi-splitters::on_space_platform_mined_item (ID 77)
sushi-splitters/control.lua:541: attempt to index local 'entity' (a nil value)
stack traceback:
sushi-splitters/control.lua:541: in function 'is_splitter'
sushi-splitters/control.lua:134: in function <sushi-splitters/control.lua:132>

Also I noticed that you removed the separate sushi entities, so now I have to manually fix my factory :( (No hard feelings though - I luckily only had them in a few select places so far)

a month ago
(updated a month ago)

Okay, upon further experimentation:
The game seems to crash whenever things are mined on space platforms

a month ago

Think I found it. I'll try to make a new version soon. Can you check with this line modification?

control.lua line 130:
defines.events.on_space_platform_mined_item
should be
defines.events.on_space_platform_pre_mined

C:\Users**\AppData\Roaming\Factorio\mods\sushi-splitters

a month ago

Also data-updates.lua was not included in the zip... Removed the 0.1.3 version from the mod portal.

Sorry for the inconvenience.

a month ago

Sorry for not replying earlier. I had been playing, lol.
Everything seems to work fine now, thanks!

New response