Filter Inserters Begone! deprecated

by SetazeR

Makes all inserters able to filter and hides existing ones. BEWARE! All the simulation inserters in main menu gonna be broken.

Content
4 months ago
1.1
3.75K
Logistics

b placing inserter on top of inserter sets it to blacklist, when it shouldn't

8 months ago

if you place an inserter on top of another inserter, for example a stack inserter on top of a fast inserter or vice versa, if the underlying inserter is set to whitelist but has no filters e.g. when connected to a circuit network in "set filters" mode with no signals present at the time, then it's set to blacklist. it should only set to blacklist when being placed fresh, or at least when not in "set filters" mode

8 months ago

yeah, I didn't account for fast-replaced inserters. fixed in 0.1.5

8 months ago
(updated 8 months ago)

thx

when copy-pasting an inserter with whitelist, "set filters" mode, no signals present, it's changed to blacklist, even if it has circuit connections that are also copypasted. but it shouldn't (circuit connections or not)

8 months ago
(updated 8 months ago)

if you copy only the inserter that had circuits and placing it - it SHOULD be same as just placing new inserter in my opinion (there's no way I could know if it was copied to check "original" inserter).
Copying part of circuit setup when new inserter will have circuits - shouldn't modify filter mode. That makes sense to me and I'll make it so. Still I'm not taking "set filters" in account with that. New inserter has circuit when built - then it already have altered setting that shouldn't be modified.

You can always fast copy filter settings from original inserter

8 months ago

not when you cut and paste :)

thx 4 update, now if i copy a row of N inserters connected by circuits, it keeps the whitelist setting ...on every one except the one which is placed to the north or east end ...in "set filters" mode. in "none" mode, it's the south or east inserter that is set to blacklist. how that's possible, i don't understand.

are you sure if it's difficult to check for "set filters" and not do blacklisting if you see that? that's the main use case for whitelist-mode inserters that have no filters anyway

8 months ago

I need to see your setup to actually understand whats happening

8 months ago
  • place 2 inserters, connected by a wire
  • change to whitelist
  • optionally change mode to "set filters"
  • copy and paste

1 of them will be set to blacklist

7 months ago

Have same issue while placing multiple inserters with robots.
I use circuit to control loading/unloading trains like you usually do with it, and have multiple inserters connected to one wire in a row.
When robot place inserter that not yet connected to anything it will be set to blacklist, but if it placed next to already build inserter it stays whitelisted.
Workaround is connect all inserters to a electric pole, then build station in two steps - first place blueprint for poles, and than place inserters, so they will have connection to a circuit network when built.
Not sure if that behaviour can be fixed, but would be nice if script that set newly build inserters to blacklist ignored inserters with set filter option.

New response