Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Mining Software")
- local Tunnel_length = 100
- local way = 0
- function DigRow()
- turtle.dig()
- turtle.digUp()
- turtle.digDown()
- end
- function DigAll()
- turtle.dig()
- turtle.forward()
- DigRow()
- turtle.turnRight()
- turtle.dig()
- turtle.forward()
- DigRow()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.forward()
- turtle.dig()
- turtle.forward()
- DigRow()
- turtle.turnRight()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- end
- turtle.refuel(1)
- repeat
- DigAll()
- way = way+1
- until way == 100
- turtle.turnLeft()
- turtle.turnLeft()
- way=0
- repeat
- turtle.forward()
- way = way+1
- until way == 100
- turtle.turnLeft()
- turtle.turnLeft()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement