this post was submitted on 30 Sep 2023
9 points (100.0% liked)
Factorio
1021 readers
20 users here now
A Lemmy community for the game Factorio made by Wube Software.
Rules
- Be a good person
- Content must relate to Factorio
- Adhere to Lemmy's Code of Conduct
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It's for loading a rocket in SE - There's a delay in when the rocket takes off and when it starts filling the storage at the other side, where the signal says it needs all the resources it's just sent out. The bots start arriving with all the items it needs, then the items that were launched land on the other side, get fed into the signal, and now it doesn't need them, so I want a blacklist filter to unload what it doesn't need.
Unfortunately it means right now that I'm unloading EVERYTHING except the first four items in the signal
Oh, I see! In my SE, I use a timer to stop the request for two minutes after launching. I am thinking to replace it with a state machine, like HAVE_REQUESTS (request active), when requests are loaded it goes to LAUNCH_READY (requests inactive), and when receiving pad signals it has cleared the pad and low bot activity it resets to first state.
Ooo that sounds good! I'll look into making a timer!
I came to this community late, but a timer is basically the common solution. It takes about 23 seconds between a rocket starting to launch and the items appearing in the landing pad.
I've been too busy to work on this yet, so you're not too late for me! That's super useful information thank you!
You could also just fill plain old normal chests with your requests and then just use a -1 to regulate requests