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::Standard
1
+ module GenshinData::Materials::Standard
2
2
  module FishingMaterialData
3
- ABIDING_ANGELFISH = TeyvatDB::GenshinData::Material.new(
3
+ def self.all
4
+ self.constants.map { |x| "GenshinData::Materials::Standard::FishingMaterialData::#{x}".constantize }
5
+ end
6
+
7
+ ABIDING_ANGELFISH = GenshinObject::Material.new(
4
8
  kamera_key: "AbidingAngelfish",
5
9
  name: "Abiding Angelfish",
6
10
  rarity: 3,
@@ -10,7 +14,7 @@ module TeyvatDB::Materials::Standard
10
14
  source_sub_category: :fishing,
11
15
  ).freeze
12
16
 
13
- AIZEN_MEDAKA = TeyvatDB::GenshinData::Material.new(
17
+ AIZEN_MEDAKA = GenshinObject::Material.new(
14
18
  kamera_key: "AizenMedaka",
15
19
  name: "Aizen Medaka",
16
20
  rarity: 3,
@@ -20,7 +24,7 @@ module TeyvatDB::Materials::Standard
20
24
  source_sub_category: :fishing,
21
25
  ).freeze
22
26
 
23
- AKAI_MAOU = TeyvatDB::GenshinData::Material.new(
27
+ AKAI_MAOU = GenshinObject::Material.new(
24
28
  kamera_key: "AkaiMaou",
25
29
  name: "Akai Maou",
26
30
  rarity: 3,
@@ -30,7 +34,7 @@ module TeyvatDB::Materials::Standard
30
34
  source_sub_category: :fishing,
31
35
  ).freeze
32
36
 
33
- BETTA = TeyvatDB::GenshinData::Material.new(
37
+ BETTA = GenshinObject::Material.new(
34
38
  kamera_key: "Betta",
35
39
  name: "Betta",
36
40
  rarity: 3,
@@ -40,7 +44,7 @@ module TeyvatDB::Materials::Standard
40
44
  source_sub_category: :fishing,
41
45
  ).freeze
42
46
 
43
- BITTER_PUFFERFISH = TeyvatDB::GenshinData::Material.new(
47
+ BITTER_PUFFERFISH = GenshinObject::Material.new(
44
48
  kamera_key: "BitterPufferfish",
45
49
  name: "Bitter Pufferfish",
46
50
  rarity: 3,
@@ -50,7 +54,7 @@ module TeyvatDB::Materials::Standard
50
54
  source_sub_category: :fishing,
51
55
  ).freeze
52
56
 
53
- BLAZING_HEARTFEATHER_BASS = TeyvatDB::GenshinData::Material.new(
57
+ BLAZING_HEARTFEATHER_BASS = GenshinObject::Material.new(
54
58
  kamera_key: "BlazingHeartfeatherBass",
55
59
  name: "Blazing Heartfeather Bass",
56
60
  rarity: 3,
@@ -60,7 +64,7 @@ module TeyvatDB::Materials::Standard
60
64
  source_sub_category: :fishing,
61
65
  ).freeze
62
66
 
63
- BROWN_SHIRAKODAI = TeyvatDB::GenshinData::Material.new(
67
+ BROWN_SHIRAKODAI = GenshinObject::Material.new(
64
68
  kamera_key: "BrownShirakodai",
65
69
  name: "Brown Shirakodai",
66
70
  rarity: 3,
@@ -70,7 +74,7 @@ module TeyvatDB::Materials::Standard
70
74
  source_sub_category: :fishing,
71
75
  ).freeze
72
76
 
73
- CRYSTALFISH = TeyvatDB::GenshinData::Material.new(
77
+ CRYSTALFISH = GenshinObject::Material.new(
74
78
  kamera_key: "Crystalfish",
75
79
  name: "Crystalfish",
76
80
  rarity: 3,
@@ -80,7 +84,7 @@ module TeyvatDB::Materials::Standard
80
84
  source_sub_category: :fishing,
81
85
  ).freeze
82
86
 
83
- DAWNCATCHER = TeyvatDB::GenshinData::Material.new(
87
+ DAWNCATCHER = GenshinObject::Material.new(
84
88
  kamera_key: "Dawncatcher",
85
89
  name: "Dawncatcher",
86
90
  rarity: 3,
@@ -90,7 +94,7 @@ module TeyvatDB::Materials::Standard
90
94
  source_sub_category: :fishing,
91
95
  ).freeze
92
96
 
93
- DIVDA_RAY = TeyvatDB::GenshinData::Material.new(
97
+ DIVDA_RAY = GenshinObject::Material.new(
94
98
  kamera_key: "DivdaRay",
95
99
  name: "Divda Ray",
96
100
  rarity: 3,
@@ -100,7 +104,7 @@ module TeyvatDB::Materials::Standard
100
104
  source_sub_category: :fishing,
101
105
  ).freeze
102
106
 
103
- FAKE_FLY_BAIT = TeyvatDB::GenshinData::Material.new(
107
+ FAKE_FLY_BAIT = GenshinObject::Material.new(
104
108
  kamera_key: "FakeFlyBait",
105
109
  name: "Fake Fly Bait",
106
110
  rarity: 2,
@@ -110,7 +114,7 @@ module TeyvatDB::Materials::Standard
110
114
  source_sub_category: :fishing,
111
115
  ).freeze
112
116
 
113
- FALSE_WORM_BAIT = TeyvatDB::GenshinData::Material.new(
117
+ FALSE_WORM_BAIT = GenshinObject::Material.new(
114
118
  kamera_key: "FalseWormBait",
115
119
  name: "False Worm Bait",
116
120
  rarity: 2,
@@ -120,7 +124,7 @@ module TeyvatDB::Materials::Standard
120
124
  source_sub_category: :fishing,
121
125
  ).freeze
122
126
 
123
- FLASHING_MAINTENANCE_MEK_BAIT = TeyvatDB::GenshinData::Material.new(
127
+ FLASHING_MAINTENANCE_MEK_BAIT = GenshinObject::Material.new(
124
128
  kamera_key: "FlashingMaintenanceMekBait",
125
129
  name: "Flashing Maintenance Mek Bait",
126
130
  rarity: 2,
@@ -130,7 +134,7 @@ module TeyvatDB::Materials::Standard
130
134
  source_sub_category: :fishing,
131
135
  ).freeze
132
136
 
133
- FORMALO_RAY = TeyvatDB::GenshinData::Material.new(
137
+ FORMALO_RAY = GenshinObject::Material.new(
134
138
  kamera_key: "FormaloRay",
135
139
  name: "Formalo Ray",
136
140
  rarity: 3,
@@ -140,7 +144,7 @@ module TeyvatDB::Materials::Standard
140
144
  source_sub_category: :fishing,
141
145
  ).freeze
142
146
 
143
- FRUIT_PASTE_BAIT = TeyvatDB::GenshinData::Material.new(
147
+ FRUIT_PASTE_BAIT = GenshinObject::Material.new(
144
148
  kamera_key: "FruitPasteBait",
145
149
  name: "Fruit Paste Bait",
146
150
  rarity: 2,
@@ -150,7 +154,7 @@ module TeyvatDB::Materials::Standard
150
154
  source_sub_category: :fishing,
151
155
  ).freeze
152
156
 
153
- GLAZE_MEDAKA = TeyvatDB::GenshinData::Material.new(
157
+ GLAZE_MEDAKA = GenshinObject::Material.new(
154
158
  kamera_key: "GlazeMedaka",
155
159
  name: "Glaze Medaka",
156
160
  rarity: 3,
@@ -160,7 +164,7 @@ module TeyvatDB::Materials::Standard
160
164
  source_sub_category: :fishing,
161
165
  ).freeze
162
166
 
163
- GLOWGRASS_BAIT = TeyvatDB::GenshinData::Material.new(
167
+ GLOWGRASS_BAIT = GenshinObject::Material.new(
164
168
  kamera_key: "GlowgrassBait",
165
169
  name: "Glowgrass Bait",
166
170
  rarity: 2,
@@ -170,7 +174,7 @@ module TeyvatDB::Materials::Standard
170
174
  source_sub_category: :fishing,
171
175
  ).freeze
172
176
 
173
- GOLDEN_KOI = TeyvatDB::GenshinData::Material.new(
177
+ GOLDEN_KOI = GenshinObject::Material.new(
174
178
  kamera_key: "GoldenKoi",
175
179
  name: "Golden Koi",
176
180
  rarity: 3,
@@ -180,7 +184,7 @@ module TeyvatDB::Materials::Standard
180
184
  source_sub_category: :fishing,
181
185
  ).freeze
182
186
 
183
- HALCYON_JADE_AXE_MARLIN = TeyvatDB::GenshinData::Material.new(
187
+ HALCYON_JADE_AXE_MARLIN = GenshinObject::Material.new(
184
188
  kamera_key: "HalcyonJadeAxeMarlin",
185
189
  name: "Halcyon Jade Axe Marlin",
186
190
  rarity: 3,
@@ -190,7 +194,7 @@ module TeyvatDB::Materials::Standard
190
194
  source_sub_category: :fishing,
191
195
  ).freeze
192
196
 
193
- LAZURITE_AXE_MARLIN = TeyvatDB::GenshinData::Material.new(
197
+ LAZURITE_AXE_MARLIN = GenshinObject::Material.new(
194
198
  kamera_key: "LazuriteAxeMarlin",
195
199
  name: "Lazurite Axe Marlin",
196
200
  rarity: 3,
@@ -200,7 +204,7 @@ module TeyvatDB::Materials::Standard
200
204
  source_sub_category: :fishing,
201
205
  ).freeze
202
206
 
203
- LUNGED_STICKLEBACK = TeyvatDB::GenshinData::Material.new(
207
+ LUNGED_STICKLEBACK = GenshinObject::Material.new(
204
208
  kamera_key: "LungedStickleback",
205
209
  name: "Lunged Stickleback",
206
210
  rarity: 3,
@@ -210,7 +214,7 @@ module TeyvatDB::Materials::Standard
210
214
  source_sub_category: :fishing,
211
215
  ).freeze
212
216
 
213
- MAINTENANCE_MEK_INITIAL_CONFIGURATION = TeyvatDB::GenshinData::Material.new(
217
+ MAINTENANCE_MEK_INITIAL_CONFIGURATION = GenshinObject::Material.new(
214
218
  kamera_key: "MaintenanceMekInitialConfiguration",
215
219
  name: "MaintenanceMekInitialConfiguration",
216
220
  rarity: 3,
@@ -220,7 +224,7 @@ module TeyvatDB::Materials::Standard
220
224
  source_sub_category: :fishing,
221
225
  ).freeze
222
226
 
223
- MAINTENANCE_MEK_PLATINUM_COLLECTION = TeyvatDB::GenshinData::Material.new(
227
+ MAINTENANCE_MEK_PLATINUM_COLLECTION = GenshinObject::Material.new(
224
228
  kamera_key: "MaintenanceMekPlatinumCollection",
225
229
  name: "MaintenanceMekPlatinumCollection",
226
230
  rarity: 3,
@@ -230,7 +234,7 @@ module TeyvatDB::Materials::Standard
230
234
  source_sub_category: :fishing,
231
235
  ).freeze
232
236
 
233
- MAINTENANCE_MEK_SITUATION_CONTROLLER = TeyvatDB::GenshinData::Material.new(
237
+ MAINTENANCE_MEK_SITUATION_CONTROLLER = GenshinObject::Material.new(
234
238
  kamera_key: "MaintenanceMekSituationController",
235
239
  name: "MaintenanceMekSituationController",
236
240
  rarity: 3,
@@ -240,7 +244,7 @@ module TeyvatDB::Materials::Standard
240
244
  source_sub_category: :fishing,
241
245
  ).freeze
242
246
 
243
- MAINTENANCE_MEK_WATER_BODY_CLEANER = TeyvatDB::GenshinData::Material.new(
247
+ MAINTENANCE_MEK_WATER_BODY_CLEANER = GenshinObject::Material.new(
244
248
  kamera_key: "MaintenanceMekWaterBodyCleaner",
245
249
  name: "MaintenanceMekWaterBodyCleaner",
246
250
  rarity: 3,
@@ -250,7 +254,7 @@ module TeyvatDB::Materials::Standard
250
254
  source_sub_category: :fishing,
251
255
  ).freeze
252
256
 
253
- MEDAKA = TeyvatDB::GenshinData::Material.new(
257
+ MEDAKA = GenshinObject::Material.new(
254
258
  kamera_key: "Medaka",
255
259
  name: "Medaka",
256
260
  rarity: 3,
@@ -260,7 +264,7 @@ module TeyvatDB::Materials::Standard
260
264
  source_sub_category: :fishing,
261
265
  ).freeze
262
266
 
263
- PEACH_OF_THE_DEEP_WAVES = TeyvatDB::GenshinData::Material.new(
267
+ PEACH_OF_THE_DEEP_WAVES = GenshinObject::Material.new(
264
268
  kamera_key: "PeachOfTheDeepWaves",
265
269
  name: "Peach of the Deep Waves",
266
270
  rarity: 3,
@@ -270,7 +274,7 @@ module TeyvatDB::Materials::Standard
270
274
  source_sub_category: :fishing,
271
275
  ).freeze
272
276
 
273
- PUFFERFISH = TeyvatDB::GenshinData::Material.new(
277
+ PUFFERFISH = GenshinObject::Material.new(
274
278
  kamera_key: "Pufferfish",
275
279
  name: "Pufferfish",
276
280
  rarity: 3,
@@ -280,7 +284,7 @@ module TeyvatDB::Materials::Standard
280
284
  source_sub_category: :fishing,
281
285
  ).freeze
282
286
 
283
- PURPLE_SHIRAKODAI = TeyvatDB::GenshinData::Material.new(
287
+ PURPLE_SHIRAKODAI = GenshinObject::Material.new(
284
288
  kamera_key: "PurpleShirakodai",
285
289
  name: "Purple Shirakodai",
286
290
  rarity: 3,
@@ -290,7 +294,7 @@ module TeyvatDB::Materials::Standard
290
294
  source_sub_category: :fishing,
291
295
  ).freeze
292
296
 
293
- RAIMEI_ANGELFISH = TeyvatDB::GenshinData::Material.new(
297
+ RAIMEI_ANGELFISH = GenshinObject::Material.new(
294
298
  kamera_key: "RaimeiAngelfish",
295
299
  name: "Raimei Angelfish",
296
300
  rarity: 3,
@@ -300,7 +304,7 @@ module TeyvatDB::Materials::Standard
300
304
  source_sub_category: :fishing,
301
305
  ).freeze
302
306
 
303
- RED_DYE = TeyvatDB::GenshinData::Material.new(
307
+ RED_DYE = GenshinObject::Material.new(
304
308
  kamera_key: "RedDye",
305
309
  name: "Red Dye",
306
310
  rarity: 2,
@@ -310,7 +314,7 @@ module TeyvatDB::Materials::Standard
310
314
  source_sub_category: :fishing,
311
315
  ).freeze
312
316
 
313
- REDROT_BAIT = TeyvatDB::GenshinData::Material.new(
317
+ REDROT_BAIT = GenshinObject::Material.new(
314
318
  kamera_key: "RedrotBait",
315
319
  name: "Redrot Bait",
316
320
  rarity: 2,
@@ -320,7 +324,7 @@ module TeyvatDB::Materials::Standard
320
324
  source_sub_category: :fishing,
321
325
  ).freeze
322
326
 
323
- RIPPLING_HEARTFEATHER_BASS = TeyvatDB::GenshinData::Material.new(
327
+ RIPPLING_HEARTFEATHER_BASS = GenshinObject::Material.new(
324
328
  kamera_key: "RipplingHeartfeatherBass",
325
329
  name: "Rippling Heartfeather Bass",
326
330
  rarity: 3,
@@ -330,7 +334,7 @@ module TeyvatDB::Materials::Standard
330
334
  source_sub_category: :fishing,
331
335
  ).freeze
332
336
 
333
- RUSTY_KOI = TeyvatDB::GenshinData::Material.new(
337
+ RUSTY_KOI = GenshinObject::Material.new(
334
338
  kamera_key: "RustyKoi",
335
339
  name: "Rusty Koi",
336
340
  rarity: 3,
@@ -340,7 +344,7 @@ module TeyvatDB::Materials::Standard
340
344
  source_sub_category: :fishing,
341
345
  ).freeze
342
346
 
343
- SANDSTORM_ANGLER = TeyvatDB::GenshinData::Material.new(
347
+ SANDSTORM_ANGLER = GenshinObject::Material.new(
344
348
  kamera_key: "SandstormAngler",
345
349
  name: "Sandstorm Angler",
346
350
  rarity: 3,
@@ -350,7 +354,7 @@ module TeyvatDB::Materials::Standard
350
354
  source_sub_category: :fishing,
351
355
  ).freeze
352
356
 
353
- SNOWSTRIDER = TeyvatDB::GenshinData::Material.new(
357
+ SNOWSTRIDER = GenshinObject::Material.new(
354
358
  kamera_key: "Snowstrider",
355
359
  name: "Snowstrider",
356
360
  rarity: 3,
@@ -360,7 +364,7 @@ module TeyvatDB::Materials::Standard
360
364
  source_sub_category: :fishing,
361
365
  ).freeze
362
366
 
363
- SOUR_BAIT = TeyvatDB::GenshinData::Material.new(
367
+ SOUR_BAIT = GenshinObject::Material.new(
364
368
  kamera_key: "SourBait",
365
369
  name: "Sour Bait",
366
370
  rarity: 2,
@@ -370,7 +374,7 @@ module TeyvatDB::Materials::Standard
370
374
  source_sub_category: :fishing,
371
375
  ).freeze
372
376
 
373
- STREAMING_AXE_MARLIN = TeyvatDB::GenshinData::Material.new(
377
+ STREAMING_AXE_MARLIN = GenshinObject::Material.new(
374
378
  kamera_key: "StreamingAxeMarlin",
375
379
  name: "Streaming Axe Marlin",
376
380
  rarity: 3,
@@ -380,7 +384,7 @@ module TeyvatDB::Materials::Standard
380
384
  source_sub_category: :fishing,
381
385
  ).freeze
382
386
 
383
- SUGARDEW_BAIT = TeyvatDB::GenshinData::Material.new(
387
+ SUGARDEW_BAIT = GenshinObject::Material.new(
384
388
  kamera_key: "SugardewBait",
385
389
  name: "Sugardew Bait",
386
390
  rarity: 2,
@@ -390,7 +394,7 @@ module TeyvatDB::Materials::Standard
390
394
  source_sub_category: :fishing,
391
395
  ).freeze
392
396
 
393
- SUNSET_CLOUD_ANGLER = TeyvatDB::GenshinData::Material.new(
397
+ SUNSET_CLOUD_ANGLER = GenshinObject::Material.new(
394
398
  kamera_key: "SunsetCloudAngler",
395
399
  name: "Sunset Cloud Angler",
396
400
  rarity: 3,
@@ -400,7 +404,7 @@ module TeyvatDB::Materials::Standard
400
404
  source_sub_category: :fishing,
401
405
  ).freeze
402
406
 
403
- SWEET_FLOWER_MEDAKA = TeyvatDB::GenshinData::Material.new(
407
+ SWEET_FLOWER_MEDAKA = GenshinObject::Material.new(
404
408
  kamera_key: "SweetFlowerMedaka",
405
409
  name: "Sweet Flower Medaka",
406
410
  rarity: 3,
@@ -410,7 +414,7 @@ module TeyvatDB::Materials::Standard
410
414
  source_sub_category: :fishing,
411
415
  ).freeze
412
416
 
413
- TEA_COLORED_SHIRAKODAI = TeyvatDB::GenshinData::Material.new(
417
+ TEA_COLORED_SHIRAKODAI = GenshinObject::Material.new(
414
418
  kamera_key: "TeaColoredShirakodai",
415
419
  name: "Tea Colored Shirakodai",
416
420
  rarity: 3,
@@ -420,7 +424,7 @@ module TeyvatDB::Materials::Standard
420
424
  source_sub_category: :fishing,
421
425
  ).freeze
422
426
 
423
- TRUE_FRUIT_ANGLER = TeyvatDB::GenshinData::Material.new(
427
+ TRUE_FRUIT_ANGLER = GenshinObject::Material.new(
424
428
  kamera_key: "TrueFruitAngler",
425
429
  name: "True Fruit Angler",
426
430
  rarity: 3,
@@ -430,7 +434,7 @@ module TeyvatDB::Materials::Standard
430
434
  source_sub_category: :fishing,
431
435
  ).freeze
432
436
 
433
- VENOMSPINE_FISH = TeyvatDB::GenshinData::Material.new(
437
+ VENOMSPINE_FISH = GenshinObject::Material.new(
434
438
  kamera_key: "VenomspineFish",
435
439
  name: "Venomspine Fish",
436
440
  rarity: 3,
@@ -1,6 +1,10 @@
1
- module TeyvatDB::Materials::Standard
1
+ module GenshinData::Materials::Standard
2
2
  module ForgingMaterialData
3
- AMETHYST_LUMP = TeyvatDB::GenshinData::Material.new(
3
+ def self.all
4
+ self.constants.map { |x| "GenshinData::Materials::Standard::ForgingMaterialData::#{x}".constantize }
5
+ end
6
+
7
+ AMETHYST_LUMP = GenshinObject::Material.new(
4
8
  kamera_key: "AmethystLump",
5
9
  name: "Amethyst Lump",
6
10
  rarity: 1,
@@ -10,7 +14,7 @@ module TeyvatDB::Materials::Standard
10
14
  source_sub_category: :forging_material,
11
15
  ).freeze
12
16
 
13
- CONDESSENCE_CRYSTAL = TeyvatDB::GenshinData::Material.new(
17
+ CONDESSENCE_CRYSTAL = GenshinObject::Material.new(
14
18
  kamera_key: "CondessenceCrystal",
15
19
  name: "Condessence Crystal",
16
20
  rarity: 1,
@@ -20,7 +24,7 @@ module TeyvatDB::Materials::Standard
20
24
  source_sub_category: :forging_material,
21
25
  ).freeze
22
26
 
23
- CRYSTAL_CHUNK = TeyvatDB::GenshinData::Material.new(
27
+ CRYSTAL_CHUNK = GenshinObject::Material.new(
24
28
  kamera_key: "CrystalChunk",
25
29
  name: "Crystal Chunk",
26
30
  rarity: 1,
@@ -30,7 +34,7 @@ module TeyvatDB::Materials::Standard
30
34
  source_sub_category: :forging_material,
31
35
  ).freeze
32
36
 
33
- IRON_CHUNK = TeyvatDB::GenshinData::Material.new(
37
+ IRON_CHUNK = GenshinObject::Material.new(
34
38
  kamera_key: "IronChunk",
35
39
  name: "Iron Chunk",
36
40
  rarity: 1,
@@ -40,7 +44,7 @@ module TeyvatDB::Materials::Standard
40
44
  source_sub_category: :forging_material,
41
45
  ).freeze
42
46
 
43
- MAGICAL_CRYSTAL_CHUNK = TeyvatDB::GenshinData::Material.new(
47
+ MAGICAL_CRYSTAL_CHUNK = GenshinObject::Material.new(
44
48
  kamera_key: "MagicalCrystalChunk",
45
49
  name: "Magical Crystal Chunk",
46
50
  rarity: 1,
@@ -50,7 +54,7 @@ module TeyvatDB::Materials::Standard
50
54
  source_sub_category: :forging_material,
51
55
  ).freeze
52
56
 
53
- MIDLANDER_BOW_BILLET = TeyvatDB::GenshinData::Material.new(
57
+ MIDLANDER_BOW_BILLET = GenshinObject::Material.new(
54
58
  kamera_key: "MidlanderBowBillet",
55
59
  name: "Midlander Bow Billet",
56
60
  rarity: 4,
@@ -60,7 +64,7 @@ module TeyvatDB::Materials::Standard
60
64
  source_sub_category: :forging_material,
61
65
  ).freeze
62
66
 
63
- MIDLANDER_CATALYST_BILLET = TeyvatDB::GenshinData::Material.new(
67
+ MIDLANDER_CATALYST_BILLET = GenshinObject::Material.new(
64
68
  kamera_key: "MidlanderCatalystBillet",
65
69
  name: "Midlander Cataylst Billet",
66
70
  rarity: 4,
@@ -70,7 +74,7 @@ module TeyvatDB::Materials::Standard
70
74
  source_sub_category: :forging_material,
71
75
  ).freeze
72
76
 
73
- MIDLANDER_CLAYMORE_BILLET = TeyvatDB::GenshinData::Material.new(
77
+ MIDLANDER_CLAYMORE_BILLET = GenshinObject::Material.new(
74
78
  kamera_key: "MidlanderClaymoreBillet",
75
79
  name: "Midlander Claymore Billet",
76
80
  rarity: 4,
@@ -80,7 +84,7 @@ module TeyvatDB::Materials::Standard
80
84
  source_sub_category: :forging_material,
81
85
  ).freeze
82
86
 
83
- MIDLANDER_SWORD_BILLET = TeyvatDB::GenshinData::Material.new(
87
+ MIDLANDER_SWORD_BILLET = GenshinObject::Material.new(
84
88
  kamera_key: "MidlanderSwordBillet",
85
89
  name: "Midlander Sword Billet",
86
90
  rarity: 4,
@@ -90,7 +94,7 @@ module TeyvatDB::Materials::Standard
90
94
  source_sub_category: :forging_material,
91
95
  ).freeze
92
96
 
93
- MIDLANDER_POLEARM_BILLET = TeyvatDB::GenshinData::Material.new(
97
+ MIDLANDER_POLEARM_BILLET = GenshinObject::Material.new(
94
98
  kamera_key: "MidlanderPolearmBillet",
95
99
  name: "Midlander Polearm Billet",
96
100
  rarity: 4,
@@ -100,7 +104,7 @@ module TeyvatDB::Materials::Standard
100
104
  source_sub_category: :forging_material,
101
105
  ).freeze
102
106
 
103
- NORTHLANDER_BOW_BILLET = TeyvatDB::GenshinData::Material.new(
107
+ NORTHLANDER_BOW_BILLET = GenshinObject::Material.new(
104
108
  kamera_key: "NorthlanderBowBillet",
105
109
  name: "Northlander Bow Billet",
106
110
  rarity: 4,
@@ -110,7 +114,7 @@ module TeyvatDB::Materials::Standard
110
114
  source_sub_category: :forging_material,
111
115
  ).freeze
112
116
 
113
- NORTHLANDER_CATALYST_BILLET = TeyvatDB::GenshinData::Material.new(
117
+ NORTHLANDER_CATALYST_BILLET = GenshinObject::Material.new(
114
118
  kamera_key: "NorthlanderCatalystBillet",
115
119
  name: "Northlander Catalyst Billet",
116
120
  rarity: 4,
@@ -120,7 +124,7 @@ module TeyvatDB::Materials::Standard
120
124
  source_sub_category: :forging_material,
121
125
  ).freeze
122
126
 
123
- NORTHLANDER_CLAYMORE_BILLET = TeyvatDB::GenshinData::Material.new(
127
+ NORTHLANDER_CLAYMORE_BILLET = GenshinObject::Material.new(
124
128
  kamera_key: "NorthlanderClaymoreBillet",
125
129
  name: "Northlander Claymore Billet",
126
130
  rarity: 4,
@@ -130,7 +134,7 @@ module TeyvatDB::Materials::Standard
130
134
  source_sub_category: :forging_material,
131
135
  ).freeze
132
136
 
133
- NORTHLANDER_POLEARM_BILLET = TeyvatDB::GenshinData::Material.new(
137
+ NORTHLANDER_POLEARM_BILLET = GenshinObject::Material.new(
134
138
  kamera_key: "NorthlanderPolearmBillet",
135
139
  name: "Northlander Polearm Billet",
136
140
  rarity: 4,
@@ -140,7 +144,7 @@ module TeyvatDB::Materials::Standard
140
144
  source_sub_category: :forging_material,
141
145
  ).freeze
142
146
 
143
- NORTHLANDER_SWORD_BILLET = TeyvatDB::GenshinData::Material.new(
147
+ NORTHLANDER_SWORD_BILLET = GenshinObject::Material.new(
144
148
  kamera_key: "NorthlanderSwordBillet",
145
149
  name: "Northlander Sword Billet",
146
150
  rarity: 4,
@@ -150,7 +154,7 @@ module TeyvatDB::Materials::Standard
150
154
  source_sub_category: :forging_material,
151
155
  ).freeze
152
156
 
153
- STARSILVER = TeyvatDB::GenshinData::Material.new(
157
+ STARSILVER = GenshinObject::Material.new(
154
158
  kamera_key: "Starsilver",
155
159
  name: "Starsilver",
156
160
  rarity: 1,
@@ -160,7 +164,7 @@ module TeyvatDB::Materials::Standard
160
164
  source_sub_category: :forging_material,
161
165
  ).freeze
162
166
 
163
- VITALIZED_DRAGONTOOTH = TeyvatDB::GenshinData::Material.new(
167
+ VITALIZED_DRAGONTOOTH = GenshinObject::Material.new(
164
168
  kamera_key: "VitalizedDragontooth",
165
169
  name: "Vitalized Dragontooth",
166
170
  rarity: 1,
@@ -170,7 +174,7 @@ module TeyvatDB::Materials::Standard
170
174
  source_sub_category: :forging_material,
171
175
  ).freeze
172
176
 
173
- WHITE_IRON_CHUNK = TeyvatDB::GenshinData::Material.new(
177
+ WHITE_IRON_CHUNK = GenshinObject::Material.new(
174
178
  kamera_key: "WhiteIronChunk",
175
179
  name: "White Iron Chunk",
176
180
  rarity: 1,