Posted 06 October 2012 - 07:45 PM
I have a function that asks for a number which will go into the second number in a for loop.
It is only going down 7 blocks and won't go back up. Am I doing something wrong? I checked to make sure there was enough fuel and there was. Im stumped.
function mineStone(count) -- Asks for a count
for i = 1, count do -- The count is how many times it will loop
turtle.digDown() -- It should dig down 15 blocks
turtle.down()
end
for e = 1, count do
turtle.up() -- It should go back up 15 blocks
end
end
mineStone(15)
It is only going down 7 blocks and won't go back up. Am I doing something wrong? I checked to make sure there was enough fuel and there was. Im stumped.