teyvatdb 0.1.6 → 0.1.8
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/teyvatdb/artifact_sets/artifact_data.rb +43 -43
- data/lib/teyvatdb/characters/character_data.rb +452 -452
- data/lib/{genshin_data → teyvatdb/genshin_data}/artifact_set.rb +1 -1
- data/lib/{genshin_data → teyvatdb/genshin_data}/character.rb +1 -1
- data/lib/{genshin_data/Material.rb → teyvatdb/genshin_data/material.rb} +1 -1
- data/lib/{genshin_data → teyvatdb/genshin_data}/nation.rb +1 -1
- data/lib/{genshin_data → teyvatdb/genshin_data}/weapon.rb +1 -1
- data/lib/teyvatdb/genshin_data.rb +13 -0
- data/lib/teyvatdb/materials/development/elite_monster_drops_data.rb +51 -51
- data/lib/teyvatdb/materials/development/gems_data.rb +32 -32
- data/lib/teyvatdb/materials/development/general_data.rb +10 -10
- data/lib/teyvatdb/materials/development/local_specialty_data.rb +53 -42
- data/lib/teyvatdb/materials/development/monster_loot_drops_data.rb +39 -39
- data/lib/teyvatdb/materials/development/talent_books_data.rb +45 -45
- data/lib/teyvatdb/materials/development/weapon_material_data.rb +60 -60
- data/lib/teyvatdb/materials/development/weapon_refinement_material_data.rb +13 -13
- data/lib/teyvatdb/materials/development/weekly_boss_drops_data.rb +24 -24
- data/lib/teyvatdb/materials/development/world_boss_drops_data.rb +27 -27
- data/lib/teyvatdb/materials/development.rb +1 -0
- data/lib/teyvatdb/materials/standard/cooking_material_data.rb +73 -53
- data/lib/teyvatdb/materials/standard/crafting_material_data.rb +14 -14
- data/lib/teyvatdb/materials/standard/fishing_material_data.rb +107 -37
- data/lib/teyvatdb/materials/standard/forging_material_data.rb +18 -18
- data/lib/teyvatdb/materials/standard/furniture_material_data.rb +33 -23
- data/lib/teyvatdb/materials/standard.rb +6 -0
- data/lib/teyvatdb/nations/nation_data.rb +8 -8
- data/lib/teyvatdb/version.rb +1 -1
- data/lib/teyvatdb/weapons/weapon_data.rb +154 -154
- data/lib/teyvatdb/weapons.rb +1 -1
- data/lib/teyvatdb.rb +1 -3
- metadata +7 -7
- data/lib/genshin_data.rb +0 -10
@@ -1,6 +1,6 @@
|
|
1
1
|
module TeyvatDB::Materials::Standard
|
2
2
|
module FurnitureMaterialData
|
3
|
-
ADHIGAMA_WOOD = GenshinData::Material.new(
|
3
|
+
ADHIGAMA_WOOD = TeyvatDB::GenshinData::Material.new(
|
4
4
|
kamera_key: "AdhigamaWood",
|
5
5
|
name: "Adhigama Wood",
|
6
6
|
rarity: 1,
|
@@ -10,7 +10,7 @@ module TeyvatDB::Materials::Standard
|
|
10
10
|
source_sub_category: :furniture_material,
|
11
11
|
).freeze
|
12
12
|
|
13
|
-
ARALIA_WOOD = GenshinData::Material.new(
|
13
|
+
ARALIA_WOOD = TeyvatDB::GenshinData::Material.new(
|
14
14
|
kamera_key: "AraliaWood",
|
15
15
|
name: "Aralia Wood",
|
16
16
|
rarity: 1,
|
@@ -20,7 +20,17 @@ module TeyvatDB::Materials::Standard
|
|
20
20
|
source_sub_category: :furniture_material,
|
21
21
|
).freeze
|
22
22
|
|
23
|
-
|
23
|
+
ASH_WOOD = TeyvatDB::GenshinData::Material.new(
|
24
|
+
kamera_key: "AshWood",
|
25
|
+
name: "Ash Wood",
|
26
|
+
rarity: 1,
|
27
|
+
family: nil,
|
28
|
+
inventory_type: :standard_material,
|
29
|
+
source_category: :gathering,
|
30
|
+
source_sub_category: :furniture_material,
|
31
|
+
).freeze
|
32
|
+
|
33
|
+
ATHEL_WOOD = TeyvatDB::GenshinData::Material.new(
|
24
34
|
kamera_key: "AthelWood",
|
25
35
|
name: "Athel Wood",
|
26
36
|
rarity: 1,
|
@@ -30,7 +40,7 @@ module TeyvatDB::Materials::Standard
|
|
30
40
|
source_sub_category: :furniture_material,
|
31
41
|
).freeze
|
32
42
|
|
33
|
-
BAMBOO_SEGMENT = GenshinData::Material.new(
|
43
|
+
BAMBOO_SEGMENT = TeyvatDB::GenshinData::Material.new(
|
34
44
|
kamera_key: "BambooSegment",
|
35
45
|
name: "Bamboo Segment",
|
36
46
|
rarity: 1,
|
@@ -40,7 +50,7 @@ module TeyvatDB::Materials::Standard
|
|
40
50
|
source_sub_category: :furniture_material,
|
41
51
|
).freeze
|
42
52
|
|
43
|
-
BLUE_DYE = GenshinData::Material.new(
|
53
|
+
BLUE_DYE = TeyvatDB::GenshinData::Material.new(
|
44
54
|
kamera_key: "BlueDye",
|
45
55
|
name: "Blue Dye",
|
46
56
|
rarity: 1,
|
@@ -50,7 +60,7 @@ module TeyvatDB::Materials::Standard
|
|
50
60
|
source_sub_category: :furniture_material,
|
51
61
|
).freeze
|
52
62
|
|
53
|
-
BIRCH_WOOD = GenshinData::Material.new(
|
63
|
+
BIRCH_WOOD = TeyvatDB::GenshinData::Material.new(
|
54
64
|
kamera_key: "BirchWood",
|
55
65
|
name: "Birch Wood",
|
56
66
|
rarity: 1,
|
@@ -60,7 +70,7 @@ module TeyvatDB::Materials::Standard
|
|
60
70
|
source_sub_category: :furniture_material,
|
61
71
|
).freeze
|
62
72
|
|
63
|
-
BRIGHTWOOD = GenshinData::Material.new(
|
73
|
+
BRIGHTWOOD = TeyvatDB::GenshinData::Material.new(
|
64
74
|
kamera_key: "Brightwood",
|
65
75
|
name: "Brightwood",
|
66
76
|
rarity: 1,
|
@@ -70,7 +80,7 @@ module TeyvatDB::Materials::Standard
|
|
70
80
|
source_sub_category: :furniture_material,
|
71
81
|
).freeze
|
72
82
|
|
73
|
-
CUIHUA_WOOD = GenshinData::Material.new(
|
83
|
+
CUIHUA_WOOD = TeyvatDB::GenshinData::Material.new(
|
74
84
|
kamera_key: "CuihuaWood",
|
75
85
|
name: "Cuihua Wood",
|
76
86
|
rarity: 1,
|
@@ -80,7 +90,7 @@ module TeyvatDB::Materials::Standard
|
|
80
90
|
source_sub_category: :furniture_material,
|
81
91
|
).freeze
|
82
92
|
|
83
|
-
CYPRESS_WOOD = GenshinData::Material.new(
|
93
|
+
CYPRESS_WOOD = TeyvatDB::GenshinData::Material.new(
|
84
94
|
kamera_key: "CypressWood",
|
85
95
|
name: "Cypress Wood",
|
86
96
|
rarity: 1,
|
@@ -90,7 +100,7 @@ module TeyvatDB::Materials::Standard
|
|
90
100
|
source_sub_category: :furniture_material,
|
91
101
|
).freeze
|
92
102
|
|
93
|
-
FABRIC = GenshinData::Material.new(
|
103
|
+
FABRIC = TeyvatDB::GenshinData::Material.new(
|
94
104
|
kamera_key: "Fabric",
|
95
105
|
name: "Fabric",
|
96
106
|
rarity: 1,
|
@@ -100,7 +110,7 @@ module TeyvatDB::Materials::Standard
|
|
100
110
|
source_sub_category: :furniture_material,
|
101
111
|
).freeze
|
102
112
|
|
103
|
-
FIR_WOOD = GenshinData::Material.new(
|
113
|
+
FIR_WOOD = TeyvatDB::GenshinData::Material.new(
|
104
114
|
kamera_key: "FirWood",
|
105
115
|
name: "Fir Wood",
|
106
116
|
rarity: 1,
|
@@ -110,7 +120,7 @@ module TeyvatDB::Materials::Standard
|
|
110
120
|
source_sub_category: :furniture_material,
|
111
121
|
).freeze
|
112
122
|
|
113
|
-
FRAGRANT_CEDAR_WOOD = GenshinData::Material.new(
|
123
|
+
FRAGRANT_CEDAR_WOOD = TeyvatDB::GenshinData::Material.new(
|
114
124
|
kamera_key: "FragrantCedarWood",
|
115
125
|
name: "Fragrant Cedar Wood",
|
116
126
|
rarity: 1,
|
@@ -120,7 +130,7 @@ module TeyvatDB::Materials::Standard
|
|
120
130
|
source_sub_category: :furniture_material,
|
121
131
|
).freeze
|
122
132
|
|
123
|
-
KARMAPHALA_WOOD = GenshinData::Material.new(
|
133
|
+
KARMAPHALA_WOOD = TeyvatDB::GenshinData::Material.new(
|
124
134
|
kamera_key: "KarmaphalaWood",
|
125
135
|
name: "Karmaphala Wood",
|
126
136
|
rarity: 1,
|
@@ -130,7 +140,7 @@ module TeyvatDB::Materials::Standard
|
|
130
140
|
source_sub_category: :furniture_material,
|
131
141
|
).freeze
|
132
142
|
|
133
|
-
LINDEN_WOOD = GenshinData::Material.new(
|
143
|
+
LINDEN_WOOD = TeyvatDB::GenshinData::Material.new(
|
134
144
|
kamera_key: "LindenWood",
|
135
145
|
name: "Linden Wood",
|
136
146
|
rarity: 1,
|
@@ -140,7 +150,7 @@ module TeyvatDB::Materials::Standard
|
|
140
150
|
source_sub_category: :furniture_material,
|
141
151
|
).freeze
|
142
152
|
|
143
|
-
MALLOW_WOOD = GenshinData::Material.new(
|
153
|
+
MALLOW_WOOD = TeyvatDB::GenshinData::Material.new(
|
144
154
|
kamera_key: "MallowWood",
|
145
155
|
name: "Mallow Wood",
|
146
156
|
rarity: 1,
|
@@ -150,7 +160,7 @@ module TeyvatDB::Materials::Standard
|
|
150
160
|
source_sub_category: :furniture_material,
|
151
161
|
).freeze
|
152
162
|
|
153
|
-
MAPLE_WOOD = GenshinData::Material.new(
|
163
|
+
MAPLE_WOOD = TeyvatDB::GenshinData::Material.new(
|
154
164
|
kamera_key: "MapleWood",
|
155
165
|
name: "Maple Wood",
|
156
166
|
rarity: 1,
|
@@ -160,7 +170,7 @@ module TeyvatDB::Materials::Standard
|
|
160
170
|
source_sub_category: :furniture_material,
|
161
171
|
).freeze
|
162
172
|
|
163
|
-
MOUNTAIN_DATE_WOOD = GenshinData::Material.new(
|
173
|
+
MOUNTAIN_DATE_WOOD = TeyvatDB::GenshinData::Material.new(
|
164
174
|
kamera_key: "MountainDateWood",
|
165
175
|
name: "Mountain Date Wood",
|
166
176
|
rarity: 1,
|
@@ -170,7 +180,7 @@ module TeyvatDB::Materials::Standard
|
|
170
180
|
source_sub_category: :furniture_material,
|
171
181
|
).freeze
|
172
182
|
|
173
|
-
OTOGI_WOOD = GenshinData::Material.new(
|
183
|
+
OTOGI_WOOD = TeyvatDB::GenshinData::Material.new(
|
174
184
|
kamera_key: "OtogiWood",
|
175
185
|
name: "Otogi Wood",
|
176
186
|
rarity: 1,
|
@@ -180,7 +190,7 @@ module TeyvatDB::Materials::Standard
|
|
180
190
|
source_sub_category: :furniture_material,
|
181
191
|
).freeze
|
182
192
|
|
183
|
-
PINE_WOOD = GenshinData::Material.new(
|
193
|
+
PINE_WOOD = TeyvatDB::GenshinData::Material.new(
|
184
194
|
kamera_key: "PineWood",
|
185
195
|
name: "Pine Wood",
|
186
196
|
rarity: 1,
|
@@ -190,7 +200,7 @@ module TeyvatDB::Materials::Standard
|
|
190
200
|
source_sub_category: :furniture_material,
|
191
201
|
).freeze
|
192
202
|
|
193
|
-
RED_DYE = GenshinData::Material.new(
|
203
|
+
RED_DYE = TeyvatDB::GenshinData::Material.new(
|
194
204
|
kamera_key: "RedDye",
|
195
205
|
name: "Red Dye",
|
196
206
|
rarity: 2,
|
@@ -200,7 +210,7 @@ module TeyvatDB::Materials::Standard
|
|
200
210
|
source_sub_category: :furniture_material,
|
201
211
|
).freeze
|
202
212
|
|
203
|
-
SANDBEARER_WOOD = GenshinData::Material.new(
|
213
|
+
SANDBEARER_WOOD = TeyvatDB::GenshinData::Material.new(
|
204
214
|
kamera_key: "SandbearerWood",
|
205
215
|
name: "Sandbearer Wood",
|
206
216
|
rarity: 1,
|
@@ -210,7 +220,7 @@ module TeyvatDB::Materials::Standard
|
|
210
220
|
source_sub_category: :furniture_material,
|
211
221
|
).freeze
|
212
222
|
|
213
|
-
YELLOW_DYE = GenshinData::Material.new(
|
223
|
+
YELLOW_DYE = TeyvatDB::GenshinData::Material.new(
|
214
224
|
kamera_key: "YellowDye",
|
215
225
|
name: "Yellow Dye",
|
216
226
|
rarity: 1,
|
@@ -220,7 +230,7 @@ module TeyvatDB::Materials::Standard
|
|
220
230
|
source_sub_category: :furniture_material,
|
221
231
|
).freeze
|
222
232
|
|
223
|
-
YUMEMIRU_WOOD = GenshinData::Material.new(
|
233
|
+
YUMEMIRU_WOOD = TeyvatDB::GenshinData::Material.new(
|
224
234
|
kamera_key: "YumemiruWood",
|
225
235
|
name: "Yumemiru Wood",
|
226
236
|
rarity: 1,
|
@@ -37,6 +37,7 @@ module TeyvatDB::Materials
|
|
37
37
|
|
38
38
|
def cooking_materials
|
39
39
|
[
|
40
|
+
CookingMaterialsData::AJILENAKH_NUT,
|
40
41
|
CookingMaterialsData::ALMOND,
|
41
42
|
CookingMaterialsData::BACON,
|
42
43
|
CookingMaterialsData::BAMBOO_SHOOT,
|
@@ -53,6 +54,7 @@ module TeyvatDB::Materials
|
|
53
54
|
CookingMaterialsData::CRAB_ROE,
|
54
55
|
CookingMaterialsData::CREAM,
|
55
56
|
CookingMaterialsData::EEL_MEAT,
|
57
|
+
CookingMaterialsData::FERMENTED_JUICE,
|
56
58
|
CookingMaterialsData::FISH,
|
57
59
|
CookingMaterialsData::FLOUR,
|
58
60
|
CookingMaterialsData::FOWL,
|
@@ -100,6 +102,7 @@ module TeyvatDB::Materials
|
|
100
102
|
FishingMaterialData::AKAI_MAOU,
|
101
103
|
FishingMaterialData::BETTA,
|
102
104
|
FishingMaterialData::BITTER_PUFFERFISH,
|
105
|
+
FishingMaterialData::BLAZING_HEARTFEATHER_BASS,
|
103
106
|
FishingMaterialData::BROWN_SHIRAKODAI,
|
104
107
|
FishingMaterialData::CRYSTALFISH,
|
105
108
|
FishingMaterialData::DAWNCATCHER,
|
@@ -122,10 +125,12 @@ module TeyvatDB::Materials
|
|
122
125
|
FishingMaterialData::RAIMEI_ANGELFISH,
|
123
126
|
FishingMaterialData::RED_DYE,
|
124
127
|
FishingMaterialData::REDROT_BAIT,
|
128
|
+
FishingMaterialData::RIPPLING_HEARTFEATHER_BASS,
|
125
129
|
FishingMaterialData::RUSTY_KOI,
|
126
130
|
FishingMaterialData::SANDSTORM_ANGLER,
|
127
131
|
FishingMaterialData::SNOWSTRIDER,
|
128
132
|
FishingMaterialData::SOUR_BAIT,
|
133
|
+
FishingMaterialData::STREAMING_AXE_MARLIN,
|
129
134
|
FishingMaterialData::SUGARDEW_BAIT,
|
130
135
|
FishingMaterialData::SUNSET_CLOUD_ANGLER,
|
131
136
|
FishingMaterialData::SWEET_FLOWER_MEDAKA,
|
@@ -162,6 +167,7 @@ module TeyvatDB::Materials
|
|
162
167
|
[
|
163
168
|
FurnitureMaterialData::ADHIGAMA_WOOD,
|
164
169
|
FurnitureMaterialData::ARALIA_WOOD,
|
170
|
+
FurnitureMaterialData::ASH_WOOD,
|
165
171
|
FurnitureMaterialData::ATHEL_WOOD,
|
166
172
|
FurnitureMaterialData::BAMBOO_SEGMENT,
|
167
173
|
FurnitureMaterialData::BLUE_DYE,
|
@@ -3,49 +3,49 @@
|
|
3
3
|
module TeyvatDB
|
4
4
|
module Nations
|
5
5
|
module NationData
|
6
|
-
FONTAINE = GenshinData::Nation.new(
|
6
|
+
FONTAINE = TeyvatDB::GenshinData::Nation.new(
|
7
7
|
order: 5,
|
8
8
|
name: "fontaine",
|
9
9
|
pretty_name: "Fontaine"
|
10
10
|
).freeze
|
11
11
|
|
12
|
-
INAZUMA = GenshinData::Nation.new(
|
12
|
+
INAZUMA = TeyvatDB::GenshinData::Nation.new(
|
13
13
|
order: 3,
|
14
14
|
name: "inazuma",
|
15
15
|
pretty_name: "Inazuma"
|
16
16
|
).freeze
|
17
17
|
|
18
|
-
LIYUE = GenshinData::Nation.new(
|
18
|
+
LIYUE = TeyvatDB::GenshinData::Nation.new(
|
19
19
|
order: 2,
|
20
20
|
name: "liyue",
|
21
21
|
pretty_name: "Liyue"
|
22
22
|
).freeze
|
23
23
|
|
24
|
-
MONDSTADT = GenshinData::Nation.new(
|
24
|
+
MONDSTADT = TeyvatDB::GenshinData::Nation.new(
|
25
25
|
order: 1,
|
26
26
|
name: "mondstadt",
|
27
27
|
pretty_name: "Mondstadt"
|
28
28
|
).freeze
|
29
29
|
|
30
|
-
NATLAN = GenshinData::Nation.new(
|
30
|
+
NATLAN = TeyvatDB::GenshinData::Nation.new(
|
31
31
|
order: 6,
|
32
32
|
name: "natlan",
|
33
33
|
pretty_name: "Natlan"
|
34
34
|
).freeze
|
35
35
|
|
36
|
-
SNEZHNAYA = GenshinData::Nation.new(
|
36
|
+
SNEZHNAYA = TeyvatDB::GenshinData::Nation.new(
|
37
37
|
order: 7,
|
38
38
|
name: "snezhnaya",
|
39
39
|
pretty_name: "Snezhnaya"
|
40
40
|
).freeze
|
41
41
|
|
42
|
-
SUMERU = GenshinData::Nation.new(
|
42
|
+
SUMERU = TeyvatDB::GenshinData::Nation.new(
|
43
43
|
order: 4,
|
44
44
|
name: "sumeru",
|
45
45
|
pretty_name: "Sumeru"
|
46
46
|
).freeze
|
47
47
|
|
48
|
-
UNKNOWN = GenshinData::Nation.new(
|
48
|
+
UNKNOWN = TeyvatDB::GenshinData::Nation.new(
|
49
49
|
order: 8,
|
50
50
|
name: "unknown",
|
51
51
|
pretty_name: "Unknown"
|
data/lib/teyvatdb/version.rb
CHANGED