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
@@ -1,6 +1,10 @@
1
- module TeyvatDB::Materials::Development
1
+ module GenshinData::Materials::Development
2
2
  module WeeklyBossDropsData
3
- DVALINS_CLAW = TeyvatDB::GenshinData::Material.new(
3
+ def self.all
4
+ self.constants.map { |x| "GenshinData::Materials::Development::WeeklyBossDropsData::#{x}".constantize }
5
+ end
6
+
7
+ DVALINS_CLAW = GenshinObject::Material.new(
4
8
  kamera_key: "DvalinsClaw",
5
9
  name: "Dvalin's Claw",
6
10
  rarity: 5,
@@ -11,7 +15,7 @@ module TeyvatDB::Materials::Development
11
15
  nation_name: :mondstadt,
12
16
  ).freeze
13
17
 
14
- DVALINS_PLUME = TeyvatDB::GenshinData::Material.new(
18
+ DVALINS_PLUME = GenshinObject::Material.new(
15
19
  kamera_key: "DvalinsPlume",
16
20
  name: "Dvalin's Plume",
17
21
  rarity: 5,
@@ -22,7 +26,7 @@ module TeyvatDB::Materials::Development
22
26
  nation_name: :mondstadt,
23
27
  ).freeze
24
28
 
25
- DVALINS_SIGH = TeyvatDB::GenshinData::Material.new(
29
+ DVALINS_SIGH = GenshinObject::Material.new(
26
30
  kamera_key: "DvalinsSigh",
27
31
  name: "Dvalin's Sigh",
28
32
  rarity: 5,
@@ -33,7 +37,7 @@ module TeyvatDB::Materials::Development
33
37
  nation_name: :mondstadt,
34
38
  ).freeze
35
39
 
36
- RING_OF_BOREAS = TeyvatDB::GenshinData::Material.new(
40
+ RING_OF_BOREAS = GenshinObject::Material.new(
37
41
  kamera_key: "RingOfBoreas",
38
42
  name: "Ring of Boreas",
39
43
  rarity: 5,
@@ -44,7 +48,7 @@ module TeyvatDB::Materials::Development
44
48
  nation_name: :mondstadt,
45
49
  ).freeze
46
50
 
47
- SPIRIT_LOCKET_OF_BOREAS = TeyvatDB::GenshinData::Material.new(
51
+ SPIRIT_LOCKET_OF_BOREAS = GenshinObject::Material.new(
48
52
  kamera_key: "SpiritLocketOfBoreas",
49
53
  name: "Spirit Locket of Boreas",
50
54
  rarity: 5,
@@ -55,7 +59,7 @@ module TeyvatDB::Materials::Development
55
59
  nation_name: :mondstadt,
56
60
  ).freeze
57
61
 
58
- TAIL_OF_BOREAS = TeyvatDB::GenshinData::Material.new(
62
+ TAIL_OF_BOREAS = GenshinObject::Material.new(
59
63
  kamera_key: "TailOfBoreas",
60
64
  name: "Tail of Boreas",
61
65
  rarity: 5,
@@ -66,7 +70,7 @@ module TeyvatDB::Materials::Development
66
70
  nation_name: :mondstadt,
67
71
  ).freeze
68
72
 
69
- SHADOW_OF_THE_WARRIOR = TeyvatDB::GenshinData::Material.new(
73
+ SHADOW_OF_THE_WARRIOR = GenshinObject::Material.new(
70
74
  kamera_key: "ShadowOfTheWarrior",
71
75
  name: "Shadow of the Warrior",
72
76
  rarity: 5,
@@ -77,7 +81,7 @@ module TeyvatDB::Materials::Development
77
81
  nation_name: :liyue,
78
82
  ).freeze
79
83
 
80
- SHARD_OF_A_FOUL_LEGACY = TeyvatDB::GenshinData::Material.new(
84
+ SHARD_OF_A_FOUL_LEGACY = GenshinObject::Material.new(
81
85
  kamera_key: "ShardOfAFoulLegacy",
82
86
  name: "Shard of a Foul Legacy",
83
87
  rarity: 5,
@@ -88,7 +92,7 @@ module TeyvatDB::Materials::Development
88
92
  nation_name: :liyue,
89
93
  ).freeze
90
94
 
91
- TUSK_OF_MONOCEROS_CAELI = TeyvatDB::GenshinData::Material.new(
95
+ TUSK_OF_MONOCEROS_CAELI = GenshinObject::Material.new(
92
96
  kamera_key: "TuskOfMonocerosCaeli",
93
97
  name: "Tusk of Monoceros Caeli",
94
98
  rarity: 5,
@@ -99,7 +103,7 @@ module TeyvatDB::Materials::Development
99
103
  nation_name: :liyue,
100
104
  ).freeze
101
105
 
102
- ASHEN_HEART = TeyvatDB::GenshinData::Material.new(
106
+ ASHEN_HEART = GenshinObject::Material.new(
103
107
  kamera_key: "AshenHeart",
104
108
  name: "Ashen Heart",
105
109
  rarity: 5,
@@ -110,7 +114,7 @@ module TeyvatDB::Materials::Development
110
114
  nation_name: :inazuma,
111
115
  ).freeze
112
116
 
113
- HELLFIRE_BUTTERFLY = TeyvatDB::GenshinData::Material.new(
117
+ HELLFIRE_BUTTERFLY = GenshinObject::Material.new(
114
118
  kamera_key: "HellfireButterfly",
115
119
  name: "Hellfire Butterfly",
116
120
  rarity: 5,
@@ -121,7 +125,7 @@ module TeyvatDB::Materials::Development
121
125
  nation_name: :inazuma,
122
126
  ).freeze
123
127
 
124
- MOLTEN_MOMENT = TeyvatDB::GenshinData::Material.new(
128
+ MOLTEN_MOMENT = GenshinObject::Material.new(
125
129
  kamera_key: "MoltenMoment",
126
130
  name: "Molten Moment",
127
131
  rarity: 5,
@@ -132,7 +136,7 @@ module TeyvatDB::Materials::Development
132
136
  nation_name: :inazuma,
133
137
  ).freeze
134
138
 
135
- BLOODJADE_BRANCH = TeyvatDB::GenshinData::Material.new(
139
+ BLOODJADE_BRANCH = GenshinObject::Material.new(
136
140
  kamera_key: "BloodjadeBranch",
137
141
  name: "Bloodjade Branch",
138
142
  rarity: 5,
@@ -143,7 +147,7 @@ module TeyvatDB::Materials::Development
143
147
  nation_name: :liyue,
144
148
  ).freeze
145
149
 
146
- DRAGON_LORDS_CROWN = TeyvatDB::GenshinData::Material.new(
150
+ DRAGON_LORDS_CROWN = GenshinObject::Material.new(
147
151
  kamera_key: "DragonLordsCrown",
148
152
  name: "Dragon Lord's Crown",
149
153
  rarity: 5,
@@ -154,7 +158,7 @@ module TeyvatDB::Materials::Development
154
158
  nation_name: :liyue,
155
159
  ).freeze
156
160
 
157
- GILDED_SCALE = TeyvatDB::GenshinData::Material.new(
161
+ GILDED_SCALE = GenshinObject::Material.new(
158
162
  kamera_key: "GildedScale",
159
163
  name: "Gilded Scale",
160
164
  rarity: 5,
@@ -165,7 +169,7 @@ module TeyvatDB::Materials::Development
165
169
  nation_name: :liyue,
166
170
  ).freeze
167
171
 
168
- MUDRA_OF_THE_MALEFIC_GENERAL = TeyvatDB::GenshinData::Material.new(
172
+ MUDRA_OF_THE_MALEFIC_GENERAL = GenshinObject::Material.new(
169
173
  kamera_key: "MudraOfTheMaleficGeneral",
170
174
  name: "Mudra of the Malefic General",
171
175
  rarity: 5,
@@ -176,7 +180,7 @@ module TeyvatDB::Materials::Development
176
180
  nation_name: :inazuma,
177
181
  ).freeze
178
182
 
179
- TEARS_OF_THE_CALAMITOUS_GOD = TeyvatDB::GenshinData::Material.new(
183
+ TEARS_OF_THE_CALAMITOUS_GOD = GenshinObject::Material.new(
180
184
  kamera_key: "TearsOfTheCalamitousGod",
181
185
  name: "Tears of the Calamitous God",
182
186
  rarity: 5,
@@ -187,7 +191,7 @@ module TeyvatDB::Materials::Development
187
191
  nation_name: :inazuma,
188
192
  ).freeze
189
193
 
190
- THE_MEANING_OF_AEONS = TeyvatDB::GenshinData::Material.new(
194
+ THE_MEANING_OF_AEONS = GenshinObject::Material.new(
191
195
  kamera_key: "TheMeaningOfAeons",
192
196
  name: "The Meaning of Aeons",
193
197
  rarity: 5,
@@ -198,7 +202,7 @@ module TeyvatDB::Materials::Development
198
202
  nation_name: :inazuma,
199
203
  ).freeze
200
204
 
201
- DAKAS_BELL = TeyvatDB::GenshinData::Material.new(
205
+ DAKAS_BELL = GenshinObject::Material.new(
202
206
  kamera_key: "DakasBell",
203
207
  name: "Daka's Bell",
204
208
  rarity: 5,
@@ -209,7 +213,7 @@ module TeyvatDB::Materials::Development
209
213
  nation_name: :sumeru,
210
214
  ).freeze
211
215
 
212
- MIRROR_OF_MUSHIN = TeyvatDB::GenshinData::Material.new(
216
+ MIRROR_OF_MUSHIN = GenshinObject::Material.new(
213
217
  kamera_key: "MirrorOfMushin",
214
218
  name: "Mirror of Mushin",
215
219
  rarity: 5,
@@ -220,7 +224,7 @@ module TeyvatDB::Materials::Development
220
224
  nation_name: :sumeru,
221
225
  ).freeze
222
226
 
223
- PUPPET_STRINGS = TeyvatDB::GenshinData::Material.new(
227
+ PUPPET_STRINGS = GenshinObject::Material.new(
224
228
  kamera_key: "PuppetStrings",
225
229
  name: "Puppet Strings",
226
230
  rarity: 5,
@@ -231,7 +235,7 @@ module TeyvatDB::Materials::Development
231
235
  nation_name: :sumeru,
232
236
  ).freeze
233
237
 
234
- EVERAMBER = TeyvatDB::GenshinData::Material.new(
238
+ EVERAMBER = GenshinObject::Material.new(
235
239
  kamera_key: "Everamber",
236
240
  name: "Everamber",
237
241
  rarity: 5,
@@ -242,7 +246,7 @@ module TeyvatDB::Materials::Development
242
246
  nation_name: :sumeru,
243
247
  ).freeze
244
248
 
245
- PRIMORDIAL_GREENBLOOM = TeyvatDB::GenshinData::Material.new(
249
+ PRIMORDIAL_GREENBLOOM = GenshinObject::Material.new(
246
250
  kamera_key: "PrimordialGreenbloom",
247
251
  name: "Primordial Greenbloom",
248
252
  rarity: 5,
@@ -253,7 +257,7 @@ module TeyvatDB::Materials::Development
253
257
  nation_name: :sumeru,
254
258
  ).freeze
255
259
 
256
- WORLDSPAN_FERN = TeyvatDB::GenshinData::Material.new(
260
+ WORLDSPAN_FERN = GenshinObject::Material.new(
257
261
  kamera_key: "WorldspanFern",
258
262
  name: "Worldspan Fern",
259
263
  rarity: 5,
@@ -1,6 +1,10 @@
1
- module TeyvatDB::Materials::Development
1
+ module GenshinData::Materials::Development
2
2
  module WorldBossDropsData
3
- ARTIFICED_SPARE_CLOCKWORK_COMPONENT_COPPELIA = TeyvatDB::GenshinData::Material.new(
3
+ def self.all
4
+ self.constants.map { |x| "GenshinData::Materials::Development::WorldBossDropsData::#{x}".constantize }
5
+ end
6
+
7
+ ARTIFICED_SPARE_CLOCKWORK_COMPONENT_COPPELIA = GenshinObject::Material.new(
4
8
  kamera_key: "ArtificedSpareClockworkComponentCoppelia",
5
9
  name: "Artificed Spare Clockwork Component - Coppelia",
6
10
  rarity: 4,
@@ -11,7 +15,7 @@ module TeyvatDB::Materials::Development
11
15
  nation_name: :fontaine,
12
16
  ).freeze
13
17
 
14
- ARTIFICED_SPARE_CLOCKWORK_COMPONENT_COPPELIUS = TeyvatDB::GenshinData::Material.new(
18
+ ARTIFICED_SPARE_CLOCKWORK_COMPONENT_COPPELIUS = GenshinObject::Material.new(
15
19
  kamera_key: "ArtificedSpareClockworkComponentCoppelius",
16
20
  name: "Artificed Spare Clockwork Component - Coppelius",
17
21
  rarity: 4,
@@ -22,7 +26,7 @@ module TeyvatDB::Materials::Development
22
26
  nation_name: :fontaine,
23
27
  ).freeze
24
28
 
25
- BASALT_PILLAR = TeyvatDB::GenshinData::Material.new(
29
+ BASALT_PILLAR = GenshinObject::Material.new(
26
30
  kamera_key: "BasaltPillar",
27
31
  name: "Basalt Pillar",
28
32
  rarity: 4,
@@ -33,7 +37,7 @@ module TeyvatDB::Materials::Development
33
37
  nation_name: :liyue,
34
38
  ).freeze
35
39
 
36
- CLEANSING_HEART = TeyvatDB::GenshinData::Material.new(
40
+ CLEANSING_HEART = GenshinObject::Material.new(
37
41
  kamera_key: "CleansingHeart",
38
42
  name: "Cleansing Heart",
39
43
  rarity: 4,
@@ -44,7 +48,7 @@ module TeyvatDB::Materials::Development
44
48
  nation_name: :liyue,
45
49
  ).freeze
46
50
 
47
- CRYSTALLINE_BLOOM = TeyvatDB::GenshinData::Material.new(
51
+ CRYSTALLINE_BLOOM = GenshinObject::Material.new(
48
52
  kamera_key: "CrystallineBloom",
49
53
  name: "Crystalline Bloom",
50
54
  rarity: 4,
@@ -55,7 +59,7 @@ module TeyvatDB::Materials::Development
55
59
  nation_name: :mondstadt,
56
60
  ).freeze
57
61
 
58
- DEW_OF_REPUDIATION = TeyvatDB::GenshinData::Material.new(
62
+ DEW_OF_REPUDIATION = GenshinObject::Material.new(
59
63
  kamera_key: "DewOfRepudiation",
60
64
  name: "Dew of Repudiation",
61
65
  rarity: 4,
@@ -66,7 +70,7 @@ module TeyvatDB::Materials::Development
66
70
  nation_name: :inazuma,
67
71
  ).freeze
68
72
 
69
- DRAGONHEIRS_FALSE_FIN = TeyvatDB::GenshinData::Material.new(
73
+ DRAGONHEIRS_FALSE_FIN = GenshinObject::Material.new(
70
74
  kamera_key: "DragonheirsFalseFin",
71
75
  name: "Dragonheirs' False Fin",
72
76
  rarity: 4,
@@ -77,7 +81,7 @@ module TeyvatDB::Materials::Development
77
81
  nation_name: :inazuma,
78
82
  ).freeze
79
83
 
80
- EMPERORS_RESOLUTION = TeyvatDB::GenshinData::Material.new(
84
+ EMPERORS_RESOLUTION = GenshinObject::Material.new(
81
85
  kamera_key: "EmperorsResolution",
82
86
  name: "Emperor's Resolution",
83
87
  rarity: 4,
@@ -88,7 +92,7 @@ module TeyvatDB::Materials::Development
88
92
  nation_name: :fontaine,
89
93
  ).freeze
90
94
 
91
- EVERFLAME_SEED = TeyvatDB::GenshinData::Material.new(
95
+ EVERFLAME_SEED = GenshinObject::Material.new(
92
96
  kamera_key: "EverflameSeed",
93
97
  name: "Everflame Seed",
94
98
  rarity: 4,
@@ -99,7 +103,7 @@ module TeyvatDB::Materials::Development
99
103
  nation_name: :liyue,
100
104
  ).freeze
101
105
 
102
- EVERGLOOM_RING = TeyvatDB::GenshinData::Material.new(
106
+ EVERGLOOM_RING = GenshinObject::Material.new(
103
107
  kamera_key: "EvergloomRing",
104
108
  name: "Evergloom Ring",
105
109
  rarity: 4,
@@ -110,7 +114,7 @@ module TeyvatDB::Materials::Development
110
114
  nation_name: :sumeru,
111
115
  ).freeze
112
116
 
113
- FONTEMER_UNIHORN = TeyvatDB::GenshinData::Material.new(
117
+ FONTEMER_UNIHORN = GenshinObject::Material.new(
114
118
  kamera_key: "FontemerUnihorn",
115
119
  name: "Fontemer Unihorn",
116
120
  rarity: 4,
@@ -121,7 +125,7 @@ module TeyvatDB::Materials::Development
121
125
  nation_name: :fontaine,
122
126
  ).freeze
123
127
 
124
- HOARFROST_CORE = TeyvatDB::GenshinData::Material.new(
128
+ HOARFROST_CORE = GenshinObject::Material.new(
125
129
  kamera_key: "HoarfrostCore",
126
130
  name: "Hoarfrost Core",
127
131
  rarity: 4,
@@ -132,7 +136,7 @@ module TeyvatDB::Materials::Development
132
136
  nation_name: :mondstadt,
133
137
  ).freeze
134
138
 
135
- HURRICANE_SEED = TeyvatDB::GenshinData::Material.new(
139
+ HURRICANE_SEED = GenshinObject::Material.new(
136
140
  kamera_key: "HurricaneSeed",
137
141
  name: "Hurricane Seed",
138
142
  rarity: 4,
@@ -143,7 +147,7 @@ module TeyvatDB::Materials::Development
143
147
  nation_name: :mondstadt,
144
148
  ).freeze
145
149
 
146
- JUVENILE_JADE = TeyvatDB::GenshinData::Material.new(
150
+ JUVENILE_JADE = GenshinObject::Material.new(
147
151
  kamera_key: "JuvenileJade",
148
152
  name: "Juvenile Jade",
149
153
  rarity: 4,
@@ -154,7 +158,7 @@ module TeyvatDB::Materials::Development
154
158
  nation_name: :liyue,
155
159
  ).freeze
156
160
 
157
- LIGHT_GUIDING_TETRAHEDRON = TeyvatDB::GenshinData::Material.new(
161
+ LIGHT_GUIDING_TETRAHEDRON = GenshinObject::Material.new(
158
162
  kamera_key: "LightGuidingTetrahedron",
159
163
  name: "Light Guiding Tetrahedron",
160
164
  rarity: 4,
@@ -165,7 +169,7 @@ module TeyvatDB::Materials::Development
165
169
  nation_name: :sumeru,
166
170
  ).freeze
167
171
 
168
- LIGHTNING_PRISM = TeyvatDB::GenshinData::Material.new(
172
+ LIGHTNING_PRISM = GenshinObject::Material.new(
169
173
  kamera_key: "LightningPrism",
170
174
  name: "Lightning Prism",
171
175
  rarity: 4,
@@ -176,7 +180,7 @@ module TeyvatDB::Materials::Development
176
180
  nation_name: :mondstadt,
177
181
  ).freeze
178
182
 
179
- MAJESTIC_HOOKED_BEAK = TeyvatDB::GenshinData::Material.new(
183
+ MAJESTIC_HOOKED_BEAK = GenshinObject::Material.new(
180
184
  kamera_key: "MajesticHookedBeak",
181
185
  name: "Majestic Hooked Beak",
182
186
  rarity: 4,
@@ -187,7 +191,7 @@ module TeyvatDB::Materials::Development
187
191
  nation_name: :sumeru,
188
192
  ).freeze
189
193
 
190
- MARIONETTE_CORE = TeyvatDB::GenshinData::Material.new(
194
+ MARIONETTE_CORE = GenshinObject::Material.new(
191
195
  kamera_key: "MarionetteCore",
192
196
  name: "Marionette Core",
193
197
  rarity: 4,
@@ -198,7 +202,7 @@ module TeyvatDB::Materials::Development
198
202
  nation_name: :inazuma,
199
203
  ).freeze
200
204
 
201
- PERPETUAL_HEART = TeyvatDB::GenshinData::Material.new(
205
+ PERPETUAL_HEART = GenshinObject::Material.new(
202
206
  kamera_key: "PerpetualHeart",
203
207
  name: "Perpetual Heart",
204
208
  rarity: 4,
@@ -209,7 +213,7 @@ module TeyvatDB::Materials::Development
209
213
  nation_name: :inazuma,
210
214
  ).freeze
211
215
 
212
- PERPETUAL_CALIBER = TeyvatDB::GenshinData::Material.new(
216
+ PERPETUAL_CALIBER = GenshinObject::Material.new(
213
217
  kamera_key: "PerpetualCaliber",
214
218
  name: "Perpetual Caliber",
215
219
  rarity: 4,
@@ -220,7 +224,7 @@ module TeyvatDB::Materials::Development
220
224
  nation_name: :sumeru,
221
225
  ).freeze
222
226
 
223
- PSEUDO_STAMENS = TeyvatDB::GenshinData::Material.new(
227
+ PSEUDO_STAMENS = GenshinObject::Material.new(
224
228
  kamera_key: "PseudoStamens",
225
229
  name: "Pseudo-Stamens",
226
230
  rarity: 4,
@@ -231,7 +235,7 @@ module TeyvatDB::Materials::Development
231
235
  nation_name: :sumeru,
232
236
  ).freeze
233
237
 
234
- QUELLED_CREEPER = TeyvatDB::GenshinData::Material.new(
238
+ QUELLED_CREEPER = GenshinObject::Material.new(
235
239
  kamera_key: "QuelledCreeper",
236
240
  name: "Quelled Creeper",
237
241
  rarity: 4,
@@ -242,7 +246,7 @@ module TeyvatDB::Materials::Development
242
246
  nation_name: :sumeru,
243
247
  ).freeze
244
248
 
245
- RIFTBORN_REGALIA = TeyvatDB::GenshinData::Material.new(
249
+ RIFTBORN_REGALIA = GenshinObject::Material.new(
246
250
  kamera_key: "RiftbornRegalia",
247
251
  name: "Riftborn Regalia",
248
252
  rarity: 4,
@@ -253,7 +257,7 @@ module TeyvatDB::Materials::Development
253
257
  nation_name: :inazuma,
254
258
  ).freeze
255
259
 
256
- RUNIC_FANG = TeyvatDB::GenshinData::Material.new(
260
+ RUNIC_FANG = GenshinObject::Material.new(
257
261
  kamera_key: "RunicFang",
258
262
  name: "Runic Fang",
259
263
  rarity: 4,
@@ -264,7 +268,7 @@ module TeyvatDB::Materials::Development
264
268
  nation_name: :liyue,
265
269
  ).freeze
266
270
 
267
- SMOLDERING_PEARL = TeyvatDB::GenshinData::Material.new(
271
+ SMOLDERING_PEARL = GenshinObject::Material.new(
268
272
  kamera_key: "SmolderingPearl",
269
273
  name: "Smoldering Pearl",
270
274
  rarity: 4,
@@ -275,7 +279,7 @@ module TeyvatDB::Materials::Development
275
279
  nation_name: :inazuma,
276
280
  ).freeze
277
281
 
278
- STORM_BEADS = TeyvatDB::GenshinData::Material.new(
282
+ STORM_BEADS = GenshinObject::Material.new(
279
283
  kamera_key: "StormBeads",
280
284
  name: "Storm Beads",
281
285
  rarity: 4,
@@ -286,7 +290,7 @@ module TeyvatDB::Materials::Development
286
290
  nation_name: :inazuma,
287
291
  ).freeze
288
292
 
289
- THUNDERCLAP_FRUITCORE = TeyvatDB::GenshinData::Material.new(
293
+ THUNDERCLAP_FRUITCORE = GenshinObject::Material.new(
290
294
  kamera_key: "ThunderclapFruitcore",
291
295
  name: "Thunderclap Fruitcore",
292
296
  rarity: 4,
@@ -0,0 +1,71 @@
1
+ module GenshinData::Materials
2
+ module Development
3
+ require_relative 'development/elite_monster_drops_data'
4
+ require_relative 'development/gems_data'
5
+ require_relative 'development/general_data'
6
+ require_relative 'development/local_specialty_data'
7
+ require_relative 'development/monster_loot_drops_data'
8
+ require_relative 'development/talent_books_data'
9
+ require_relative 'development/weapon_material_data'
10
+ require_relative 'development/weapon_refinement_material_data'
11
+ require_relative 'development/weekly_boss_drops_data'
12
+ require_relative 'development/world_boss_drops_data'
13
+
14
+ class << self
15
+ def all
16
+ [
17
+ elite_monster_loot,
18
+ gems,
19
+ general,
20
+ local_specialties,
21
+ monster_loot,
22
+ talent_books,
23
+ weapon_materials,
24
+ weapon_refinement,
25
+ weekly_boss_drops,
26
+ world_boss_drops,
27
+ ].flatten.sort { |x, y| x.name <=> y.name }
28
+ end
29
+
30
+ def elite_monster_loot
31
+ EliteMonsterLootDropsData.all
32
+ end
33
+
34
+ def gems
35
+ GemsData.all
36
+ end
37
+
38
+ def general
39
+ GeneralData.all
40
+ end
41
+
42
+ def local_specialties
43
+ LocalSpecialtyData.all
44
+ end
45
+
46
+ def monster_loot
47
+ MonsterLootDropsData.all
48
+ end
49
+
50
+ def talent_books
51
+ TalentBooksData.all
52
+ end
53
+
54
+ def weapon_materials
55
+ WeaponMaterialData.all
56
+ end
57
+
58
+ def weapon_refinement
59
+ WeaponRefinementMaterialData.all
60
+ end
61
+
62
+ def weekly_boss_drops
63
+ WeeklyBossDropsData.all
64
+ end
65
+
66
+ def world_boss_drops
67
+ WorldBossDropsData.all
68
+ end
69
+ end
70
+ end
71
+ end