teyvatdb 0.1.12 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/genshin_data/artifact_sets/artifact_data.rb +263 -0
  4. data/lib/{teyvatdb → genshin_data}/artifact_sets.rb +3 -2
  5. data/lib/genshin_data/characters/character_data.rb +1115 -0
  6. data/lib/{teyvatdb → genshin_data}/characters.rb +8 -5
  7. data/lib/{teyvatdb → genshin_data}/materials/development/elite_monster_drops_data.rb +59 -55
  8. data/lib/{teyvatdb → genshin_data}/materials/development/gems_data.rb +37 -33
  9. data/lib/{teyvatdb → genshin_data}/materials/development/general_data.rb +15 -11
  10. data/lib/{teyvatdb → genshin_data}/materials/development/local_specialty_data.rb +59 -44
  11. data/lib/{teyvatdb → genshin_data}/materials/development/monster_loot_drops_data.rb +44 -40
  12. data/lib/{teyvatdb → genshin_data}/materials/development/talent_books_data.rb +50 -46
  13. data/lib/{teyvatdb → genshin_data}/materials/development/weapon_material_data.rb +65 -61
  14. data/lib/{teyvatdb → genshin_data}/materials/development/weapon_refinement_material_data.rb +18 -14
  15. data/lib/{teyvatdb → genshin_data}/materials/development/weekly_boss_drops_data.rb +62 -25
  16. data/lib/{teyvatdb → genshin_data}/materials/development/world_boss_drops_data.rb +54 -28
  17. data/lib/genshin_data/materials/development.rb +71 -0
  18. data/lib/{teyvatdb → genshin_data}/materials/standard/cooking_material_data.rb +60 -56
  19. data/lib/{teyvatdb → genshin_data}/materials/standard/crafting_material_data.rb +18 -14
  20. data/lib/{teyvatdb → genshin_data}/materials/standard/fishing_material_data.rb +49 -45
  21. data/lib/{teyvatdb → genshin_data}/materials/standard/forging_material_data.rb +23 -19
  22. data/lib/{teyvatdb → genshin_data}/materials/standard/furniture_material_data.rb +29 -25
  23. data/lib/genshin_data/materials/standard.rb +41 -0
  24. data/lib/{teyvatdb → genshin_data}/materials.rb +4 -2
  25. data/lib/genshin_data/nations/nation_data.rb +57 -0
  26. data/lib/genshin_data/nations.rb +12 -0
  27. data/lib/genshin_data/weapons/weapon_data/bows.rb +369 -0
  28. data/lib/genshin_data/weapons/weapon_data/catalysts.rb +359 -0
  29. data/lib/genshin_data/weapons/weapon_data/claymores.rb +339 -0
  30. data/lib/genshin_data/weapons/weapon_data/polearms.rb +289 -0
  31. data/lib/genshin_data/weapons/weapon_data/swords.rb +400 -0
  32. data/lib/genshin_data/weapons/weapon_data.rb +11 -0
  33. data/lib/genshin_data/weapons.rb +39 -0
  34. data/lib/genshin_data.rb +10 -0
  35. data/lib/{teyvatdb/genshin_data → genshin_object}/artifact_set.rb +4 -3
  36. data/lib/{teyvatdb/genshin_data → genshin_object}/character.rb +1 -1
  37. data/lib/{teyvatdb/genshin_data → genshin_object}/material.rb +1 -1
  38. data/lib/{teyvatdb/genshin_data → genshin_object}/nation.rb +1 -1
  39. data/lib/{teyvatdb/genshin_data → genshin_object}/weapon.rb +1 -1
  40. data/lib/genshin_object.rb +10 -0
  41. data/lib/teyvatdb/version.rb +1 -1
  42. data/lib/teyvatdb.rb +3 -7
  43. metadata +41 -35
  44. data/lib/teyvatdb/artifact_sets/artifact_data.rb +0 -265
  45. data/lib/teyvatdb/characters/character_data.rb +0 -1074
  46. data/lib/teyvatdb/genshin_data.rb +0 -13
  47. data/lib/teyvatdb/materials/development.rb +0 -428
  48. data/lib/teyvatdb/materials/standard.rb +0 -200
  49. data/lib/teyvatdb/nations/nation_data.rb +0 -55
  50. data/lib/teyvatdb/nations.rb +0 -21
  51. data/lib/teyvatdb/weapons/weapon_data.rb +0 -1697
  52. data/lib/teyvatdb/weapons.rb +0 -189
@@ -1,6 +1,10 @@
1
- module TeyvatDB::Materials::Development
1
+ module GenshinData::Materials::Development
2
2
  module WeaponMaterialData
3
- BIT_OF_AEROSIDERITE = TeyvatDB::GenshinData::Material.new(
3
+ def self.all
4
+ self.constants.map { |x| "GenshinData::Materials::Development::WeaponMaterialData::#{x}".constantize }
5
+ end
6
+
7
+ BIT_OF_AEROSIDERITE = GenshinObject::Material.new(
4
8
  kamera_key: "BitOfAerosiderite",
5
9
  name: "Bit of Aerosiderite",
6
10
  rarity: 4,
@@ -11,7 +15,7 @@ module TeyvatDB::Materials::Development
11
15
  nation_name: :liyue,
12
16
  ).freeze
13
17
 
14
- BOREAL_WOLFS_BROKEN_FANG = TeyvatDB::GenshinData::Material.new(
18
+ BOREAL_WOLFS_BROKEN_FANG = GenshinObject::Material.new(
15
19
  kamera_key: "BorealWolfsBrokenFang",
16
20
  name: "Boreal Wolf's Broken Fang",
17
21
  rarity: 4,
@@ -22,7 +26,7 @@ module TeyvatDB::Materials::Development
22
26
  nation_name: :mondstadt,
23
27
  ).freeze
24
28
 
25
- BOREAL_WOLFS_CRACKED_TOOTH = TeyvatDB::GenshinData::Material.new(
29
+ BOREAL_WOLFS_CRACKED_TOOTH = GenshinObject::Material.new(
26
30
  kamera_key: "BorealWolfsCrackedTooth",
27
31
  name: "Boreal Wolf's Cracked Tooth",
28
32
  rarity: 3,
@@ -33,7 +37,7 @@ module TeyvatDB::Materials::Development
33
37
  nation_name: :mondstadt,
34
38
  ).freeze
35
39
 
36
- BOREAL_WOLFS_MILK_TOOTH = TeyvatDB::GenshinData::Material.new(
40
+ BOREAL_WOLFS_MILK_TOOTH = GenshinObject::Material.new(
37
41
  kamera_key: "BorealWolfsMilkTooth",
38
42
  name: "Boreal Wolf's Milk Tooth",
39
43
  rarity: 2,
@@ -44,7 +48,7 @@ module TeyvatDB::Materials::Development
44
48
  nation_name: :mondstadt,
45
49
  ).freeze
46
50
 
47
- BOREAL_WOLFS_NOSTALGIA = TeyvatDB::GenshinData::Material.new(
51
+ BOREAL_WOLFS_NOSTALGIA = GenshinObject::Material.new(
48
52
  kamera_key: "BorealWolfsNostalgia",
49
53
  name: "Boreal Wolf's Nostalgia",
50
54
  rarity: 5,
@@ -55,7 +59,7 @@ module TeyvatDB::Materials::Development
55
59
  nation_name: :mondstadt,
56
60
  ).freeze
57
61
 
58
- BROKEN_GOBLET_OF_THE_PRISTINE_SEA = TeyvatDB::GenshinData::Material.new(
62
+ BROKEN_GOBLET_OF_THE_PRISTINE_SEA = GenshinObject::Material.new(
59
63
  kamera_key: "BrokenGobletOfThePristineSea",
60
64
  name: "Broken Goblet of the Pristine Sea",
61
65
  rarity: 2,
@@ -66,7 +70,7 @@ module TeyvatDB::Materials::Development
66
70
  nation_name: :fontaine,
67
71
  ).freeze
68
72
 
69
- CHAINS_OF_THE_DANDELION_GLADIATOR = TeyvatDB::GenshinData::Material.new(
73
+ CHAINS_OF_THE_DANDELION_GLADIATOR = GenshinObject::Material.new(
70
74
  kamera_key: "ChainsOfTheDandelionGladiator",
71
75
  name: "Chains of the Dandelion Gladiator",
72
76
  rarity: 3,
@@ -77,7 +81,7 @@ module TeyvatDB::Materials::Development
77
81
  nation_name: :mondstadt,
78
82
  ).freeze
79
83
 
80
- CHAPTER_OF_AN_ANCIENT_CHORD = TeyvatDB::GenshinData::Material.new(
84
+ CHAPTER_OF_AN_ANCIENT_CHORD = GenshinObject::Material.new(
81
85
  kamera_key: "ChapterOfAnAncientChord",
82
86
  name: "Chapter of an Ancient Chord",
83
87
  rarity: 3,
@@ -88,7 +92,7 @@ module TeyvatDB::Materials::Development
88
92
  nation_name: :fontaine,
89
93
  ).freeze
90
94
 
91
- CHUNK_OF_AEROSIDERITE = TeyvatDB::GenshinData::Material.new(
95
+ CHUNK_OF_AEROSIDERITE = GenshinObject::Material.new(
92
96
  kamera_key: "ChunkOfAerosiderite",
93
97
  name: "Chunk of Aerosiderite",
94
98
  rarity: 5,
@@ -99,7 +103,7 @@ module TeyvatDB::Materials::Development
99
103
  nation_name: :liyue,
100
104
  ).freeze
101
105
 
102
- COPPER_TALISMAN_OF_THE_FOREST_DEW = TeyvatDB::GenshinData::Material.new(
106
+ COPPER_TALISMAN_OF_THE_FOREST_DEW = GenshinObject::Material.new(
103
107
  kamera_key: "CopperTalismanOfTheForestDew",
104
108
  name: "Copper Talisman of the Forest Dew",
105
109
  rarity: 2,
@@ -110,7 +114,7 @@ module TeyvatDB::Materials::Development
110
114
  nation_name: :sumeru,
111
115
  ).freeze
112
116
 
113
- CORAL_BRANCH_OF_A_DISTANT_SEA = TeyvatDB::GenshinData::Material.new(
117
+ CORAL_BRANCH_OF_A_DISTANT_SEA = GenshinObject::Material.new(
114
118
  kamera_key: "CoralBranchOfADistantSea",
115
119
  name: "Coral Branch of a Distant Sea",
116
120
  rarity: 2,
@@ -121,7 +125,7 @@ module TeyvatDB::Materials::Development
121
125
  nation_name: :inazuma,
122
126
  ).freeze
123
127
 
124
- DEBRIS_OF_DECARABIANS_CITY = TeyvatDB::GenshinData::Material.new(
128
+ DEBRIS_OF_DECARABIANS_CITY = GenshinObject::Material.new(
125
129
  kamera_key: "DebrisOfDecarabiansCity",
126
130
  name: "Debris of Decarabian's City",
127
131
  rarity: 3,
@@ -132,7 +136,7 @@ module TeyvatDB::Materials::Development
132
136
  nation_name: :mondstadt,
133
137
  ).freeze
134
138
 
135
- DIVINE_BODY_FROM_GUYUN = TeyvatDB::GenshinData::Material.new(
139
+ DIVINE_BODY_FROM_GUYUN = GenshinObject::Material.new(
136
140
  kamera_key: "DivineBodyFromGuyun",
137
141
  name: "Divine Body from Guyun",
138
142
  rarity: 5,
@@ -143,7 +147,7 @@ module TeyvatDB::Materials::Development
143
147
  nation_name: :liyue,
144
148
  ).freeze
145
149
 
146
- DREAM_OF_SCORCHING_MIGHT = TeyvatDB::GenshinData::Material.new(
150
+ DREAM_OF_SCORCHING_MIGHT = GenshinObject::Material.new(
147
151
  kamera_key: "DreamOfScorchingMight",
148
152
  name: "Dream of Scorching Might",
149
153
  rarity: 4,
@@ -154,7 +158,7 @@ module TeyvatDB::Materials::Development
154
158
  nation_name: :sumeru,
155
159
  ).freeze
156
160
 
157
- DREAM_OF_THE_DANDELION_GLADIATOR = TeyvatDB::GenshinData::Material.new(
161
+ DREAM_OF_THE_DANDELION_GLADIATOR = GenshinObject::Material.new(
158
162
  kamera_key: "DreamOfTheDandelionGladiator",
159
163
  name: "Dream of the Dandelion Gladiator",
160
164
  rarity: 5,
@@ -165,7 +169,7 @@ module TeyvatDB::Materials::Development
165
169
  nation_name: :mondstadt,
166
170
  ).freeze
167
171
 
168
- DROSS_OF_PURE_SACRED_DEWDROP = TeyvatDB::GenshinData::Material.new(
172
+ DROSS_OF_PURE_SACRED_DEWDROP = GenshinObject::Material.new(
169
173
  kamera_key: "DrossOfPureSacredDewdrop",
170
174
  name: "Dross of Pure Sacred Dewdrop",
171
175
  rarity: 2,
@@ -176,7 +180,7 @@ module TeyvatDB::Materials::Development
176
180
  nation_name: :fontaine,
177
181
  ).freeze
178
182
 
179
- ECHO_OF_AN_ANCIENT_CHORD = TeyvatDB::GenshinData::Material.new(
183
+ ECHO_OF_AN_ANCIENT_CHORD = GenshinObject::Material.new(
180
184
  kamera_key: "EchoOfAnAncientChord",
181
185
  name: "Echo of an Ancient Chord",
182
186
  rarity: 5,
@@ -187,7 +191,7 @@ module TeyvatDB::Materials::Development
187
191
  nation_name: :fontaine,
188
192
  ).freeze
189
193
 
190
- ECHO_OF_SCORCHING_MIGHT = TeyvatDB::GenshinData::Material.new(
194
+ ECHO_OF_SCORCHING_MIGHT = GenshinObject::Material.new(
191
195
  kamera_key: "EchoOfScorchingMight",
192
196
  name: "Echo of Scorching Might",
193
197
  rarity: 2,
@@ -198,7 +202,7 @@ module TeyvatDB::Materials::Development
198
202
  nation_name: :sumeru,
199
203
  ).freeze
200
204
 
201
- ESSENCE_OF_PURE_SACRED_DEWDROP = TeyvatDB::GenshinData::Material.new(
205
+ ESSENCE_OF_PURE_SACRED_DEWDROP = GenshinObject::Material.new(
202
206
  kamera_key: "EssenceOfPureSacredDewdrop",
203
207
  name: "Essence of Pure Sacred Dewdrop",
204
208
  rarity: 5,
@@ -209,7 +213,7 @@ module TeyvatDB::Materials::Development
209
213
  nation_name: :fontaine,
210
214
  ).freeze
211
215
 
212
- FETTERS_OF_THE_DANDELION_GLADIATOR = TeyvatDB::GenshinData::Material.new(
216
+ FETTERS_OF_THE_DANDELION_GLADIATOR = GenshinObject::Material.new(
213
217
  kamera_key: "FettersOfTheDandelionGladiator",
214
218
  name: "Fetters of the Dandelion Gladiator",
215
219
  rarity: 2,
@@ -220,7 +224,7 @@ module TeyvatDB::Materials::Development
220
224
  nation_name: :mondstadt,
221
225
  ).freeze
222
226
 
223
- FRAGMENT_OF_AN_ANCIENT_CHORD = TeyvatDB::GenshinData::Material.new(
227
+ FRAGMENT_OF_AN_ANCIENT_CHORD = GenshinObject::Material.new(
224
228
  kamera_key: "FragmentOfAnAncientChord",
225
229
  name: "Fragment of an Ancient Chord",
226
230
  rarity: 2,
@@ -231,7 +235,7 @@ module TeyvatDB::Materials::Development
231
235
  nation_name: :fontaine,
232
236
  ).freeze
233
237
 
234
- FRAGMENT_OF_DECARABIANS_EPIC = TeyvatDB::GenshinData::Material.new(
238
+ FRAGMENT_OF_DECARABIANS_EPIC = GenshinObject::Material.new(
235
239
  kamera_key: "FragmentOfDecarabiansEpic",
236
240
  name: "Fragment of Decarabian's Epic",
237
241
  rarity: 4,
@@ -242,7 +246,7 @@ module TeyvatDB::Materials::Development
242
246
  nation_name: :mondstadt,
243
247
  ).freeze
244
248
 
245
- GOLDEN_BRANCH_OF_A_DISTANT_SEA = TeyvatDB::GenshinData::Material.new(
249
+ GOLDEN_BRANCH_OF_A_DISTANT_SEA = GenshinObject::Material.new(
246
250
  kamera_key: "GoldenBranchOfADistantSea",
247
251
  name: "Golden Branch of a Distant Sea",
248
252
  rarity: 5,
@@ -253,7 +257,7 @@ module TeyvatDB::Materials::Development
253
257
  nation_name: :inazuma,
254
258
  ).freeze
255
259
 
256
- GOLDEN_GOBLET_OF_THE_PRISTINE_SEA = TeyvatDB::GenshinData::Material.new(
260
+ GOLDEN_GOBLET_OF_THE_PRISTINE_SEA = GenshinObject::Material.new(
257
261
  kamera_key: "GoldenGobletOfThePristineSea",
258
262
  name: "Golden Goblet of the Pristine Sea",
259
263
  rarity: 5,
@@ -264,7 +268,7 @@ module TeyvatDB::Materials::Development
264
268
  nation_name: :fontaine,
265
269
  ).freeze
266
270
 
267
- GOLDEN_TALISMAN_OF_THE_FOREST_DEW = TeyvatDB::GenshinData::Material.new(
271
+ GOLDEN_TALISMAN_OF_THE_FOREST_DEW = GenshinObject::Material.new(
268
272
  kamera_key: "GoldenTalismanOfTheForestDew",
269
273
  name: "Golden Talisman of the Forest Dew",
270
274
  rarity: 5,
@@ -275,7 +279,7 @@ module TeyvatDB::Materials::Development
275
279
  nation_name: :sumeru,
276
280
  ).freeze
277
281
 
278
- GRAIN_OF_AEROSIDERITE = TeyvatDB::GenshinData::Material.new(
282
+ GRAIN_OF_AEROSIDERITE = GenshinObject::Material.new(
279
283
  kamera_key: "GrainOfAerosiderite",
280
284
  name: "Grain of Aerosiderite",
281
285
  rarity: 2,
@@ -286,7 +290,7 @@ module TeyvatDB::Materials::Development
286
290
  nation_name: :liyue,
287
291
  ).freeze
288
292
 
289
- IRON_TALISMAN_OF_THE_FOREST_DEW = TeyvatDB::GenshinData::Material.new(
293
+ IRON_TALISMAN_OF_THE_FOREST_DEW = GenshinObject::Material.new(
290
294
  kamera_key: "IronTalismanOfTheForestDew",
291
295
  name: "Iron Talisman of the Forest Dew",
292
296
  rarity: 3,
@@ -297,7 +301,7 @@ module TeyvatDB::Materials::Development
297
301
  nation_name: :sumeru,
298
302
  ).freeze
299
303
 
300
- JADE_BRANCH_OF_A_DISTANT_SEA = TeyvatDB::GenshinData::Material.new(
304
+ JADE_BRANCH_OF_A_DISTANT_SEA = GenshinObject::Material.new(
301
305
  kamera_key: "JadeBranchOfADistantSea",
302
306
  name: "Jade Branch of a Distant Sea",
303
307
  rarity: 4,
@@ -308,7 +312,7 @@ module TeyvatDB::Materials::Development
308
312
  nation_name: :inazuma,
309
313
  ).freeze
310
314
 
311
- JEWELED_BRANCH_OF_A_DISTANT_SEA = TeyvatDB::GenshinData::Material.new(
315
+ JEWELED_BRANCH_OF_A_DISTANT_SEA = GenshinObject::Material.new(
312
316
  kamera_key: "JeweledBranchOfADistantSea",
313
317
  name: "Jeweled Branch of a Distant Sea",
314
318
  rarity: 3,
@@ -319,7 +323,7 @@ module TeyvatDB::Materials::Development
319
323
  nation_name: :inazuma,
320
324
  ).freeze
321
325
 
322
- LUMINOUS_SANDS_FROM_GUYUN = TeyvatDB::GenshinData::Material.new(
326
+ LUMINOUS_SANDS_FROM_GUYUN = GenshinObject::Material.new(
323
327
  kamera_key: "LuminousSandsFromGuyun",
324
328
  name: "Luminous Sands from Guyun",
325
329
  rarity: 2,
@@ -330,7 +334,7 @@ module TeyvatDB::Materials::Development
330
334
  nation_name: :liyue,
331
335
  ).freeze
332
336
 
333
- LUSTROUS_STONE_FROM_GUYUN = TeyvatDB::GenshinData::Material.new(
337
+ LUSTROUS_STONE_FROM_GUYUN = GenshinObject::Material.new(
334
338
  kamera_key: "LustrousStoneFromGuyun",
335
339
  name: "Lustrous Stone from Guyun",
336
340
  rarity: 3,
@@ -341,7 +345,7 @@ module TeyvatDB::Materials::Development
341
345
  nation_name: :liyue,
342
346
  ).freeze
343
347
 
344
- MASK_OF_THE_KIJIN = TeyvatDB::GenshinData::Material.new(
348
+ MASK_OF_THE_KIJIN = GenshinObject::Material.new(
345
349
  kamera_key: "MaskOfTheKijin",
346
350
  name: "Mask of the Kijin",
347
351
  rarity: 5,
@@ -352,7 +356,7 @@ module TeyvatDB::Materials::Development
352
356
  nation_name: :inazuma,
353
357
  ).freeze
354
358
 
355
- MASK_OF_THE_ONE_HORNED = TeyvatDB::GenshinData::Material.new(
359
+ MASK_OF_THE_ONE_HORNED = GenshinObject::Material.new(
356
360
  kamera_key: "MaskOfTheOneHorned",
357
361
  name: "Mask of the One-Horned",
358
362
  rarity: 4,
@@ -363,7 +367,7 @@ module TeyvatDB::Materials::Development
363
367
  nation_name: :inazuma,
364
368
  ).freeze
365
369
 
366
- MASK_OF_THE_TIGERS_BITE = TeyvatDB::GenshinData::Material.new(
370
+ MASK_OF_THE_TIGERS_BITE = GenshinObject::Material.new(
367
371
  kamera_key: "MaskOfTheTigersBite",
368
372
  name: "Mask of the Tiger's Bite",
369
373
  rarity: 3,
@@ -374,7 +378,7 @@ module TeyvatDB::Materials::Development
374
378
  nation_name: :inazuma,
375
379
  ).freeze
376
380
 
377
- MASK_OF_THE_WICKED_LIEUTENANT = TeyvatDB::GenshinData::Material.new(
381
+ MASK_OF_THE_WICKED_LIEUTENANT = GenshinObject::Material.new(
378
382
  kamera_key: "MaskOfTheWickedLieutenant",
379
383
  name: "Mask of the Wicked Lieutenant",
380
384
  rarity: 2,
@@ -385,7 +389,7 @@ module TeyvatDB::Materials::Development
385
389
  nation_name: :inazuma,
386
390
  ).freeze
387
391
 
388
- MIST_VEILED_GOLD_ELIXIR = TeyvatDB::GenshinData::Material.new(
392
+ MIST_VEILED_GOLD_ELIXIR = GenshinObject::Material.new(
389
393
  kamera_key: "MistVeiledGoldElixir",
390
394
  name: "Mist Veiled Gold Elixir",
391
395
  rarity: 4,
@@ -396,7 +400,7 @@ module TeyvatDB::Materials::Development
396
400
  nation_name: :liyue,
397
401
  ).freeze
398
402
 
399
- MIST_VEILED_LEAD_ELIXIR = TeyvatDB::GenshinData::Material.new(
403
+ MIST_VEILED_LEAD_ELIXIR = GenshinObject::Material.new(
400
404
  kamera_key: "MistVeiledLeadElixir",
401
405
  name: "Mist Veiled Lead Elixir",
402
406
  rarity: 2,
@@ -407,7 +411,7 @@ module TeyvatDB::Materials::Development
407
411
  nation_name: :liyue,
408
412
  ).freeze
409
413
 
410
- MIST_VEILED_MERCURY_ELIXIR = TeyvatDB::GenshinData::Material.new(
414
+ MIST_VEILED_MERCURY_ELIXIR = GenshinObject::Material.new(
411
415
  kamera_key: "MistVeiledMercuryElixir",
412
416
  name: "Mist Veiled Mercury Elixir",
413
417
  rarity: 3,
@@ -418,7 +422,7 @@ module TeyvatDB::Materials::Development
418
422
  nation_name: :liyue,
419
423
  ).freeze
420
424
 
421
- MIST_VEILED_PRIMO_ELIXIR = TeyvatDB::GenshinData::Material.new(
425
+ MIST_VEILED_PRIMO_ELIXIR = GenshinObject::Material.new(
422
426
  kamera_key: "MistVeiledPrimoElixir",
423
427
  name: "Mist Veiled Primo Elixir",
424
428
  rarity: 5,
@@ -429,7 +433,7 @@ module TeyvatDB::Materials::Development
429
433
  nation_name: :liyue,
430
434
  ).freeze
431
435
 
432
- MOVEMENT_OF_AN_ANCIENT_CHORD = TeyvatDB::GenshinData::Material.new(
436
+ MOVEMENT_OF_AN_ANCIENT_CHORD = GenshinObject::Material.new(
433
437
  kamera_key: "MovementOfAnAncientChord",
434
438
  name: "Movement of an Ancient Chord",
435
439
  rarity: 4,
@@ -440,7 +444,7 @@ module TeyvatDB::Materials::Development
440
444
  nation_name: :fontaine,
441
445
  ).freeze
442
446
 
443
- NARUKAMIS_AFFECTION = TeyvatDB::GenshinData::Material.new(
447
+ NARUKAMIS_AFFECTION = GenshinObject::Material.new(
444
448
  kamera_key: "NarukamisAffection",
445
449
  name: "Narukami's Affection",
446
450
  rarity: 4,
@@ -451,7 +455,7 @@ module TeyvatDB::Materials::Development
451
455
  nation_name: :inazuma,
452
456
  ).freeze
453
457
 
454
- NARUKAMIS_JOY = TeyvatDB::GenshinData::Material.new(
458
+ NARUKAMIS_JOY = GenshinObject::Material.new(
455
459
  kamera_key: "NarukamisJoy",
456
460
  name: "Narukami's Joy",
457
461
  rarity: 3,
@@ -462,7 +466,7 @@ module TeyvatDB::Materials::Development
462
466
  nation_name: :inazuma,
463
467
  ).freeze
464
468
 
465
- NARUKAMIS_VALOR = TeyvatDB::GenshinData::Material.new(
469
+ NARUKAMIS_VALOR = GenshinObject::Material.new(
466
470
  kamera_key: "NarukamisValor",
467
471
  name: "Narukami's Valor",
468
472
  rarity: 5,
@@ -473,7 +477,7 @@ module TeyvatDB::Materials::Development
473
477
  nation_name: :inazuma,
474
478
  ).freeze
475
479
 
476
- NARUKAMIS_WISDOM = TeyvatDB::GenshinData::Material.new(
480
+ NARUKAMIS_WISDOM = GenshinObject::Material.new(
477
481
  kamera_key: "NarukamisWisdom",
478
482
  name: "Narukami's Wisdom",
479
483
  rarity: 2,
@@ -484,7 +488,7 @@ module TeyvatDB::Materials::Development
484
488
  nation_name: :inazuma,
485
489
  ).freeze
486
490
 
487
- OASIS_GARDENS_KINDNESS = TeyvatDB::GenshinData::Material.new(
491
+ OASIS_GARDENS_KINDNESS = GenshinObject::Material.new(
488
492
  kamera_key: "OasisGardensKindness",
489
493
  name: "Oasis Garden's Kindness",
490
494
  rarity: 3,
@@ -495,7 +499,7 @@ module TeyvatDB::Materials::Development
495
499
  nation_name: :sumeru,
496
500
  ).freeze
497
501
 
498
- OASIS_GARDENS_MOURNING = TeyvatDB::GenshinData::Material.new(
502
+ OASIS_GARDENS_MOURNING = GenshinObject::Material.new(
499
503
  kamera_key: "OasisGardensMourning",
500
504
  name: "Oasis Garden's Mourning",
501
505
  rarity: 4,
@@ -506,7 +510,7 @@ module TeyvatDB::Materials::Development
506
510
  nation_name: :sumeru,
507
511
  ).freeze
508
512
 
509
- OASIS_GARDENS_REMINISCENCE = TeyvatDB::GenshinData::Material.new(
513
+ OASIS_GARDENS_REMINISCENCE = GenshinObject::Material.new(
510
514
  kamera_key: "OasisGardensReminiscence",
511
515
  name: "Oasis Garden's Reminiscence",
512
516
  rarity: 2,
@@ -517,7 +521,7 @@ module TeyvatDB::Materials::Development
517
521
  nation_name: :sumeru,
518
522
  ).freeze
519
523
 
520
- OASIS_GARDENS_TRUTH = TeyvatDB::GenshinData::Material.new(
524
+ OASIS_GARDENS_TRUTH = GenshinObject::Material.new(
521
525
  kamera_key: "OasisGardensTruth",
522
526
  name: "Oasis Garden's Truth",
523
527
  rarity: 5,
@@ -528,7 +532,7 @@ module TeyvatDB::Materials::Development
528
532
  nation_name: :sumeru,
529
533
  ).freeze
530
534
 
531
- OLDEN_DAYS_OF_SCORCHING_MIGHT = TeyvatDB::GenshinData::Material.new(
535
+ OLDEN_DAYS_OF_SCORCHING_MIGHT = GenshinObject::Material.new(
532
536
  kamera_key: "OldenDaysOfScorchingMight",
533
537
  name: "Olden Days of Scorching Might",
534
538
  rarity: 5,
@@ -539,7 +543,7 @@ module TeyvatDB::Materials::Development
539
543
  nation_name: :sumeru,
540
544
  ).freeze
541
545
 
542
- PIECE_OF_AEROSIDERITE = TeyvatDB::GenshinData::Material.new(
546
+ PIECE_OF_AEROSIDERITE = GenshinObject::Material.new(
543
547
  kamera_key: "PieceOfAerosiderite",
544
548
  name: "Piece of Aerosiderite",
545
549
  rarity: 3,
@@ -550,7 +554,7 @@ module TeyvatDB::Materials::Development
550
554
  nation_name: :liyue,
551
555
  ).freeze
552
556
 
553
- RELIC_FROM_GUYUN = TeyvatDB::GenshinData::Material.new(
557
+ RELIC_FROM_GUYUN = GenshinObject::Material.new(
554
558
  kamera_key: "RelicFromGuyun",
555
559
  name: "Relic from Guyun",
556
560
  rarity: 4,
@@ -561,7 +565,7 @@ module TeyvatDB::Materials::Development
561
565
  nation_name: :liyue,
562
566
  ).freeze
563
567
 
564
- REMNANT_GLOW_OF_SCORCHING_MIGHT = TeyvatDB::GenshinData::Material.new(
568
+ REMNANT_GLOW_OF_SCORCHING_MIGHT = GenshinObject::Material.new(
565
569
  kamera_key: "RemnantGlowOfScorchingMight",
566
570
  name: "Remnant Glow of Scorching Might",
567
571
  rarity: 3,
@@ -572,7 +576,7 @@ module TeyvatDB::Materials::Development
572
576
  nation_name: :sumeru,
573
577
  ).freeze
574
578
 
575
- SCATTERED_PIECE_OF_DECARABIANS_DREAM = TeyvatDB::GenshinData::Material.new(
579
+ SCATTERED_PIECE_OF_DECARABIANS_DREAM = GenshinObject::Material.new(
576
580
  kamera_key: "ScatteredPieceOfDecarabiansDream",
577
581
  name: "Scattered Piece of Decarabian's Dream",
578
582
  rarity: 5,
@@ -583,7 +587,7 @@ module TeyvatDB::Materials::Development
583
587
  nation_name: :mondstadt,
584
588
  ).freeze
585
589
 
586
- SHACKLES_OF_THE_DANDELION_GLADIATOR = TeyvatDB::GenshinData::Material.new(
590
+ SHACKLES_OF_THE_DANDELION_GLADIATOR = GenshinObject::Material.new(
587
591
  kamera_key: "ShacklesOfTheDandelionGladiator",
588
592
  name: "Shackles of the Dandelion Gladiator",
589
593
  rarity: 4,
@@ -594,7 +598,7 @@ module TeyvatDB::Materials::Development
594
598
  nation_name: :mondstadt,
595
599
  ).freeze
596
600
 
597
- SILVER_GOBLET_OF_THE_PRISTINE_SEA = TeyvatDB::GenshinData::Material.new(
601
+ SILVER_GOBLET_OF_THE_PRISTINE_SEA = GenshinObject::Material.new(
598
602
  kamera_key: "SilverGobletOfThePristineSea",
599
603
  name: "Silver Goblet of the Pristine Sea",
600
604
  rarity: 4,
@@ -605,7 +609,7 @@ module TeyvatDB::Materials::Development
605
609
  nation_name: :fontaine,
606
610
  ).freeze
607
611
 
608
- SILVER_TALISMAN_OF_THE_FOREST_DEW = TeyvatDB::GenshinData::Material.new(
612
+ SILVER_TALISMAN_OF_THE_FOREST_DEW = GenshinObject::Material.new(
609
613
  kamera_key: "SilverTalismanOfTheForestDew",
610
614
  name: "Silver Talisman of the Forest Dew",
611
615
  rarity: 4,
@@ -616,7 +620,7 @@ module TeyvatDB::Materials::Development
616
620
  nation_name: :sumeru,
617
621
  ).freeze
618
622
 
619
- SPRING_OF_PURE_SACRED_DEWDROP = TeyvatDB::GenshinData::Material.new(
623
+ SPRING_OF_PURE_SACRED_DEWDROP = GenshinObject::Material.new(
620
624
  kamera_key: "SpringOfPureSacredDewdrop",
621
625
  name: "Spring of Pure Sacred Dewdrop",
622
626
  rarity: 4,
@@ -627,7 +631,7 @@ module TeyvatDB::Materials::Development
627
631
  nation_name: :fontaine,
628
632
  ).freeze
629
633
 
630
- SUBLIMATION_OF_PURE_SACRED_DEWDROP = TeyvatDB::GenshinData::Material.new(
634
+ SUBLIMATION_OF_PURE_SACRED_DEWDROP = GenshinObject::Material.new(
631
635
  kamera_key: "SublimationOfPureSacredDewdrop",
632
636
  name: "Sublimation of Pure Sacred Dewdrop",
633
637
  rarity: 3,
@@ -638,7 +642,7 @@ module TeyvatDB::Materials::Development
638
642
  nation_name: :fontaine,
639
643
  ).freeze
640
644
 
641
- TILE_OF_DECARABIANS_TOWER = TeyvatDB::GenshinData::Material.new(
645
+ TILE_OF_DECARABIANS_TOWER = GenshinObject::Material.new(
642
646
  kamera_key: "TileOfDecarabiansTower",
643
647
  name: "Tile of Decarabian's Tower",
644
648
  rarity: 2,
@@ -649,7 +653,7 @@ module TeyvatDB::Materials::Development
649
653
  nation_name: :mondstadt,
650
654
  ).freeze
651
655
 
652
- WINE_GOBLET_OF_THE_PRISTINE_SEA = TeyvatDB::GenshinData::Material.new(
656
+ WINE_GOBLET_OF_THE_PRISTINE_SEA = GenshinObject::Material.new(
653
657
  kamera_key: "WineGobletOfThePristineSea",
654
658
  name: "Wine Goblet of the Pristine Sea",
655
659
  rarity: 3,
@@ -1,6 +1,10 @@
1
- module TeyvatDB::Materials::Development
1
+ module GenshinData::Materials::Development
2
2
  module WeaponRefinementMaterialData
3
- AKOS_SAKE_VESSEL = TeyvatDB::GenshinData::Material.new(
3
+ def self.all
4
+ self.constants.map { |x| "GenshinData::Materials::Development::WeaponRefinementMaterialData::#{x}".constantize }
5
+ end
6
+
7
+ AKOS_SAKE_VESSEL = GenshinObject::Material.new(
4
8
  kamera_key: "AkosSakeVessel",
5
9
  name: "Ako's Sake Vessel",
6
10
  rarity: 4,
@@ -10,7 +14,7 @@ module TeyvatDB::Materials::Development
10
14
  source_sub_category: :refine_material,
11
15
  ).freeze
12
16
 
13
- ALKAHEST = TeyvatDB::GenshinData::Material.new(
17
+ ALKAHEST = GenshinObject::Material.new(
14
18
  kamera_key: "Alkahest",
15
19
  name: "Alkahest",
16
20
  rarity: 4,
@@ -20,7 +24,7 @@ module TeyvatDB::Materials::Development
20
24
  source_sub_category: :refine_material,
21
25
  ).freeze
22
26
 
23
- CONGEALED_PUPA_WAX = TeyvatDB::GenshinData::Material.new(
27
+ CONGEALED_PUPA_WAX = GenshinObject::Material.new(
24
28
  kamera_key: "CongealedPupaWax",
25
29
  name: "Congealed Pupa Wax",
26
30
  rarity: 4,
@@ -30,7 +34,7 @@ module TeyvatDB::Materials::Development
30
34
  source_sub_category: :refine_material,
31
35
  ).freeze
32
36
 
33
- EMPERORS_BALSAM = TeyvatDB::GenshinData::Material.new(
37
+ EMPERORS_BALSAM = GenshinObject::Material.new(
34
38
  kamera_key: "EmperorsBalsam",
35
39
  name: "Emperor's Balsam",
36
40
  rarity: 4,
@@ -40,7 +44,7 @@ module TeyvatDB::Materials::Development
40
44
  source_sub_category: :refine_material,
41
45
  ).freeze
42
46
 
43
- FESTERING_DRAGON_MARROW = TeyvatDB::GenshinData::Material.new(
47
+ FESTERING_DRAGON_MARROW = GenshinObject::Material.new(
44
48
  kamera_key: "FesteringDragonMarrow",
45
49
  name: "Festering Dragon Marrow",
46
50
  rarity: 4,
@@ -50,7 +54,7 @@ module TeyvatDB::Materials::Development
50
54
  source_sub_category: :refine_material,
51
55
  ).freeze
52
56
 
53
- FRAGMENTS_OF_INNOCENCE = TeyvatDB::GenshinData::Material.new(
57
+ FRAGMENTS_OF_INNOCENCE = GenshinObject::Material.new(
54
58
  kamera_key: "FragmentsOfInnocence",
55
59
  name: "Fragments of Innocence",
56
60
  rarity: 4,
@@ -60,7 +64,7 @@ module TeyvatDB::Materials::Development
60
64
  source_sub_category: :refine_material,
61
65
  ).freeze
62
66
 
63
- GLOWING_GEM = TeyvatDB::GenshinData::Material.new(
67
+ GLOWING_GEM = GenshinObject::Material.new(
64
68
  kamera_key: "GlowingGem",
65
69
  name: "Glowing Gem",
66
70
  rarity: 4,
@@ -70,7 +74,7 @@ module TeyvatDB::Materials::Development
70
74
  source_sub_category: :refine_material,
71
75
  ).freeze
72
76
 
73
- OINTMENT_OF_INSIGHT = TeyvatDB::GenshinData::Material.new(
77
+ OINTMENT_OF_INSIGHT = GenshinObject::Material.new(
74
78
  kamera_key: "OintmentOfInsight",
75
79
  name: "Ointment of Insight",
76
80
  rarity: 4,
@@ -80,7 +84,7 @@ module TeyvatDB::Materials::Development
80
84
  source_sub_category: :refine_material,
81
85
  ).freeze
82
86
 
83
- ORIGINAL_FISH_OINTMENT = TeyvatDB::GenshinData::Material.new(
87
+ ORIGINAL_FISH_OINTMENT = GenshinObject::Material.new(
84
88
  kamera_key: "OriginalFishOintment",
85
89
  name: "Original Fish Ointment",
86
90
  rarity: 4,
@@ -90,7 +94,7 @@ module TeyvatDB::Materials::Development
90
94
  source_sub_category: :refine_material,
91
95
  ).freeze
92
96
 
93
- PARASOL_TALCUM = TeyvatDB::GenshinData::Material.new(
97
+ PARASOL_TALCUM = GenshinObject::Material.new(
94
98
  kamera_key: "ParasolTalcum",
95
99
  name: "Parasol Talcum",
96
100
  rarity: 4,
@@ -100,7 +104,7 @@ module TeyvatDB::Materials::Development
100
104
  source_sub_category: :refine_material,
101
105
  ).freeze
102
106
 
103
- PLUME_OF_THE_CHANGING_WINDS = TeyvatDB::GenshinData::Material.new(
107
+ PLUME_OF_THE_CHANGING_WINDS = GenshinObject::Material.new(
104
108
  kamera_key: "PlumeOfTheChangingWinds",
105
109
  name: "Plume of the Changing Winds",
106
110
  rarity: 4,
@@ -110,7 +114,7 @@ module TeyvatDB::Materials::Development
110
114
  source_sub_category: :refine_material,
111
115
  ).freeze
112
116
 
113
- THE_VISIBLE_WINDS = TeyvatDB::GenshinData::Material.new(
117
+ THE_VISIBLE_WINDS = GenshinObject::Material.new(
114
118
  kamera_key: "TheVisibleWinds",
115
119
  name: "The Visible Winds",
116
120
  rarity: 4,
@@ -120,7 +124,7 @@ module TeyvatDB::Materials::Development
120
124
  source_sub_category: :refine_material,
121
125
  ).freeze
122
126
 
123
- UNFADING_SILKY_GRACE = TeyvatDB::GenshinData::Material.new(
127
+ UNFADING_SILKY_GRACE = GenshinObject::Material.new(
124
128
  kamera_key: "UnfadingSilkyGrace",
125
129
  name: "Unfading Silky Grace",
126
130
  rarity: 4,