Logistics Combinator


Circuit-controlled combinators that dynamically inject and remove named logistics groups based on circuit conditions

Content
7 days ago
2.0
161
Logistic network Circuit network

b Everything, Each and anything doesn't work

a month ago

It doesn't seem to work correctly with conditions using "Each", "Everything" or "Anything". For example if I set the condition to be "Everything = 0", and I give it a signal, it still remains true.

a month ago

Ugg, thanks. I'll open a ticket. Expect at least 2 weeks for me to get around to it.

a month ago

OK. This is what I think I'm going to do (different than the other comment I just deleted):
Anything => Each signal compared to a constant (OR)
Everything => Each signal compared to a constant (AND)
Each => Each signal compared to its counterpart. True if Any condition is true (OR)

Doesn't seem like I can tap into the GUI components or standard circuit evaluation from the core so it won't be as clean as I'd like it but hopefully...

a month ago

OK try it.

28 days ago

I have done some testing, and it works for the most part, but they are registering false for "Everything" if they receive no signal even if the condition is true. One test I made is I put both combinators with the condition "Everything = 0" to activate the same group in 2 constant combinators, but neither did anything despite receiving no signal at all. I also tried "Everything < 3" and when receiving no signal, they registered false, but once I gave them a signal of 1, they registered true.

27 days ago

OK updated. I think it matches decider combinator now. If you see any issues/suggestions keep me updated.

23 days ago

I actually have a suggestion that I would love. I have made some one time request system by utilizing Mozetor's Logistic Group Combinator using 2 Logistic Groups, one for the input of requests, and one that is the actual request group that gets items arrived subtracted from, and I have most working except for a way to reset the input group automatically.

The thing about the Logistic Group Combinators is that the logistic group needs to be disabled in the combinator, or it will read it's own signal too. So if you could add an option to insert the groups while keeping them disabled, that would be awesome.

22 days ago
(updated 22 days ago)

A global switch on the combinator to insert disabled work for you?

21 days ago
(updated 21 days ago)

Wait he left the disable all output toggle on his combinator. You could just toggle that. He should probably default it to off.

20 days ago

Damn... You're right and I am dumb. For some reason I had it in my head that that would make it stop working. Lol.

20 days ago

Hm. There is actually another compatibility issue your mod can potentially fix for me in the one time request system between the Logistic Group Combinator and the Planet Request Group mod, and I tried to make it work yesterday but had a few issues. I currently use 3 groups per planet atm.
One is a input group that I put the requests into.
One is a auto group.
And lastly a Planet Request Group which I added as an extension to try to make it work with Planet Request Group mod.

It is basically made up of 2 circuits in a way. First is the circuits that control the Auto Request Group, which is on the planet that I want to request items to. It takes the content of the Input Group minus the received items from space platforms to decrease the items in the auto group as they arrive.
The second circuit is one to make it work with the planet request group that finds the best planet to get an item from and adds that item to logistic group that is active on a space platform for this task designated to that planet. This is where LGC is messing it up a bit, as it updates the Request Groups every tick while sending info, and it defaults the planet imports to Nauvis. But if I use your combinator to only inject the Planet Request Group into the LGC if there is a difference between the signal on the green wire going to the LGC and the content of the group belonging to the group to make it inject the group only for a small tick, I am hoping the Planet Request Group will assign the planet to the correct one afterwards.

I tried to make it work yesterday but it didn't seem to change the LGC for some reason, even if it's conditions were changed. Will have to test more tonight, as I have seen it being able to inject and remove groups in the LGC. I will see what I can figure out. Just wanted to inform you of the issues I have and what I am trying to make work.

19 days ago

I have done some testing and I can't seem to make any of your combinators work anymore.

11 days ago

... did the last update break things? Sorry, been away.

7 days ago

OK I fixed an issue with constant combinators. Chests should have been working all along.

Can you please tell me if it is still broken for you?

5 days ago

It seems to be working again. Time to test some ideas :p

New response