Page 1 of 1

Linked chest wire interface

Posted: Wed Jul 28, 2021 4:14 pm
by everything-narrative
TL;DR
The linked chest cheat item does not support wire connections — it should work the same
as other chests.
What ?
Linked chests are a cheat item that allows separate chests to have the same inventory, using a 32 bit ID. It can be created in Editor mode.

Currently, wires cannot connect to linked chests, and so the content of the chest(s) cannot be read.

This is NOT a proposal that it should be possible to set the ID of a linked chest using wire. Just that it work the same as all (well, most) other
chests.
Why ?
Unless there exists a specific engine limitation, this should be a very minor change, and it would allow modders and scenario
creators to exploit this new interesting entity prototype to its fullest..

Re: Linked chest wire interface

Posted: Wed Jul 28, 2021 8:44 pm
by PFQNiet
Although, setting linked chest ID by circuit signal would be interesting...

Re: Linked chest wire interface

Posted: Thu Jul 29, 2021 2:13 pm
by everything-narrative
PFQNiet wrote:
Wed Jul 28, 2021 8:44 pm
Although, setting linked chest ID by circuit signal would be interesting...
But not the point of this suggestion.

Re: Linked chest wire interface

Posted: Mon Sep 06, 2021 4:04 am
by Impatient
+10

Re: Linked chest wire interface

Posted: Fri Sep 24, 2021 3:05 pm
by Rseding91
What's the use-case for reading what's in the chest? Since the contents are shared globally across all chests with that ID I don't see much point in reading the contents with wires.

Re: Linked chest wire interface

Posted: Fri Sep 24, 2021 3:19 pm
by Impatient
This is one usecase:
https://mods.factorio.com/mod/SchallAut ... b762e32ad7

The creation of nonsquare shaped "chests" which can be connected to the circuit network.

Re: Linked chest wire interface

Posted: Fri Sep 24, 2021 5:17 pm
by curiosity
Rseding91 wrote:
Fri Sep 24, 2021 3:05 pm
Since the contents are shared globally across all chests with that ID I don't see much point in reading the contents with wires.
This doesn't follow. It doesn't matter if contents are shared or not and between how many chests when you can't get them into a circuit network.

edit: And the point is automation. You can sort of hack it with other entities by logging inserter actions to a memory cell, but other entities can only be in one place at a time, unlike linked chests. So you can't know the contents to act on them automatically.

Re: Linked chest wire interface

Posted: Fri Oct 15, 2021 5:03 pm
by -DeadlyKitten
+1

Why allow connection to circuit network?

exactly the same reasons as normal chests link to the circuit network
automation

I found this issue when trying to make inserters keep 1 stack of each of a couple different item in the linked chest

another 2nd example would to increase effective storage of the linked chest
if iron > 1000 then pull iron from the linked chest into disconnected storage.
if iron < 500 put iron back into the linked chest

neither of these can be done without knowledge of what is in the chest

Edit: picture of 2nd example
does not work because chest contents cannot be read
Screenshot 2021-10-15 111544.png
Screenshot 2021-10-15 111544.png (206.03 KiB) Viewed 3838 times

Re: Linked chest wire interface

Posted: Sat Oct 16, 2021 3:16 am
by mrvn
+1

Re: Linked chest wire interface

Posted: Fri Oct 22, 2021 5:25 pm
by -DeadlyKitten
Rseding91 wrote:
Fri Sep 24, 2021 3:05 pm
What's the use-case for reading what's in the chest? Since the contents are shared globally across all chests with that ID I don't see much point in reading the contents with wires.
we have given several answers now about why this is useful, can you please either implement it or respond?

Re: Linked chest wire interface

Posted: Wed Jul 13, 2022 6:02 pm
by TwentyEighty
+1 this would be very helpful.

Re: Linked chest wire interface

Posted: Thu Jul 14, 2022 7:51 pm
by Rseding91
Ok, I added circuit wire support for the next release.