this post was submitted on 17 Jan 2025
18 points (100.0% liked)
Factorio
1133 readers
42 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
A quick and dirty kind of way is to take the signal you wanna send, run it into the radar, but also run it into a decider combinator set to a number variable.
Like if I wanted to send 30 copper plates to station 4, I send it to a decider combinator that's always true, and has 2 outputs, one that outputs any, so the copper plate signal will pass through, and a second output for the number_4 signal, so number_4 and copper plates have the same value.
Then at station 4, I compare every signal to number_4, and if they're equal, I pass them through.
This has a flaw. Notably, requests with the same value. 30 iron plates to station 3 and 30 copper to station 4 will give each station iron and copper signals.
There's ways to encode a signal that avoid those problems, but this is a very simple one that'll still pull the right output all the time if you work around that limitation.