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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 171092467cdc27d8cb9cb1a4cbab5660d5d98094cf292a9bc92945b99317545c
|
4
|
+
data.tar.gz: af288eca0a8168e8b400794b15c1db1e0b14b12da4230a5e995d1dac94239a3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c323739992ac52281fe71e92b467b9046dbe198b34964895ecd7aa18a4add6c45ef1038ee61b1134e5c4b460c836f8cc8dc18b57ca24d6b02c7229d72358b96e
|
7
|
+
data.tar.gz: 1c2d191c3079586b89a174f9c430ef1c9b267fde88678ba9affa14ac0dab25bc7dd65891d4b5b242099dbcbfab135236a52448838885aa1f7f18578b75ed848c
|
data/Gemfile.lock
CHANGED
@@ -0,0 +1,263 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GenshinData::ArtifactSets
|
4
|
+
module ArtifactData
|
5
|
+
ARCHAIC_PETRA = GenshinObject::ArtifactSet.new(
|
6
|
+
kamera_key: "ArchaicPetra",
|
7
|
+
name: "Archaic Petra",
|
8
|
+
max_rarity: 5
|
9
|
+
).freeze
|
10
|
+
|
11
|
+
BLIZZARD_STRAYER = GenshinObject::ArtifactSet.new(
|
12
|
+
kamera_key: "BlizzardStrayer",
|
13
|
+
name: "Blizzard Strayer",
|
14
|
+
max_rarity: 5
|
15
|
+
).freeze
|
16
|
+
|
17
|
+
BLOODSTAINED_CHIVALRY = GenshinObject::ArtifactSet.new(
|
18
|
+
kamera_key: "BloodstainedChivalry",
|
19
|
+
name: "Bloodstained Chivalry",
|
20
|
+
max_rarity: 5
|
21
|
+
).freeze
|
22
|
+
|
23
|
+
CRIMSON_WITCH_OF_FLAMES = GenshinObject::ArtifactSet.new(
|
24
|
+
kamera_key: "CrimsonWitchOfFlames",
|
25
|
+
name: "Crimson Witch of Flames",
|
26
|
+
max_rarity: 5
|
27
|
+
).freeze
|
28
|
+
|
29
|
+
DEEPWOOD_MEMORIES = GenshinObject::ArtifactSet.new(
|
30
|
+
kamera_key: "DeepwoodMemories",
|
31
|
+
name: "Deepwood Memories",
|
32
|
+
max_rarity: 5
|
33
|
+
).freeze
|
34
|
+
|
35
|
+
DESERT_PAVILION_CHRONICLE = GenshinObject::ArtifactSet.new(
|
36
|
+
kamera_key: "DesertPavilionChronicle",
|
37
|
+
name: "Desert Pavilion Chronicle",
|
38
|
+
max_rarity: 5
|
39
|
+
).freeze
|
40
|
+
|
41
|
+
ECHOES_OF_AN_OFFERING = GenshinObject::ArtifactSet.new(
|
42
|
+
kamera_key: "EchoesOfAnOffering",
|
43
|
+
name: "Echoes of an Offering",
|
44
|
+
max_rarity: 5
|
45
|
+
).freeze
|
46
|
+
|
47
|
+
EMBLEM_OF_SEVERED_FATE = GenshinObject::ArtifactSet.new(
|
48
|
+
kamera_key: "EmblemOfSeveredFate",
|
49
|
+
name: "Emblem of Severed Fate",
|
50
|
+
max_rarity: 5
|
51
|
+
).freeze
|
52
|
+
|
53
|
+
FLOWER_OF_PARADISE_LOST = GenshinObject::ArtifactSet.new(
|
54
|
+
kamera_key: "FlowerOfParadiseLost",
|
55
|
+
name: "Flower of Paradise Lost",
|
56
|
+
max_rarity: 5
|
57
|
+
).freeze
|
58
|
+
|
59
|
+
GILDED_DREAMS = GenshinObject::ArtifactSet.new(
|
60
|
+
kamera_key: "GildedDreams",
|
61
|
+
name: "Gilded Dreams",
|
62
|
+
max_rarity: 5
|
63
|
+
).freeze
|
64
|
+
|
65
|
+
GLADIATORS_FINALE = GenshinObject::ArtifactSet.new(
|
66
|
+
kamera_key: "GladiatorsFinale",
|
67
|
+
name: "Gladiator's Finale",
|
68
|
+
max_rarity: 5
|
69
|
+
).freeze
|
70
|
+
|
71
|
+
HEART_OF_DEPTH = GenshinObject::ArtifactSet.new(
|
72
|
+
kamera_key: "HeartOfDepth",
|
73
|
+
name: "Heart of Depth",
|
74
|
+
max_rarity: 5
|
75
|
+
).freeze
|
76
|
+
|
77
|
+
HUSK_OF_OPULENT_DREAMS = GenshinObject::ArtifactSet.new(
|
78
|
+
kamera_key: "HuskOfOpulentDreams",
|
79
|
+
name: "Husk of Opulent Dreams",
|
80
|
+
max_rarity: 5
|
81
|
+
).freeze
|
82
|
+
|
83
|
+
LAVAWALKER = GenshinObject::ArtifactSet.new(
|
84
|
+
kamera_key: "Lavawalker",
|
85
|
+
name: "Lavawalker",
|
86
|
+
max_rarity: 5
|
87
|
+
).freeze
|
88
|
+
|
89
|
+
MAIDEN_BELOVED = GenshinObject::ArtifactSet.new(
|
90
|
+
kamera_key: "MaidenBeloved",
|
91
|
+
name: "Maiden Beloved",
|
92
|
+
max_rarity: 5
|
93
|
+
).freeze
|
94
|
+
|
95
|
+
NOBLESSE_OBLIGE = GenshinObject::ArtifactSet.new(
|
96
|
+
kamera_key: "NoblesseOblige",
|
97
|
+
name: "Noblesse Oblige",
|
98
|
+
max_rarity: 5
|
99
|
+
).freeze
|
100
|
+
|
101
|
+
OCEAN_HUED_CLAM = GenshinObject::ArtifactSet.new(
|
102
|
+
kamera_key: "OceanHuedClam",
|
103
|
+
name: "Ocean-Hued Clam",
|
104
|
+
max_rarity: 5
|
105
|
+
).freeze
|
106
|
+
|
107
|
+
PALE_FLAME = GenshinObject::ArtifactSet.new(
|
108
|
+
kamera_key: "PaleFlame",
|
109
|
+
name: "Pale Flame",
|
110
|
+
max_rarity: 5
|
111
|
+
).freeze
|
112
|
+
|
113
|
+
RETRACING_BOLIDE = GenshinObject::ArtifactSet.new(
|
114
|
+
kamera_key: "RetracingBolide",
|
115
|
+
name: "Retracing Bolide",
|
116
|
+
max_rarity: 5
|
117
|
+
).freeze
|
118
|
+
|
119
|
+
SHIMENAWAS_REMINISCENCE = GenshinObject::ArtifactSet.new(
|
120
|
+
kamera_key: "ShimenawasReminiscence",
|
121
|
+
name: "Shimenawa's Reminiscence",
|
122
|
+
max_rarity: 5
|
123
|
+
).freeze
|
124
|
+
|
125
|
+
TENACITY_OF_THE_MILLELITH = GenshinObject::ArtifactSet.new(
|
126
|
+
kamera_key: "TenacityOfTheMillelith",
|
127
|
+
name: "Tenacity of the Millelith",
|
128
|
+
max_rarity: 5
|
129
|
+
).freeze
|
130
|
+
|
131
|
+
THUNDERING_FURY = GenshinObject::ArtifactSet.new(
|
132
|
+
kamera_key: "ThunderingFury",
|
133
|
+
name: "Thundering Fury",
|
134
|
+
max_rarity: 5
|
135
|
+
).freeze
|
136
|
+
|
137
|
+
THUNDERSOOTHER = GenshinObject::ArtifactSet.new(
|
138
|
+
kamera_key: "Thundersoother",
|
139
|
+
name: "Thundersoother",
|
140
|
+
max_rarity: 5
|
141
|
+
).freeze
|
142
|
+
|
143
|
+
VERMILLION_HEREAFTER = GenshinObject::ArtifactSet.new(
|
144
|
+
kamera_key: "VermillionHereafter",
|
145
|
+
name: "Vermillion Hereafter",
|
146
|
+
max_rarity: 5
|
147
|
+
).freeze
|
148
|
+
|
149
|
+
VIRIDESCENT_VENERER = GenshinObject::ArtifactSet.new(
|
150
|
+
kamera_key: "ViridescentVenerer",
|
151
|
+
name: "Viridescent Venerer",
|
152
|
+
max_rarity: 5
|
153
|
+
).freeze
|
154
|
+
|
155
|
+
WANDERERS_TROUPE = GenshinObject::ArtifactSet.new(
|
156
|
+
kamera_key: "WanderersTroupe",
|
157
|
+
name: "Wanderer's Troupe",
|
158
|
+
max_rarity: 5
|
159
|
+
).freeze
|
160
|
+
|
161
|
+
BERSERKER = GenshinObject::ArtifactSet.new(
|
162
|
+
kamera_key: "Berserker",
|
163
|
+
name: "Berserker",
|
164
|
+
max_rarity: 4
|
165
|
+
).freeze
|
166
|
+
|
167
|
+
BRAVE_HEART = GenshinObject::ArtifactSet.new(
|
168
|
+
kamera_key: "BraveHeart",
|
169
|
+
name: "Brave Heart",
|
170
|
+
max_rarity: 4
|
171
|
+
).freeze
|
172
|
+
|
173
|
+
DEFENDERS_WILL = GenshinObject::ArtifactSet.new(
|
174
|
+
kamera_key: "DefendersWill",
|
175
|
+
name: "Defender's Will",
|
176
|
+
max_rarity: 4
|
177
|
+
).freeze
|
178
|
+
|
179
|
+
INSTRUCTOR = GenshinObject::ArtifactSet.new(
|
180
|
+
kamera_key: "Instructor",
|
181
|
+
name: "Instructor",
|
182
|
+
max_rarity: 4
|
183
|
+
).freeze
|
184
|
+
|
185
|
+
GAMBLER = GenshinObject::ArtifactSet.new(
|
186
|
+
kamera_key: "Gambler",
|
187
|
+
name: "Gambler",
|
188
|
+
max_rarity: 4
|
189
|
+
).freeze
|
190
|
+
|
191
|
+
MARTIAL_ARTIST = GenshinObject::ArtifactSet.new(
|
192
|
+
kamera_key: "MartialArtist",
|
193
|
+
name: "Martial Artist",
|
194
|
+
max_rarity: 4
|
195
|
+
).freeze
|
196
|
+
|
197
|
+
PRAYERS_FOR_DESTINY = GenshinObject::ArtifactSet.new(
|
198
|
+
kamera_key: "PrayersForDestiny",
|
199
|
+
name: "Prayers for Destiny",
|
200
|
+
max_rarity: 4
|
201
|
+
).freeze
|
202
|
+
|
203
|
+
PRAYERS_FOR_ILLUMINATION = GenshinObject::ArtifactSet.new(
|
204
|
+
kamera_key: "PrayersForIllumination",
|
205
|
+
name: "Prayers for Illumination",
|
206
|
+
max_rarity: 4
|
207
|
+
).freeze
|
208
|
+
|
209
|
+
PRAYERS_TO_SPRINGTIME = GenshinObject::ArtifactSet.new(
|
210
|
+
kamera_key: "PrayersToSpringtime",
|
211
|
+
name: "Prayers to Springtime",
|
212
|
+
max_rarity: 4
|
213
|
+
).freeze
|
214
|
+
|
215
|
+
PRAYERS_FOR_WISDOM = GenshinObject::ArtifactSet.new(
|
216
|
+
kamera_key: "PrayersForWisdom",
|
217
|
+
name: "Prayers for Wisdom",
|
218
|
+
max_rarity: 4
|
219
|
+
).freeze
|
220
|
+
|
221
|
+
RESOLUTION_OF_SOJOURNER = GenshinObject::ArtifactSet.new(
|
222
|
+
kamera_key: "ResolutionOfSojourner",
|
223
|
+
name: "Resolution of Sojourner",
|
224
|
+
max_rarity: 4
|
225
|
+
).freeze
|
226
|
+
|
227
|
+
SCHOLAR = GenshinObject::ArtifactSet.new(
|
228
|
+
kamera_key: "Scholar",
|
229
|
+
name: "Scholar",
|
230
|
+
max_rarity: 4
|
231
|
+
).freeze
|
232
|
+
|
233
|
+
THE_EXILE = GenshinObject::ArtifactSet.new(
|
234
|
+
kamera_key: "TheExile",
|
235
|
+
name: "The Exile",
|
236
|
+
max_rarity: 4
|
237
|
+
).freeze
|
238
|
+
|
239
|
+
TINY_MIRACLE = GenshinObject::ArtifactSet.new(
|
240
|
+
kamera_key: "TinyMiracle",
|
241
|
+
name: "Tiny Miracle",
|
242
|
+
max_rarity: 4
|
243
|
+
).freeze
|
244
|
+
|
245
|
+
ADVENTURER = GenshinObject::ArtifactSet.new(
|
246
|
+
kamera_key: "Adventurer",
|
247
|
+
name: "Adventurer",
|
248
|
+
max_rarity: 3
|
249
|
+
).freeze
|
250
|
+
|
251
|
+
LUCKY_DOG = GenshinObject::ArtifactSet.new(
|
252
|
+
kamera_key: "LuckyDog",
|
253
|
+
name: "Lucky Dog",
|
254
|
+
max_rarity: 3
|
255
|
+
).freeze
|
256
|
+
|
257
|
+
TRAVELING_DOCTOR = GenshinObject::ArtifactSet.new(
|
258
|
+
kamera_key: "TravelingDoctor",
|
259
|
+
name: "Traveling Doctor",
|
260
|
+
max_rarity: 3
|
261
|
+
).freeze
|
262
|
+
end
|
263
|
+
end
|
@@ -1,8 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
module
|
3
|
+
module GenshinData
|
4
|
+
# Manager for all artifact sets and attributes
|
4
5
|
module ArtifactSets
|
5
|
-
require_relative "artifact_sets/artifact_data"
|
6
|
+
require_relative "./artifact_sets/artifact_data"
|
6
7
|
|
7
8
|
class << self
|
8
9
|
def all
|