Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 1=sandstone
- -- 2=bois
- -- 3=cobble
- -- 4=poudre d'os
- -- 5=pousse
- while True do
- turtle.select(1)
- if (turtle.compareDown(1)) then
- turtle.turnRight()
- if (turtle.compare(5)) then
- turtle.select(4)
- turtle.place()
- turtle.turnLeft()
- elseif (turtle.detect()) then
- else
- turtle.select(5)
- turtle.place()
- turtle.turnLeft()
- end
- elseif (turtle.compareDown(2)) then
- turtle.turnRight
- elseif (turtle.compareDown(3)) then
- sleep(4)
- else
- turtle.forward
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement