Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local flintCount = turtle.getItemCount(1) > 0
- function gravelPlace()
- turtle.select(1)
- while true do
- turtle.place()
- break
- end
- end
- function gravelDig()
- while turtle.detect() do
- turtle.dig()
- break
- end
- end
- function flint()
- for i = 1, flintCount, 1 do
- gravelPlace()
- gravelDig()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment