View difference between Paste ID: M67RPEsk and q0ggsSuL
SHOW: | | - or go back to the newest paste.
1
-- CONSTANTS
2
local INTERVAL = 120
3
local PIPE_SIDE = "bottom"
4
local REQUEST_IDS = {
5
6
--Swords       
7
267,   --Iron
8
268,   --Wood
9
272,   --Stone
10
276,   --Diamond
11
283,   --Gold
12
4369,  --Quarz
13
5648,  --Green Sapphire
14
5649,  --Ruby
15
5650,  --Blue Sapphire
16
30198, --Bronze
17
18-
--Pickaxe
18+
19-
257,   --Iron
19+
20-
270,   --Wood
20+
21-
274,   --Stone
21+
22-
278,   --Diamond
22+
23-
285,   --Gold
23+
24-
4368,  --Quarz
24+
25-
5633,  --Green Sapphire
25+
26-
5634,  --Ruby
26+
27-
5635,  --Blue Sapphire
27+
28-
30200, --Bronze
28+
29
		conv = nbt["value"]
30-
--Axe
30+
31-
258,   --Iron
31+
32-
271,   --Wooden
32+
33-
275,   --Stone
33+
34-
279,   --Dia
34+
35-
286,   --Gold
35+
36-
4365,  --Quarz
36+
37-
5590,  --Green Sapphine
37+
38-
5591,  --Ruby
38+
39-
5592,  --Blue Sapphire
39+
40-
30199, --Bronze
40+
41
	for _, id in pairs(REQUEST_IDS) do
42-
--Shovel
42+
43-
256,   --Iron
43+
44-
269,   --Wooden
44+
45-
273,   --Stone
45+
46-
277,   --Dia
46+
47-
284,   --Gold
47+
48-
4367,  --Quarz
48+
49-
5637,  --Green Sapphire
49+
50-
5638,  --Ruby
50+
51-
5639,  --Blue Sapphire
51+
52-
30197, --Bronze
52+
53
	for i, result in pairs(getItems(pipe)) do
54-
--Battle Axe
54+
55-
11532, --Iron
55+
56-
11530, --Wooden
56+
57-
11531, --Stone
57+
58-
11533, --Dia
58+
59-
11534, --Gold
59+
60
		if inList(item) then
61-
--Hoe
61+
62-
292,   --Iron
62+
63-
290,   --Wood
63+
64-
291,   --Stone
64+
65-
293,   --Dia
65+
66-
294,   --Gold
66+