Posted 25 December 2012 - 07:07 AM
here is a copy of my code.
For some reason the code breaks at line 30 and @ select 2 place doesnt use the bonemeal on the saplings and mines the sapling away instead please help
x = "0"
print "This is a TEST program it WILL break."
print "Please make sure to place saplings in the first slot and bonemeal in the second"
sleep(10)
turtle.select(1)
turtle.place()
turtle.back()
turtle.place()
turtle.turnRight()
turtle.forward()
turtle.turnLeft()
turtle.forward()
turtle.place()
turtle.back()
turtle.place()
turtle.turnLeft()
turtle.forward()
turtle.turnRight()
turtle.select(2)
turtle.place()
sleep(2)
while turtle.detect() do
turtle.dig()
turtle.digUp()
turtle.up()
x = "x + 1"
end
while turtle.detectdown() == false do
turtle.down()
end
For some reason the code breaks at line 30 and @ select 2 place doesnt use the bonemeal on the saplings and mines the sapling away instead please help