Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ins ()
- block, meta = turtle.inspect()
- print(meta.metadata)
- if meta.metadata ==7 then
- turtle.digDown()
- turtle.placeDown()
- end
- end
- function avancer()
- turtle.forward()
- end
- while true do
- turtle.up()
- for i=1,7 do
- avancer()
- ins()
- end
- for j=1,3
- turtle.turnRight()
- avancer()
- ins()
- turtle.turnRight()
- for i=1,6 do
- avancer()
- ins()
- end
- turtle.turnLeft()
- avancer()
- ins()
- turtle.turnLeft()
- for i=1,6 do
- avancer()
- ins()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement