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