View difference between Paste ID: 6s8LA4M9 and VUW7a9x6
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)
8+
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(3)
19
end
20
21
function refuel()
22-
	turtle.refuel(64)
22+
	turtle.refuel(8)
23
end
24
25
function dropChest()
26
	turtle.drop(4,9)
27
end
28
29
print ("Sie haben 20 sekunden um dies zu machen.")
30
print (newline)
31
print ("<========================================>")
32
print ("Fackeln auf Slot 1 machen.")
33
print ("Cobblestone oder Erde auf Slot 2 machen.")
34
print ("Kohle auf Slot 3 machen")
35
print ("<========================================>")
36
print (newline)
37
print ("Viel spass :D")
38
39
os.sleep(20)
40
41-
for a=1,5 do
41+
for a=1,8 do
42
	refuel()
43
end
44-
			if turtle.detect()==true do
44+
45-
				turtle.dig()
45+
for b=1,5 do
46-
			then turtle.placeDown(1)
46+
47-
end
47+
48
49
turtle.placeDown(1)
50
51
for b=1,5 do
52
	digMain()
53
end
54
55
turtle.placeDown(1)
56
57
for b=1,5 do
58
	digMain()
59
		os.sleep(0.5)
60
end
61
62
turtle.placeDown(1)