r/ComputerCraft • u/Jonrrrs • Oct 18 '26
Transfering items over wired networks
Hello, transfering items between turtles and chests via a wired network in cc:Tweaked works great. I can just pull/push items from/to any chest connected to that network, once the chest is wrapped in a peripheral.
I also tried that with turtle to turtle transfer, but wrapping a remote turtle in a peripheral just gives me getId, isOn... on that turtle, without any method to transfer to/from the inventory.
While the workaround of pushing items to a chest and pulling from that chest from the other side works fine, its still a workaround with downsides
Before i spam any code, or any more text, i wanna ask if thats even possible, or if i must think of a better working workaround
1
u/SirEdvin Oct 18 '26
There is no way to wrap turtle as inventory peripheral without addons. But with UnlimitedPeripheralWorks it comes out of the box, wrapped turtle will also provide inventory methods
1
u/ShreksHellraiser Oct 19 '26
Everyone is massively overcomplicating this. Just use the turtle as the target for inventory operations (see modem.getNameLocal)
3
u/IJustAteABaguette Oct 18 '26
I haven't used it before, but apparently something called turtle_storage exists? Maybe something on this page could help?
https://tweaked.cc/peripheral/turtle_storage.html
1
u/Bright-Historian-216 Oct 18 '26
you can use turtle.drop i think, if the block in front of the turtle is an inventory the item will be pushed in instead of dropped on the ground