Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dropLoot()
- turtle.turnLeft()
- turtle.select(1)
- turtle.drop(1)
- turtle.turnRight()
- end
- while (true) do
- turtle.select(1)
- turtle.place()
- turtle.select(2)
- if(turtle.place()) then
- while (turtle.getItemCount(1) == 1) do
- dropLoot()
- end
- else
- if(turtle.getItemCount(1) == 1) then
- dropLoot()
- else
- turtle.select(1)
- turtle.dig()
- dropLoot()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement