@skyblock-finance/actions 0.9.1 → 0.10.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 CHANGED
@@ -12,6 +12,23 @@
12
12
  "inputs": {
13
13
  "items": {
14
14
  "anyOf": [
15
+ {
16
+ "additionalProperties": false,
17
+ "properties": {
18
+ "amount": {
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
+ },
15
32
  {
16
33
  "additionalProperties": false,
17
34
  "properties": {
@@ -23,6 +40,7 @@
23
40
  "bit",
24
41
  "coin",
25
42
  "copper",
43
+ "forge-second",
26
44
  "gem",
27
45
  "north-star",
28
46
  "pest",
@@ -63,6 +81,23 @@
63
81
  "outputs": {
64
82
  "items": {
65
83
  "anyOf": [
84
+ {
85
+ "additionalProperties": false,
86
+ "properties": {
87
+ "amount": {
88
+ "type": "number"
89
+ },
90
+ "id": {
91
+ "type": "string"
92
+ },
93
+ "type": {
94
+ "const": "crystal",
95
+ "type": "string"
96
+ }
97
+ },
98
+ "required": ["amount", "id", "type"],
99
+ "type": "object"
100
+ },
66
101
  {
67
102
  "additionalProperties": false,
68
103
  "properties": {
@@ -159,6 +194,17 @@
159
194
  "required": ["left", "right", "type"],
160
195
  "type": "object"
161
196
  },
197
+ {
198
+ "additionalProperties": false,
199
+ "properties": {
200
+ "type": {
201
+ "const": "forge",
202
+ "type": "string"
203
+ }
204
+ },
205
+ "required": ["type"],
206
+ "type": "object"
207
+ },
162
208
  {
163
209
  "additionalProperties": false,
164
210
  "properties": {
@@ -231,6 +277,63 @@
231
277
  ]
232
278
  },
233
279
  "type": "array"
280
+ },
281
+ "requirements": {
282
+ "items": {
283
+ "anyOf": [
284
+ {
285
+ "additionalProperties": false,
286
+ "properties": {
287
+ "collection": {
288
+ "enum": ["GEMSTONE"],
289
+ "type": "string"
290
+ },
291
+ "tier": {
292
+ "type": "number"
293
+ },
294
+ "type": {
295
+ "const": "COLLECTION",
296
+ "type": "string"
297
+ }
298
+ },
299
+ "required": ["collection", "tier", "type"],
300
+ "type": "object"
301
+ },
302
+ {
303
+ "additionalProperties": false,
304
+ "properties": {
305
+ "tier": {
306
+ "type": "number"
307
+ },
308
+ "type": {
309
+ "const": "HEART_OF_THE_MOUNTAIN",
310
+ "type": "string"
311
+ }
312
+ },
313
+ "required": ["tier", "type"],
314
+ "type": "object"
315
+ },
316
+ {
317
+ "additionalProperties": false,
318
+ "properties": {
319
+ "level": {
320
+ "type": "number"
321
+ },
322
+ "skill": {
323
+ "enum": ["MINING"],
324
+ "type": "string"
325
+ },
326
+ "type": {
327
+ "const": "SKILL",
328
+ "type": "string"
329
+ }
330
+ },
331
+ "required": ["level", "skill", "type"],
332
+ "type": "object"
333
+ }
334
+ ]
335
+ },
336
+ "type": "array"
234
337
  }
235
338
  },
236
339
  "required": ["inputs", "outputs", "place"],
@@ -0,0 +1,167 @@
1
+ {
2
+ "$schema": "./$schema.json",
3
+ "actions": [
4
+ {
5
+ "inputs": [
6
+ { "amount": 5, "id": "FLAWLESS_AMBER_GEM", "type": "item" },
7
+ { "amount": 1, "id": "AMBER", "type": "crystal" },
8
+ { "amount": 72000, "id": "forge-second", "type": "currency" }
9
+ ],
10
+ "outputs": [{ "amount": 1, "id": "PERFECT_AMBER_GEM", "type": "item" }],
11
+ "place": [{ "type": "forge" }],
12
+ "requirements": [
13
+ { "tier": 5, "type": "HEART_OF_THE_MOUNTAIN" },
14
+ { "collection": "GEMSTONE", "tier": 10, "type": "COLLECTION" }
15
+ ]
16
+ },
17
+ {
18
+ "inputs": [
19
+ { "amount": 5, "id": "FLAWLESS_AMETHYST_GEM", "type": "item" },
20
+ { "amount": 1, "id": "AMETHYST", "type": "crystal" },
21
+ { "amount": 72000, "id": "forge-second", "type": "currency" }
22
+ ],
23
+ "outputs": [
24
+ { "amount": 1, "id": "PERFECT_AMETHYST_GEM", "type": "item" }
25
+ ],
26
+ "place": [{ "type": "forge" }],
27
+ "requirements": [
28
+ { "tier": 5, "type": "HEART_OF_THE_MOUNTAIN" },
29
+ { "collection": "GEMSTONE", "tier": 10, "type": "COLLECTION" }
30
+ ]
31
+ },
32
+ {
33
+ "inputs": [
34
+ { "amount": 5, "id": "FLAWLESS_JADE_GEM", "type": "item" },
35
+ { "amount": 1, "id": "JADE", "type": "crystal" },
36
+ { "amount": 72000, "id": "forge-second", "type": "currency" }
37
+ ],
38
+ "outputs": [{ "amount": 1, "id": "PERFECT_JADE_GEM", "type": "item" }],
39
+ "place": [{ "type": "forge" }],
40
+ "requirements": [
41
+ { "tier": 5, "type": "HEART_OF_THE_MOUNTAIN" },
42
+ { "collection": "GEMSTONE", "tier": 10, "type": "COLLECTION" }
43
+ ]
44
+ },
45
+ {
46
+ "inputs": [
47
+ { "amount": 5, "id": "FLAWLESS_JASPER_GEM", "type": "item" },
48
+ { "amount": 1, "id": "JASPER", "type": "crystal" },
49
+ { "amount": 72000, "id": "forge-second", "type": "currency" }
50
+ ],
51
+ "outputs": [{ "amount": 1, "id": "PERFECT_JASPER_GEM", "type": "item" }],
52
+ "place": [{ "type": "forge" }],
53
+ "requirements": [
54
+ { "tier": 5, "type": "HEART_OF_THE_MOUNTAIN" },
55
+ { "collection": "GEMSTONE", "tier": 10, "type": "COLLECTION" }
56
+ ]
57
+ },
58
+ {
59
+ "inputs": [
60
+ { "amount": 5, "id": "FLAWLESS_OPAL_GEM", "type": "item" },
61
+ { "amount": 1, "id": "OPAL", "type": "crystal" },
62
+ { "amount": 72000, "id": "forge-second", "type": "currency" }
63
+ ],
64
+ "outputs": [{ "amount": 1, "id": "PERFECT_OPAL_GEM", "type": "item" }],
65
+ "place": [{ "type": "forge" }],
66
+ "requirements": [
67
+ { "tier": 5, "type": "HEART_OF_THE_MOUNTAIN" },
68
+ { "collection": "GEMSTONE", "tier": 10, "type": "COLLECTION" }
69
+ ]
70
+ },
71
+ {
72
+ "inputs": [
73
+ { "amount": 5, "id": "FLAWLESS_RUBY_GEM", "type": "item" },
74
+ { "amount": 1, "id": "RUBY", "type": "crystal" },
75
+ { "amount": 72000, "id": "forge-second", "type": "currency" }
76
+ ],
77
+ "outputs": [{ "amount": 1, "id": "PERFECT_RUBY_GEM", "type": "item" }],
78
+ "place": [{ "type": "forge" }],
79
+ "requirements": [
80
+ { "tier": 5, "type": "HEART_OF_THE_MOUNTAIN" },
81
+ { "collection": "GEMSTONE", "tier": 10, "type": "COLLECTION" }
82
+ ]
83
+ },
84
+ {
85
+ "inputs": [
86
+ { "amount": 5, "id": "FLAWLESS_SAPPHIRE_GEM", "type": "item" },
87
+ { "amount": 1, "id": "SAPPHIRE", "type": "crystal" },
88
+ { "amount": 72000, "id": "forge-second", "type": "currency" }
89
+ ],
90
+ "outputs": [
91
+ { "amount": 1, "id": "PERFECT_SAPPHIRE_GEM", "type": "item" }
92
+ ],
93
+ "place": [{ "type": "forge" }],
94
+ "requirements": [
95
+ { "tier": 5, "type": "HEART_OF_THE_MOUNTAIN" },
96
+ { "collection": "GEMSTONE", "tier": 10, "type": "COLLECTION" }
97
+ ]
98
+ },
99
+ {
100
+ "inputs": [
101
+ { "amount": 5, "id": "FLAWLESS_TOPAZ_GEM", "type": "item" },
102
+ { "amount": 1, "id": "TOPAZ", "type": "crystal" },
103
+ { "amount": 72000, "id": "forge-second", "type": "currency" }
104
+ ],
105
+ "outputs": [{ "amount": 1, "id": "PERFECT_TOPAZ_GEM", "type": "item" }],
106
+ "place": [{ "type": "forge" }],
107
+ "requirements": [
108
+ { "tier": 5, "type": "HEART_OF_THE_MOUNTAIN" },
109
+ { "collection": "GEMSTONE", "tier": 10, "type": "COLLECTION" }
110
+ ]
111
+ },
112
+ {
113
+ "inputs": [
114
+ { "amount": 5, "id": "FLAWLESS_AQUAMARINE_GEM", "type": "item" },
115
+ { "amount": 1, "id": "AQUAMARINE", "type": "crystal" },
116
+ { "amount": 72000, "id": "forge-second", "type": "currency" }
117
+ ],
118
+ "outputs": [
119
+ { "amount": 1, "id": "PERFECT_AQUAMARINE_GEM", "type": "item" }
120
+ ],
121
+ "place": [{ "type": "forge" }],
122
+ "requirements": [
123
+ { "tier": 7, "type": "HEART_OF_THE_MOUNTAIN" },
124
+ { "collection": "GEMSTONE", "tier": 10, "type": "COLLECTION" }
125
+ ]
126
+ },
127
+ {
128
+ "inputs": [
129
+ { "amount": 5, "id": "FLAWLESS_CITRINE_GEM", "type": "item" },
130
+ { "amount": 1, "id": "CITRINE", "type": "crystal" },
131
+ { "amount": 72000, "id": "forge-second", "type": "currency" }
132
+ ],
133
+ "outputs": [{ "amount": 1, "id": "PERFECT_CITRINE_GEM", "type": "item" }],
134
+ "place": [{ "type": "forge" }],
135
+ "requirements": [
136
+ { "tier": 7, "type": "HEART_OF_THE_MOUNTAIN" },
137
+ { "collection": "GEMSTONE", "tier": 10, "type": "COLLECTION" }
138
+ ]
139
+ },
140
+ {
141
+ "inputs": [
142
+ { "amount": 5, "id": "FLAWLESS_ONYX_GEM", "type": "item" },
143
+ { "amount": 1, "id": "ONYX", "type": "crystal" },
144
+ { "amount": 72000, "id": "forge-second", "type": "currency" }
145
+ ],
146
+ "outputs": [{ "amount": 1, "id": "PERFECT_ONYX_GEM", "type": "item" }],
147
+ "place": [{ "type": "forge" }],
148
+ "requirements": [
149
+ { "tier": 7, "type": "HEART_OF_THE_MOUNTAIN" },
150
+ { "collection": "GEMSTONE", "tier": 10, "type": "COLLECTION" }
151
+ ]
152
+ },
153
+ {
154
+ "inputs": [
155
+ { "amount": 5, "id": "FLAWLESS_PERIDOT_GEM", "type": "item" },
156
+ { "amount": 1, "id": "PERIDOT", "type": "crystal" },
157
+ { "amount": 72000, "id": "forge-second", "type": "currency" }
158
+ ],
159
+ "outputs": [{ "amount": 1, "id": "PERFECT_PERIDOT_GEM", "type": "item" }],
160
+ "place": [{ "type": "forge" }],
161
+ "requirements": [
162
+ { "tier": 7, "type": "HEART_OF_THE_MOUNTAIN" },
163
+ { "collection": "GEMSTONE", "tier": 10, "type": "COLLECTION" }
164
+ ]
165
+ }
166
+ ]
167
+ }