Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local rows =29
- t=turtle
- t.select(16)
- for i=1, rows do
- t.turnLeft()
- t.place()
- t.turnRight()
- t.turnRight()
- t.place()
- t.turnLeft()
- if i<=rows-1 then
- t.forward()
- end
- end
- t.turnLeft()
- t.turnLeft()
- for i=1, rows-1 do
- t.forward()
- end
- t.turnLeft()
- t.turnLeft()
- t.up()
- while 1==1 do
- os.sleep(60)
- t.select(15)
- t.refuel(20)
- print(turtle.getFuelLevel())
- t.select(16)
- for i=1, rows do
- t.turnLeft()
- if turtle.detect() then
- t.select(15)
- t.down()
- t.dig()
- t.forward()
- h=1
- while turtle.detectUp() do--
- h=h+1
- t.digUp()
- t.up()
- end --close while
- for i=1, h do--
- t.down()
- end --close for
- t.back()
- end
- t.select(16)
- t.place()
- t.turnRight()
- t.turnRight()
- t.up()
- if turtle.detect() then
- t.select(15)
- t.down()
- t.dig()
- t.forward()
- h=1
- while turtle.detectUp() do--
- h=h+1
- t.digUp()
- t.up()
- end--close whilke
- for i=1, h do--
- t.down()
- end--close ofr
- t.back()
- end
- t.select(16)
- t.place()
- t.up()
- t.turnLeft()
- if i<=rows-1 then
- t.forward()
- elseif i==rows then
- t.turnLeft()
- t.turnLeft()
- for i=1, rows-1 do
- t.forward()
- end
- t.turnLeft()
- t.turnLeft()
- end
- end
- end
Add Comment
Please, Sign In to add comment