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::Development
|
2
2
|
module LocalSpecialtyData
|
3
|
-
|
3
|
+
def self.all
|
4
|
+
self.constants.map { |x| "GenshinData::Materials::Development::LocalSpecialtyData::#{x}".constantize }
|
5
|
+
end
|
6
|
+
|
7
|
+
AMAKUMO_FRUIT = GenshinObject::Material.new(
|
4
8
|
kamera_key: "AmakumoFruit",
|
5
9
|
name: "Amakumo Fruit",
|
6
10
|
rarity: 1,
|
@@ -11,7 +15,7 @@ module TeyvatDB::Materials::Development
|
|
11
15
|
nation_name: :inazuma,
|
12
16
|
).freeze
|
13
17
|
|
14
|
-
BERYL_CONCH =
|
18
|
+
BERYL_CONCH = GenshinObject::Material.new(
|
15
19
|
kamera_key: "BerylConch",
|
16
20
|
name: "Beryl Conch",
|
17
21
|
rarity: 1,
|
@@ -22,7 +26,7 @@ module TeyvatDB::Materials::Development
|
|
22
26
|
nation_name: :fontaine,
|
23
27
|
).freeze
|
24
28
|
|
25
|
-
CALLA_LILY =
|
29
|
+
CALLA_LILY = GenshinObject::Material.new(
|
26
30
|
kamera_key: "CallaLily",
|
27
31
|
name: "Calla Lily",
|
28
32
|
rarity: 1,
|
@@ -33,7 +37,7 @@ module TeyvatDB::Materials::Development
|
|
33
37
|
nation_name: :mondstadt,
|
34
38
|
).freeze
|
35
39
|
|
36
|
-
CECILIA =
|
40
|
+
CECILIA = GenshinObject::Material.new(
|
37
41
|
kamera_key: "Cecilia",
|
38
42
|
name: "Cecilia",
|
39
43
|
rarity: 1,
|
@@ -44,7 +48,7 @@ module TeyvatDB::Materials::Development
|
|
44
48
|
nation_name: :mondstadt,
|
45
49
|
).freeze
|
46
50
|
|
47
|
-
COR_LAPIS =
|
51
|
+
COR_LAPIS = GenshinObject::Material.new(
|
48
52
|
kamera_key: "CorLapis",
|
49
53
|
name: "Cor Lapis",
|
50
54
|
rarity: 1,
|
@@ -55,7 +59,7 @@ module TeyvatDB::Materials::Development
|
|
55
59
|
nation_name: :liyue,
|
56
60
|
).freeze
|
57
61
|
|
58
|
-
CRYSTAL_MARROW =
|
62
|
+
CRYSTAL_MARROW = GenshinObject::Material.new(
|
59
63
|
kamera_key: "CrystalMarrow",
|
60
64
|
name: "Crystal Marrow",
|
61
65
|
rarity: 1,
|
@@ -66,7 +70,7 @@ module TeyvatDB::Materials::Development
|
|
66
70
|
nation_name: :inazuma,
|
67
71
|
).freeze
|
68
72
|
|
69
|
-
DANDELION_SEED =
|
73
|
+
DANDELION_SEED = GenshinObject::Material.new(
|
70
74
|
kamera_key: "DandelionSeed",
|
71
75
|
name: "Dandelion Seed",
|
72
76
|
rarity: 1,
|
@@ -77,7 +81,7 @@ module TeyvatDB::Materials::Development
|
|
77
81
|
nation_name: :mondstadt,
|
78
82
|
).freeze
|
79
83
|
|
80
|
-
DENDROBIUM =
|
84
|
+
DENDROBIUM = GenshinObject::Material.new(
|
81
85
|
kamera_key: "Dendrobium",
|
82
86
|
name: "Dendrobium",
|
83
87
|
rarity: 1,
|
@@ -88,7 +92,7 @@ module TeyvatDB::Materials::Development
|
|
88
92
|
nation_name: :inazuma,
|
89
93
|
).freeze
|
90
94
|
|
91
|
-
FLUORESCENT_FUNGUS =
|
95
|
+
FLUORESCENT_FUNGUS = GenshinObject::Material.new(
|
92
96
|
kamera_key: "FluorescentFungus",
|
93
97
|
name: "Fluorescent Fungus",
|
94
98
|
rarity: 1,
|
@@ -99,7 +103,7 @@ module TeyvatDB::Materials::Development
|
|
99
103
|
nation_name: :sumeru,
|
100
104
|
).freeze
|
101
105
|
|
102
|
-
GLAZE_LILY =
|
106
|
+
GLAZE_LILY = GenshinObject::Material.new(
|
103
107
|
kamera_key: "GlazeLily",
|
104
108
|
name: "Glaze Lily",
|
105
109
|
rarity: 1,
|
@@ -110,7 +114,7 @@ module TeyvatDB::Materials::Development
|
|
110
114
|
nation_name: :liyue,
|
111
115
|
).freeze
|
112
116
|
|
113
|
-
HENNA_BERRY =
|
117
|
+
HENNA_BERRY = GenshinObject::Material.new(
|
114
118
|
kamera_key: "HennaBerry",
|
115
119
|
name: "Henna Berry",
|
116
120
|
rarity: 1,
|
@@ -121,7 +125,7 @@ module TeyvatDB::Materials::Development
|
|
121
125
|
nation_name: :sumeru,
|
122
126
|
).freeze
|
123
127
|
|
124
|
-
JUEYUN_CHILI =
|
128
|
+
JUEYUN_CHILI = GenshinObject::Material.new(
|
125
129
|
kamera_key: "JueyunChili",
|
126
130
|
name: "Jueyun Chili",
|
127
131
|
rarity: 1,
|
@@ -132,7 +136,7 @@ module TeyvatDB::Materials::Development
|
|
132
136
|
nation_name: :liyue,
|
133
137
|
).freeze
|
134
138
|
|
135
|
-
KALPALATA_LOTUS =
|
139
|
+
KALPALATA_LOTUS = GenshinObject::Material.new(
|
136
140
|
kamera_key: "KalpalataLotus",
|
137
141
|
name: "Kalpalata Lotus",
|
138
142
|
rarity: 1,
|
@@ -143,7 +147,7 @@ module TeyvatDB::Materials::Development
|
|
143
147
|
nation_name: :sumeru,
|
144
148
|
).freeze
|
145
149
|
|
146
|
-
LUMIDOUCE_BELL =
|
150
|
+
LUMIDOUCE_BELL = GenshinObject::Material.new(
|
147
151
|
kamera_key: "LumidouceBell",
|
148
152
|
name: "Lumidouce Bell",
|
149
153
|
rarity: 1,
|
@@ -154,7 +158,7 @@ module TeyvatDB::Materials::Development
|
|
154
158
|
nation_name: :fontaine,
|
155
159
|
).freeze
|
156
160
|
|
157
|
-
LUMITOILE =
|
161
|
+
LUMITOILE = GenshinObject::Material.new(
|
158
162
|
kamera_key: "Lumitoile",
|
159
163
|
name: "Lumitoile",
|
160
164
|
rarity: 1,
|
@@ -165,7 +169,7 @@ module TeyvatDB::Materials::Development
|
|
165
169
|
nation_name: :fontaine,
|
166
170
|
).freeze
|
167
171
|
|
168
|
-
MARCOTTE =
|
172
|
+
MARCOTTE = GenshinObject::Material.new(
|
169
173
|
kamera_key: "Marcotte",
|
170
174
|
name: "Marcotte",
|
171
175
|
rarity: 1,
|
@@ -176,7 +180,7 @@ module TeyvatDB::Materials::Development
|
|
176
180
|
nation_name: :fontaine,
|
177
181
|
).freeze
|
178
182
|
|
179
|
-
MOURNING_FLOWER =
|
183
|
+
MOURNING_FLOWER = GenshinObject::Material.new(
|
180
184
|
kamera_key: "MourningFlower",
|
181
185
|
name: "Mourning Flower",
|
182
186
|
rarity: 1,
|
@@ -187,7 +191,7 @@ module TeyvatDB::Materials::Development
|
|
187
191
|
nation_name: :sumeru,
|
188
192
|
).freeze
|
189
193
|
|
190
|
-
NAKU_WEED =
|
194
|
+
NAKU_WEED = GenshinObject::Material.new(
|
191
195
|
kamera_key: "NakuWeed",
|
192
196
|
name: "Naku Weed",
|
193
197
|
rarity: 1,
|
@@ -198,7 +202,7 @@ module TeyvatDB::Materials::Development
|
|
198
202
|
nation_name: :inazuma,
|
199
203
|
).freeze
|
200
204
|
|
201
|
-
NILOTPALA_LOTUS =
|
205
|
+
NILOTPALA_LOTUS = GenshinObject::Material.new(
|
202
206
|
kamera_key: "NilotpalaLotus",
|
203
207
|
name: "Nilotpala Lotus",
|
204
208
|
rarity: 1,
|
@@ -209,7 +213,7 @@ module TeyvatDB::Materials::Development
|
|
209
213
|
nation_name: :sumeru,
|
210
214
|
).freeze
|
211
215
|
|
212
|
-
NOCTILUCOUS_JADE =
|
216
|
+
NOCTILUCOUS_JADE = GenshinObject::Material.new(
|
213
217
|
kamera_key: "NoctilucousJade",
|
214
218
|
name: "Noctilucous Jade",
|
215
219
|
rarity: 1,
|
@@ -220,7 +224,7 @@ module TeyvatDB::Materials::Development
|
|
220
224
|
nation_name: :liyue,
|
221
225
|
).freeze
|
222
226
|
|
223
|
-
ONIKABUTO =
|
227
|
+
ONIKABUTO = GenshinObject::Material.new(
|
224
228
|
kamera_key: "Onikabuto",
|
225
229
|
name: "Onikabuto",
|
226
230
|
rarity: 1,
|
@@ -231,7 +235,7 @@ module TeyvatDB::Materials::Development
|
|
231
235
|
nation_name: :inazuma,
|
232
236
|
).freeze
|
233
237
|
|
234
|
-
PADISARAH =
|
238
|
+
PADISARAH = GenshinObject::Material.new(
|
235
239
|
kamera_key: "Padisarah",
|
236
240
|
name: "Padisarah",
|
237
241
|
rarity: 1,
|
@@ -242,7 +246,7 @@ module TeyvatDB::Materials::Development
|
|
242
246
|
nation_name: :sumeru,
|
243
247
|
).freeze
|
244
248
|
|
245
|
-
PHILANEMO_MUSHROOM =
|
249
|
+
PHILANEMO_MUSHROOM = GenshinObject::Material.new(
|
246
250
|
kamera_key: "PhilanemoMushroom",
|
247
251
|
name: "Philanemo Mushroom",
|
248
252
|
rarity: 1,
|
@@ -253,7 +257,7 @@ module TeyvatDB::Materials::Development
|
|
253
257
|
nation_name: :mondstadt,
|
254
258
|
).freeze
|
255
259
|
|
256
|
-
PLUIE_LOTUS =
|
260
|
+
PLUIE_LOTUS = GenshinObject::Material.new(
|
257
261
|
kamera_key: "PluieLotus",
|
258
262
|
name: "Pluie Lotus",
|
259
263
|
rarity: 1,
|
@@ -264,7 +268,7 @@ module TeyvatDB::Materials::Development
|
|
264
268
|
nation_name: :fontaine,
|
265
269
|
).freeze
|
266
270
|
|
267
|
-
QINGXIN =
|
271
|
+
QINGXIN = GenshinObject::Material.new(
|
268
272
|
kamera_key: "Qingxin",
|
269
273
|
name: "Qingxin",
|
270
274
|
rarity: 1,
|
@@ -275,7 +279,7 @@ module TeyvatDB::Materials::Development
|
|
275
279
|
nation_name: :liyue,
|
276
280
|
).freeze
|
277
281
|
|
278
|
-
RAINBOW_ROSE =
|
282
|
+
RAINBOW_ROSE = GenshinObject::Material.new(
|
279
283
|
kamera_key: "RainbowRose",
|
280
284
|
name: "Rainbow Rose",
|
281
285
|
rarity: 1,
|
@@ -286,7 +290,7 @@ module TeyvatDB::Materials::Development
|
|
286
290
|
nation_name: :fontaine,
|
287
291
|
).freeze
|
288
292
|
|
289
|
-
ROMARITIME_FLOWER =
|
293
|
+
ROMARITIME_FLOWER = GenshinObject::Material.new(
|
290
294
|
kamera_key: "RomaritimeFlower",
|
291
295
|
name: "Romaritime Flower",
|
292
296
|
rarity: 1,
|
@@ -297,7 +301,7 @@ module TeyvatDB::Materials::Development
|
|
297
301
|
nation_name: :fontaine,
|
298
302
|
).freeze
|
299
303
|
|
300
|
-
RUKKHASHAVA_MUSHROOMS =
|
304
|
+
RUKKHASHAVA_MUSHROOMS = GenshinObject::Material.new(
|
301
305
|
kamera_key: "RukkhashavaMushrooms",
|
302
306
|
name: "Rukkhashava Mushrooms",
|
303
307
|
rarity: 1,
|
@@ -308,7 +312,7 @@ module TeyvatDB::Materials::Development
|
|
308
312
|
nation_name: :sumeru,
|
309
313
|
).freeze
|
310
314
|
|
311
|
-
SAKURA_BLOOM =
|
315
|
+
SAKURA_BLOOM = GenshinObject::Material.new(
|
312
316
|
kamera_key: "SakuraBloom",
|
313
317
|
name: "Sakura Bloom",
|
314
318
|
rarity: 1,
|
@@ -319,7 +323,7 @@ module TeyvatDB::Materials::Development
|
|
319
323
|
nation_name: :inazuma,
|
320
324
|
).freeze
|
321
325
|
|
322
|
-
SAND_GREASE_PUPA =
|
326
|
+
SAND_GREASE_PUPA = GenshinObject::Material.new(
|
323
327
|
kamera_key: "SandGreasePupa",
|
324
328
|
name: "Sand Grease Pupa",
|
325
329
|
rarity: 1,
|
@@ -330,7 +334,7 @@ module TeyvatDB::Materials::Development
|
|
330
334
|
nation_name: :sumeru,
|
331
335
|
).freeze
|
332
336
|
|
333
|
-
SANGO_PEARL =
|
337
|
+
SANGO_PEARL = GenshinObject::Material.new(
|
334
338
|
kamera_key: "SangoPearl",
|
335
339
|
name: "SangoPearl",
|
336
340
|
rarity: 1,
|
@@ -341,7 +345,7 @@ module TeyvatDB::Materials::Development
|
|
341
345
|
nation_name: :inazuma,
|
342
346
|
).freeze
|
343
347
|
|
344
|
-
SCARAB =
|
348
|
+
SCARAB = GenshinObject::Material.new(
|
345
349
|
kamera_key: "Scarab",
|
346
350
|
name: "Scarab",
|
347
351
|
rarity: 1,
|
@@ -352,7 +356,7 @@ module TeyvatDB::Materials::Development
|
|
352
356
|
nation_name: :sumeru,
|
353
357
|
).freeze
|
354
358
|
|
355
|
-
SEA_GANODERMA =
|
359
|
+
SEA_GANODERMA = GenshinObject::Material.new(
|
356
360
|
kamera_key: "SeaGanoderma",
|
357
361
|
name: "Sea Ganoderma",
|
358
362
|
rarity: 1,
|
@@ -363,7 +367,7 @@ module TeyvatDB::Materials::Development
|
|
363
367
|
nation_name: :inazuma,
|
364
368
|
).freeze
|
365
369
|
|
366
|
-
SILK_FLOWER =
|
370
|
+
SILK_FLOWER = GenshinObject::Material.new(
|
367
371
|
kamera_key: "SilkFlower",
|
368
372
|
name: "Silk Flower",
|
369
373
|
rarity: 1,
|
@@ -374,7 +378,7 @@ module TeyvatDB::Materials::Development
|
|
374
378
|
nation_name: :liyue,
|
375
379
|
).freeze
|
376
380
|
|
377
|
-
SMALL_LAMP_GRASS =
|
381
|
+
SMALL_LAMP_GRASS = GenshinObject::Material.new(
|
378
382
|
kamera_key: "SmallLampGrass",
|
379
383
|
name: "Small Lamp Grass",
|
380
384
|
rarity: 1,
|
@@ -385,7 +389,7 @@ module TeyvatDB::Materials::Development
|
|
385
389
|
nation_name: :mondstadt,
|
386
390
|
).freeze
|
387
391
|
|
388
|
-
STARCONCH =
|
392
|
+
STARCONCH = GenshinObject::Material.new(
|
389
393
|
kamera_key: "Starconch",
|
390
394
|
name: "Starconch",
|
391
395
|
rarity: 1,
|
@@ -396,7 +400,7 @@ module TeyvatDB::Materials::Development
|
|
396
400
|
nation_name: :liyue,
|
397
401
|
).freeze
|
398
402
|
|
399
|
-
SUBDETECTION_UNIT =
|
403
|
+
SUBDETECTION_UNIT = GenshinObject::Material.new(
|
400
404
|
kamera_key: "SubdetectionUnit",
|
401
405
|
name: "Subdetection Unit",
|
402
406
|
rarity: 1,
|
@@ -407,7 +411,7 @@ module TeyvatDB::Materials::Development
|
|
407
411
|
nation_name: :fontaine,
|
408
412
|
).freeze
|
409
413
|
|
410
|
-
TRISHIRAITE =
|
414
|
+
TRISHIRAITE = GenshinObject::Material.new(
|
411
415
|
kamera_key: "Trishiraite",
|
412
416
|
name: "Trishiraite",
|
413
417
|
rarity: 1,
|
@@ -418,7 +422,7 @@ module TeyvatDB::Materials::Development
|
|
418
422
|
nation_name: :sumeru,
|
419
423
|
).freeze
|
420
424
|
|
421
|
-
VALBERRY =
|
425
|
+
VALBERRY = GenshinObject::Material.new(
|
422
426
|
kamera_key: "Valberry",
|
423
427
|
name: "Valberry",
|
424
428
|
rarity: 1,
|
@@ -429,7 +433,7 @@ module TeyvatDB::Materials::Development
|
|
429
433
|
nation_name: :mondstadt,
|
430
434
|
).freeze
|
431
435
|
|
432
|
-
VIOLETGRASS =
|
436
|
+
VIOLETGRASS = GenshinObject::Material.new(
|
433
437
|
kamera_key: "Violetgrass",
|
434
438
|
name: "Violetgrass",
|
435
439
|
rarity: 1,
|
@@ -440,7 +444,7 @@ module TeyvatDB::Materials::Development
|
|
440
444
|
nation_name: :liyue,
|
441
445
|
).freeze
|
442
446
|
|
443
|
-
VIPARYAS =
|
447
|
+
VIPARYAS = GenshinObject::Material.new(
|
444
448
|
kamera_key: "Viparyas",
|
445
449
|
name: "Viparyas",
|
446
450
|
rarity: 1,
|
@@ -451,7 +455,7 @@ module TeyvatDB::Materials::Development
|
|
451
455
|
nation_name: :sumeru,
|
452
456
|
).freeze
|
453
457
|
|
454
|
-
WINDWHEEL_ASTER =
|
458
|
+
WINDWHEEL_ASTER = GenshinObject::Material.new(
|
455
459
|
kamera_key: "WindwheelAster",
|
456
460
|
name: "Windwheel Aster",
|
457
461
|
rarity: 1,
|
@@ -462,7 +466,7 @@ module TeyvatDB::Materials::Development
|
|
462
466
|
nation_name: :mondstadt,
|
463
467
|
).freeze
|
464
468
|
|
465
|
-
WOLFHOOK =
|
469
|
+
WOLFHOOK = GenshinObject::Material.new(
|
466
470
|
kamera_key: "Wolfhook",
|
467
471
|
name: "Wolfhook",
|
468
472
|
rarity: 1,
|