Jump to content




Item transfering and listing

turtle computer peripheral

3 replies to this topic

#1 PatrikF1

  • Members
  • 15 posts

Posted 08 February 2016 - 06:30 PM

Is there a way to give an output and transfer items from one chest to another and it says like

Quote

"Added [Amount] [Name]"
for example

Quote

"Added 16 Diamonds"
and it post one per line. Is it easy to do?
Im not that experienced in computercraft. Was a long time since i played with computercraft last time

#2 Dragon53535

  • Members
  • 973 posts
  • LocationIn the Matrix

Posted 08 February 2016 - 06:36 PM

Like with most things programming related, there's many ways to do it. Given which way you want to set it up, do you want to use a turtle or OpenPeripherals. (Although I don't know if OpenP allows for chest item transferring to other chests, someone else might like to confirm.)

#3 HPWebcamAble

  • Members
  • 933 posts
  • LocationWeb Development

Posted 09 February 2016 - 01:09 AM

If you only have ComputerCraft, this has to be done with a turtle, as other computers cannot interface with chests.
If you've got OpenPeripherals, any type of (block) computer can do it, since OP allows you to wrap chests as peripherals.

Let us know if you have OpenPeripherals or not, and we'll point you in the right direction.

View PostDragon53535, on 08 February 2016 - 06:36 PM, said:

(Although I don't know if OpenP allows for chest item transferring to other chests, someone else might like to confirm.)
You can, items are transferred relative to the chest, not the computer. So when you push an item up, it goes into the block above the chest, for example.

Edited by HPWebcamAble, 09 February 2016 - 01:10 AM.


#4 Dragon53535

  • Members
  • 973 posts
  • LocationIn the Matrix

Posted 09 February 2016 - 03:03 AM

View PostHPWebcamAble, on 09 February 2016 - 01:09 AM, said:

You can, items are transferred relative to the chest, not the computer. So when you push an item up, it goes into the block above the chest, for example.
Knew that, just wasn't sure how exactly that worked.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users