teyvatdb 0.5.5 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +65 -49
- data/lib/genshin_data/characters/character_data.rb +45 -0
- data/lib/genshin_data/characters.rb +3 -0
- data/lib/genshin_data/materials/development/weekly_boss_drops_data.rb +33 -0
- data/lib/genshin_data/materials/development/world_boss_drops_data.rb +12 -1
- data/lib/genshin_data/weapons/weapon_data/bows.rb +10 -0
- data/lib/genshin_data/weapons/weapon_data/polearms.rb +10 -0
- data/lib/genshin_data/weekly_bosses/weekly_boss_data.rb +8 -1
- data/lib/genshin_data/world_bosses/world_boss_data.rb +6 -0
- data/lib/genshin_object.rb +1 -1
- data/lib/teyvatdb/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f4ff054066e58f167eb31c136e761762fedb3b10c9ae2cbfc66482259fe1472
|
4
|
+
data.tar.gz: 8636e2865a7c079f8c2592ecd36a4d37c64322c0aea574ac31e8c59136f3ba1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4816d1a8148696e229b4d62eb97566a68cd642f810d823b03cb130d6cf02c3a4455f85f1150449adf8c26eb71694baaae9eca4ad166159ad72abcbe857892f26
|
7
|
+
data.tar.gz: '00891aa464bc2b3f172016bfa7bb5c0e7a501f812cee3c5d5ff0757d3aa9578292812046500fb0a9609c08b21d8abd76f32044df08344eeb276ddc3a769f4ed1'
|
data/CHANGELOG.md
CHANGED
@@ -1,61 +1,78 @@
|
|
1
|
+
## [0.5.6] - 2025-04-28
|
2
|
+
- Add new Characters
|
3
|
+
- Escoffier (5)
|
4
|
+
- Ifa (4)
|
5
|
+
- Add missed Character
|
6
|
+
- Lan Yan (4)
|
7
|
+
- Add Weapon
|
8
|
+
- Symphonist of Scents (5)
|
9
|
+
- Sequence of Solitude (4)
|
10
|
+
- Add Weekly Boss & Loot
|
11
|
+
- The Game Before the Gate
|
12
|
+
- Add World Boss & Loot
|
13
|
+
- Secret Source Automaton
|
14
|
+
|
1
15
|
## [0.5.5] - 2025-04-28
|
2
|
-
- Add Characters
|
3
|
-
|
4
|
-
|
5
|
-
- Add Weapon
|
6
|
-
|
7
|
-
- Add
|
8
|
-
|
16
|
+
- Add Characters
|
17
|
+
- Varesa (5)
|
18
|
+
- Iansan (4)
|
19
|
+
- Add Weapon
|
20
|
+
- Vivid Notions (5)
|
21
|
+
- Add World Boss & Loot
|
22
|
+
- Lava Dragon Statue
|
9
23
|
|
10
24
|
## [0.5.4] - 2025-02-14
|
11
|
-
- Add Character:
|
12
|
-
|
13
|
-
- Add Weapons
|
14
|
-
|
15
|
-
|
25
|
+
- Add Character:
|
26
|
+
- Yumemizuki Mizuki
|
27
|
+
- Add Weapons
|
28
|
+
- Sunny Morning Sleep-In (5)
|
29
|
+
- Tamayuratei no Ohanashi (4)
|
16
30
|
|
17
31
|
## [0.5.3] - 2025-01-20
|
18
|
-
- Add Characters:
|
19
|
-
|
20
|
-
|
21
|
-
- Add Weapons
|
22
|
-
|
23
|
-
|
24
|
-
- Add Weekly Boss & Loot
|
25
|
-
|
26
|
-
- Add World Boss & Loot
|
27
|
-
|
32
|
+
- Add Characters:
|
33
|
+
- Mavuika (5)
|
34
|
+
- Citlali (5)
|
35
|
+
- Add Weapons
|
36
|
+
- A Thousand Blazing Suns (5)
|
37
|
+
- Starcaller's Watch (5)
|
38
|
+
- Add Weekly Boss & Loot
|
39
|
+
- Lord of Eroded Primal Fire
|
40
|
+
- Add World Boss & Loot
|
41
|
+
- Wayward Hermetic Spiritspeaker
|
28
42
|
|
29
43
|
## [0.5.2.4] - 2024-11-23
|
30
|
-
- Fix typo in material
|
44
|
+
- Fix typo in material
|
31
45
|
|
32
46
|
## [0.5.2.3] - 2024-11-23
|
33
|
-
- Fix typo in material
|
34
|
-
- Add missing cooking and gathering materials
|
35
|
-
- Add better test coverage
|
47
|
+
- Fix typo in material
|
48
|
+
- Add missing cooking and gathering materials
|
49
|
+
- Add better test coverage
|
50
|
+
- Catch materials with bad names and keys
|
36
51
|
|
37
52
|
## [0.5.2.2] - 2024-11-23
|
38
|
-
- Add missing talent books
|
39
|
-
- Add better test coverage
|
53
|
+
- Add missing talent books
|
54
|
+
- Add better test coverage
|
55
|
+
- Catch missing materials and errors in talent books
|
40
56
|
|
41
57
|
## [0.5.2.1] - 2024-11-23
|
42
|
-
- Fix typo in Sword key
|
43
|
-
- Add better test coverage
|
58
|
+
- Fix typo in Sword key
|
59
|
+
- Add better test coverage
|
60
|
+
- Catch incorrect names and keys
|
44
61
|
|
45
62
|
## [0.5.2] - 2024-11-23
|
46
|
-
- Add Characters:
|
47
|
-
|
48
|
-
|
49
|
-
- Add Weapons
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
- Add World Boss & Loot
|
55
|
-
|
63
|
+
- Add Characters:
|
64
|
+
- Chasca (5)
|
65
|
+
- Ororon (4)
|
66
|
+
- Add Weapons
|
67
|
+
- Astral Vulture's Crimson Plumage (5)
|
68
|
+
- Waveriding Whirl (4)
|
69
|
+
- Flower-Wreathed Feathers (4)
|
70
|
+
- Calamity of Eshu (4)
|
71
|
+
- Add World Boss & Loot
|
72
|
+
- Tenebrous Papilla
|
56
73
|
|
57
74
|
## [0.5.1.1] - 2024-11-13
|
58
|
-
- Fix typo
|
75
|
+
- Fix typo
|
59
76
|
|
60
77
|
## [0.5.1] - 2024-11-13
|
61
78
|
- Add v5.1 data
|
@@ -124,15 +141,14 @@
|
|
124
141
|
- Added 'Statue of Marble and Brass' world boss & loot
|
125
142
|
|
126
143
|
## [0.4.5.1] - 2024-04-14
|
127
|
-
- Add v4.5 event Weapon
|
128
|
-
|
129
|
-
|
144
|
+
- Add v4.5 event Weapon
|
145
|
+
- Add polearm, Dialogues of the Desert Sages
|
146
|
+
- Add refinement material Exalted Earth
|
130
147
|
|
131
148
|
## [0.2.4] - 2024-03-16
|
132
|
-
- Add v4.5 Character and weapons
|
133
|
-
|
134
|
-
|
149
|
+
- Add v4.5 Character and weapons
|
150
|
+
- Add Chiori Character
|
151
|
+
- Add signature weapon Uraku Misugiri
|
135
152
|
|
136
153
|
## [0.1.0] - 2023-07-22
|
137
|
-
|
138
|
-
- Initial release
|
154
|
+
- Initial release
|
@@ -363,6 +363,21 @@ module GenshinData
|
|
363
363
|
ascension_enemy_material_name: :scarf
|
364
364
|
).freeze
|
365
365
|
|
366
|
+
ESCOFFIER = GenshinObject::Character.new(
|
367
|
+
kamera_key: "Escoffier",
|
368
|
+
name: "Escoffier",
|
369
|
+
nation_name: :fontaine,
|
370
|
+
rarity: 5,
|
371
|
+
element: :cryo,
|
372
|
+
weapon_type: :polearm,
|
373
|
+
talent_book_name: :justice,
|
374
|
+
talent_rare_material_name: :gear,
|
375
|
+
talent_boss_material_name: "ErodedHorn",
|
376
|
+
ascension_boss_material_name: "SecretSourceAirflowAccumulator",
|
377
|
+
ascension_gathering_material_name: "BerylConch",
|
378
|
+
ascension_enemy_material_name: :gear
|
379
|
+
).freeze
|
380
|
+
|
366
381
|
EULA = GenshinObject::Character.new(
|
367
382
|
kamera_key: "Eula",
|
368
383
|
name: "Eula",
|
@@ -513,6 +528,21 @@ module GenshinData
|
|
513
528
|
ascension_enemy_material_name: :whistle
|
514
529
|
).freeze
|
515
530
|
|
531
|
+
IFA = GenshinObject::Character.new(
|
532
|
+
kamera_key: "Ifa",
|
533
|
+
name: "Ifa",
|
534
|
+
nation_name: :natlan,
|
535
|
+
rarity: 4,
|
536
|
+
element: :anemo,
|
537
|
+
weapon_type: :catalyst,
|
538
|
+
talent_book_name: :conflict,
|
539
|
+
talent_rare_material_name: :fang,
|
540
|
+
talent_boss_material_name: "AscendedSampleRook",
|
541
|
+
ascension_boss_material_name: "SparklessStatueCore",
|
542
|
+
ascension_gathering_material_name: "SaurianClawSucculent",
|
543
|
+
ascension_enemy_material_name: :fang
|
544
|
+
).freeze
|
545
|
+
|
516
546
|
JEAN = GenshinObject::Character.new(
|
517
547
|
kamera_key: "Jean",
|
518
548
|
name: "Jean",
|
@@ -708,6 +738,21 @@ module GenshinData
|
|
708
738
|
ascension_enemy_material_name: :spectral
|
709
739
|
).freeze
|
710
740
|
|
741
|
+
LAN_YAN = GenshinObject::Character.new(
|
742
|
+
kamera_key: "LanYan",
|
743
|
+
name: "Lan Yan",
|
744
|
+
nation_name: :liyue,
|
745
|
+
rarity: 4,
|
746
|
+
element: :anemo,
|
747
|
+
weapon_type: :catalyst,
|
748
|
+
talent_book_name: :diligence,
|
749
|
+
talent_rare_material_name: :nectar,
|
750
|
+
talent_boss_material_name: "ErodedSunfire",
|
751
|
+
ascension_boss_material_name: "GoldInscribedSecretSourceCore",
|
752
|
+
ascension_gathering_material_name: "ClearwaterJade",
|
753
|
+
ascension_enemy_material_name: :nectar
|
754
|
+
).freeze
|
755
|
+
|
711
756
|
LAYLA = GenshinObject::Character.new(
|
712
757
|
kamera_key: "Layla",
|
713
758
|
name: "Layla",
|
@@ -26,6 +26,7 @@ module GenshinData
|
|
26
26
|
CharacterData::CHEVREUSE,
|
27
27
|
CharacterData::CLORINDE,
|
28
28
|
CharacterData::CHIORI,
|
29
|
+
CharacterData::ESCOFFIER,
|
29
30
|
CharacterData::FREMINET,
|
30
31
|
CharacterData::FURINA,
|
31
32
|
CharacterData::LYNETTE,
|
@@ -68,6 +69,7 @@ module GenshinData
|
|
68
69
|
CharacterData::GANYU,
|
69
70
|
CharacterData::HU_TAO,
|
70
71
|
CharacterData::KEQING,
|
72
|
+
CharacterData::LAN_YAN,
|
71
73
|
CharacterData::NINGGUANG,
|
72
74
|
CharacterData::QIQI,
|
73
75
|
CharacterData::SHENHE,
|
@@ -113,6 +115,7 @@ module GenshinData
|
|
113
115
|
CharacterData::CHASCA,
|
114
116
|
CharacterData::CITLALI,
|
115
117
|
CharacterData::IANSAN,
|
118
|
+
CharacterData::IFA,
|
116
119
|
CharacterData::KACHINA,
|
117
120
|
CharacterData::KINICH,
|
118
121
|
CharacterData::MAVUIKA,
|
@@ -371,6 +371,39 @@ module GenshinData
|
|
371
371
|
source_sub_category: :lord_of_primal_fire_drop,
|
372
372
|
nation_name: :natlan
|
373
373
|
).freeze
|
374
|
+
|
375
|
+
ASCENDED_SAMPLE_KNIGHT = GenshinObject::Material.new(
|
376
|
+
kamera_key: "AscendedSampleKnight",
|
377
|
+
name: "Ascended Sample: Knight",
|
378
|
+
rarity: 5,
|
379
|
+
family: :the_game_before_the_gate_loot,
|
380
|
+
inventory_type: :development_material,
|
381
|
+
source_category: :boss_loot,
|
382
|
+
source_sub_category: :the_game_before_the_gate_drop,
|
383
|
+
nation_name: :mondstadt
|
384
|
+
).freeze
|
385
|
+
|
386
|
+
ASCENDED_SAMPLE_QUEEN = GenshinObject::Material.new(
|
387
|
+
kamera_key: "AscendedSampleQueen",
|
388
|
+
name: "Ascended Sample: Queen",
|
389
|
+
rarity: 5,
|
390
|
+
family: :the_game_before_the_gate_loot,
|
391
|
+
inventory_type: :development_material,
|
392
|
+
source_category: :boss_loot,
|
393
|
+
source_sub_category: :the_game_before_the_gate_drop,
|
394
|
+
nation_name: :mondstadt
|
395
|
+
).freeze
|
396
|
+
|
397
|
+
ASCENDED_SAMPLE_ROOK = GenshinObject::Material.new(
|
398
|
+
kamera_key: "AscendedSampleRook",
|
399
|
+
name: "Ascended Sample: Rook",
|
400
|
+
rarity: 5,
|
401
|
+
family: :the_game_before_the_gate_loot,
|
402
|
+
inventory_type: :development_material,
|
403
|
+
source_category: :boss_loot,
|
404
|
+
source_sub_category: :the_game_before_the_gate_drop,
|
405
|
+
nation_name: :mondstadt
|
406
|
+
).freeze
|
374
407
|
end
|
375
408
|
end
|
376
409
|
end
|
@@ -339,6 +339,17 @@ module GenshinData
|
|
339
339
|
nation_name: :liyue
|
340
340
|
).freeze
|
341
341
|
|
342
|
+
SECRET_SOURCE_AIRFLOW_ACCUMULATOR = GenshinObject::Material.new(
|
343
|
+
kamera_key: "SecretSourceAirflowAccumulator",
|
344
|
+
name: "Secret Source Airflow Accumulator",
|
345
|
+
rarity: 4,
|
346
|
+
family: nil,
|
347
|
+
inventory_type: :development_material,
|
348
|
+
source_category: :boss_loot,
|
349
|
+
source_sub_category: :world_boss_drop,
|
350
|
+
nation_name: :natlan
|
351
|
+
).freeze
|
352
|
+
|
342
353
|
SMOLDERING_PEARL = GenshinObject::Material.new(
|
343
354
|
kamera_key: "SmolderingPearl",
|
344
355
|
name: "Smoldering Pearl",
|
@@ -350,7 +361,7 @@ module GenshinData
|
|
350
361
|
nation_name: :inazuma
|
351
362
|
).freeze
|
352
363
|
|
353
|
-
SPARKLESS_STATUE_CORE
|
364
|
+
SPARKLESS_STATUE_CORE = GenshinObject::Material.new(
|
354
365
|
kamera_key: "SparklessStatueCore",
|
355
366
|
name: "Sparkless Statue Core",
|
356
367
|
rarity: 4,
|
@@ -319,6 +319,16 @@ module GenshinData
|
|
319
319
|
weapon_material_type: :wolf_tooth
|
320
320
|
).freeze
|
321
321
|
|
322
|
+
SEQUENCE_OF_SOLITUDE = GenshinObject::Weapon.new(
|
323
|
+
kamera_key: "SequenceOfSolitude",
|
324
|
+
name: "Sequence of Solitude",
|
325
|
+
rarity: 4,
|
326
|
+
weapon_type: :bow,
|
327
|
+
elite_material_type: :weasel_shell,
|
328
|
+
standard_material_type: :gear,
|
329
|
+
weapon_material_type: :ancient_chord
|
330
|
+
).freeze
|
331
|
+
|
322
332
|
SHARPSHOOTERS_OATH = GenshinObject::Weapon.new(
|
323
333
|
kamera_key: "SharpshootersOath",
|
324
334
|
name: "Sharpshooter's Oath",
|
@@ -289,6 +289,16 @@ module GenshinData
|
|
289
289
|
weapon_material_type: :oasis_garden
|
290
290
|
).freeze
|
291
291
|
|
292
|
+
SYMPHONIST_OF_SCENTS = GenshinObject::Weapon.new(
|
293
|
+
kamera_key: "SymphonistOfScents",
|
294
|
+
name: "Symphonist of Scents",
|
295
|
+
rarity: 5,
|
296
|
+
weapon_type: :polearm,
|
297
|
+
elite_material_type: :tainted_water,
|
298
|
+
standard_material_type: :transoceanic,
|
299
|
+
weapon_material_type: :sacred_dewdrop
|
300
|
+
).freeze
|
301
|
+
|
292
302
|
TAMAYURATEI_NO_OHANASHI = GenshinObject::Weapon.new(
|
293
303
|
kamera_key: "TamayurateiNoOhanashi",
|
294
304
|
name: "Tamayuratei no Ohanashi",
|
@@ -80,10 +80,17 @@ module GenshinData
|
|
80
80
|
|
81
81
|
LORD_OF_PRIMAL_FIRE = GenshinObject::WeeklyBoss.new(
|
82
82
|
name: "Lord of Eroded Primal Fire",
|
83
|
-
domain_name: "
|
83
|
+
domain_name: "Stone Stele Records",
|
84
84
|
nation_name: :natlan,
|
85
85
|
material_family: :lord_of_primal_fire_loot
|
86
86
|
)
|
87
|
+
|
88
|
+
THE_GAME_BEFORE_THE_GATE = GenshinObject::WeeklyBoss.new(
|
89
|
+
name: "The Game Before the Gate",
|
90
|
+
domain_name: "Unresolved Chess Game",
|
91
|
+
nation_name: :mondstadt,
|
92
|
+
material_family: :the_game_before_the_gate_loot
|
93
|
+
)
|
87
94
|
end
|
88
95
|
end
|
89
96
|
end
|
@@ -188,6 +188,12 @@ module GenshinData
|
|
188
188
|
boss_material: "RunicFang"
|
189
189
|
)
|
190
190
|
|
191
|
+
SECRET_SOURCE_AUTOMATON = GenshinObject::WorldBoss.new(
|
192
|
+
name: "Secret Source Automaton",
|
193
|
+
nation_name: :natlan,
|
194
|
+
boss_material: "SecretSourceAirflowAccumulator"
|
195
|
+
)
|
196
|
+
|
191
197
|
SECRET_SOURCE_CONSTRUCTOR = GenshinObject::WorldBoss.new(
|
192
198
|
name: "Secret Source Constructor",
|
193
199
|
nation_name: :natlan,
|
data/lib/genshin_object.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# Module that handles higher constants and base classes and behavior
|
4
4
|
module GenshinObject
|
5
5
|
KAMERA_KEY_REGEX = /\A[A-Za-z]+\z/
|
6
|
-
NAME_REGEX = /\A[A-Za-z
|
6
|
+
NAME_REGEX = /\A[A-Za-z:\'\-\.\",\s]+\z/
|
7
7
|
|
8
8
|
require_relative "genshin_object/artifact_set"
|
9
9
|
require_relative "genshin_object/artifact_set_bonus"
|
data/lib/teyvatdb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teyvatdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Haberer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Gem to provide basic genshin data to my other projects
|
14
14
|
email:
|
@@ -88,7 +88,6 @@ licenses:
|
|
88
88
|
metadata:
|
89
89
|
allowed_push_host: https://rubygems.org/
|
90
90
|
homepage_uri: https://github.com/bhaberer/teyvatdb
|
91
|
-
source_code_uri: https://github.com/bhaberer/teyvatdb
|
92
91
|
changelog_uri: https://github.com/bhaberer/teyvatdb/blob/main/CHANGELOG.md
|
93
92
|
rubygems_mfa_required: 'true'
|
94
93
|
post_install_message:
|