This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
austinv11's profile picture

How Do I Get Info From An Item Inside A Turtle?

Started by austinv11, 02 November 2013 - 04:43 PM
austinv11 #1
Posted 02 November 2013 - 05:43 PM
Anything would help, whether it's getting an item name, block/item id, or meta data etc. The only thing that I could think of is the compare functions, but those aren't options for me. As i want to have a discreet 'key' system, so I don't want people being able to spot what's being compared.

Any response is appreciated :)/>
Yevano #2
Posted 02 November 2013 - 07:05 PM
Anything would help, whether it's getting an item name, block/item id, or meta data etc. The only thing that I could think of is the compare functions, but those aren't options for me. As i want to have a discreet 'key' system, so I don't want people being able to spot what's being compared.

Any response is appreciated :)/>

There's no way to get item information using the turtle API. But here's something I just thought of: If comparing would work, but you need it to be secret, have the turtle compare its item at a chest that contains your chosen item in a secret area. Not sure if this would work for what you're doing, but it's all I could come up with :P/>.
austinv11 #3
Posted 02 November 2013 - 07:54 PM
Anything would help, whether it's getting an item name, block/item id, or meta data etc. The only thing that I could think of is the compare functions, but those aren't options for me. As i want to have a discreet 'key' system, so I don't want people being able to spot what's being compared.

Any response is appreciated :)/>

There's no way to get item information using the turtle API. But here's something I just thought of: If comparing would work, but you need it to be secret, have the turtle compare its item at a chest that contains your chosen item in a secret area. Not sure if this would work for what you're doing, but it's all I could come up with :P/>.
That's fine, but i was hoping for something more aesthetically pleasing and easy to work with, but thanks for the suggestion