Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --fuel and item check
- if turtle.getFuelLevel()<60 then
- turtle.select(1)
- turtle.refuel(10)
- end
- if turtle.getItemCount(2)<1 then
- print "place:Slot1-Fuel, Slot2-Turtle Ender Chest, Slot3-5 Chests, Slot4-Stone, Slot5-Dirt Slot6-To Sorting Ender Chest and restart"
- turtle.reboot()
- end
- --cycle for collecting turtle and chest
- for d=1,5 do
- turtle.down()
- turtle.down()
- --empty chest
- turtle.select(6)
- turtle.placeUp()
- for e=1,27 do
- turtle.suckDown()
- turtle.dropUp()
- end
- turtle.digUp()
- turtle.select(3)
- turtle.digDown()
- --empty turtle
- turtle.down()
- turtle.select(4)
- turtle.suck()
- turtle.select(5)
- turtle.suck()
- --pick up turtle into ender chest
- turtle.select(2)
- turtle.placeUp()
- turtle.dig()
- turtle.dropUp()
- turtle.digUp()
- end
- print "Collection Complete. Initiating Setup."
- --start loop for placing turtles 5x
- for p=1,5 do
- --get into position
- for d=1,3 do
- turtle.digDown()
- turtle.down()
- turtle.dig()
- end
- --place Turtles from ender chest
- turtle.select(2)
- turtle.placeUp()
- turtle.suckUp(1)
- turtle.place()
- turtle.digUp()
- --place stone and dirt in turtle
- turtle.select(4)
- turtle.drop(1)
- turtle.select(5)
- turtle.drop(1)
- end
- --place chests
- turtle.select(3)
- for u=1,5 do
- turtle.up()
- turtle.placeDown()
- turtle.up()
- turtle.up()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement