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,107 +1,114 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GenshinData
|
4
|
+
module Materials
|
5
|
+
module Development
|
6
|
+
# Definitons for all misc development materials
|
7
|
+
module GeneralData
|
8
|
+
def self.all
|
9
|
+
constants.map { |x| GenshinData::Materials::Development::GeneralData.const_get(x) }
|
10
|
+
end
|
6
11
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
ADVENTURERS_EXPERIENCE = GenshinObject::Material.new(
|
13
|
+
kamera_key: "AdventurersExperience",
|
14
|
+
name: "Adventurers Experience",
|
15
|
+
rarity: 3,
|
16
|
+
family: :character_experience,
|
17
|
+
inventory_type: :development_material,
|
18
|
+
source_category: :general_reward,
|
19
|
+
source_sub_category: nil
|
20
|
+
).freeze
|
16
21
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
22
|
+
CROWN_OF_INSIGHT = GenshinObject::Material.new(
|
23
|
+
kamera_key: "CrownOfInsight",
|
24
|
+
name: "Crown of Insight",
|
25
|
+
rarity: 5,
|
26
|
+
family: :talent_experience,
|
27
|
+
inventory_type: :development_material,
|
28
|
+
source_category: :general_reward,
|
29
|
+
source_sub_category: nil
|
30
|
+
).freeze
|
26
31
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
32
|
+
ENHANCEMENT_ORE = GenshinObject::Material.new(
|
33
|
+
kamera_key: "EnhancementOre",
|
34
|
+
name: "Enhancement Ore",
|
35
|
+
rarity: 1,
|
36
|
+
family: :weapon_experience,
|
37
|
+
inventory_type: :development_material,
|
38
|
+
source_category: :general_reward,
|
39
|
+
source_sub_category: nil
|
40
|
+
).freeze
|
36
41
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
42
|
+
FINE_ENHANCEMENT_ORE = GenshinObject::Material.new(
|
43
|
+
kamera_key: "FineEnhancementOre",
|
44
|
+
name: "Fine Enhancement Ore",
|
45
|
+
rarity: 2,
|
46
|
+
family: :weapon_experience,
|
47
|
+
inventory_type: :development_material,
|
48
|
+
source_category: :general_reward,
|
49
|
+
source_sub_category: nil
|
50
|
+
).freeze
|
46
51
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
52
|
+
HEROS_WIT = GenshinObject::Material.new(
|
53
|
+
kamera_key: "HerosWit",
|
54
|
+
name: "Heros Wit",
|
55
|
+
rarity: 4,
|
56
|
+
family: :character_experience,
|
57
|
+
inventory_type: :development_material,
|
58
|
+
source_category: :general_reward,
|
59
|
+
source_sub_category: nil
|
60
|
+
).freeze
|
56
61
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
62
|
+
MORA = GenshinObject::Material.new(
|
63
|
+
kamera_key: "Mora",
|
64
|
+
name: "Mora",
|
65
|
+
rarity: 1,
|
66
|
+
family: nil,
|
67
|
+
inventory_type: :standard_material,
|
68
|
+
source_category: :general_reward,
|
69
|
+
source_sub_category: nil
|
70
|
+
).freeze
|
66
71
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
72
|
+
MYSTIC_ENHANCEMENT_ORE = GenshinObject::Material.new(
|
73
|
+
kamera_key: "MysticEnhancementOre",
|
74
|
+
name: "Mystic Enhancement Ore",
|
75
|
+
rarity: 3,
|
76
|
+
family: :weapon_experience,
|
77
|
+
inventory_type: :development_material,
|
78
|
+
source_category: :general_reward,
|
79
|
+
source_sub_category: nil
|
80
|
+
).freeze
|
76
81
|
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
82
|
+
SANCTIFYING_ESSENCE = GenshinObject::Material.new(
|
83
|
+
kamera_key: "SanctifyingEssence",
|
84
|
+
name: "Sanctifying Essence",
|
85
|
+
rarity: 4,
|
86
|
+
family: :artifact_experience,
|
87
|
+
inventory_type: :development_material,
|
88
|
+
source_category: :general_reward,
|
89
|
+
source_sub_category: nil
|
90
|
+
).freeze
|
86
91
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
92
|
+
SANCTIFYING_UNCTION = GenshinObject::Material.new(
|
93
|
+
kamera_key: "SanctifyingUnction",
|
94
|
+
name: "Sanctifying Unction",
|
95
|
+
rarity: 3,
|
96
|
+
family: :artifact_experience,
|
97
|
+
inventory_type: :development_material,
|
98
|
+
source_category: :general_reward,
|
99
|
+
source_sub_category: nil
|
100
|
+
).freeze
|
96
101
|
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
102
|
+
WANDERERS_ADVICE = GenshinObject::Material.new(
|
103
|
+
kamera_key: "WanderersAdvice",
|
104
|
+
name: "Wanderers Advice",
|
105
|
+
rarity: 2,
|
106
|
+
family: :character_experience,
|
107
|
+
inventory_type: :development_material,
|
108
|
+
source_category: :general_reward,
|
109
|
+
source_sub_category: nil
|
110
|
+
).freeze
|
111
|
+
end
|
112
|
+
end
|
106
113
|
end
|
107
|
-
end
|
114
|
+
end
|