Page 1 of 1

[Request] Increased number of filters on filter inserters

Posted: Tue Jul 18, 2017 2:05 pm
by richtopia
I think this should be a very fast mod, but I don't know Lua to code it myself. If someone can write it up I'll send 20USD in paypal their way.

All I'm looking for is for filter inserters to allow more filters defined. The circuit network has channels for all items in the game, but when attached to a filter inserter it filters based on the first five signals. I feel this limits the possibilities of more advanced sorting strategies (I'm trying to implement a global trash/request loop).

I actually made a feature request for this and would like to provide a mod to demonstrate functionality. viewtopic.php?f=6&t=50220

Re: [Request] Increased number of filters on filter inserters

Posted: Tue Jul 18, 2017 6:59 pm
by torne
This isn't easy to do in a mod; I believe the number of filters is hardcoded in the game. I think you'd have to have the mod checking what's in front of the inserter every tick, compare it to the "big" list of filters, and pick which item types from the "big" list to actually set on the filter inserter itself.. seems likely to be pretty slow and fiddly. :(

Re: [Request] Increased number of filters on filter inserters

Posted: Wed Jul 19, 2017 8:26 pm
by richtopia
Thanks. While it is a simple concept I was afraid it would be a difficult value to edit. I hope my suggestion eventually makes it into the main game, although I know most people wouldn't make use of it.