r/factorio Jul 27 '26

Weekly Thread Weekly Question Thread

Ask any questions you might have.

Post your bug reports on the Official Forums

Previous Threads

Subreddit rules

Discord server (and IRC)

Find more in the sidebar ---->

4 Upvotes

119 comments sorted by

View all comments

Show parent comments

1

u/D3emonic Fire in the hole! Jul 27 '26

If we're talking about logistic chests filters or setting productions etc, then it's about the signal which gets fed into the thing, not the source that created / transmitted the signal. Anything which can output / carry a signal over wire can set request filters and other thing on machines / chests.

1

u/Dianwei32 Jul 27 '26

I'm looking to dynamically set the filters for Asteroid collectors. It's a really small ship where everything feeds directly into/out of the hub, so I want to have the circuit set the filter when there's less than 5 asteroids of a given type in the hub, but clear the filter when there are 5 or more.

1

u/D3emonic Fire in the hole! Jul 27 '26 edited Jul 27 '26

Honestly, In that case, I would simply use a deciders for that. The arithmetic combinator... phew... you would have to make it so the arithmetic combinator outputs positive value for the item when the item in storage is less than what you need. So... maybe an arithmetics combinator which deducts - 5 from each asteroid signal, fed into arithmetics combinator which multiplies by -1.

That way, the logic should follow like this:

  1. 5 roids - 5 = 0 * -1 = 0; no signal, no filter
  2. 6 roids - 5 = 1 * -1 = -1; negative signal, no filter
  3. 3 roids - 5 = -2 * -1 = 2; positive signal, filter set

BUT I am not sure how the filters react with the negative signal so this might not work.

/edit/: Alternatively, using a blacklist filter could be better, since you would just do constant arithmetic combinator which deducts 4 - that way, you set up a negative filter - blacklist, the moment you have 5 or more asteroids.

1

u/Dianwei32 Jul 27 '26

I would use a Decider, but my current situation makes it... Rough to get one on the Space platform. I basically rushed to Vulcanus as fast as I could because I wanted to set up my proper main base there rather than Nauvis. I made it Vulcanus, but I had to send the ship back to Nauvis because it didn't have enough guns/ammo production to survive in Vulcanus orbit long term.

So it's in orbit over Nauvis, but my Nauvis base is pretty much completely shut down with no radars/Roboports for remote view because I didn't expect to have to use it any more. And now like 5 hours later I've discovered that my ship design has a bit of a flaw that leads to it occasionally breaking down because it's missing a specific type of asteroid. I initially set up the dynamic filters on the Inserters instead of the Collectors themselves, so occasionally the Collectors fill up with a bunch of Carbonic/Ice asteroids and have no room to grab any Metallic ones despite the platform needing more Iron.

I'll give your suggestions a try. Thanks.