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

No Way For Turtle To Detect Certain Block?

Started by pcmaster160, 26 February 2012 - 05:15 PM
pcmaster160 #1
Posted 26 February 2012 - 06:15 PM
So the issue is a few things, first of all there is no way for turtles to detect a type of block just if there is a block there. So it reads lava as a block and will actually "swim" through the lava and break it like a block just not get the actual lava. I would like my program to detect lava, then pour a water bucket above it. But at the moment there is no way to "deploy" items like rp2 deployers although i could have it place down a deployer and send it a signal but I can't put a bucket in it with water and that isn't even helpful if i can't detect the lava. For the deploy function maybe you could make a deployer turtle? Would be kinda cool to make him run around and till my farms (only possible if he can detect block names though).

Also when you save and quit the turtle loses what its currently doing. so if it was mining a tunnel (for example) it just stops and sits there when you go back in the world.

The turtle api is a good start but could use some major improvements.

Also correct me if I'm wrong and i missed something in the api.
Liraal #2
Posted 26 February 2012 - 06:32 PM
well, there's no way of detecting blocks other than turtle.detect()

also, no auto-startup