Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- B = 0
- C = 0
- function start1x3()
- A = A + 1.92
- turtle.dig()
- turtle.forward()
- turtle.digUp()
- turtle.digDown()
- term.clear()
- term.setCursorPos(1,1)
- print("Room "..A.."% complete")
- sleep(0.05)
- end
- function start3x3()
- start1x3()
- turtle.turnLeft()
- start1x3()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.forward()
- start1x3()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- end
- --Program Start
- A = 0
- print("Digging room...")
- sleep(2)
- start3x3()
- start1x3()
- turtle.turnLeft()
- repeat
- start1x3()
- until A == 13.44
- repeat
- turtle.turnRight()
- B = 0
- repeat
- start1x3()
- B = B + 1
- until B == 6
- C = C + 1
- until C == 3
- turtle.turnRight()
- B = 0
- C = 0
- repeat
- start1x3()
- B = B + 1
- until B == 3
- turtle.turnRight()
- start1x3()
- turtle.turnRight()
- B = 0
- repeat
- start1x3()
- B = B + 1
- until B == 2
- B = 0
- repeat
- turtle.turnLeft()
- B = 0
- C = C + 1
- repeat
- start1x3()
- B = B + 1
- until B == 4
- until C == 3
- turtle.turnLeft()
- start1x3()
- turtle.forward()
- turtle.turnLeft()
- B = 0
- repeat
- start3x3()
- B = B + 1
- until B == 3
- B = 0
- term.clear()
- term.setCursorPos(1,1)
- print("Room 100% Complete")
- repeat
- turtle.back()
- B = B + 1
- until B == 6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement