I have no idea what I'm looking at... I assumed this fCPU plugin was going to be with IF statements... I was looking for more something to set filters on filter inserters like (If [Copper-Ore] < [Iron-Ore]) { output [Copper-Ore] } where the copper-ore would be used to set the filter on an inserter. I'm not a programmer, I don't know programming languages but I can use my google-foo techniques to figure stuff out, however, I have no clue what this is written in or what to use in it.
It's a more simplified version of Assembly Language. Some psuedocode for what you're describing would be: tlt X[copper ore] Y[iron ore] mov out1 Z[copper ore] Just make sure to place amounts right next to the symbols (shown above as the X,Y,Z letters) otherwise it will output the default value of zero amount of that type. As for loading the input signals into the registers so they can be worked on by fCPU you need to load them in via command beforehand, which I went over in the section covering Basic I/O: th-cam.com/video/W84qXtIKae4/w-d-xo.html
Although it sounds very complicated at first (because there is a bit of a learning curve when getting started) it's WAY better to use fCPU when doing things that would require more than just a small number of combinators, namely because combinators are a living nightmare to debug. With fCPU you can just go back through your code , which you can comment on what everything does.
Big thanks for creating this tutorial series, was very helpful for me to get startet 👍
You're welcome!
I have no idea what I'm looking at... I assumed this fCPU plugin was going to be with IF statements... I was looking for more something to set filters on filter inserters like (If [Copper-Ore] < [Iron-Ore]) { output [Copper-Ore] } where the copper-ore would be used to set the filter on an inserter.
I'm not a programmer, I don't know programming languages but I can use my google-foo techniques to figure stuff out, however, I have no clue what this is written in or what to use in it.
It's a more simplified version of Assembly Language. Some psuedocode for what you're describing would be:
tlt X[copper ore] Y[iron ore]
mov out1 Z[copper ore]
Just make sure to place amounts right next to the symbols (shown above as the X,Y,Z letters) otherwise it will output the default value of zero amount of that type.
As for loading the input signals into the registers so they can be worked on by fCPU you need to load them in via command beforehand, which I went over in the section covering Basic I/O:
th-cam.com/video/W84qXtIKae4/w-d-xo.html
Although it sounds very complicated at first (because there is a bit of a learning curve when getting started) it's WAY better to use fCPU when doing things that would require more than just a small number of combinators, namely because combinators are a living nightmare to debug. With fCPU you can just go back through your code , which you can comment on what everything does.
Like and comment to support channel.