View difference between Paste ID: HKZyP43W and 6MTnuG7F
SHOW: | | - or go back to the newest paste.
1-
function digMain()
1+
2-
	turtle.dig()
2+
	turtle.refuel(8)
3
end
4-
	turtle.digUp()
4+
5
function comeback()
6
	turtle.forward()
7-
function placeTorch()
7+
8-
	turtle.placeDown(1)
8+
9
print ("<============================>")
10
print ("       Kohle auf slot 1       ")
11-
function zurueck()
11+
print ("      Fackeln auf slot 2      ")
12-
	turtle.turnRight()
12+
print ("    Cobblestone auf slot 3    ")
13-
	turtle.turnRight()
13+
print ("    10 sekunden verbleiben    ")
14-
	turtle.forward(15)
14+
print ("<============================>")
15
16
os.sleep(15)
17-
function placeBlockBelow()
17+
18-
	turtle.placeDown(2)
18+
for i=1,8 do
19
	refuel()
20
end
21
22-
	turtle.refuel(64)
22+
turtle.dig()
23
os.sleep(0.5)
24
	while turtle.detect()==true do
25-
function dropChest()
25+
		turtle.dig()
26-
	turtle.drop(4,9)
26+
	end
27
turtle.forward()
28
turtle.digUp()
29
30-
print ("<================================>")
30+
turtle.dig()
31-
print ("Fackeln auf Slot 1 machen.")
31+
os.sleep(0.5)
32-
print ("Cobblestone auf Slot 2 machen.")
32+
	while turtle.detect()==true do
33-
print ("Kohle auf Slot 3 machen")
33+
		turtle.dig()
34-
print ("<================================>")
34+
	end
35-
print ("Viel spass :D")
35+
turtle.forward()
36
turtle.digUp()
37
38
turtle.dig()
39-
turtle.refuel(3)
39+
os.sleep(0.5)
40
	while turtle.detect()==true do
41-
for a=1,5 do
41+
		turtle.dig()
42-
	digMain()
42+
	end
43
turtle.forward()
44
turtle.digUp()
45-
turtle.placeDown(1)
45+
46
turtle.dig()
47-
for a=1,5 do
47+
os.sleep(0.5)
48-
	digMain()
48+
	while turtle.detect()==true do
49
		turtle.dig()
50
	end
51-
turtle.placeDown(1)
51+
turtle.forward()
52
turtle.digUp()
53-
for a=1,5 do
53+
54-
	digMain()
54+
turtle.dig()
55-
		os.sleep(0.5)
55+
os.sleep(0.5)
56
	while turtle.detect()==true do
57
		turtle.dig()
58-
turtle.placeDown(1)
58+
	end
59
turtle.forward()
60
turtle.digUp()
61
62
turtle.placeDown(2)
63
64
turtle.turnRight()
65
turtle.turnRight()
66
67
for j=1,5 do
68
	comeback()
69
end