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,11 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
module GenshinData
|
4
|
-
module
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
3
|
+
module GenshinData
|
4
|
+
module Weapons
|
5
|
+
# Definitons for all in game Weapons
|
6
|
+
module WeaponData
|
7
|
+
require_relative "weapon_data/bows"
|
8
|
+
require_relative "weapon_data/catalysts"
|
9
|
+
require_relative "weapon_data/claymores"
|
10
|
+
require_relative "weapon_data/polearms"
|
11
|
+
require_relative "weapon_data/swords"
|
12
|
+
end
|
10
13
|
end
|
11
14
|
end
|
data/lib/genshin_data/weapons.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module GenshinData
|
4
|
+
# Module for accessing weapon data
|
4
5
|
module Weapons
|
5
6
|
require_relative "weapons/weapon_data"
|
6
7
|
|
@@ -11,7 +12,7 @@ module GenshinData
|
|
11
12
|
catalysts,
|
12
13
|
claymores,
|
13
14
|
polearms,
|
14
|
-
swords
|
15
|
+
swords
|
15
16
|
].flatten.sort { |x, y| x.kamera_key <=> y.kamera_key }
|
16
17
|
end
|
17
18
|
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GenshinData
|
4
|
+
module WeeklyBosses
|
5
|
+
# Module for accessing weekly boss data
|
6
|
+
module WeeklyBossData
|
7
|
+
def self.all
|
8
|
+
constants.map { |x| GenshinData::WeeklyBosses::WeeklyBossData.const_get(x) }
|
9
|
+
end
|
10
|
+
|
11
|
+
STORMTERROR = GenshinObject::WeeklyBoss.new(
|
12
|
+
name: "Stormterror",
|
13
|
+
domain_name: "Confront Stormterror",
|
14
|
+
nation_name: :mondstadt,
|
15
|
+
material_family: :stormterror_loot
|
16
|
+
)
|
17
|
+
|
18
|
+
WOLF_LORD = GenshinObject::WeeklyBoss.new(
|
19
|
+
name: "Lupus Boreas, Dominator of Wolves",
|
20
|
+
domain_name: "Wolvendom Arena",
|
21
|
+
nation_name: :mondstadt,
|
22
|
+
material_family: :stormterror_loot
|
23
|
+
)
|
24
|
+
|
25
|
+
CHILD = GenshinObject::WeeklyBoss.new(
|
26
|
+
name: "Childe of the Fatui",
|
27
|
+
domain_name: "Enter the Golden House",
|
28
|
+
nation_name: :liyue,
|
29
|
+
material_family: :childe_loot
|
30
|
+
)
|
31
|
+
|
32
|
+
AZHDAHA = GenshinObject::WeeklyBoss.new(
|
33
|
+
name: "Azhdaha",
|
34
|
+
domain_name: "Beneath the Dragon-Queller",
|
35
|
+
nation_name: :liyue,
|
36
|
+
material_family: :azhdaha_loot
|
37
|
+
)
|
38
|
+
|
39
|
+
SIGNORA = GenshinObject::WeeklyBoss.new(
|
40
|
+
name: "Signora",
|
41
|
+
domain_name: "Narukami Island: Tenshukaku",
|
42
|
+
nation_name: :inazuma,
|
43
|
+
material_family: :signora_loot
|
44
|
+
)
|
45
|
+
|
46
|
+
GUARDIAN_OF_ETERNITY = GenshinObject::WeeklyBoss.new(
|
47
|
+
name: "Guardian of Eternity",
|
48
|
+
domain_name: "End of the Oneiric Euthymia",
|
49
|
+
nation_name: :inazuma,
|
50
|
+
material_family: :guardian_of_eternity_loot
|
51
|
+
)
|
52
|
+
|
53
|
+
SCARAMOUCHE = GenshinObject::WeeklyBoss.new(
|
54
|
+
name: "Shouki no Kami, The Prodigal",
|
55
|
+
domain_name: "Joururi Workshop",
|
56
|
+
nation_name: :sumeru,
|
57
|
+
material_family: :scaramouche_loot
|
58
|
+
)
|
59
|
+
|
60
|
+
GUARDIAN_OF_APEPS_OASIS = GenshinObject::WeeklyBoss.new(
|
61
|
+
name: "Guardian of Apep's Oasis",
|
62
|
+
domain_name: "The Realm of Beginnings",
|
63
|
+
nation_name: :sumeru,
|
64
|
+
material_family: :guardian_of_apeps_oasis_loot
|
65
|
+
)
|
66
|
+
|
67
|
+
ALL_DEVOURING_NARWHAL = GenshinObject::WeeklyBoss.new(
|
68
|
+
name: "All-Devouring Narwhal",
|
69
|
+
domain_name: "Shadow of Another World",
|
70
|
+
nation_name: :fontaine,
|
71
|
+
material_family: :all_devouring_narwhal_loot
|
72
|
+
)
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
@@ -0,0 +1,186 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GenshinData
|
4
|
+
module WorldBosses
|
5
|
+
# Module for accessing weekly boss data
|
6
|
+
module WorldBossData
|
7
|
+
def self.all
|
8
|
+
constants.map { |x| GenshinData::WorldBosses::WorldBossData.const_get(x) }
|
9
|
+
end
|
10
|
+
|
11
|
+
AEONBLIGHT_DRAKE = GenshinObject::WorldBoss.new(
|
12
|
+
name: "Aeonblight Drake",
|
13
|
+
nation_name: :sumeru,
|
14
|
+
boss_material: "PerpetualCaliber"
|
15
|
+
)
|
16
|
+
|
17
|
+
ALGORITHM_OF_SEMI_INTRANSIENT_MATRIX_OF_OVERSEER_NETWORK = GenshinObject::WorldBoss.new(
|
18
|
+
name: "Algorithm of Semi-Intransient Matrix of Overseer Network",
|
19
|
+
nation_name: :sumeru,
|
20
|
+
boss_material: "LightGuidingTetrahedron"
|
21
|
+
)
|
22
|
+
|
23
|
+
ANEMO_HYPOSTASIS = GenshinObject::WorldBoss.new(
|
24
|
+
name: "Anemo Hypostasis",
|
25
|
+
nation_name: :mondstadt,
|
26
|
+
boss_material: "HurricaneSeed"
|
27
|
+
)
|
28
|
+
|
29
|
+
CORAL_DEFENDERS = GenshinObject::WorldBoss.new(
|
30
|
+
name: "Coral Defenders",
|
31
|
+
nation_name: :inazuma,
|
32
|
+
boss_material: "DragonheirsFalseFin"
|
33
|
+
)
|
34
|
+
|
35
|
+
CRYO_HYPOSTASIS = GenshinObject::WorldBoss.new(
|
36
|
+
name: "Cryo Hypostasis",
|
37
|
+
nation_name: :mondstadt,
|
38
|
+
boss_material: "CrystallineBloom"
|
39
|
+
)
|
40
|
+
|
41
|
+
CRYO_REGISVINE = GenshinObject::WorldBoss.new(
|
42
|
+
name: "Cryo Regisvine",
|
43
|
+
nation_name: :mondstadt,
|
44
|
+
boss_material: "HoarfrostCore"
|
45
|
+
)
|
46
|
+
|
47
|
+
DENDRO_HYPOSTASIS = GenshinObject::WorldBoss.new(
|
48
|
+
name: "Dendro Hypostasis",
|
49
|
+
nation_name: :sumeru,
|
50
|
+
boss_material: "QuelledCreeper"
|
51
|
+
)
|
52
|
+
|
53
|
+
ELECTRO_HYPOSTASIS = GenshinObject::WorldBoss.new(
|
54
|
+
name: "Electro Hypostasis",
|
55
|
+
nation_name: :mondstadt,
|
56
|
+
boss_material: "LightningPrism"
|
57
|
+
)
|
58
|
+
|
59
|
+
ELECTRO_REGISVINE = GenshinObject::WorldBoss.new(
|
60
|
+
name: "Electro Regisvine",
|
61
|
+
nation_name: :sumeru,
|
62
|
+
boss_material: "ThunderclapFruitcore"
|
63
|
+
)
|
64
|
+
|
65
|
+
EMPEROR_OF_FIRE_AND_IRON = GenshinObject::WorldBoss.new(
|
66
|
+
name: "Emperor of Fire and Iron",
|
67
|
+
nation_name: :fontaine,
|
68
|
+
boss_material: "EmperorsResolution"
|
69
|
+
)
|
70
|
+
|
71
|
+
GEO_HYPOSTASIS = GenshinObject::WorldBoss.new(
|
72
|
+
name: "Geo Hypostasis",
|
73
|
+
nation_name: :liyue,
|
74
|
+
boss_material: "BasaltPillar"
|
75
|
+
)
|
76
|
+
|
77
|
+
GOLDEN_WOLFLORD = GenshinObject::WorldBoss.new(
|
78
|
+
name: "Golden Wolflord",
|
79
|
+
nation_name: :inazuma,
|
80
|
+
boss_material: "RiftbornRegalia"
|
81
|
+
)
|
82
|
+
|
83
|
+
HYDRO_HYPOSTASIS = GenshinObject::WorldBoss.new(
|
84
|
+
name: "Hydro Hypostasis",
|
85
|
+
nation_name: :inazuma,
|
86
|
+
boss_material: "DewOfRepudiation"
|
87
|
+
)
|
88
|
+
|
89
|
+
HYDRO_TULPA = GenshinObject::WorldBoss.new(
|
90
|
+
name: "Hydro Tulpa",
|
91
|
+
nation_name: :fontaine,
|
92
|
+
boss_material: "WaterThatFailedToTranscend"
|
93
|
+
)
|
94
|
+
|
95
|
+
ICEWIND_SUITE_COPPELIA = GenshinObject::WorldBoss.new(
|
96
|
+
name: "Icewind Suite - Coppelia",
|
97
|
+
nation_name: :fontaine,
|
98
|
+
boss_material: "ArtificedSpareClockworkComponentCoppelia"
|
99
|
+
)
|
100
|
+
|
101
|
+
ICEWIND_SUITE_COPPELIUS = GenshinObject::WorldBoss.new(
|
102
|
+
name: "Icewind Suite - Coppelius",
|
103
|
+
nation_name: :fontaine,
|
104
|
+
boss_material: "ArtificedSpareClockworkComponentCoppelius"
|
105
|
+
)
|
106
|
+
|
107
|
+
INIQUITOUS_BAPTIST = GenshinObject::WorldBoss.new(
|
108
|
+
name: "Iniquitous Baptist",
|
109
|
+
nation_name: :sumeru,
|
110
|
+
boss_material: "EvergloomRing"
|
111
|
+
)
|
112
|
+
|
113
|
+
JADEPLUME_TERRORSHROOM = GenshinObject::WorldBoss.new(
|
114
|
+
name: "Jadeplume Terrorshroom",
|
115
|
+
nation_name: :sumeru,
|
116
|
+
boss_material: "MajesticHookedBeak"
|
117
|
+
)
|
118
|
+
|
119
|
+
MAGUU_KENKI = GenshinObject::WorldBoss.new(
|
120
|
+
name: "Maguu Kenki",
|
121
|
+
nation_name: :inazuma,
|
122
|
+
boss_material: "MarionetteCore"
|
123
|
+
)
|
124
|
+
|
125
|
+
MILLENNIAL_PEARL_SEAHORSE = GenshinObject::WorldBoss.new(
|
126
|
+
name: "Millennial Pearl Seahorse",
|
127
|
+
nation_name: :fontaine,
|
128
|
+
boss_material: "FontemerUnihorn"
|
129
|
+
)
|
130
|
+
|
131
|
+
PERPETUAL_MECHANICAL_ARRAY = GenshinObject::WorldBoss.new(
|
132
|
+
name: "Perpetual Mechanical Array",
|
133
|
+
nation_name: :inazuma,
|
134
|
+
boss_material: "PerpetualHeart"
|
135
|
+
)
|
136
|
+
|
137
|
+
PRIMO_GEOVISHAP = GenshinObject::WorldBoss.new(
|
138
|
+
name: "Primo Geovishap",
|
139
|
+
nation_name: :liyue,
|
140
|
+
boss_material: "JuvenileJade"
|
141
|
+
)
|
142
|
+
|
143
|
+
PROTOTYPE_CAL_BREGUET = GenshinObject::WorldBoss.new(
|
144
|
+
name: "Prototype Cal. Breguet",
|
145
|
+
nation_name: :fontaine,
|
146
|
+
boss_material: "TourbillonDevice"
|
147
|
+
)
|
148
|
+
|
149
|
+
PYRO_HYPOSTASIS = GenshinObject::WorldBoss.new(
|
150
|
+
name: "Pyro Hypostasis",
|
151
|
+
nation_name: :inazuma,
|
152
|
+
boss_material: "SmolderingPearl"
|
153
|
+
)
|
154
|
+
|
155
|
+
PYRO_REGISVINE = GenshinObject::WorldBoss.new(
|
156
|
+
name: "Pyro Regisvine",
|
157
|
+
nation_name: :liyue,
|
158
|
+
boss_material: "EverflameSeed"
|
159
|
+
)
|
160
|
+
|
161
|
+
RHODEIA_OF_LOCH = GenshinObject::WorldBoss.new(
|
162
|
+
name: "Rhodeia of Loch",
|
163
|
+
nation_name: :liyue,
|
164
|
+
boss_material: "CleansingHeart"
|
165
|
+
)
|
166
|
+
|
167
|
+
RUIN_SERPENT = GenshinObject::WorldBoss.new(
|
168
|
+
name: "Ruin Serpent",
|
169
|
+
nation_name: :liyue,
|
170
|
+
boss_material: "RunicFang"
|
171
|
+
)
|
172
|
+
|
173
|
+
SETEKH_WENUT = GenshinObject::WorldBoss.new(
|
174
|
+
name: "Setekh Wenut",
|
175
|
+
nation_name: :sumeru,
|
176
|
+
boss_material: "PseudoStamens"
|
177
|
+
)
|
178
|
+
|
179
|
+
THUNDER_MANIFESTATION = GenshinObject::WorldBoss.new(
|
180
|
+
name: "Thunder Manifestation",
|
181
|
+
nation_name: :inazuma,
|
182
|
+
boss_material: "StormBeads"
|
183
|
+
)
|
184
|
+
end
|
185
|
+
end
|
186
|
+
end
|
data/lib/genshin_data.rb
CHANGED
@@ -2,9 +2,27 @@
|
|
2
2
|
|
3
3
|
# Module that handles all data
|
4
4
|
module GenshinData
|
5
|
-
require_relative "
|
6
|
-
|
7
|
-
require_relative "
|
8
|
-
|
9
|
-
require_relative "
|
5
|
+
require_relative "genshin_data/nations"
|
6
|
+
|
7
|
+
require_relative "genshin_data/artifact_sets"
|
8
|
+
|
9
|
+
require_relative "genshin_data/characters"
|
10
|
+
|
11
|
+
require_relative "genshin_data/weapons"
|
12
|
+
|
13
|
+
require_relative "genshin_data/materials"
|
14
|
+
require_relative "genshin_data/talent_books"
|
15
|
+
|
16
|
+
require_relative "genshin_data/weekly_bosses"
|
17
|
+
require_relative "genshin_data/world_bosses"
|
18
|
+
|
19
|
+
class << self
|
20
|
+
def elements
|
21
|
+
%i[anemo geo electro dendro hydro pyro cryo]
|
22
|
+
end
|
23
|
+
|
24
|
+
def weapon_types
|
25
|
+
%i[sword claymore polearm catalyst bow]
|
26
|
+
end
|
27
|
+
end
|
10
28
|
end
|
@@ -1,18 +1,18 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module GenshinObject
|
4
|
-
|
5
4
|
# Base class to represent various Genshin Artifact Sets
|
6
5
|
class ArtifactSet
|
7
6
|
attr_accessor :kamera_key, :name, :max_rarity, :slots
|
8
7
|
|
9
8
|
ALL_SLOTS = %i[flower plume sands goblet circlet].freeze
|
10
9
|
|
11
|
-
def initialize(kamera_key:, name:, max_rarity:, slots: ALL_SLOTS)
|
10
|
+
def initialize(kamera_key:, name:, max_rarity:, bonuses:, slots: ALL_SLOTS)
|
12
11
|
@kamera_key = kamera_key
|
13
12
|
@name = name
|
14
13
|
@max_rarity = max_rarity
|
15
14
|
@slots = slots
|
15
|
+
@bonuses = bonuses
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GenshinObject
|
4
|
+
# Base class to represent various Genshin Materials
|
5
|
+
class MaterialFamily
|
6
|
+
attr_accessor :family, :name, :nation_name, :schedule
|
7
|
+
|
8
|
+
def initialize(family:, name:, nation_name: nil, schedule: nil)
|
9
|
+
@family = family
|
10
|
+
@name = name
|
11
|
+
@nation_name = nation_name
|
12
|
+
@schedule = schedule
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GenshinObject
|
4
|
+
# Base class to represent various Schedule data
|
5
|
+
class Schedule
|
6
|
+
attr_accessor :mon_thurs, :tues_fri, :wed_sat
|
7
|
+
|
8
|
+
def initialize(mon_thurs: false, tues_fri: false, wed_sat: false)
|
9
|
+
@mon_thurs = mon_thurs
|
10
|
+
@tues_fri = tues_fri
|
11
|
+
@wed_sat = wed_sat
|
12
|
+
end
|
13
|
+
|
14
|
+
def monday?
|
15
|
+
!!mon_thurs
|
16
|
+
end
|
17
|
+
|
18
|
+
def tuesday?
|
19
|
+
!!tues_fri
|
20
|
+
end
|
21
|
+
|
22
|
+
def wednesday?
|
23
|
+
!!wed_sat
|
24
|
+
end
|
25
|
+
|
26
|
+
def thursday?
|
27
|
+
!!mon_thurs
|
28
|
+
end
|
29
|
+
|
30
|
+
def friday?
|
31
|
+
!!tues_fri
|
32
|
+
end
|
33
|
+
|
34
|
+
def saturday?
|
35
|
+
!!wed_sat
|
36
|
+
end
|
37
|
+
|
38
|
+
def sunday?
|
39
|
+
true
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GenshinObject
|
4
|
+
# Class to represent weekly bosses
|
5
|
+
class WeeklyBoss < Boss
|
6
|
+
attr_accessor :material_family, :domain_name
|
7
|
+
|
8
|
+
def initialize(name:, nation_name:, domain_name:, material_family:)
|
9
|
+
@material_family = material_family
|
10
|
+
@domain_name = domain_name
|
11
|
+
|
12
|
+
super(name:, nation_name:)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GenshinObject
|
4
|
+
# Class to represent world bosses
|
5
|
+
class WorldBoss < Boss
|
6
|
+
attr_accessor :boss_material
|
7
|
+
|
8
|
+
def initialize(name:, nation_name:, boss_material:)
|
9
|
+
@boss_material = boss_material
|
10
|
+
|
11
|
+
super(name:, nation_name:)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
data/lib/genshin_object.rb
CHANGED
@@ -2,9 +2,15 @@
|
|
2
2
|
|
3
3
|
# Module that handles higher constants and base classes and behavior
|
4
4
|
module GenshinObject
|
5
|
-
require_relative "
|
6
|
-
require_relative "
|
7
|
-
require_relative "
|
8
|
-
require_relative "
|
9
|
-
require_relative "
|
5
|
+
require_relative "genshin_object/artifact_set"
|
6
|
+
require_relative "genshin_object/boss"
|
7
|
+
require_relative "genshin_object/character"
|
8
|
+
require_relative "genshin_object/material"
|
9
|
+
require_relative "genshin_object/material_family"
|
10
|
+
require_relative "genshin_object/nation"
|
11
|
+
require_relative "genshin_object/schedule"
|
12
|
+
require_relative "genshin_object/talent_book"
|
13
|
+
require_relative "genshin_object/weapon"
|
14
|
+
require_relative "genshin_object/weekly_boss"
|
15
|
+
require_relative "genshin_object/world_boss"
|
10
16
|
end
|
data/lib/teyvatdb/version.rb
CHANGED
data/lib/teyvatdb.rb
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
require "json"
|
4
4
|
|
5
|
-
require_relative "
|
6
|
-
require_relative "
|
7
|
-
require_relative "
|
5
|
+
require_relative "teyvatdb/version"
|
6
|
+
require_relative "genshin_object"
|
7
|
+
require_relative "genshin_data"
|
8
8
|
|
9
9
|
# Common helpers
|
10
10
|
module TeyvatDB
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teyvatdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Haberer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Gem to provide basic genshin data to my other projects
|
14
14
|
email:
|
@@ -50,6 +50,9 @@ files:
|
|
50
50
|
- lib/genshin_data/materials/standard/furniture_material_data.rb
|
51
51
|
- lib/genshin_data/nations.rb
|
52
52
|
- lib/genshin_data/nations/nation_data.rb
|
53
|
+
- lib/genshin_data/talent_books.rb
|
54
|
+
- lib/genshin_data/talent_books/talent_book_data.rb
|
55
|
+
- lib/genshin_data/weapon_materials.rb
|
53
56
|
- lib/genshin_data/weapons.rb
|
54
57
|
- lib/genshin_data/weapons/weapon_data.rb
|
55
58
|
- lib/genshin_data/weapons/weapon_data/bows.rb
|
@@ -57,12 +60,23 @@ files:
|
|
57
60
|
- lib/genshin_data/weapons/weapon_data/claymores.rb
|
58
61
|
- lib/genshin_data/weapons/weapon_data/polearms.rb
|
59
62
|
- lib/genshin_data/weapons/weapon_data/swords.rb
|
63
|
+
- lib/genshin_data/weekly_bosses.rb
|
64
|
+
- lib/genshin_data/weekly_bosses/weekly_boss_data.rb
|
65
|
+
- lib/genshin_data/world_bosses.rb
|
66
|
+
- lib/genshin_data/world_bosses/world_boss_data.rb
|
60
67
|
- lib/genshin_object.rb
|
61
68
|
- lib/genshin_object/artifact_set.rb
|
69
|
+
- lib/genshin_object/boss.rb
|
62
70
|
- lib/genshin_object/character.rb
|
63
71
|
- lib/genshin_object/material.rb
|
72
|
+
- lib/genshin_object/material_family.rb
|
64
73
|
- lib/genshin_object/nation.rb
|
74
|
+
- lib/genshin_object/schedule.rb
|
75
|
+
- lib/genshin_object/talent_book.rb
|
65
76
|
- lib/genshin_object/weapon.rb
|
77
|
+
- lib/genshin_object/weapon_material_family.rb
|
78
|
+
- lib/genshin_object/weekly_boss.rb
|
79
|
+
- lib/genshin_object/world_boss.rb
|
66
80
|
- lib/teyvatdb.rb
|
67
81
|
- lib/teyvatdb/version.rb
|
68
82
|
- sig/teyvatdb.rbs
|