teyvatdb 0.1.18 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +4 -1
- data/lib/genshin_data/artifact_sets/artifact_data.rb +946 -295
- data/lib/genshin_data/artifact_sets.rb +2 -2
- data/lib/genshin_data/characters/character_data.rb +1143 -1126
- data/lib/genshin_data/characters.rb +4 -2
- data/lib/genshin_data/materials/development/elite_monster_drops_data.rb +605 -598
- data/lib/genshin_data/materials/development/gems_data.rb +331 -324
- data/lib/genshin_data/materials/development/general_data.rb +103 -96
- data/lib/genshin_data/materials/development/local_specialty_data.rb +506 -499
- data/lib/genshin_data/materials/development/monster_loot_drops_data.rb +441 -434
- data/lib/genshin_data/materials/development/talent_books_data.rb +506 -500
- data/lib/genshin_data/materials/development/weapon_material_data.rb +672 -665
- data/lib/genshin_data/materials/development/weapon_refinement_material_data.rb +129 -122
- data/lib/genshin_data/materials/development/weekly_boss_drops_data.rb +283 -276
- data/lib/genshin_data/materials/development/world_boss_drops_data.rb +330 -327
- data/lib/genshin_data/materials/development.rb +61 -56
- data/lib/genshin_data/materials/standard/cooking_material_data.rb +561 -554
- data/lib/genshin_data/materials/standard/crafting_material_data.rb +130 -123
- data/lib/genshin_data/materials/standard/fishing_material_data.rb +452 -445
- data/lib/genshin_data/materials/standard/forging_material_data.rb +191 -184
- data/lib/genshin_data/materials/standard/furniture_material_data.rb +251 -244
- data/lib/genshin_data/materials/standard.rb +37 -32
- data/lib/genshin_data/materials.rb +13 -7
- data/lib/genshin_data/nations/nation_data.rb +55 -52
- data/lib/genshin_data/talent_books/talent_book_data.rb +147 -0
- data/lib/genshin_data/talent_books.rb +14 -0
- data/lib/genshin_data/weapons/weapon_data/bows.rb +369 -364
- data/lib/genshin_data/weapons/weapon_data/catalysts.rb +359 -354
- data/lib/genshin_data/weapons/weapon_data/claymores.rb +359 -354
- data/lib/genshin_data/weapons/weapon_data/polearms.rb +262 -257
- data/lib/genshin_data/weapons/weapon_data/swords.rb +399 -395
- data/lib/genshin_data/weapons/weapon_data.rb +10 -7
- data/lib/genshin_data/weapons.rb +2 -1
- data/lib/genshin_data.rb +16 -5
- data/lib/genshin_object/artifact_set.rb +2 -2
- data/lib/genshin_object/material_family.rb +15 -0
- data/lib/genshin_object/schedule.rb +42 -0
- data/lib/genshin_object/talent_book.rb +6 -0
- data/lib/genshin_object/weapon_material_family.rb +6 -0
- data/lib/genshin_object.rb +8 -5
- data/lib/teyvatdb/version.rb +1 -1
- data/lib/teyvatdb.rb +3 -3
- metadata +8 -2
@@ -1,137 +1,144 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GenshinData
|
4
|
+
module Materials
|
5
|
+
module Development
|
6
|
+
# Definitons for all special weapon refinement materials
|
7
|
+
module WeaponRefinementMaterialData
|
8
|
+
def self.all
|
9
|
+
constants.map { |x| GenshinData::Materials::Development::WeaponRefinementMaterialData.const_get(x) }
|
10
|
+
end
|
6
11
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
AKOS_SAKE_VESSEL = GenshinObject::Material.new(
|
13
|
+
kamera_key: "AkosSakeVessel",
|
14
|
+
name: "Ako's Sake Vessel",
|
15
|
+
rarity: 4,
|
16
|
+
family: nil,
|
17
|
+
inventory_type: :development_material,
|
18
|
+
source_category: :weapon_material,
|
19
|
+
source_sub_category: :refine_material
|
20
|
+
).freeze
|
16
21
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
22
|
+
ALKAHEST = GenshinObject::Material.new(
|
23
|
+
kamera_key: "Alkahest",
|
24
|
+
name: "Alkahest",
|
25
|
+
rarity: 4,
|
26
|
+
family: nil,
|
27
|
+
inventory_type: :development_material,
|
28
|
+
source_category: :weapon_material,
|
29
|
+
source_sub_category: :refine_material
|
30
|
+
).freeze
|
26
31
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
32
|
+
CONGEALED_PUPA_WAX = GenshinObject::Material.new(
|
33
|
+
kamera_key: "CongealedPupaWax",
|
34
|
+
name: "Congealed Pupa Wax",
|
35
|
+
rarity: 4,
|
36
|
+
family: nil,
|
37
|
+
inventory_type: :development_material,
|
38
|
+
source_category: :weapon_material,
|
39
|
+
source_sub_category: :refine_material
|
40
|
+
).freeze
|
36
41
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
42
|
+
EMPERORS_BALSAM = GenshinObject::Material.new(
|
43
|
+
kamera_key: "EmperorsBalsam",
|
44
|
+
name: "Emperor's Balsam",
|
45
|
+
rarity: 4,
|
46
|
+
family: nil,
|
47
|
+
inventory_type: :development_material,
|
48
|
+
source_category: :weapon_material,
|
49
|
+
source_sub_category: :refine_material
|
50
|
+
).freeze
|
46
51
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
52
|
+
FESTERING_DRAGON_MARROW = GenshinObject::Material.new(
|
53
|
+
kamera_key: "FesteringDragonMarrow",
|
54
|
+
name: "Festering Dragon Marrow",
|
55
|
+
rarity: 4,
|
56
|
+
family: nil,
|
57
|
+
inventory_type: :development_material,
|
58
|
+
source_category: :weapon_material,
|
59
|
+
source_sub_category: :refine_material
|
60
|
+
).freeze
|
56
61
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
62
|
+
FRAGMENTS_OF_INNOCENCE = GenshinObject::Material.new(
|
63
|
+
kamera_key: "FragmentsOfInnocence",
|
64
|
+
name: "Fragments of Innocence",
|
65
|
+
rarity: 4,
|
66
|
+
family: nil,
|
67
|
+
inventory_type: :development_material,
|
68
|
+
source_category: :weapon_material,
|
69
|
+
source_sub_category: :refine_material
|
70
|
+
).freeze
|
66
71
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
72
|
+
GLOWING_GEM = GenshinObject::Material.new(
|
73
|
+
kamera_key: "GlowingGem",
|
74
|
+
name: "Glowing Gem",
|
75
|
+
rarity: 4,
|
76
|
+
family: nil,
|
77
|
+
inventory_type: :development_material,
|
78
|
+
source_category: :weapon_material,
|
79
|
+
source_sub_category: :refine_material
|
80
|
+
).freeze
|
76
81
|
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
82
|
+
OINTMENT_OF_INSIGHT = GenshinObject::Material.new(
|
83
|
+
kamera_key: "OintmentOfInsight",
|
84
|
+
name: "Ointment of Insight",
|
85
|
+
rarity: 4,
|
86
|
+
family: nil,
|
87
|
+
inventory_type: :development_material,
|
88
|
+
source_category: :weapon_material,
|
89
|
+
source_sub_category: :refine_material
|
90
|
+
).freeze
|
86
91
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
92
|
+
ORIGINAL_FISH_OINTMENT = GenshinObject::Material.new(
|
93
|
+
kamera_key: "OriginalFishOintment",
|
94
|
+
name: "Original Fish Ointment",
|
95
|
+
rarity: 4,
|
96
|
+
family: nil,
|
97
|
+
inventory_type: :development_material,
|
98
|
+
source_category: :weapon_material,
|
99
|
+
source_sub_category: :refine_material
|
100
|
+
).freeze
|
96
101
|
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
102
|
+
PARASOL_TALCUM = GenshinObject::Material.new(
|
103
|
+
kamera_key: "ParasolTalcum",
|
104
|
+
name: "Parasol Talcum",
|
105
|
+
rarity: 4,
|
106
|
+
family: nil,
|
107
|
+
inventory_type: :development_material,
|
108
|
+
source_category: :weapon_material,
|
109
|
+
source_sub_category: :refine_material
|
110
|
+
).freeze
|
106
111
|
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
112
|
+
PLUME_OF_THE_CHANGING_WINDS = GenshinObject::Material.new(
|
113
|
+
kamera_key: "PlumeOfTheChangingWinds",
|
114
|
+
name: "Plume of the Changing Winds",
|
115
|
+
rarity: 4,
|
116
|
+
family: nil,
|
117
|
+
inventory_type: :development_material,
|
118
|
+
source_category: :weapon_material,
|
119
|
+
source_sub_category: :refine_material
|
120
|
+
).freeze
|
116
121
|
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
122
|
+
THE_VISIBLE_WINDS = GenshinObject::Material.new(
|
123
|
+
kamera_key: "TheVisibleWinds",
|
124
|
+
name: "The Visible Winds",
|
125
|
+
rarity: 4,
|
126
|
+
family: nil,
|
127
|
+
inventory_type: :development_material,
|
128
|
+
source_category: :weapon_material,
|
129
|
+
source_sub_category: :refine_material
|
130
|
+
).freeze
|
126
131
|
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
132
|
+
UNFADING_SILKY_GRACE = GenshinObject::Material.new(
|
133
|
+
kamera_key: "UnfadingSilkyGrace",
|
134
|
+
name: "Unfading Silky Grace",
|
135
|
+
rarity: 4,
|
136
|
+
family: nil,
|
137
|
+
inventory_type: :development_material,
|
138
|
+
source_category: :weapon_material,
|
139
|
+
source_sub_category: :refine_material
|
140
|
+
).freeze
|
141
|
+
end
|
142
|
+
end
|
136
143
|
end
|
137
144
|
end
|