@skyblock-finance/actions 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/$schema.json +83 -265
- package/data/enchantments.json +8902 -0
- package/data/merchants/einary.json +19 -0
- package/data/merchants/nemo.json +37 -0
- package/data/merchants/skymart.json +0 -138
- package/data/north-stars-crafts.json +0 -124
- package/dist/.tsbuildinfo +1 -1
- package/dist/data.d.ts +2 -0
- package/dist/data.js +7 -1
- package/dist/npcs.d.ts +1 -1
- package/dist/npcs.js +7 -0
- package/dist/schema.d.ts +4 -0
- package/dist/schema.js +1 -0
- package/package.json +1 -1
- package/source/data.ts +6 -0
- package/source/npcs.ts +7 -0
- package/source/schema.ts +1 -0
package/data/$schema.json
CHANGED
|
@@ -1,4 +1,61 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$defs": {
|
|
3
|
+
"crystalInputOutput": {
|
|
4
|
+
"additionalProperties": false,
|
|
5
|
+
"properties": {
|
|
6
|
+
"amount": { "type": "number" },
|
|
7
|
+
"id": { "type": "string" },
|
|
8
|
+
"type": { "const": "crystal", "type": "string" }
|
|
9
|
+
},
|
|
10
|
+
"required": ["amount", "id", "type"],
|
|
11
|
+
"type": "object"
|
|
12
|
+
},
|
|
13
|
+
"currencyInputOutput": {
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"properties": {
|
|
16
|
+
"amount": { "type": "number" },
|
|
17
|
+
"id": {
|
|
18
|
+
"enum": [
|
|
19
|
+
"bingo-point",
|
|
20
|
+
"bit",
|
|
21
|
+
"coin",
|
|
22
|
+
"copper",
|
|
23
|
+
"forge-second",
|
|
24
|
+
"gem",
|
|
25
|
+
"mote",
|
|
26
|
+
"north-star",
|
|
27
|
+
"pest",
|
|
28
|
+
"second",
|
|
29
|
+
"usd"
|
|
30
|
+
],
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"type": { "const": "currency", "type": "string" }
|
|
34
|
+
},
|
|
35
|
+
"required": ["amount", "id", "type"],
|
|
36
|
+
"type": "object"
|
|
37
|
+
},
|
|
38
|
+
"itemInputOutput": {
|
|
39
|
+
"additionalProperties": false,
|
|
40
|
+
"properties": {
|
|
41
|
+
"amount": { "type": "number" },
|
|
42
|
+
"id": { "type": "string" },
|
|
43
|
+
"type": { "const": "item", "type": "string" }
|
|
44
|
+
},
|
|
45
|
+
"required": ["amount", "id", "type"],
|
|
46
|
+
"type": "object"
|
|
47
|
+
},
|
|
48
|
+
"petInputOutput": {
|
|
49
|
+
"additionalProperties": false,
|
|
50
|
+
"properties": {
|
|
51
|
+
"amount": { "type": "number" },
|
|
52
|
+
"id": { "type": "string" },
|
|
53
|
+
"type": { "const": "pet", "type": "string" }
|
|
54
|
+
},
|
|
55
|
+
"required": ["amount", "id", "type"],
|
|
56
|
+
"type": "object"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
2
59
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
60
|
"additionalProperties": false,
|
|
4
61
|
"properties": {
|
|
@@ -12,87 +69,10 @@
|
|
|
12
69
|
"inputs": {
|
|
13
70
|
"items": {
|
|
14
71
|
"anyOf": [
|
|
15
|
-
{
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"type": "number"
|
|
20
|
-
},
|
|
21
|
-
"id": {
|
|
22
|
-
"type": "string"
|
|
23
|
-
},
|
|
24
|
-
"type": {
|
|
25
|
-
"const": "crystal",
|
|
26
|
-
"type": "string"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"required": ["amount", "id", "type"],
|
|
30
|
-
"type": "object"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"additionalProperties": false,
|
|
34
|
-
"properties": {
|
|
35
|
-
"amount": {
|
|
36
|
-
"type": "number"
|
|
37
|
-
},
|
|
38
|
-
"id": {
|
|
39
|
-
"enum": [
|
|
40
|
-
"bingo-point",
|
|
41
|
-
"bit",
|
|
42
|
-
"coin",
|
|
43
|
-
"copper",
|
|
44
|
-
"forge-second",
|
|
45
|
-
"gem",
|
|
46
|
-
"mote",
|
|
47
|
-
"north-star",
|
|
48
|
-
"pest",
|
|
49
|
-
"second",
|
|
50
|
-
"usd"
|
|
51
|
-
],
|
|
52
|
-
"type": "string"
|
|
53
|
-
},
|
|
54
|
-
"type": {
|
|
55
|
-
"const": "currency",
|
|
56
|
-
"type": "string"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"required": ["amount", "id", "type"],
|
|
60
|
-
"type": "object"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"additionalProperties": false,
|
|
64
|
-
"properties": {
|
|
65
|
-
"amount": {
|
|
66
|
-
"type": "number"
|
|
67
|
-
},
|
|
68
|
-
"id": {
|
|
69
|
-
"type": "string"
|
|
70
|
-
},
|
|
71
|
-
"type": {
|
|
72
|
-
"const": "item",
|
|
73
|
-
"type": "string"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
"required": ["amount", "id", "type"],
|
|
77
|
-
"type": "object"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"additionalProperties": false,
|
|
81
|
-
"properties": {
|
|
82
|
-
"amount": {
|
|
83
|
-
"type": "number"
|
|
84
|
-
},
|
|
85
|
-
"id": {
|
|
86
|
-
"type": "string"
|
|
87
|
-
},
|
|
88
|
-
"type": {
|
|
89
|
-
"const": "pet",
|
|
90
|
-
"type": "string"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"required": ["amount", "id", "type"],
|
|
94
|
-
"type": "object"
|
|
95
|
-
}
|
|
72
|
+
{ "$ref": "#/$defs/crystalInputOutput" },
|
|
73
|
+
{ "$ref": "#/$defs/currencyInputOutput" },
|
|
74
|
+
{ "$ref": "#/$defs/itemInputOutput" },
|
|
75
|
+
{ "$ref": "#/$defs/petInputOutput" }
|
|
96
76
|
]
|
|
97
77
|
},
|
|
98
78
|
"type": "array"
|
|
@@ -100,86 +80,10 @@
|
|
|
100
80
|
"outputs": {
|
|
101
81
|
"items": {
|
|
102
82
|
"anyOf": [
|
|
103
|
-
{
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
"type": "number"
|
|
108
|
-
},
|
|
109
|
-
"id": {
|
|
110
|
-
"type": "string"
|
|
111
|
-
},
|
|
112
|
-
"type": {
|
|
113
|
-
"const": "crystal",
|
|
114
|
-
"type": "string"
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
"required": ["amount", "id", "type"],
|
|
118
|
-
"type": "object"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"additionalProperties": false,
|
|
122
|
-
"properties": {
|
|
123
|
-
"amount": {
|
|
124
|
-
"type": "number"
|
|
125
|
-
},
|
|
126
|
-
"id": {
|
|
127
|
-
"enum": [
|
|
128
|
-
"bingo-point",
|
|
129
|
-
"bit",
|
|
130
|
-
"coin",
|
|
131
|
-
"copper",
|
|
132
|
-
"gem",
|
|
133
|
-
"mote",
|
|
134
|
-
"north-star",
|
|
135
|
-
"pest",
|
|
136
|
-
"second",
|
|
137
|
-
"usd"
|
|
138
|
-
],
|
|
139
|
-
"type": "string"
|
|
140
|
-
},
|
|
141
|
-
"type": {
|
|
142
|
-
"const": "currency",
|
|
143
|
-
"type": "string"
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
"required": ["amount", "id", "type"],
|
|
147
|
-
"type": "object"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"additionalProperties": false,
|
|
151
|
-
"properties": {
|
|
152
|
-
"amount": {
|
|
153
|
-
"type": "number"
|
|
154
|
-
},
|
|
155
|
-
"id": {
|
|
156
|
-
"type": "string"
|
|
157
|
-
},
|
|
158
|
-
"type": {
|
|
159
|
-
"const": "item",
|
|
160
|
-
"type": "string"
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
"required": ["amount", "id", "type"],
|
|
164
|
-
"type": "object"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"additionalProperties": false,
|
|
168
|
-
"properties": {
|
|
169
|
-
"amount": {
|
|
170
|
-
"type": "number"
|
|
171
|
-
},
|
|
172
|
-
"id": {
|
|
173
|
-
"type": "string"
|
|
174
|
-
},
|
|
175
|
-
"type": {
|
|
176
|
-
"const": "pet",
|
|
177
|
-
"type": "string"
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
"required": ["amount", "id", "type"],
|
|
181
|
-
"type": "object"
|
|
182
|
-
}
|
|
83
|
+
{ "$ref": "#/$defs/crystalInputOutput" },
|
|
84
|
+
{ "$ref": "#/$defs/currencyInputOutput" },
|
|
85
|
+
{ "$ref": "#/$defs/itemInputOutput" },
|
|
86
|
+
{ "$ref": "#/$defs/petInputOutput" }
|
|
183
87
|
]
|
|
184
88
|
},
|
|
185
89
|
"type": "array"
|
|
@@ -190,44 +94,9 @@
|
|
|
190
94
|
{
|
|
191
95
|
"additionalProperties": false,
|
|
192
96
|
"properties": {
|
|
193
|
-
"left": {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
"amount": {
|
|
197
|
-
"type": "number"
|
|
198
|
-
},
|
|
199
|
-
"id": {
|
|
200
|
-
"type": "string"
|
|
201
|
-
},
|
|
202
|
-
"type": {
|
|
203
|
-
"const": "item",
|
|
204
|
-
"type": "string"
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
"required": ["amount", "id", "type"],
|
|
208
|
-
"type": "object"
|
|
209
|
-
},
|
|
210
|
-
"right": {
|
|
211
|
-
"additionalProperties": false,
|
|
212
|
-
"properties": {
|
|
213
|
-
"amount": {
|
|
214
|
-
"type": "number"
|
|
215
|
-
},
|
|
216
|
-
"id": {
|
|
217
|
-
"type": "string"
|
|
218
|
-
},
|
|
219
|
-
"type": {
|
|
220
|
-
"const": "item",
|
|
221
|
-
"type": "string"
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
"required": ["amount", "id", "type"],
|
|
225
|
-
"type": "object"
|
|
226
|
-
},
|
|
227
|
-
"type": {
|
|
228
|
-
"const": "anvil",
|
|
229
|
-
"type": "string"
|
|
230
|
-
}
|
|
97
|
+
"left": { "$ref": "#/$defs/itemInputOutput" },
|
|
98
|
+
"right": { "$ref": "#/$defs/itemInputOutput" },
|
|
99
|
+
"type": { "const": "anvil", "type": "string" }
|
|
231
100
|
},
|
|
232
101
|
"required": ["left", "right", "type"],
|
|
233
102
|
"type": "object"
|
|
@@ -235,10 +104,7 @@
|
|
|
235
104
|
{
|
|
236
105
|
"additionalProperties": false,
|
|
237
106
|
"properties": {
|
|
238
|
-
"type": {
|
|
239
|
-
"const": "forge",
|
|
240
|
-
"type": "string"
|
|
241
|
-
}
|
|
107
|
+
"type": { "const": "forge", "type": "string" }
|
|
242
108
|
},
|
|
243
109
|
"required": ["type"],
|
|
244
110
|
"type": "object"
|
|
@@ -246,13 +112,8 @@
|
|
|
246
112
|
{
|
|
247
113
|
"additionalProperties": false,
|
|
248
114
|
"properties": {
|
|
249
|
-
"id": {
|
|
250
|
-
|
|
251
|
-
},
|
|
252
|
-
"type": {
|
|
253
|
-
"const": "npc",
|
|
254
|
-
"type": "string"
|
|
255
|
-
}
|
|
115
|
+
"id": { "type": "string" },
|
|
116
|
+
"type": { "const": "npc", "type": "string" }
|
|
256
117
|
},
|
|
257
118
|
"required": ["id", "type"],
|
|
258
119
|
"type": "object"
|
|
@@ -260,14 +121,8 @@
|
|
|
260
121
|
{
|
|
261
122
|
"additionalProperties": false,
|
|
262
123
|
"properties": {
|
|
263
|
-
"type": {
|
|
264
|
-
|
|
265
|
-
"type": "string"
|
|
266
|
-
},
|
|
267
|
-
"url": {
|
|
268
|
-
"format": "uri",
|
|
269
|
-
"type": "string"
|
|
270
|
-
}
|
|
124
|
+
"type": { "const": "website", "type": "string" },
|
|
125
|
+
"url": { "format": "uri", "type": "string" }
|
|
271
126
|
},
|
|
272
127
|
"required": ["type", "url"],
|
|
273
128
|
"type": "object"
|
|
@@ -278,36 +133,15 @@
|
|
|
278
133
|
"grid": {
|
|
279
134
|
"items": {
|
|
280
135
|
"anyOf": [
|
|
281
|
-
{
|
|
282
|
-
|
|
283
|
-
"properties": {
|
|
284
|
-
"amount": {
|
|
285
|
-
"type": "number"
|
|
286
|
-
},
|
|
287
|
-
"id": {
|
|
288
|
-
"type": "string"
|
|
289
|
-
},
|
|
290
|
-
"type": {
|
|
291
|
-
"const": "item",
|
|
292
|
-
"type": "string"
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
"required": ["amount", "id", "type"],
|
|
296
|
-
"type": "object"
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"type": "null"
|
|
300
|
-
}
|
|
136
|
+
{ "$ref": "#/$defs/itemInputOutput" },
|
|
137
|
+
{ "type": "null" }
|
|
301
138
|
]
|
|
302
139
|
},
|
|
303
140
|
"maxItems": 9,
|
|
304
141
|
"minItems": 9,
|
|
305
142
|
"type": "array"
|
|
306
143
|
},
|
|
307
|
-
"type": {
|
|
308
|
-
"const": "workbench",
|
|
309
|
-
"type": "string"
|
|
310
|
-
}
|
|
144
|
+
"type": { "const": "workbench", "type": "string" }
|
|
311
145
|
},
|
|
312
146
|
"required": ["grid", "type"],
|
|
313
147
|
"type": "object"
|
|
@@ -322,17 +156,9 @@
|
|
|
322
156
|
{
|
|
323
157
|
"additionalProperties": false,
|
|
324
158
|
"properties": {
|
|
325
|
-
"collection": {
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
},
|
|
329
|
-
"tier": {
|
|
330
|
-
"type": "number"
|
|
331
|
-
},
|
|
332
|
-
"type": {
|
|
333
|
-
"const": "COLLECTION",
|
|
334
|
-
"type": "string"
|
|
335
|
-
}
|
|
159
|
+
"collection": { "enum": ["GEMSTONE"], "type": "string" },
|
|
160
|
+
"tier": { "type": "number" },
|
|
161
|
+
"type": { "const": "COLLECTION", "type": "string" }
|
|
336
162
|
},
|
|
337
163
|
"required": ["collection", "tier", "type"],
|
|
338
164
|
"type": "object"
|
|
@@ -340,9 +166,7 @@
|
|
|
340
166
|
{
|
|
341
167
|
"additionalProperties": false,
|
|
342
168
|
"properties": {
|
|
343
|
-
"tier": {
|
|
344
|
-
"type": "number"
|
|
345
|
-
},
|
|
169
|
+
"tier": { "type": "number" },
|
|
346
170
|
"type": {
|
|
347
171
|
"const": "HEART_OF_THE_MOUNTAIN",
|
|
348
172
|
"type": "string"
|
|
@@ -354,17 +178,12 @@
|
|
|
354
178
|
{
|
|
355
179
|
"additionalProperties": false,
|
|
356
180
|
"properties": {
|
|
357
|
-
"level": {
|
|
358
|
-
"type": "number"
|
|
359
|
-
},
|
|
181
|
+
"level": { "type": "number" },
|
|
360
182
|
"skill": {
|
|
361
183
|
"enum": ["MINING"],
|
|
362
184
|
"type": "string"
|
|
363
185
|
},
|
|
364
|
-
"type": {
|
|
365
|
-
"const": "SKILL",
|
|
366
|
-
"type": "string"
|
|
367
|
-
}
|
|
186
|
+
"type": { "const": "SKILL", "type": "string" }
|
|
368
187
|
},
|
|
369
188
|
"required": ["level", "skill", "type"],
|
|
370
189
|
"type": "object"
|
|
@@ -380,6 +199,5 @@
|
|
|
380
199
|
"type": "array"
|
|
381
200
|
}
|
|
382
201
|
},
|
|
383
|
-
"required": ["actions"]
|
|
384
|
-
"type": "object"
|
|
202
|
+
"required": ["actions"]
|
|
385
203
|
}
|