teyvatdb 0.1.12 → 0.1.14
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 +1115 -0
- data/lib/{teyvatdb → genshin_data}/characters.rb +8 -5
- 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 +59 -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 +62 -25
- data/lib/{teyvatdb → genshin_data}/materials/development/world_boss_drops_data.rb +54 -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 +41 -35
- 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 -1697
- data/lib/teyvatdb/weapons.rb +0 -189
@@ -1,6 +1,10 @@
|
|
1
|
-
module
|
1
|
+
module GenshinData::Materials::Development
|
2
2
|
module MonsterLootDropsData
|
3
|
-
|
3
|
+
def self.all
|
4
|
+
self.constants.map { |x| "GenshinData::Materials::Development::MonsterLootDropsData::#{x}".constantize }
|
5
|
+
end
|
6
|
+
|
7
|
+
ARTIFICED_DYNAMIC_GEAR = GenshinObject::Material.new(
|
4
8
|
kamera_key: "ArtificedDynamicGear",
|
5
9
|
name: "Artificed Dynamic Gear",
|
6
10
|
rarity: 3,
|
@@ -11,7 +15,7 @@ module TeyvatDB::Materials::Development
|
|
11
15
|
nation_name: nil,
|
12
16
|
).freeze
|
13
17
|
|
14
|
-
CRYSTALLINE_CYST_DUST =
|
18
|
+
CRYSTALLINE_CYST_DUST = GenshinObject::Material.new(
|
15
19
|
kamera_key: "CrystallineCystDust",
|
16
20
|
name: "Crystalline Cyst Dust",
|
17
21
|
rarity: 3,
|
@@ -22,7 +26,7 @@ module TeyvatDB::Materials::Development
|
|
22
26
|
nation_name: nil,
|
23
27
|
).freeze
|
24
28
|
|
25
|
-
DAMAGED_MASK =
|
29
|
+
DAMAGED_MASK = GenshinObject::Material.new(
|
26
30
|
kamera_key: "DamagedMask",
|
27
31
|
name: "Damaged Mask",
|
28
32
|
rarity: 1,
|
@@ -33,7 +37,7 @@ module TeyvatDB::Materials::Development
|
|
33
37
|
nation_name: nil,
|
34
38
|
).freeze
|
35
39
|
|
36
|
-
DIVINING_SCROLL =
|
40
|
+
DIVINING_SCROLL = GenshinObject::Material.new(
|
37
41
|
kamera_key: "DiviningScroll",
|
38
42
|
name: "Divining Scroll",
|
39
43
|
rarity: 1,
|
@@ -44,7 +48,7 @@ module TeyvatDB::Materials::Development
|
|
44
48
|
nation_name: nil,
|
45
49
|
).freeze
|
46
50
|
|
47
|
-
ENERGY_NECTAR =
|
51
|
+
ENERGY_NECTAR = GenshinObject::Material.new(
|
48
52
|
kamera_key: "EnergyNectar",
|
49
53
|
name: "Energy Nectar",
|
50
54
|
rarity: 3,
|
@@ -55,7 +59,7 @@ module TeyvatDB::Materials::Development
|
|
55
59
|
nation_name: nil,
|
56
60
|
).freeze
|
57
61
|
|
58
|
-
FADED_RED_SATIN =
|
62
|
+
FADED_RED_SATIN = GenshinObject::Material.new(
|
59
63
|
kamera_key: "FadedRedSatin",
|
60
64
|
name: "Faded Red Satin",
|
61
65
|
rarity: 1,
|
@@ -66,7 +70,7 @@ module TeyvatDB::Materials::Development
|
|
66
70
|
nation_name: nil,
|
67
71
|
).freeze
|
68
72
|
|
69
|
-
FAMED_HANDGUARD =
|
73
|
+
FAMED_HANDGUARD = GenshinObject::Material.new(
|
70
74
|
kamera_key: "FamedHandguard",
|
71
75
|
name: "Famed Handguard",
|
72
76
|
rarity: 3,
|
@@ -77,7 +81,7 @@ module TeyvatDB::Materials::Development
|
|
77
81
|
nation_name: nil,
|
78
82
|
).freeze
|
79
83
|
|
80
|
-
FIRM_ARROWHEAD =
|
84
|
+
FIRM_ARROWHEAD = GenshinObject::Material.new(
|
81
85
|
kamera_key: "FirmArrowhead",
|
82
86
|
name: "Firm Arrowhead",
|
83
87
|
rarity: 1,
|
@@ -88,7 +92,7 @@ module TeyvatDB::Materials::Development
|
|
88
92
|
nation_name: nil,
|
89
93
|
).freeze
|
90
94
|
|
91
|
-
FORBIDDEN_CURSE_SCROLL =
|
95
|
+
FORBIDDEN_CURSE_SCROLL = GenshinObject::Material.new(
|
92
96
|
kamera_key: "ForbiddenCurseScroll",
|
93
97
|
name: "Forbidden Curse Scroll",
|
94
98
|
rarity: 3,
|
@@ -99,7 +103,7 @@ module TeyvatDB::Materials::Development
|
|
99
103
|
nation_name: nil,
|
100
104
|
).freeze
|
101
105
|
|
102
|
-
FUNGAL_SPORES =
|
106
|
+
FUNGAL_SPORES = GenshinObject::Material.new(
|
103
107
|
kamera_key: "FungalSpores",
|
104
108
|
name: "Fungal Spores",
|
105
109
|
rarity: 1,
|
@@ -110,7 +114,7 @@ module TeyvatDB::Materials::Development
|
|
110
114
|
nation_name: nil,
|
111
115
|
).freeze
|
112
116
|
|
113
|
-
GOLDEN_RAVEN_INSIGNIA =
|
117
|
+
GOLDEN_RAVEN_INSIGNIA = GenshinObject::Material.new(
|
114
118
|
kamera_key: "GoldenRavenInsignia",
|
115
119
|
name: "Golden Raven Insignia",
|
116
120
|
rarity: 3,
|
@@ -121,7 +125,7 @@ module TeyvatDB::Materials::Development
|
|
121
125
|
nation_name: nil,
|
122
126
|
).freeze
|
123
127
|
|
124
|
-
KAGEUCHI_HANDGUARD =
|
128
|
+
KAGEUCHI_HANDGUARD = GenshinObject::Material.new(
|
125
129
|
kamera_key: "KageuchiHandguard",
|
126
130
|
name: "Kageuchi Handguard",
|
127
131
|
rarity: 2,
|
@@ -132,7 +136,7 @@ module TeyvatDB::Materials::Development
|
|
132
136
|
nation_name: nil,
|
133
137
|
).freeze
|
134
138
|
|
135
|
-
LIEUTENANTS_INSIGNIA =
|
139
|
+
LIEUTENANTS_INSIGNIA = GenshinObject::Material.new(
|
136
140
|
kamera_key: "LieutenantsInsignia",
|
137
141
|
name: "Lieutenants Insignia",
|
138
142
|
rarity: 3,
|
@@ -143,7 +147,7 @@ module TeyvatDB::Materials::Development
|
|
143
147
|
nation_name: nil,
|
144
148
|
).freeze
|
145
149
|
|
146
|
-
LUMINESCENT_POLLEN =
|
150
|
+
LUMINESCENT_POLLEN = GenshinObject::Material.new(
|
147
151
|
kamera_key: "LuminescentPollen",
|
148
152
|
name: "Luminescent Pollen",
|
149
153
|
rarity: 2,
|
@@ -154,7 +158,7 @@ module TeyvatDB::Materials::Development
|
|
154
158
|
nation_name: nil,
|
155
159
|
).freeze
|
156
160
|
|
157
|
-
MECHANICAL_SPUR_GEAR =
|
161
|
+
MECHANICAL_SPUR_GEAR = GenshinObject::Material.new(
|
158
162
|
kamera_key: "MechanicalSpurGear",
|
159
163
|
name: "Mechanical Spur Gear",
|
160
164
|
rarity: 2,
|
@@ -165,7 +169,7 @@ module TeyvatDB::Materials::Development
|
|
165
169
|
nation_name: nil,
|
166
170
|
).freeze
|
167
171
|
|
168
|
-
MESHING_GEAR =
|
172
|
+
MESHING_GEAR = GenshinObject::Material.new(
|
169
173
|
kamera_key: "MeshingGear",
|
170
174
|
name: "Meshing Gear",
|
171
175
|
rarity: 1,
|
@@ -176,7 +180,7 @@ module TeyvatDB::Materials::Development
|
|
176
180
|
nation_name: nil,
|
177
181
|
).freeze
|
178
182
|
|
179
|
-
OLD_HANDGUARD =
|
183
|
+
OLD_HANDGUARD = GenshinObject::Material.new(
|
180
184
|
kamera_key: "OldHandguard",
|
181
185
|
name: "Old Handguard",
|
182
186
|
rarity: 1,
|
@@ -187,7 +191,7 @@ module TeyvatDB::Materials::Development
|
|
187
191
|
nation_name: nil,
|
188
192
|
).freeze
|
189
193
|
|
190
|
-
OMINOUS_MASK =
|
194
|
+
OMINOUS_MASK = GenshinObject::Material.new(
|
191
195
|
kamera_key: "OminousMask",
|
192
196
|
name: "Ominous Mask",
|
193
197
|
rarity: 3,
|
@@ -198,7 +202,7 @@ module TeyvatDB::Materials::Development
|
|
198
202
|
nation_name: nil,
|
199
203
|
).freeze
|
200
204
|
|
201
|
-
RECRUITS_INSIGNIA =
|
205
|
+
RECRUITS_INSIGNIA = GenshinObject::Material.new(
|
202
206
|
kamera_key: "RecruitsInsignia",
|
203
207
|
name: "Recruits Insignia",
|
204
208
|
rarity: 1,
|
@@ -209,7 +213,7 @@ module TeyvatDB::Materials::Development
|
|
209
213
|
nation_name: nil,
|
210
214
|
).freeze
|
211
215
|
|
212
|
-
RICH_RED_BROCADE =
|
216
|
+
RICH_RED_BROCADE = GenshinObject::Material.new(
|
213
217
|
kamera_key: "RichRedBrocade",
|
214
218
|
name: "Rich Red Brocade",
|
215
219
|
rarity: 3,
|
@@ -220,7 +224,7 @@ module TeyvatDB::Materials::Development
|
|
220
224
|
nation_name: nil,
|
221
225
|
).freeze
|
222
226
|
|
223
|
-
SEALED_SCROLL =
|
227
|
+
SEALED_SCROLL = GenshinObject::Material.new(
|
224
228
|
kamera_key: "SealedScroll",
|
225
229
|
name: "Sealed Scroll",
|
226
230
|
rarity: 2,
|
@@ -231,7 +235,7 @@ module TeyvatDB::Materials::Development
|
|
231
235
|
nation_name: nil,
|
232
236
|
).freeze
|
233
237
|
|
234
|
-
SERGEANTS_INSIGNIA =
|
238
|
+
SERGEANTS_INSIGNIA = GenshinObject::Material.new(
|
235
239
|
kamera_key: "SergeantsInsignia",
|
236
240
|
name: "Sergeants Insignia",
|
237
241
|
rarity: 2,
|
@@ -242,7 +246,7 @@ module TeyvatDB::Materials::Development
|
|
242
246
|
nation_name: nil,
|
243
247
|
).freeze
|
244
248
|
|
245
|
-
SHARP_ARROWHEAD =
|
249
|
+
SHARP_ARROWHEAD = GenshinObject::Material.new(
|
246
250
|
kamera_key: "SharpArrowhead",
|
247
251
|
name: "Sharp Arrowhead",
|
248
252
|
rarity: 2,
|
@@ -253,7 +257,7 @@ module TeyvatDB::Materials::Development
|
|
253
257
|
nation_name: nil,
|
254
258
|
).freeze
|
255
259
|
|
256
|
-
SHIMMERING_NECTAR =
|
260
|
+
SHIMMERING_NECTAR = GenshinObject::Material.new(
|
257
261
|
kamera_key: "ShimmeringNectar",
|
258
262
|
name: "Shimmering Nectar",
|
259
263
|
rarity: 2,
|
@@ -264,7 +268,7 @@ module TeyvatDB::Materials::Development
|
|
264
268
|
nation_name: nil,
|
265
269
|
).freeze
|
266
270
|
|
267
|
-
SILVER_RAVEN_INSIGNIA =
|
271
|
+
SILVER_RAVEN_INSIGNIA = GenshinObject::Material.new(
|
268
272
|
kamera_key: "SilverRavenInsignia",
|
269
273
|
name: "Silver Raven Insignia",
|
270
274
|
rarity: 2,
|
@@ -275,7 +279,7 @@ module TeyvatDB::Materials::Development
|
|
275
279
|
nation_name: nil,
|
276
280
|
).freeze
|
277
281
|
|
278
|
-
SLIME_CONCENTRATE =
|
282
|
+
SLIME_CONCENTRATE = GenshinObject::Material.new(
|
279
283
|
kamera_key: "SlimeConcentrate",
|
280
284
|
name: "Slime Concentrate",
|
281
285
|
rarity: 3,
|
@@ -286,7 +290,7 @@ module TeyvatDB::Materials::Development
|
|
286
290
|
nation_name: nil,
|
287
291
|
).freeze
|
288
292
|
|
289
|
-
SLIME_CONDENSATE =
|
293
|
+
SLIME_CONDENSATE = GenshinObject::Material.new(
|
290
294
|
kamera_key: "SlimeCondensate",
|
291
295
|
name: "Slime Condensate",
|
292
296
|
rarity: 1,
|
@@ -297,7 +301,7 @@ module TeyvatDB::Materials::Development
|
|
297
301
|
nation_name: nil,
|
298
302
|
).freeze
|
299
303
|
|
300
|
-
SLIME_SECRETIONS =
|
304
|
+
SLIME_SECRETIONS = GenshinObject::Material.new(
|
301
305
|
kamera_key: "SlimeSecretions",
|
302
306
|
name: "Slime Secretions",
|
303
307
|
rarity: 2,
|
@@ -308,7 +312,7 @@ module TeyvatDB::Materials::Development
|
|
308
312
|
nation_name: nil,
|
309
313
|
).freeze
|
310
314
|
|
311
|
-
SPECTRAL_HEART =
|
315
|
+
SPECTRAL_HEART = GenshinObject::Material.new(
|
312
316
|
kamera_key: "SpectralHeart",
|
313
317
|
name: "Spectral Heart",
|
314
318
|
rarity: 2,
|
@@ -319,7 +323,7 @@ module TeyvatDB::Materials::Development
|
|
319
323
|
nation_name: nil,
|
320
324
|
).freeze
|
321
325
|
|
322
|
-
SPECTRAL_HUSK =
|
326
|
+
SPECTRAL_HUSK = GenshinObject::Material.new(
|
323
327
|
kamera_key: "SpectralHusk",
|
324
328
|
name: "Spectral Husk",
|
325
329
|
rarity: 1,
|
@@ -330,7 +334,7 @@ module TeyvatDB::Materials::Development
|
|
330
334
|
nation_name: nil,
|
331
335
|
).freeze
|
332
336
|
|
333
|
-
SPECTRAL_NUCLEUS =
|
337
|
+
SPECTRAL_NUCLEUS = GenshinObject::Material.new(
|
334
338
|
kamera_key: "SpectralNucleus",
|
335
339
|
name: "Spectral Nucleus",
|
336
340
|
rarity: 3,
|
@@ -341,7 +345,7 @@ module TeyvatDB::Materials::Development
|
|
341
345
|
nation_name: nil,
|
342
346
|
).freeze
|
343
347
|
|
344
|
-
STAINED_MASK =
|
348
|
+
STAINED_MASK = GenshinObject::Material.new(
|
345
349
|
kamera_key: "StainedMask",
|
346
350
|
name: "Stained Mask",
|
347
351
|
rarity: 2,
|
@@ -352,7 +356,7 @@ module TeyvatDB::Materials::Development
|
|
352
356
|
nation_name: nil,
|
353
357
|
).freeze
|
354
358
|
|
355
|
-
TRANSOCEANIC_CHUNK =
|
359
|
+
TRANSOCEANIC_CHUNK = GenshinObject::Material.new(
|
356
360
|
kamera_key: "TransoceanicChunk",
|
357
361
|
name: "Transoceanic Chunk",
|
358
362
|
rarity: 2,
|
@@ -363,7 +367,7 @@ module TeyvatDB::Materials::Development
|
|
363
367
|
nation_name: nil,
|
364
368
|
).freeze
|
365
369
|
|
366
|
-
TRANSOCEANIC_PEARL =
|
370
|
+
TRANSOCEANIC_PEARL = GenshinObject::Material.new(
|
367
371
|
kamera_key: "TransoceanicPearl",
|
368
372
|
name: "Transoceanic Pearl",
|
369
373
|
rarity: 1,
|
@@ -374,7 +378,7 @@ module TeyvatDB::Materials::Development
|
|
374
378
|
nation_name: nil,
|
375
379
|
).freeze
|
376
380
|
|
377
|
-
TREASURE_HOARDER_INSIGNIA =
|
381
|
+
TREASURE_HOARDER_INSIGNIA = GenshinObject::Material.new(
|
378
382
|
kamera_key: "TreasureHoarderInsignia",
|
379
383
|
name: "Treasure Hoarder Insignia",
|
380
384
|
rarity: 1,
|
@@ -385,7 +389,7 @@ module TeyvatDB::Materials::Development
|
|
385
389
|
nation_name: nil,
|
386
390
|
).freeze
|
387
391
|
|
388
|
-
TRIMMED_RED_SILK =
|
392
|
+
TRIMMED_RED_SILK = GenshinObject::Material.new(
|
389
393
|
kamera_key: "TrimmedRedSilk",
|
390
394
|
name: "Trimmed Red Silk",
|
391
395
|
rarity: 2,
|
@@ -396,7 +400,7 @@ module TeyvatDB::Materials::Development
|
|
396
400
|
nation_name: nil,
|
397
401
|
).freeze
|
398
402
|
|
399
|
-
WEATHERED_ARROWHEAD =
|
403
|
+
WEATHERED_ARROWHEAD = GenshinObject::Material.new(
|
400
404
|
kamera_key: "WeatheredArrowhead",
|
401
405
|
name: "Weathered Arrowhead",
|
402
406
|
rarity: 3,
|
@@ -407,7 +411,7 @@ module TeyvatDB::Materials::Development
|
|
407
411
|
nation_name: nil,
|
408
412
|
).freeze
|
409
413
|
|
410
|
-
WHOPPERFLOWER_NECTAR =
|
414
|
+
WHOPPERFLOWER_NECTAR = GenshinObject::Material.new(
|
411
415
|
kamera_key: "WhopperflowerNectar",
|
412
416
|
name: "Whopperflower Nectar",
|
413
417
|
rarity: 1,
|
@@ -418,7 +422,7 @@ module TeyvatDB::Materials::Development
|
|
418
422
|
nation_name: nil,
|
419
423
|
).freeze
|
420
424
|
|
421
|
-
XENOCHROMATIC_CRYSTAL =
|
425
|
+
XENOCHROMATIC_CRYSTAL = GenshinObject::Material.new(
|
422
426
|
kamera_key: "XenochromaticCrystal",
|
423
427
|
name: "Xenochromatic Crystal",
|
424
428
|
rarity: 3,
|