teyvatdb 0.1.18 → 0.2.1
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/weapon_materials.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/weekly_bosses/weekly_boss_data.rb +75 -0
- data/lib/genshin_data/weekly_bosses.rb +14 -0
- data/lib/genshin_data/world_bosses/world_boss_data.rb +186 -0
- data/lib/genshin_data/world_bosses.rb +14 -0
- data/lib/genshin_data.rb +23 -5
- data/lib/genshin_object/artifact_set.rb +2 -2
- data/lib/genshin_object/boss.rb +13 -0
- 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/weekly_boss.rb +15 -0
- data/lib/genshin_object/world_boss.rb +14 -0
- data/lib/genshin_object.rb +11 -5
- data/lib/teyvatdb/version.rb +1 -1
- data/lib/teyvatdb.rb +3 -3
- metadata +16 -2
@@ -1,137 +1,144 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GenshinData
|
4
|
+
module Materials
|
5
|
+
module Standard
|
6
|
+
# Definitons for all general crafting Materials
|
7
|
+
module CraftingMaterialData
|
8
|
+
def self.all
|
9
|
+
constants.map { |x| GenshinData::Materials::Standard::CraftingMaterialData.const_get(x) }
|
10
|
+
end
|
6
11
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
BUTTERFLY_WINGS = GenshinObject::Material.new(
|
13
|
+
kamera_key: "ButterflyWings",
|
14
|
+
name: "Butterfly Wings",
|
15
|
+
rarity: 1,
|
16
|
+
family: nil,
|
17
|
+
inventory_type: :standard_material,
|
18
|
+
source_category: :gathering,
|
19
|
+
source_sub_category: :miscellaneous
|
20
|
+
).freeze
|
16
21
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
22
|
+
CRYSTAL_CORE = GenshinObject::Material.new(
|
23
|
+
kamera_key: "CrystalCore",
|
24
|
+
name: "Crystal Core",
|
25
|
+
rarity: 1,
|
26
|
+
family: nil,
|
27
|
+
inventory_type: :standard_material,
|
28
|
+
source_category: :gathering,
|
29
|
+
source_sub_category: :miscellaneous
|
30
|
+
).freeze
|
26
31
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
32
|
+
ELECTRO_CRYSTAL = GenshinObject::Material.new(
|
33
|
+
kamera_key: "ElectroCrystal",
|
34
|
+
name: "Electro Crystal",
|
35
|
+
rarity: 1,
|
36
|
+
family: nil,
|
37
|
+
inventory_type: :standard_material,
|
38
|
+
source_category: :gathering,
|
39
|
+
source_sub_category: :miscellaneous
|
40
|
+
).freeze
|
36
41
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
42
|
+
FLAMING_FLOWER_STAMEN = GenshinObject::Material.new(
|
43
|
+
kamera_key: "FlamingFlowerStamen",
|
44
|
+
name: "Flaming Flower Stamen",
|
45
|
+
rarity: 1,
|
46
|
+
family: nil,
|
47
|
+
inventory_type: :standard_material,
|
48
|
+
source_category: :gathering,
|
49
|
+
source_sub_category: :miscellaneous
|
50
|
+
).freeze
|
46
51
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
52
|
+
FROG_MATERIAL = GenshinObject::Material.new(
|
53
|
+
kamera_key: "Frog",
|
54
|
+
name: "Frog",
|
55
|
+
rarity: 1,
|
56
|
+
family: nil,
|
57
|
+
inventory_type: :standard_material,
|
58
|
+
source_category: :gathering,
|
59
|
+
source_sub_category: :miscellaneous
|
60
|
+
).freeze
|
56
61
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
62
|
+
LANTERN_FIBER = GenshinObject::Material.new(
|
63
|
+
kamera_key: "LanternFiber",
|
64
|
+
name: "Lantern Fiber",
|
65
|
+
rarity: 3,
|
66
|
+
family: nil,
|
67
|
+
inventory_type: :standard_material,
|
68
|
+
source_category: :gathering,
|
69
|
+
source_sub_category: :miscellaneous
|
70
|
+
).freeze
|
66
71
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
72
|
+
LIZARD_TAIL = GenshinObject::Material.new(
|
73
|
+
kamera_key: "LizardTail",
|
74
|
+
name: "Lizard Tail",
|
75
|
+
rarity: 3,
|
76
|
+
family: nil,
|
77
|
+
inventory_type: :standard_material,
|
78
|
+
source_category: :gathering,
|
79
|
+
source_sub_category: :miscellaneous
|
80
|
+
).freeze
|
76
81
|
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
82
|
+
LOACH_PEARL = GenshinObject::Material.new(
|
83
|
+
kamera_key: "LoachPearl",
|
84
|
+
name: "Loach Pearl",
|
85
|
+
rarity: 1,
|
86
|
+
family: nil,
|
87
|
+
inventory_type: :standard_material,
|
88
|
+
source_category: :gathering,
|
89
|
+
source_sub_category: :miscellaneous
|
90
|
+
).freeze
|
86
91
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
92
|
+
LUMINESCENT_SPINE = GenshinObject::Material.new(
|
93
|
+
kamera_key: "LuminescentSpine",
|
94
|
+
name: "Luminescent Spine",
|
95
|
+
rarity: 1,
|
96
|
+
family: nil,
|
97
|
+
inventory_type: :standard_material,
|
98
|
+
source_category: :gathering,
|
99
|
+
source_sub_category: :miscellaneous
|
100
|
+
).freeze
|
96
101
|
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
102
|
+
MIST_FLOWER_COROLLA = GenshinObject::Material.new(
|
103
|
+
kamera_key: "MistFlowerCorolla",
|
104
|
+
name: "Mist Flower Corolla",
|
105
|
+
rarity: 1,
|
106
|
+
family: nil,
|
107
|
+
inventory_type: :standard_material,
|
108
|
+
source_category: :gathering,
|
109
|
+
source_sub_category: :miscellaneous
|
110
|
+
).freeze
|
106
111
|
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
112
|
+
PLAUSTRITE_SHARD = GenshinObject::Material.new(
|
113
|
+
kamera_key: "PlaustriteShard",
|
114
|
+
name: "Plaustrite Shard",
|
115
|
+
rarity: 3,
|
116
|
+
family: nil,
|
117
|
+
inventory_type: :standard_material,
|
118
|
+
source_category: :gathering,
|
119
|
+
source_sub_category: :miscellaneous
|
120
|
+
).freeze
|
116
121
|
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
122
|
+
STRANGE_TOOTH = GenshinObject::Material.new(
|
123
|
+
kamera_key: "StrangeTooth",
|
124
|
+
name: "Strange Tooth",
|
125
|
+
rarity: 1,
|
126
|
+
family: nil,
|
127
|
+
inventory_type: :standard_material,
|
128
|
+
source_category: :gathering,
|
129
|
+
source_sub_category: :miscellaneous
|
130
|
+
).freeze
|
126
131
|
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
132
|
+
WICK_MATERIAL = GenshinObject::Material.new(
|
133
|
+
kamera_key: "WickMaterial",
|
134
|
+
name: "Wick Material",
|
135
|
+
rarity: 3,
|
136
|
+
family: nil,
|
137
|
+
inventory_type: :standard_material,
|
138
|
+
source_category: :gathering,
|
139
|
+
source_sub_category: :miscellaneous
|
140
|
+
).freeze
|
141
|
+
end
|
142
|
+
end
|
136
143
|
end
|
137
|
-
end
|
144
|
+
end
|