Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function queimar()
- turtle.turnRight()
- for queimar =0,5 do
- turtle.forward()
- end
- turtle.drop()
- turtle.turnLeft()
- turtle.turnLeft()
- for voltar =0,5 do
- turtle.forward()
- end
- turtle.turnRight()
- end
- while true do
- for frente =0,7 do
- local sucess, data = turtle.inspect()
- if sucess == true then
- if data.state.age == 7 then
- turtle.dig()
- turtle.place()
- end
- end
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- end
- turtle.turnRight()
- for tras =0,7 do
- turtle.forward()
- end
- turtle.turnLeft()
- if turtle.getItemCount() >= 32 then
- queimar()
- end
- end
Add Comment
Please, Sign In to add comment