Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- amount = read()
- function diggin(amount)
- local i = 1
- for i=1,amount do
- turtle.dig()
- turtle.forward()
- turtle.digUp()
- turtle.up()
- turtle.digUp()
- turtle.down()
- turtle.down()
- end
- end
- diggin(amount)
- turtle.turnRight()
- amount = amount-1
- diggin(amount)
- turtle.turnRight()
- diggin(amount)
- turtle.turnRight()
- amount = amount-1
- diggin(amount)
- turtle.turnRight()
- amount = amount+1
- amount = amount-1
- diggin(amount)
- turtle.turnRight()
- diggin(amount)
- turtle.turnRight()
- diggin(amount)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement