Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function queimar()
- turtle.turnRight()
- for baixo =1,5 do
- turtle.down()
- end
- for frente1 =1,5 do
- turtle.forward()
- end
- turtle.turnLeft()
- for frente2 =1,32 do
- turtle.forward()
- end
- turtle.turnLeft()
- turtle.turnLeft()
- for frente3 =1,32 do
- turtle.forward()
- end
- turtle.turnRight()
- for frente4 =1,5 do
- turtle.forward()
- end
- for cima =1,5 do
- turtle.up()
- end
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement