View difference between Paste ID: Gh9vbhW5 and iWfSK6cX
SHOW: | | - or go back to the newest paste.
1
--fuel check
2
	if turtle.getFuelLevel()<60 then
3
		turtle.select(1)
4
		turtle.refuel(10)
5
	end
6
 
7
	if turtle.getItemCount(2)<1 then
8
		print "place:Slot1-Fuel, Slot2-Turtle Ender Chest, Slot3-5 Chests, Slot4-Stone, Slot5-Dirt Slot6-To Sorting Ender Chest and restart"
9
		turtle.reboot()
10
	end
11
12-
--digDown 15 times
12+
--start loop for 5x
13-
	for d=1,15 do
13+
14-
		turtle.digDown()
14+
--get into position
15-
		turtle.down()	
15+
		for d=1,3 do
16
			turtle.digDown()
17
			turtle.down()
18
			turtle.dig()		
19-
		turtle.dig()
19+
		end
20
--place Turtles from ender chest
21
		turtle.select(2)
22-
		turtle.select(16)
22+
23
		turtle.suckUp(1)	
24
		turtle.place()
25
		turtle.digUp()
26
--place stone and dirt in turtle
27
		turtle.select(4)
28
		turtle.drop(1)
29
		turtle.select(5)
30-
--place chest
30+
31
	end
32
--place chests
33
	turtle.select(3)
34-
		turtle.select(3)
34+
	for u=1,5 do
35
		turtle.up()
36
		turtle.placeDown()
37
		turtle.up()
38
		turtle.up()
39
	end