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

The turtle.compare

Started by delusionallogic, 13 May 2012 - 08:43 AM
delusionallogic #1
Posted 13 May 2012 - 10:43 AM
I've been making a mining interface for the turtle for a little bit. It seems like i have no way of knowing if i can pick a block up if it does not drop the id it is. would it be possible to either get a "CompareDrop()" function or a "getSlotID(slotnum)" (get the id of the block in the inventory slot) and "GetBlockID()" (get the id of the block infront)
Xfel #2
Posted 13 May 2012 - 12:05 PM
This has been suggested many times before, and it's clear that your turtle will never ever get block or item ids. But compare looking at block drops would be definetely nice. It would not make the too overpowered, as some people fear of block-analyzing turtles. If dan ever makes turtles moddable like peripherals, you might want to look at the advanced item processing mod.