inserters that can blacklist items?

Place to get help with not working mods / modding interface.
beringtom
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Apr 11, 2016 12:52 am
Contact:

inserters that can blacklist items?

Post by beringtom »

Been trying to figure out how to make a smart inserter that can use it's filter as a blacklist, there does not seem to be a flag to define this in the default smart inserters, can I look at where the inserter code is defined somewhere?

Also it seems that inserters are limited to 5 sorting slots somewhere in the code as well, anyone tried to go around this?
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: inserters that can blacklist items?

Post by bobingabout »

So basically, instead of say "Barrel only", you basically want an "Everything except a barrel" filter?
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
beringtom
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Apr 11, 2016 12:52 am
Contact:

Re: inserters that can blacklist items?

Post by beringtom »

bobingabout wrote:So basically, instead of say "Barrel only", you basically want an "Everything except a barrel" filter?
yeah exactly. Is it even doable in the state the game is in now?
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: inserters that can blacklist items?

Post by bobingabout »

beringtom wrote:Is it even doable in the state the game is in now?
I honestly don't know. I would guess at no, but then most things are doable via scripting, so, I can't say.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
beringtom
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Apr 11, 2016 12:52 am
Contact:

Re: inserters that can blacklist items?

Post by beringtom »

bobingabout wrote:
beringtom wrote:Is it even doable in the state the game is in now?
I honestly don't know. I would guess at no, but then most things are doable via scripting, so, I can't say.
I could look into scripting it, stop adding so many damn ores Bob :P
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: inserters that can blacklist items?

Post by bobingabout »

beringtom wrote:I could look into scripting it, stop adding so many damn ores Bob :P
Oh, It's my fault is it? XD
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
Post Reply

Return to “Modding help”