teyvatdb 0.1.11 → 0.1.13

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 +1072 -0
  6. data/lib/{teyvatdb → genshin_data}/characters.rb +4 -3
  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 +48 -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 +29 -25
  16. data/lib/{teyvatdb → genshin_data}/materials/development/world_boss_drops_data.rb +32 -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 +40 -34
  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 -1657
  52. data/lib/teyvatdb/weapons.rb +0 -185
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff70f7d06cee40a8e24295f4cb302567180e1f775669780a83908a787e7db13b
4
- data.tar.gz: 9f492a08a8cd10ad32a1c770f3fc3e86da75f5cb20f1ab14d1ee8d406a3a8d04
3
+ metadata.gz: c2c47665b6f45dd43649ee993b05e45fdcf0277685e530ef2cbf661de3a9c0a5
4
+ data.tar.gz: 9050a3e02ba0d521a7dc29d66d18eb962cbe7304e1519dfb30b164f3ab68fcd9
5
5
  SHA512:
6
- metadata.gz: 23d4f528ddcc980fe6fb52bb7dcb3fe6205d6b3f93c25caa7bae7f8231b94f8f42b58513876eca293036e8d9550b59b454ea88188ddb16b4482652b4d9037073
7
- data.tar.gz: 5461be1f0926f5143be71bb759539e9f3994bc7d21bc247b33220e9ec14a54678c00adf2cf04e8a309e132a2d51d74206833ea3cd2c4d4a1dc9489229618bd21
6
+ metadata.gz: 3f5603cfa7a1abd3cd2064444641985f29e11d05e429ef0d4d5d63ae7d017dd99c2c467dc72adc07c91cf1b7bf991fc4359f3344926e94167f26e0a30a83a4e4
7
+ data.tar.gz: cc4f409798fe6b9139a49ad47ff1e82925fae99ddd7d525ab32a0d5916dfe03fb331611409602ed601c0262a07a1bf1f37039a2ec9bb962032f96ba98b32a5ef
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- teyvatdb (0.1.6)
4
+ teyvatdb (0.1.12)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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 TeyvatDB
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