Make buffer chests able to request from other buffer chests
-
- Manual Inserter
- Posts: 2
- Joined: Wed Jul 04, 2018 2:10 pm
- Contact:
Make buffer chests able to request from other buffer chests
It would be beneficial for robot based builds (asspescially with angel warehouses for exaple) to have the possibility to set a buffer chest to request from buffer chest like you can with requester chests.
Re: Make buffer chests able to request from other buffer chests
How exactly would this work? What decides if one buffer chest can request from another? If all chests could request from all other chests you would just end up with an infinite loop of resources being sent back and forth.
-
- Manual Inserter
- Posts: 2
- Joined: Wed Jul 04, 2018 2:10 pm
- Contact:
Re: Make buffer chests able to request from other buffer chests
1. Just like requester chests you could enable it, and if it's disabled they would work like they do now.LukeM wrote:How exactly would this work? What decides if one buffer chest can request from another? If all chests could request from all other chests you would just end up with an infinite loop of resources being sent back and forth.
2. You would have to watch out for loops.
I also think it would be possible to block buffer chests from supplying other buffer chests with items they them self request. (buffer --X-->buffer but buffer ----> requester)
Re: Make buffer chests able to request from other buffer chests
Never gonna happen as it is a logic loop.
Re: Make buffer chests able to request from other buffer chests
Correct.PacifyerGrey wrote:Never gonna happen as it is a logic loop.
If you want to get ahold of me I'm almost always on Discord.
Re: Make buffer chests able to request from other buffer chests
I believe that it would be possible to implement this without having the looping problem, by establishing a strict hierarchy of buffer chests. If chests are only able to request items from chests that are at least one level above them in the hierarchy, then there will never be a danger of a loop.
Such a strict hierarchy actually already exists in the game:
In order to implement the OP's suggestion, all that is necessary is to increase the number of hierarchy levels, so that there are several hierarchy levels of buffer chests. For example, if 16 levels of hierarchy existed, then the current requester chests would simply be level 1 chests, buffer chests could be set by the player to levels 2-14, storage chests would be level 15 and provider chests would be level 16.
That way, requester chests (level 1) can request items from buffer chests (levels 2-14), from storage chests (level 15) and from provider chests (level 16). However, they cannot request items from other requester hests (level 1), due to the rule that chests can only request items from chests that are above them in the hierarchy.
Level 3 buffer chests, on the other hand, will only be able to request items from level 4-16 chests, but not from requester chests (level 1) or level 2-3 buffer chests.
Also, it could be useful if it were possible for the circuit network to dynamically change the hierarchy level of a buffer chest, for added flexibility. If it were also possible to dynamically set a buffer chest to hierarchy level 1 (=requester chest), then such a level 1 buffer chests would behave exactly like a requester chest, which could also be useful.
Such a strict hierarchy actually already exists in the game:
- Hierarchy Level 1: requester chests
- Hierarchy Level 2: buffer chests
- Hierarchy Level 3: storage chests
- Hierarchy Level 4: passive/active provider chests
In order to implement the OP's suggestion, all that is necessary is to increase the number of hierarchy levels, so that there are several hierarchy levels of buffer chests. For example, if 16 levels of hierarchy existed, then the current requester chests would simply be level 1 chests, buffer chests could be set by the player to levels 2-14, storage chests would be level 15 and provider chests would be level 16.
That way, requester chests (level 1) can request items from buffer chests (levels 2-14), from storage chests (level 15) and from provider chests (level 16). However, they cannot request items from other requester hests (level 1), due to the rule that chests can only request items from chests that are above them in the hierarchy.
Level 3 buffer chests, on the other hand, will only be able to request items from level 4-16 chests, but not from requester chests (level 1) or level 2-3 buffer chests.
Also, it could be useful if it were possible for the circuit network to dynamically change the hierarchy level of a buffer chest, for added flexibility. If it were also possible to dynamically set a buffer chest to hierarchy level 1 (=requester chest), then such a level 1 buffer chests would behave exactly like a requester chest, which could also be useful.
Last edited by Tekky on Sat Jul 07, 2018 2:30 pm, edited 3 times in total.
Re: Make buffer chests able to request from other buffer chests
Just use request chest, buffer chest and inserter between them. Some circuit logic must breake the loop.
Re: Make buffer chests able to request from other buffer chests
I believe it must be somehow possible to do it without loops because fluid tanks already do this: they equalize their contents between each other when connected