Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.write("How far shall i dig?: ")
- distance = read()
- print("Digging a 1x3 tunnel for "..distance.." blocks...")
- for i = 1, distance
- do
- turtle.dig()
- turtle.forward()
- turtle.digUp()
- turtle.digDown()
- end
Advertisement
Add Comment
Please, Sign In to add comment