this post was submitted on 08 Dec 2024
75 points (100.0% liked)
Factorio
1185 readers
1 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
Could you please also show the circuit logic?
I'm close to 1000 hours on Factorio (that's just Steam; damn my life) but I never went strong on circuits; they feel either intimidating or a giant rabbit hole. I'd like to learn a bit by copying...
It looks like:
Constant combinator with the three things he wants
A decider combinator : for each signal on red, if it's greater then green (what's in the storage tanks) output each signal
A selector combinator: probably choosing the biggest signal (the type of fuel most in need)
The core is a constant combinator with levels I want outputting on the red line, an arithmetic combinator which takes in green for gathered amount and red for requested amount. This core can be used for anything where I want to know how short I am on something. For the fuel specifically I can just use a selector combinator to see what is most in need and make that, and set water to be higher than the other two so I don't accidentally run out of both water and something else and have it try and make the other thing with no available water. For other systems, such as an omni-assembler that's trying to make belts and gears, the logic to choose what to build isn't quite as simple.