SHOW:
|
|
- or go back to the newest paste.
1 | ---------------------------cfg | |
2 | local qua = 1 | |
3 | local dia = 2 | |
4 | local draco = 3 | |
5 | local stone = 5 | |
6 | local obsi = 6 | |
7 | local glow = 7 | |
8 | local time = 3 | |
9 | ||
10 | ||
11 | -----------------funct | |
12 | ||
13 | local function scroll() | |
14 | turtle.select(1) | |
15 | turtle.select(2) | |
16 | turtle.select(3) | |
17 | turtle.select(5) | |
18 | turtle.select(6) | |
19 | turtle.select(7) | |
20 | sleep(0.5) | |
21 | end | |
22 | ||
23 | ||
24 | local function pil() | |
25 | turtle.select(qua) | |
26 | turtle.place() | |
27 | move.u() | |
28 | turtle.select(dia) | |
29 | turtle.place() | |
30 | move.r(3) | |
31 | turtle.select(draco) | |
32 | turtle.placeUp() | |
33 | turtle.select(qua) | |
34 | turtle.placeDown() | |
35 | move.b() | |
36 | turtle.place() | |
37 | end | |
38 | ||
39 | ||
40 | local function pos() | |
41 | move.d() | |
42 | move.b(2) | |
43 | move.tr() | |
44 | end | |
45 | ||
46 | ||
47 | local function base() | |
48 | turtle.digDown() | |
49 | move.f() | |
50 | turtle.digDown() | |
51 | turtle.select(obsi) | |
52 | turtle.placeDown() | |
53 | move.tl() | |
54 | move.f() | |
55 | move.tl() | |
56 | turtle.digDown() | |
57 | turtle.select(glow) | |
58 | turtle.placeDown() | |
59 | move.f() | |
60 | turtle.digDown() | |
61 | turtle.select(obsi) | |
62 | turtle.placeDown() | |
63 | move.f() | |
64 | turtle.digDown() | |
65 | turtle.select(glow) | |
66 | turtle.placeDown() | |
67 | move.tl() | |
68 | move.f() | |
69 | turtle.digDown() | |
70 | turtle.select(obsi) | |
71 | turtle.placeDown() | |
72 | move.f() | |
73 | turtle.digDown() | |
74 | turtle.select(glow) | |
75 | turtle.placeDown() | |
76 | move.tl() | |
77 | move.f() | |
78 | turtle.digDown() | |
79 | turtle.select(obsi) | |
80 | turtle.placeDown() | |
81 | move.f() | |
82 | turtle.digDown() | |
83 | turtle.select(glow) | |
84 | turtle.placeDown() | |
85 | end | |
86 | ||
87 | ||
88 | -----------------------------start | |
89 | ||
90 | ||
91 | term.clear() | |
92 | term.setCursorPos(1,1) | |
93 | ||
94 | - | while turtle.getFuelLevel() < 80 do |
94 | + | |
95 | print("Items wie angezeigt einlegen:") | |
96 | sleep(0.5) | |
97 | - | print("Nicht genügend Fuel (", turtle.getFuelLevel(), ").") |
97 | + | |
98 | - | turtle.refuel() |
98 | + | |
99 | - | sleep(1) |
99 | + | |
100 | end | |
101 | ||
102 | ||
103 | turtle.select(obsi) | |
104 | term.clear() | |
105 | term.setCursorPos(1,1) | |
106 | print("4 Obsidian") | |
107 | sleep(time) | |
108 | ||
109 | turtle.select(glow) | |
110 | term.clear() | |
111 | term.setCursorPos(1,1) | |
112 | print("4 Glowstone Blocks") | |
113 | sleep(time) | |
114 | ||
115 | turtle.select(qua) | |
116 | term.clear() | |
117 | term.setCursorPos(1,1) | |
118 | print("12 Quartz Pillar Blocks") | |
119 | sleep(time) | |
120 | ||
121 | turtle.select(dia) | |
122 | term.clear() | |
123 | term.setCursorPos(1,1) | |
124 | print("4 Dia Blocks") | |
125 | sleep(time) | |
126 | ||
127 | turtle.select(draco) | |
128 | term.clear() | |
129 | term.setCursorPos(1,1) | |
130 | print("4 CHARGED Draconium Blocks") | |
131 | sleep(time) | |
132 | ||
133 | ||
134 | turtle.select(stone) | |
135 | term.clear() | |
136 | term.setCursorPos(1,1) | |
137 | print("1 Resurrection Stone") | |
138 | sleep(time) | |
139 | ||
140 | ||
141 | term.clear() | |
142 | term.setCursorPos(1,1) | |
143 | print("Here we go!") | |
144 | ||
145 | ||
146 | base() | |
147 | move.l() | |
148 | move.f(2) | |
149 | ||
150 | for i=1,3 do | |
151 | pil() | |
152 | pos() | |
153 | end | |
154 | ||
155 | pil() | |
156 | ||
157 | move.d() | |
158 | move.b(2) | |
159 | move.tl() | |
160 | move.f(3) | |
161 | turtle.select(stone) | |
162 | turtle.placeDown() | |
163 | move.b() | |
164 | ||
165 | term.clear() | |
166 | term.setCursorPos(1,1) | |
167 | print("Done") |