Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mined = 0
- moved = 0
- while 1<2 do
- if turtle.detectUp() then
- turtle.digUp()
- mined = mined + 1
- end
- if turtle.getItemCount()>0 then
- moved = moved + 1
- turtle.drop()
- end
- sleep(0.5)
- print("Mined: "..tostring(mined))
- print("Moved: "..tostring(moved))
- end
Add Comment
Please, Sign In to add comment