Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Mine()
- turtle.dig()
- turtle.forward()
- turtle.digUp()
- end
- function count()
- -- input count on second nm --
- for i = 1, 100 do
- Mine()
- print(i)
- i = i + 1
- end
- chest()
- next()
- Mine()
- print("Stopped")
- end
- function chest()
- turtle.select(15)
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.place()
- dropoff()
- turtle.dig()
- turtle.select(1)
- turtle.transferTo(15)
- turtle.turnLeft()
- turtle.turnLeft()
- end
- function dropoff()
- turtle.select(1)
- turtle.drop()
- turtle.select(2)
- turtle.drop()
- turtle.select(3)
- turtle.drop()
- turtle.select(4)
- turtle.drop()
- turtle.select(5)
- turtle.drop()
- turtle.select(6)
- turtle.drop()
- turtle.select(7)
- turtle.drop()
- turtle.select(8)
- turtle.drop()
- turtle.select(9)
- turtle.drop()
- turtle.select(10)
- turtle.drop()
- turtle.select(11)
- turtle.drop()
- turtle.select(12)
- turtle.drop()
- turtle.select(13)
- turtle.drop()
- turtle.select(14)
- turtle.drop()
- turtle.select(1)
- end
- function next()
- turtle.turnLeft()
- Mine()
- Mine()
- Mine()
- turtle.turnLeft()
- end
- i = 1
- count()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement