-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output to free inventories? #187
Comments
Maybe you could do an if statement to check if any machine has slurry in the output and only if not do you move the ores? |
Although it will work in this scenario, i cant come to a solution where i will need to push bunch of different resources only in those machines that already have water (for example) in them.
yeah, it not accurately aligns with current i/o flow and i didnt dig in in implementing of sorting in mod, but i dont want to get my iron stuck in machine that is not ready (and i dont get they idea of ANY word except the case you provided about checking if any is not empty) |
example of current problem:
i will end up with 2 bio fuels in random machines with 300 gas or even without because i cant control distribution properly or didnt get idea from examples as they are targeted to if any machine has item:: do output to each machine? no control whatsoever same issue is with infusing factory when resources end up in random machines (i.e iron and redstone) because all i have is output to each and no output if gt... |
Adding a looping structure is on the todo list until then it's only possible by adding a unique label to the machines and using a separate if statement |
Unique labels can be a solution, but i cant copypaste 8 lines of code for each machine, it would be a solution if FUNCTION mekanism was present to reuse code. |
As mod uses pseudocode and im not familiar with all the rules, i cannot come to conclusion how to output to machines that have free inventories
(all examples(git&ingame) are about conditioning based on input inventories and even w/ "some dest1"(i.e.) i cant choose those "some" destination inventories that triggered "if" code block to put items to).Idea example:
Example 2: one input chest, cables and 10 machines, machines are fast to input and process, but very slow to output so they clog up processing new items and keep collecting items to process while other machines (whose output was already taken) are stalling (for sure i can do something w/ outputting faster, but that's not the issue).
Would be very thankful to get a code example as i dont really want to roll to computercraft.
Maybe aliases could help?
The text was updated successfully, but these errors were encountered: