teyvatdb 0.1.11 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/genshin_data/artifact_sets/artifact_data.rb +263 -0
- data/lib/{teyvatdb → genshin_data}/artifact_sets.rb +3 -2
- data/lib/genshin_data/characters/character_data.rb +1072 -0
- data/lib/{teyvatdb → genshin_data}/characters.rb +4 -3
- data/lib/{teyvatdb → genshin_data}/materials/development/elite_monster_drops_data.rb +59 -55
- data/lib/{teyvatdb → genshin_data}/materials/development/gems_data.rb +37 -33
- data/lib/{teyvatdb → genshin_data}/materials/development/general_data.rb +15 -11
- data/lib/{teyvatdb → genshin_data}/materials/development/local_specialty_data.rb +48 -44
- data/lib/{teyvatdb → genshin_data}/materials/development/monster_loot_drops_data.rb +44 -40
- data/lib/{teyvatdb → genshin_data}/materials/development/talent_books_data.rb +50 -46
- data/lib/{teyvatdb → genshin_data}/materials/development/weapon_material_data.rb +65 -61
- data/lib/{teyvatdb → genshin_data}/materials/development/weapon_refinement_material_data.rb +18 -14
- data/lib/{teyvatdb → genshin_data}/materials/development/weekly_boss_drops_data.rb +29 -25
- data/lib/{teyvatdb → genshin_data}/materials/development/world_boss_drops_data.rb +32 -28
- data/lib/genshin_data/materials/development.rb +71 -0
- data/lib/{teyvatdb → genshin_data}/materials/standard/cooking_material_data.rb +60 -56
- data/lib/{teyvatdb → genshin_data}/materials/standard/crafting_material_data.rb +18 -14
- data/lib/{teyvatdb → genshin_data}/materials/standard/fishing_material_data.rb +49 -45
- data/lib/{teyvatdb → genshin_data}/materials/standard/forging_material_data.rb +23 -19
- data/lib/{teyvatdb → genshin_data}/materials/standard/furniture_material_data.rb +29 -25
- data/lib/genshin_data/materials/standard.rb +41 -0
- data/lib/{teyvatdb → genshin_data}/materials.rb +4 -2
- data/lib/genshin_data/nations/nation_data.rb +57 -0
- data/lib/genshin_data/nations.rb +12 -0
- data/lib/genshin_data/weapons/weapon_data/bows.rb +369 -0
- data/lib/genshin_data/weapons/weapon_data/catalysts.rb +359 -0
- data/lib/genshin_data/weapons/weapon_data/claymores.rb +339 -0
- data/lib/genshin_data/weapons/weapon_data/polearms.rb +289 -0
- data/lib/genshin_data/weapons/weapon_data/swords.rb +400 -0
- data/lib/genshin_data/weapons/weapon_data.rb +11 -0
- data/lib/genshin_data/weapons.rb +39 -0
- data/lib/genshin_data.rb +10 -0
- data/lib/{teyvatdb/genshin_data → genshin_object}/artifact_set.rb +4 -3
- data/lib/{teyvatdb/genshin_data → genshin_object}/character.rb +1 -1
- data/lib/{teyvatdb/genshin_data → genshin_object}/material.rb +1 -1
- data/lib/{teyvatdb/genshin_data → genshin_object}/nation.rb +1 -1
- data/lib/{teyvatdb/genshin_data → genshin_object}/weapon.rb +1 -1
- data/lib/genshin_object.rb +10 -0
- data/lib/teyvatdb/version.rb +1 -1
- data/lib/teyvatdb.rb +3 -7
- metadata +40 -34
- data/lib/teyvatdb/artifact_sets/artifact_data.rb +0 -265
- data/lib/teyvatdb/characters/character_data.rb +0 -1074
- data/lib/teyvatdb/genshin_data.rb +0 -13
- data/lib/teyvatdb/materials/development.rb +0 -428
- data/lib/teyvatdb/materials/standard.rb +0 -200
- data/lib/teyvatdb/nations/nation_data.rb +0 -55
- data/lib/teyvatdb/nations.rb +0 -21
- data/lib/teyvatdb/weapons/weapon_data.rb +0 -1657
- data/lib/teyvatdb/weapons.rb +0 -185
@@ -1,6 +1,10 @@
|
|
1
|
-
module
|
1
|
+
module GenshinData::Materials::Standard
|
2
2
|
module CookingMaterialsData
|
3
|
-
|
3
|
+
def self.all
|
4
|
+
self.constants.map { |x| "GenshinData::Materials::Standard::CookingMaterialsData::#{x}".constantize }
|
5
|
+
end
|
6
|
+
|
7
|
+
AJILENAKH_NUT = GenshinObject::Material.new(
|
4
8
|
kamera_key: "AjilenakhNut",
|
5
9
|
name: "Ajilenakh Nut",
|
6
10
|
rarity: 1,
|
@@ -10,7 +14,7 @@ module TeyvatDB::Materials::Standard
|
|
10
14
|
source_sub_category: :cooking,
|
11
15
|
).freeze
|
12
16
|
|
13
|
-
ALMOND =
|
17
|
+
ALMOND = GenshinObject::Material.new(
|
14
18
|
kamera_key: "Almond",
|
15
19
|
name: "Almond",
|
16
20
|
rarity: 1,
|
@@ -20,7 +24,7 @@ module TeyvatDB::Materials::Standard
|
|
20
24
|
source_sub_category: :cooking,
|
21
25
|
).freeze
|
22
26
|
|
23
|
-
BACON =
|
27
|
+
BACON = GenshinObject::Material.new(
|
24
28
|
kamera_key: "Bacon",
|
25
29
|
name: "Bacon",
|
26
30
|
rarity: 1,
|
@@ -30,7 +34,7 @@ module TeyvatDB::Materials::Standard
|
|
30
34
|
source_sub_category: :cooking,
|
31
35
|
).freeze
|
32
36
|
|
33
|
-
BAMBOO_SHOOT =
|
37
|
+
BAMBOO_SHOOT = GenshinObject::Material.new(
|
34
38
|
kamera_key: "BambooShoot",
|
35
39
|
name: "Bamboo Shoot",
|
36
40
|
rarity: 1,
|
@@ -40,7 +44,7 @@ module TeyvatDB::Materials::Standard
|
|
40
44
|
source_sub_category: :cooking,
|
41
45
|
).freeze
|
42
46
|
|
43
|
-
BERRY =
|
47
|
+
BERRY = GenshinObject::Material.new(
|
44
48
|
kamera_key: "Berry",
|
45
49
|
name: "Berry",
|
46
50
|
rarity: 1,
|
@@ -50,7 +54,7 @@ module TeyvatDB::Materials::Standard
|
|
50
54
|
source_sub_category: :cooking,
|
51
55
|
).freeze
|
52
56
|
|
53
|
-
BIRD_EGG =
|
57
|
+
BIRD_EGG = GenshinObject::Material.new(
|
54
58
|
kamera_key: "BirdEgg",
|
55
59
|
name: "Bird Egg",
|
56
60
|
rarity: 1,
|
@@ -60,7 +64,7 @@ module TeyvatDB::Materials::Standard
|
|
60
64
|
source_sub_category: :cooking,
|
61
65
|
).freeze
|
62
66
|
|
63
|
-
BULLE_FRUIT =
|
67
|
+
BULLE_FRUIT = GenshinObject::Material.new(
|
64
68
|
kamera_key: "BulleFruit",
|
65
69
|
name: "Bulle Fruit",
|
66
70
|
rarity: 1,
|
@@ -70,7 +74,7 @@ module TeyvatDB::Materials::Standard
|
|
70
74
|
source_sub_category: :cooking,
|
71
75
|
).freeze
|
72
76
|
|
73
|
-
BUTTER =
|
77
|
+
BUTTER = GenshinObject::Material.new(
|
74
78
|
kamera_key: "Butter",
|
75
79
|
name: "Butter",
|
76
80
|
rarity: 1,
|
@@ -80,7 +84,7 @@ module TeyvatDB::Materials::Standard
|
|
80
84
|
source_sub_category: :cooking,
|
81
85
|
).freeze
|
82
86
|
|
83
|
-
CABBAGE =
|
87
|
+
CABBAGE = GenshinObject::Material.new(
|
84
88
|
kamera_key: "Cabbage",
|
85
89
|
name: "Cabbage",
|
86
90
|
rarity: 1,
|
@@ -90,7 +94,7 @@ module TeyvatDB::Materials::Standard
|
|
90
94
|
source_sub_category: :cooking,
|
91
95
|
).freeze
|
92
96
|
|
93
|
-
CARROT =
|
97
|
+
CARROT = GenshinObject::Material.new(
|
94
98
|
kamera_key: "Carrot",
|
95
99
|
name: "Carrot",
|
96
100
|
rarity: 1,
|
@@ -100,7 +104,7 @@ module TeyvatDB::Materials::Standard
|
|
100
104
|
source_sub_category: :cooking,
|
101
105
|
).freeze
|
102
106
|
|
103
|
-
CHEESE =
|
107
|
+
CHEESE = GenshinObject::Material.new(
|
104
108
|
kamera_key: "Cheese",
|
105
109
|
name: "Cheese",
|
106
110
|
rarity: 1,
|
@@ -110,7 +114,7 @@ module TeyvatDB::Materials::Standard
|
|
110
114
|
source_sub_category: :cooking,
|
111
115
|
).freeze
|
112
116
|
|
113
|
-
CHILLED_MEAT =
|
117
|
+
CHILLED_MEAT = GenshinObject::Material.new(
|
114
118
|
kamera_key: "ChilledMeat",
|
115
119
|
name: "Chilled Meat",
|
116
120
|
rarity: 1,
|
@@ -120,7 +124,7 @@ module TeyvatDB::Materials::Standard
|
|
120
124
|
source_sub_category: :cooking,
|
121
125
|
).freeze
|
122
126
|
|
123
|
-
CRAB =
|
127
|
+
CRAB = GenshinObject::Material.new(
|
124
128
|
kamera_key: "Crab",
|
125
129
|
name: "Crab",
|
126
130
|
rarity: 1,
|
@@ -130,7 +134,7 @@ module TeyvatDB::Materials::Standard
|
|
130
134
|
source_sub_category: :cooking,
|
131
135
|
).freeze
|
132
136
|
|
133
|
-
COFFEE_BEANS =
|
137
|
+
COFFEE_BEANS = GenshinObject::Material.new(
|
134
138
|
kamera_key: "CoffeeBeans",
|
135
139
|
name: "CoffeeBeans",
|
136
140
|
rarity: 1,
|
@@ -140,7 +144,7 @@ module TeyvatDB::Materials::Standard
|
|
140
144
|
source_sub_category: :cooking,
|
141
145
|
).freeze
|
142
146
|
|
143
|
-
CRAB_ROE =
|
147
|
+
CRAB_ROE = GenshinObject::Material.new(
|
144
148
|
kamera_key: "CrabRoe",
|
145
149
|
name: "Crab Roe",
|
146
150
|
rarity: 1,
|
@@ -150,7 +154,7 @@ module TeyvatDB::Materials::Standard
|
|
150
154
|
source_sub_category: :cooking,
|
151
155
|
).freeze
|
152
156
|
|
153
|
-
CREAM =
|
157
|
+
CREAM = GenshinObject::Material.new(
|
154
158
|
kamera_key: "Cream",
|
155
159
|
name: "Cream",
|
156
160
|
rarity: 1,
|
@@ -160,7 +164,7 @@ module TeyvatDB::Materials::Standard
|
|
160
164
|
source_sub_category: :cooking,
|
161
165
|
).freeze
|
162
166
|
|
163
|
-
EEL_MEAT =
|
167
|
+
EEL_MEAT = GenshinObject::Material.new(
|
164
168
|
kamera_key: "EelMeat",
|
165
169
|
name: "Eel Meat",
|
166
170
|
rarity: 1,
|
@@ -170,7 +174,7 @@ module TeyvatDB::Materials::Standard
|
|
170
174
|
source_sub_category: :cooking,
|
171
175
|
).freeze
|
172
176
|
|
173
|
-
FERMENTED_JUICE =
|
177
|
+
FERMENTED_JUICE = GenshinObject::Material.new(
|
174
178
|
kamera_key: "FermentedJuice",
|
175
179
|
name: "Fermented Juice",
|
176
180
|
rarity: 1,
|
@@ -180,7 +184,7 @@ module TeyvatDB::Materials::Standard
|
|
180
184
|
source_sub_category: :cooking,
|
181
185
|
).freeze
|
182
186
|
|
183
|
-
FISH =
|
187
|
+
FISH = GenshinObject::Material.new(
|
184
188
|
kamera_key: "Fish",
|
185
189
|
name: "Fish",
|
186
190
|
rarity: 1,
|
@@ -190,7 +194,7 @@ module TeyvatDB::Materials::Standard
|
|
190
194
|
source_sub_category: :cooking,
|
191
195
|
).freeze
|
192
196
|
|
193
|
-
FLOUR =
|
197
|
+
FLOUR = GenshinObject::Material.new(
|
194
198
|
kamera_key: "Flour",
|
195
199
|
name: "Flour",
|
196
200
|
rarity: 1,
|
@@ -200,7 +204,7 @@ module TeyvatDB::Materials::Standard
|
|
200
204
|
source_sub_category: :cooking,
|
201
205
|
).freeze
|
202
206
|
|
203
|
-
FOWL =
|
207
|
+
FOWL = GenshinObject::Material.new(
|
204
208
|
kamera_key: "Fowl",
|
205
209
|
name: "Fowl",
|
206
210
|
rarity: 1,
|
@@ -210,7 +214,7 @@ module TeyvatDB::Materials::Standard
|
|
210
214
|
source_sub_category: :cooking,
|
211
215
|
).freeze
|
212
216
|
|
213
|
-
GLABROUS_BEANS =
|
217
|
+
GLABROUS_BEANS = GenshinObject::Material.new(
|
214
218
|
kamera_key: "GlabrousBeans",
|
215
219
|
name: "Glabrous Beans",
|
216
220
|
rarity: 1,
|
@@ -220,7 +224,7 @@ module TeyvatDB::Materials::Standard
|
|
220
224
|
source_sub_category: :cooking,
|
221
225
|
).freeze
|
222
226
|
|
223
|
-
HAM =
|
227
|
+
HAM = GenshinObject::Material.new(
|
224
228
|
kamera_key: "Ham",
|
225
229
|
name: "Ham",
|
226
230
|
rarity: 1,
|
@@ -230,7 +234,7 @@ module TeyvatDB::Materials::Standard
|
|
230
234
|
source_sub_category: :cooking,
|
231
235
|
).freeze
|
232
236
|
|
233
|
-
HARRA_FRUIT =
|
237
|
+
HARRA_FRUIT = GenshinObject::Material.new(
|
234
238
|
kamera_key: "HarraFruit",
|
235
239
|
name: "Harra Fruit",
|
236
240
|
rarity: 1,
|
@@ -240,7 +244,7 @@ module TeyvatDB::Materials::Standard
|
|
240
244
|
source_sub_category: :cooking,
|
241
245
|
).freeze
|
242
246
|
|
243
|
-
HORSETAIL =
|
247
|
+
HORSETAIL = GenshinObject::Material.new(
|
244
248
|
kamera_key: "Horsetail",
|
245
249
|
name: "Horsetail",
|
246
250
|
rarity: 1,
|
@@ -250,7 +254,7 @@ module TeyvatDB::Materials::Standard
|
|
250
254
|
source_sub_category: :cooking,
|
251
255
|
).freeze
|
252
256
|
|
253
|
-
LAVENDER_MELON =
|
257
|
+
LAVENDER_MELON = GenshinObject::Material.new(
|
254
258
|
kamera_key: "LavenderMelon",
|
255
259
|
name: "Lavender Melon",
|
256
260
|
rarity: 1,
|
@@ -260,7 +264,7 @@ module TeyvatDB::Materials::Standard
|
|
260
264
|
source_sub_category: :cooking,
|
261
265
|
).freeze
|
262
266
|
|
263
|
-
LOTUS_HEAD =
|
267
|
+
LOTUS_HEAD = GenshinObject::Material.new(
|
264
268
|
kamera_key: "LotusHead",
|
265
269
|
name: "Lotus Head",
|
266
270
|
rarity: 1,
|
@@ -270,7 +274,7 @@ module TeyvatDB::Materials::Standard
|
|
270
274
|
source_sub_category: :local_specialty,
|
271
275
|
).freeze
|
272
276
|
|
273
|
-
MATSUTAKE =
|
277
|
+
MATSUTAKE = GenshinObject::Material.new(
|
274
278
|
kamera_key: "Matsutake",
|
275
279
|
name: "Matsutake",
|
276
280
|
rarity: 1,
|
@@ -280,7 +284,7 @@ module TeyvatDB::Materials::Standard
|
|
280
284
|
source_sub_category: :cooking,
|
281
285
|
).freeze
|
282
286
|
|
283
|
-
MILK =
|
287
|
+
MILK = GenshinObject::Material.new(
|
284
288
|
kamera_key: "Milk",
|
285
289
|
name: "Milk",
|
286
290
|
rarity: 1,
|
@@ -290,7 +294,7 @@ module TeyvatDB::Materials::Standard
|
|
290
294
|
source_sub_category: :cooking,
|
291
295
|
).freeze
|
292
296
|
|
293
|
-
MINT =
|
297
|
+
MINT = GenshinObject::Material.new(
|
294
298
|
kamera_key: "Mint",
|
295
299
|
name: "Mint",
|
296
300
|
rarity: 1,
|
@@ -300,7 +304,7 @@ module TeyvatDB::Materials::Standard
|
|
300
304
|
source_sub_category: :cooking,
|
301
305
|
).freeze
|
302
306
|
|
303
|
-
MUSHROOM =
|
307
|
+
MUSHROOM = GenshinObject::Material.new(
|
304
308
|
kamera_key: "Mushroom",
|
305
309
|
name: "Mushroom",
|
306
310
|
rarity: 1,
|
@@ -310,7 +314,7 @@ module TeyvatDB::Materials::Standard
|
|
310
314
|
source_sub_category: :cooking,
|
311
315
|
).freeze
|
312
316
|
|
313
|
-
MYSTERIOUS_MEAT =
|
317
|
+
MYSTERIOUS_MEAT = GenshinObject::Material.new(
|
314
318
|
kamera_key: "MysteriousMeat",
|
315
319
|
name: "Mysterious Meat",
|
316
320
|
rarity: 1,
|
@@ -320,7 +324,7 @@ module TeyvatDB::Materials::Standard
|
|
320
324
|
source_sub_category: :cooking,
|
321
325
|
).freeze
|
322
326
|
|
323
|
-
ONION =
|
327
|
+
ONION = GenshinObject::Material.new(
|
324
328
|
kamera_key: "Onion",
|
325
329
|
name: "Onion",
|
326
330
|
rarity: 1,
|
@@ -330,7 +334,7 @@ module TeyvatDB::Materials::Standard
|
|
330
334
|
source_sub_category: :cooking,
|
331
335
|
).freeze
|
332
336
|
|
333
|
-
PEPPER =
|
337
|
+
PEPPER = GenshinObject::Material.new(
|
334
338
|
kamera_key: "Pepper",
|
335
339
|
name: "Pepper",
|
336
340
|
rarity: 1,
|
@@ -340,7 +344,7 @@ module TeyvatDB::Materials::Standard
|
|
340
344
|
source_sub_category: :cooking,
|
341
345
|
).freeze
|
342
346
|
|
343
|
-
PINECONE =
|
347
|
+
PINECONE = GenshinObject::Material.new(
|
344
348
|
kamera_key: "Pinecone",
|
345
349
|
name: "Pinecone",
|
346
350
|
rarity: 1,
|
@@ -350,7 +354,7 @@ module TeyvatDB::Materials::Standard
|
|
350
354
|
source_sub_category: :cooking,
|
351
355
|
).freeze
|
352
356
|
|
353
|
-
POTATO =
|
357
|
+
POTATO = GenshinObject::Material.new(
|
354
358
|
kamera_key: "Potato",
|
355
359
|
name: "Potato",
|
356
360
|
rarity: 1,
|
@@ -360,7 +364,7 @@ module TeyvatDB::Materials::Standard
|
|
360
364
|
source_sub_category: :cooking,
|
361
365
|
).freeze
|
362
366
|
|
363
|
-
RADISH =
|
367
|
+
RADISH = GenshinObject::Material.new(
|
364
368
|
kamera_key: "Radish",
|
365
369
|
name: "Radish",
|
366
370
|
rarity: 1,
|
@@ -370,7 +374,7 @@ module TeyvatDB::Materials::Standard
|
|
370
374
|
source_sub_category: :cooking,
|
371
375
|
).freeze
|
372
376
|
|
373
|
-
RAW_MEAT =
|
377
|
+
RAW_MEAT = GenshinObject::Material.new(
|
374
378
|
kamera_key: "RawMeat",
|
375
379
|
name: "Raw Meat",
|
376
380
|
rarity: 1,
|
@@ -380,7 +384,7 @@ module TeyvatDB::Materials::Standard
|
|
380
384
|
source_sub_category: :cooking,
|
381
385
|
).freeze
|
382
386
|
|
383
|
-
RICE =
|
387
|
+
RICE = GenshinObject::Material.new(
|
384
388
|
kamera_key: "Rice",
|
385
389
|
name: "Rice",
|
386
390
|
rarity: 1,
|
@@ -390,7 +394,7 @@ module TeyvatDB::Materials::Standard
|
|
390
394
|
source_sub_category: :cooking,
|
391
395
|
).freeze
|
392
396
|
|
393
|
-
SALT =
|
397
|
+
SALT = GenshinObject::Material.new(
|
394
398
|
kamera_key: "Salt",
|
395
399
|
name: "Salt",
|
396
400
|
rarity: 1,
|
@@ -400,7 +404,7 @@ module TeyvatDB::Materials::Standard
|
|
400
404
|
source_sub_category: :cooking,
|
401
405
|
).freeze
|
402
406
|
|
403
|
-
SAUSAGE =
|
407
|
+
SAUSAGE = GenshinObject::Material.new(
|
404
408
|
kamera_key: "Sausage",
|
405
409
|
name: "Sausage",
|
406
410
|
rarity: 1,
|
@@ -410,7 +414,7 @@ module TeyvatDB::Materials::Standard
|
|
410
414
|
source_sub_category: :cooking,
|
411
415
|
).freeze
|
412
416
|
|
413
|
-
SEAGRASS =
|
417
|
+
SEAGRASS = GenshinObject::Material.new(
|
414
418
|
kamera_key: "Seagrass",
|
415
419
|
name: "Seagrass",
|
416
420
|
rarity: 1,
|
@@ -420,7 +424,7 @@ module TeyvatDB::Materials::Standard
|
|
420
424
|
source_sub_category: :cooking,
|
421
425
|
).freeze
|
422
426
|
|
423
|
-
SMOKED_FOWL =
|
427
|
+
SMOKED_FOWL = GenshinObject::Material.new(
|
424
428
|
kamera_key: "SmokedFowl",
|
425
429
|
name: "Smoked Fowl",
|
426
430
|
rarity: 1,
|
@@ -430,7 +434,7 @@ module TeyvatDB::Materials::Standard
|
|
430
434
|
source_sub_category: :cooking,
|
431
435
|
).freeze
|
432
436
|
|
433
|
-
SNAPDRAGON =
|
437
|
+
SNAPDRAGON = GenshinObject::Material.new(
|
434
438
|
kamera_key: "Snapdragon",
|
435
439
|
name: "Snapdragon",
|
436
440
|
rarity: 1,
|
@@ -440,7 +444,7 @@ module TeyvatDB::Materials::Standard
|
|
440
444
|
source_sub_category: :cooking,
|
441
445
|
).freeze
|
442
446
|
|
443
|
-
SPICE =
|
447
|
+
SPICE = GenshinObject::Material.new(
|
444
448
|
kamera_key: "Spice",
|
445
449
|
name: "Spice",
|
446
450
|
rarity: 1,
|
@@ -450,7 +454,7 @@ module TeyvatDB::Materials::Standard
|
|
450
454
|
source_sub_category: :cooking,
|
451
455
|
).freeze
|
452
456
|
|
453
|
-
SHRIMP_MEAT =
|
457
|
+
SHRIMP_MEAT = GenshinObject::Material.new(
|
454
458
|
kamera_key: "ShrimpMeat",
|
455
459
|
name: "Shrimp Meat",
|
456
460
|
rarity: 1,
|
@@ -460,7 +464,7 @@ module TeyvatDB::Materials::Standard
|
|
460
464
|
source_sub_category: :cooking,
|
461
465
|
).freeze
|
462
466
|
|
463
|
-
SUGAR =
|
467
|
+
SUGAR = GenshinObject::Material.new(
|
464
468
|
kamera_key: "Sugar",
|
465
469
|
name: "Sugar",
|
466
470
|
rarity: 1,
|
@@ -470,7 +474,7 @@ module TeyvatDB::Materials::Standard
|
|
470
474
|
source_sub_category: :cooking,
|
471
475
|
).freeze
|
472
476
|
|
473
|
-
SUMERU_ROSE =
|
477
|
+
SUMERU_ROSE = GenshinObject::Material.new(
|
474
478
|
kamera_key: "SumeruRose",
|
475
479
|
name: "Sumeru Rose",
|
476
480
|
rarity: 1,
|
@@ -480,7 +484,7 @@ module TeyvatDB::Materials::Standard
|
|
480
484
|
source_sub_category: :cooking,
|
481
485
|
).freeze
|
482
486
|
|
483
|
-
SWEET_FLOWER =
|
487
|
+
SWEET_FLOWER = GenshinObject::Material.new(
|
484
488
|
kamera_key: "SweetFlower",
|
485
489
|
name: "Sweet Flower",
|
486
490
|
rarity: 1,
|
@@ -490,7 +494,7 @@ module TeyvatDB::Materials::Standard
|
|
490
494
|
source_sub_category: :cooking,
|
491
495
|
).freeze
|
492
496
|
|
493
|
-
TIDALGA =
|
497
|
+
TIDALGA = GenshinObject::Material.new(
|
494
498
|
kamera_key: "Tidalga",
|
495
499
|
name: "Tidalga",
|
496
500
|
rarity: 1,
|
@@ -500,7 +504,7 @@ module TeyvatDB::Materials::Standard
|
|
500
504
|
source_sub_category: :cooking,
|
501
505
|
).freeze
|
502
506
|
|
503
|
-
TOFU =
|
507
|
+
TOFU = GenshinObject::Material.new(
|
504
508
|
kamera_key: "Tofu",
|
505
509
|
name: "Tofu",
|
506
510
|
rarity: 1,
|
@@ -510,7 +514,7 @@ module TeyvatDB::Materials::Standard
|
|
510
514
|
source_sub_category: :cooking,
|
511
515
|
).freeze
|
512
516
|
|
513
|
-
TOMATO =
|
517
|
+
TOMATO = GenshinObject::Material.new(
|
514
518
|
kamera_key: "Tomato",
|
515
519
|
name: "Tomato",
|
516
520
|
rarity: 1,
|
@@ -520,7 +524,7 @@ module TeyvatDB::Materials::Standard
|
|
520
524
|
source_sub_category: :cooking,
|
521
525
|
).freeze
|
522
526
|
|
523
|
-
UNAGI_MEAT =
|
527
|
+
UNAGI_MEAT = GenshinObject::Material.new(
|
524
528
|
kamera_key: "UnagiMeat",
|
525
529
|
name: "Unagi Meat",
|
526
530
|
rarity: 1,
|
@@ -530,7 +534,7 @@ module TeyvatDB::Materials::Standard
|
|
530
534
|
source_sub_category: :cooking,
|
531
535
|
).freeze
|
532
536
|
|
533
|
-
WHEAT =
|
537
|
+
WHEAT = GenshinObject::Material.new(
|
534
538
|
kamera_key: "Wheat",
|
535
539
|
name: "Wheat",
|
536
540
|
rarity: 1,
|
@@ -540,7 +544,7 @@ module TeyvatDB::Materials::Standard
|
|
540
544
|
source_sub_category: :cooking,
|
541
545
|
).freeze
|
542
546
|
|
543
|
-
ZAYTUN_PEACH =
|
547
|
+
ZAYTUN_PEACH = GenshinObject::Material.new(
|
544
548
|
kamera_key: "ZaytunPeach",
|
545
549
|
name: "Zaytun Peach",
|
546
550
|
rarity: 1,
|
@@ -1,6 +1,10 @@
|
|
1
|
-
module
|
1
|
+
module GenshinData::Materials::Standard
|
2
2
|
module CraftingMaterialData
|
3
|
-
|
3
|
+
def self.all
|
4
|
+
self.constants.map { |x| "GenshinData::Materials::Standard::CraftingMaterialData::#{x}".constantize }
|
5
|
+
end
|
6
|
+
|
7
|
+
BUTTERFLY_WINGS = GenshinObject::Material.new(
|
4
8
|
kamera_key: "ButterflyWings",
|
5
9
|
name: "Butterfly Wings",
|
6
10
|
rarity: 1,
|
@@ -10,7 +14,7 @@ module TeyvatDB::Materials::Standard
|
|
10
14
|
source_sub_category: :miscellaneous,
|
11
15
|
).freeze
|
12
16
|
|
13
|
-
CRYSTAL_CORE =
|
17
|
+
CRYSTAL_CORE = GenshinObject::Material.new(
|
14
18
|
kamera_key: "CrystalCore",
|
15
19
|
name: "Crystal Core",
|
16
20
|
rarity: 1,
|
@@ -20,7 +24,7 @@ module TeyvatDB::Materials::Standard
|
|
20
24
|
source_sub_category: :miscellaneous,
|
21
25
|
).freeze
|
22
26
|
|
23
|
-
ELECTRO_CRYSTAL =
|
27
|
+
ELECTRO_CRYSTAL = GenshinObject::Material.new(
|
24
28
|
kamera_key: "ElectroCrystal",
|
25
29
|
name: "Electro Crystal",
|
26
30
|
rarity: 1,
|
@@ -30,7 +34,7 @@ module TeyvatDB::Materials::Standard
|
|
30
34
|
source_sub_category: :miscellaneous,
|
31
35
|
).freeze
|
32
36
|
|
33
|
-
FLAMING_FLOWER_STAMEN =
|
37
|
+
FLAMING_FLOWER_STAMEN = GenshinObject::Material.new(
|
34
38
|
kamera_key: "FlamingFlowerStamen",
|
35
39
|
name: "Flaming Flower Stamen",
|
36
40
|
rarity: 1,
|
@@ -40,7 +44,7 @@ module TeyvatDB::Materials::Standard
|
|
40
44
|
source_sub_category: :miscellaneous,
|
41
45
|
).freeze
|
42
46
|
|
43
|
-
FROG_MATERIAL =
|
47
|
+
FROG_MATERIAL = GenshinObject::Material.new(
|
44
48
|
kamera_key: "Frog",
|
45
49
|
name: "Frog",
|
46
50
|
rarity: 1,
|
@@ -50,7 +54,7 @@ module TeyvatDB::Materials::Standard
|
|
50
54
|
source_sub_category: :miscellaneous,
|
51
55
|
).freeze
|
52
56
|
|
53
|
-
LANTERN_FIBER =
|
57
|
+
LANTERN_FIBER = GenshinObject::Material.new(
|
54
58
|
kamera_key: "LanternFiber",
|
55
59
|
name: "Lantern Fiber",
|
56
60
|
rarity: 3,
|
@@ -60,7 +64,7 @@ module TeyvatDB::Materials::Standard
|
|
60
64
|
source_sub_category: :miscellaneous,
|
61
65
|
).freeze
|
62
66
|
|
63
|
-
LIZARD_TAIL =
|
67
|
+
LIZARD_TAIL = GenshinObject::Material.new(
|
64
68
|
kamera_key: "LizardTail",
|
65
69
|
name: "Lizard Tail",
|
66
70
|
rarity: 3,
|
@@ -70,7 +74,7 @@ module TeyvatDB::Materials::Standard
|
|
70
74
|
source_sub_category: :miscellaneous,
|
71
75
|
).freeze
|
72
76
|
|
73
|
-
LOACH_PEARL =
|
77
|
+
LOACH_PEARL = GenshinObject::Material.new(
|
74
78
|
kamera_key: "LoachPearl",
|
75
79
|
name: "Loach Pearl",
|
76
80
|
rarity: 1,
|
@@ -80,7 +84,7 @@ module TeyvatDB::Materials::Standard
|
|
80
84
|
source_sub_category: :miscellaneous,
|
81
85
|
).freeze
|
82
86
|
|
83
|
-
LUMINESCENT_SPINE =
|
87
|
+
LUMINESCENT_SPINE = GenshinObject::Material.new(
|
84
88
|
kamera_key: "LuminescentSpine",
|
85
89
|
name: "Luminescent Spine",
|
86
90
|
rarity: 1,
|
@@ -90,7 +94,7 @@ module TeyvatDB::Materials::Standard
|
|
90
94
|
source_sub_category: :miscellaneous,
|
91
95
|
).freeze
|
92
96
|
|
93
|
-
MIST_FLOWER_COROLLA =
|
97
|
+
MIST_FLOWER_COROLLA = GenshinObject::Material.new(
|
94
98
|
kamera_key: "MistFlowerCorolla",
|
95
99
|
name: "Mist Flower Corolla",
|
96
100
|
rarity: 1,
|
@@ -100,7 +104,7 @@ module TeyvatDB::Materials::Standard
|
|
100
104
|
source_sub_category: :miscellaneous,
|
101
105
|
).freeze
|
102
106
|
|
103
|
-
PLAUSTRITE_SHARD =
|
107
|
+
PLAUSTRITE_SHARD = GenshinObject::Material.new(
|
104
108
|
kamera_key: "PlaustriteShard",
|
105
109
|
name: "Plaustrite Shard",
|
106
110
|
rarity: 3,
|
@@ -110,7 +114,7 @@ module TeyvatDB::Materials::Standard
|
|
110
114
|
source_sub_category: :miscellaneous,
|
111
115
|
).freeze
|
112
116
|
|
113
|
-
STRANGE_TOOTH =
|
117
|
+
STRANGE_TOOTH = GenshinObject::Material.new(
|
114
118
|
kamera_key: "StrangeTooth",
|
115
119
|
name: "Strange Tooth",
|
116
120
|
rarity: 1,
|
@@ -120,7 +124,7 @@ module TeyvatDB::Materials::Standard
|
|
120
124
|
source_sub_category: :miscellaneous,
|
121
125
|
).freeze
|
122
126
|
|
123
|
-
WICK_MATERIAL =
|
127
|
+
WICK_MATERIAL = GenshinObject::Material.new(
|
124
128
|
kamera_key: "WickMaterial",
|
125
129
|
name: "Wick Material",
|
126
130
|
rarity: 3,
|