teyvatdb 0.1.11 → 0.1.13
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/genshin_data/artifact_sets/artifact_data.rb +263 -0
- data/lib/{teyvatdb → genshin_data}/artifact_sets.rb +3 -2
- data/lib/genshin_data/characters/character_data.rb +1072 -0
- data/lib/{teyvatdb → genshin_data}/characters.rb +4 -3
- data/lib/{teyvatdb → genshin_data}/materials/development/elite_monster_drops_data.rb +59 -55
- data/lib/{teyvatdb → genshin_data}/materials/development/gems_data.rb +37 -33
- data/lib/{teyvatdb → genshin_data}/materials/development/general_data.rb +15 -11
- data/lib/{teyvatdb → genshin_data}/materials/development/local_specialty_data.rb +48 -44
- data/lib/{teyvatdb → genshin_data}/materials/development/monster_loot_drops_data.rb +44 -40
- data/lib/{teyvatdb → genshin_data}/materials/development/talent_books_data.rb +50 -46
- data/lib/{teyvatdb → genshin_data}/materials/development/weapon_material_data.rb +65 -61
- data/lib/{teyvatdb → genshin_data}/materials/development/weapon_refinement_material_data.rb +18 -14
- data/lib/{teyvatdb → genshin_data}/materials/development/weekly_boss_drops_data.rb +29 -25
- data/lib/{teyvatdb → genshin_data}/materials/development/world_boss_drops_data.rb +32 -28
- data/lib/genshin_data/materials/development.rb +71 -0
- data/lib/{teyvatdb → genshin_data}/materials/standard/cooking_material_data.rb +60 -56
- data/lib/{teyvatdb → genshin_data}/materials/standard/crafting_material_data.rb +18 -14
- data/lib/{teyvatdb → genshin_data}/materials/standard/fishing_material_data.rb +49 -45
- data/lib/{teyvatdb → genshin_data}/materials/standard/forging_material_data.rb +23 -19
- data/lib/{teyvatdb → genshin_data}/materials/standard/furniture_material_data.rb +29 -25
- data/lib/genshin_data/materials/standard.rb +41 -0
- data/lib/{teyvatdb → genshin_data}/materials.rb +4 -2
- data/lib/genshin_data/nations/nation_data.rb +57 -0
- data/lib/genshin_data/nations.rb +12 -0
- data/lib/genshin_data/weapons/weapon_data/bows.rb +369 -0
- data/lib/genshin_data/weapons/weapon_data/catalysts.rb +359 -0
- data/lib/genshin_data/weapons/weapon_data/claymores.rb +339 -0
- data/lib/genshin_data/weapons/weapon_data/polearms.rb +289 -0
- data/lib/genshin_data/weapons/weapon_data/swords.rb +400 -0
- data/lib/genshin_data/weapons/weapon_data.rb +11 -0
- data/lib/genshin_data/weapons.rb +39 -0
- data/lib/genshin_data.rb +10 -0
- data/lib/{teyvatdb/genshin_data → genshin_object}/artifact_set.rb +4 -3
- data/lib/{teyvatdb/genshin_data → genshin_object}/character.rb +1 -1
- data/lib/{teyvatdb/genshin_data → genshin_object}/material.rb +1 -1
- data/lib/{teyvatdb/genshin_data → genshin_object}/nation.rb +1 -1
- data/lib/{teyvatdb/genshin_data → genshin_object}/weapon.rb +1 -1
- data/lib/genshin_object.rb +10 -0
- data/lib/teyvatdb/version.rb +1 -1
- data/lib/teyvatdb.rb +3 -7
- metadata +40 -34
- data/lib/teyvatdb/artifact_sets/artifact_data.rb +0 -265
- data/lib/teyvatdb/characters/character_data.rb +0 -1074
- data/lib/teyvatdb/genshin_data.rb +0 -13
- data/lib/teyvatdb/materials/development.rb +0 -428
- data/lib/teyvatdb/materials/standard.rb +0 -200
- data/lib/teyvatdb/nations/nation_data.rb +0 -55
- data/lib/teyvatdb/nations.rb +0 -21
- data/lib/teyvatdb/weapons/weapon_data.rb +0 -1657
- data/lib/teyvatdb/weapons.rb +0 -185
data/lib/teyvatdb/weapons.rb
DELETED
@@ -1,185 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module TeyvatDB
|
4
|
-
module Weapons
|
5
|
-
require_relative "weapons/weapon_data"
|
6
|
-
|
7
|
-
class << self
|
8
|
-
def all
|
9
|
-
[
|
10
|
-
WeaponData::A_THOUSAND_FLOATING_DREAMS,
|
11
|
-
WeaponData::AKUOUMARU,
|
12
|
-
WeaponData::THE_ALLEY_FLASH,
|
13
|
-
WeaponData::ALLEY_HUNTER,
|
14
|
-
WeaponData::AMENOMA_KAGEUCHI,
|
15
|
-
WeaponData::AMOS_BOW,
|
16
|
-
WeaponData::APPRENTICES_NOTES,
|
17
|
-
WeaponData::AQUA_SIMULACRA,
|
18
|
-
WeaponData::AQUILA_FAVONIA,
|
19
|
-
WeaponData::BALLAD_OF_THE_FJORDS,
|
20
|
-
WeaponData::BEACON_OF_THE_REED_SEA,
|
21
|
-
WeaponData::BEGINNERS_PROTECTOR,
|
22
|
-
WeaponData::BLACK_TASSEL,
|
23
|
-
WeaponData::BLACKCLIFF_AGATE,
|
24
|
-
WeaponData::BLACKCLIFF_LONGSWORD,
|
25
|
-
WeaponData::BLACKCLIFF_POLE,
|
26
|
-
WeaponData::BLACKCLIFF_SLASHER,
|
27
|
-
WeaponData::BLACKCLIFF_WARBOW,
|
28
|
-
WeaponData::BLOODTAINTED_GREATSWORD,
|
29
|
-
WeaponData::CALAMITY_QUELLER,
|
30
|
-
WeaponData::CINNABAR_SPINDLE,
|
31
|
-
WeaponData::COMPOUND_BOW,
|
32
|
-
WeaponData::COOL_STEEL,
|
33
|
-
WeaponData::CRESCENT_PIKE,
|
34
|
-
WeaponData::DARK_IRON_SWORD,
|
35
|
-
WeaponData::DEATHMATCH,
|
36
|
-
WeaponData::DEBATE_CLUB,
|
37
|
-
WeaponData::DODOCO_TALES,
|
38
|
-
WeaponData::DRAGONS_BANE,
|
39
|
-
WeaponData::DRAGONSPINE_SPEAR,
|
40
|
-
WeaponData::DULL_BLADE,
|
41
|
-
WeaponData::ELEGY_FOR_THE_END,
|
42
|
-
WeaponData::EMERALD_ORB,
|
43
|
-
WeaponData::END_OF_THE_LINE,
|
44
|
-
WeaponData::ENGULFING_LIGHTNING,
|
45
|
-
WeaponData::EVERLASTING_MOONGLOW,
|
46
|
-
WeaponData::EYE_OF_PERCEPTION,
|
47
|
-
WeaponData::FADING_TWILIGHT,
|
48
|
-
WeaponData::FAVONIUS_CODEX,
|
49
|
-
WeaponData::FAVONIUS_GREATSWORD,
|
50
|
-
WeaponData::FAVONIUS_LANCE,
|
51
|
-
WeaponData::FAVONIUS_SWORD,
|
52
|
-
WeaponData::FAVONIUS_WARBOW,
|
53
|
-
WeaponData::FERROUS_SHADOW,
|
54
|
-
WeaponData::FESTERING_DESIRE,
|
55
|
-
WeaponData::FILLET_BLADE,
|
56
|
-
WeaponData::FINALE_OF_THE_DEEP,
|
57
|
-
WeaponData::FLEUVE_CENDRE_FERRYMAN,
|
58
|
-
WeaponData::FLOWING_PURITY,
|
59
|
-
WeaponData::FOREST_REGALIA,
|
60
|
-
WeaponData::FREEDOM_SWORN,
|
61
|
-
WeaponData::FROSTBEARER,
|
62
|
-
WeaponData::FRUIT_OF_FULFILLMENT,
|
63
|
-
WeaponData::HAKUSHIN_RING,
|
64
|
-
WeaponData::HALBERD,
|
65
|
-
WeaponData::HAMAYUMI,
|
66
|
-
WeaponData::HARAN_GEPPAKU_FUTSU,
|
67
|
-
WeaponData::HARBINGER_OF_DAWN,
|
68
|
-
WeaponData::HUNTERS_BOW,
|
69
|
-
WeaponData::HUNTERS_PATH,
|
70
|
-
WeaponData::IRON_POINT,
|
71
|
-
WeaponData::IRON_STING,
|
72
|
-
WeaponData::JADEFALLS_SPLENDOR,
|
73
|
-
WeaponData::KAGOTSURUBE_ISSHIN,
|
74
|
-
WeaponData::KAGURAS_VERITY,
|
75
|
-
WeaponData::KATSURAGIKIRI_NAGAMASA,
|
76
|
-
WeaponData::KEY_OF_KHAJ_NISUT,
|
77
|
-
WeaponData::KINGS_SQUIRE,
|
78
|
-
WeaponData::KITAIN_CROSS_SPEAR,
|
79
|
-
WeaponData::LIGHT_OF_FOLIAR_INCISION,
|
80
|
-
WeaponData::LIONS_ROAR,
|
81
|
-
WeaponData::LITHIC_BLADE,
|
82
|
-
WeaponData::LITHIC_SPEAR,
|
83
|
-
WeaponData::LOST_PRAYER_TO_THE_SACRED_WINDS,
|
84
|
-
WeaponData::LUXURIOUS_SEA_LORD,
|
85
|
-
WeaponData::MAGIC_GUIDE,
|
86
|
-
WeaponData::MAILED_FLOWER,
|
87
|
-
WeaponData::MAKHAIRA_AQUAMARINE,
|
88
|
-
WeaponData::MAPPA_MARE,
|
89
|
-
WeaponData::MEMORY_OF_DUST,
|
90
|
-
WeaponData::MESSENGER,
|
91
|
-
WeaponData::MISSIVE_WINDSPEAR,
|
92
|
-
WeaponData::MISTSPLITTER_REFORGED,
|
93
|
-
WeaponData::MITTERNACHTS_WALTZ,
|
94
|
-
WeaponData::MOONPIERCER,
|
95
|
-
WeaponData::MOUUNS_MOON,
|
96
|
-
WeaponData::OATHSWORN_EYE,
|
97
|
-
WeaponData::OLD_MERCS_PAL,
|
98
|
-
WeaponData::OTHERWORLDLY_STORY,
|
99
|
-
WeaponData::POCKET_GRIMOIRE,
|
100
|
-
WeaponData::POLAR_STAR,
|
101
|
-
WeaponData::PORTABLE_POWER_SAW,
|
102
|
-
WeaponData::PREDATOR,
|
103
|
-
WeaponData::PRIMORDIAL_JADE_CUTTER,
|
104
|
-
WeaponData::PRIMORDIAL_JADE_WINGED_SPEAR,
|
105
|
-
WeaponData::PROTOTYPE_AMBER,
|
106
|
-
WeaponData::PROTOTYPE_ARCHAIC,
|
107
|
-
WeaponData::PROTOTYPE_CRESCENT,
|
108
|
-
WeaponData::PROTOTYPE_RANCOUR,
|
109
|
-
WeaponData::PROTOTYPE_STARGLITTER,
|
110
|
-
WeaponData::RAINSLASHER,
|
111
|
-
WeaponData::RAVEN_BOW,
|
112
|
-
WeaponData::RECURVE_BOW,
|
113
|
-
WeaponData::REDHORN_STONETHRESHER,
|
114
|
-
WeaponData::RIGHTFUL_REWARD,
|
115
|
-
WeaponData::ROYAL_BOW,
|
116
|
-
WeaponData::ROYAL_GREATSWORD,
|
117
|
-
WeaponData::ROYAL_GRIMOIRE,
|
118
|
-
WeaponData::ROYAL_LONGSWORD,
|
119
|
-
WeaponData::ROYAL_SPEAR,
|
120
|
-
WeaponData::RUST,
|
121
|
-
WeaponData::SACRIFICIAL_BOW,
|
122
|
-
WeaponData::SACRIFICIAL_FRAGMENTS,
|
123
|
-
WeaponData::SACRIFICIAL_GREATSWORD,
|
124
|
-
WeaponData::SACRIFICIAL_SWORD,
|
125
|
-
WeaponData::SAPWOOD_BLADE,
|
126
|
-
WeaponData::SEASONED_HUNTERS_BOW,
|
127
|
-
WeaponData::SERPENT_SPINE,
|
128
|
-
WeaponData::SHARPSHOOTERS_OATH,
|
129
|
-
WeaponData::SILVER_SWORD,
|
130
|
-
WeaponData::SKYRIDER_GREATSWORD,
|
131
|
-
WeaponData::SKYRIDER_SWORD,
|
132
|
-
WeaponData::SKYWARD_ATLAS,
|
133
|
-
WeaponData::SKYWARD_BLADE,
|
134
|
-
WeaponData::SKYWARD_HARP,
|
135
|
-
WeaponData::SKYWARD_PRIDE,
|
136
|
-
WeaponData::SKYWARD_SPINE,
|
137
|
-
WeaponData::SLINGSHOT,
|
138
|
-
WeaponData::SNOW_TOMBED_STARSILVER,
|
139
|
-
WeaponData::SOLAR_PEARL,
|
140
|
-
WeaponData::SONG_OF_BROKEN_PINES,
|
141
|
-
WeaponData::SONG_OF_STILLNESS,
|
142
|
-
WeaponData::STAFF_OF_HOMA,
|
143
|
-
WeaponData::STAFF_OF_THE_SCARLET_SANDS,
|
144
|
-
WeaponData::SUMMIT_SHAPER,
|
145
|
-
WeaponData::SWORD_OF_DESCENSION,
|
146
|
-
WeaponData::THE_BELL,
|
147
|
-
WeaponData::THE_BLACK_SWORD,
|
148
|
-
WeaponData::THE_CATCH,
|
149
|
-
WeaponData::THE_DOCKHANDS_ASSISTANT,
|
150
|
-
WeaponData::THE_FIRST_GREAT_MAGIC,
|
151
|
-
WeaponData::THE_FLUTE,
|
152
|
-
WeaponData::THE_STRINGLESS,
|
153
|
-
WeaponData::THE_UNFORGED,
|
154
|
-
WeaponData::THE_VIRIDESCENT_HUNT,
|
155
|
-
WeaponData::THE_WIDSITH,
|
156
|
-
WeaponData::THRILLING_TALES_OF_DRAGON_SLAYERS,
|
157
|
-
WeaponData::THUNDERING_PULSE,
|
158
|
-
WeaponData::TIDAL_SHADOW,
|
159
|
-
WeaponData::TOME_OF_THE_ETERNAL_FLOW,
|
160
|
-
WeaponData::TOUKABOU_SHIGURE,
|
161
|
-
WeaponData::TRAVELERS_HANDY_SWORD,
|
162
|
-
WeaponData::TULAYTULLAHS_REMEMBRANCE,
|
163
|
-
WeaponData::TWIN_NEPHRITE,
|
164
|
-
WeaponData::VORTEX_VANQUISHER,
|
165
|
-
WeaponData::WANDERING_EVENSTAR,
|
166
|
-
WeaponData::WASTER_GREATSWORD,
|
167
|
-
WeaponData::WAVEBREAKERS_FIN,
|
168
|
-
WeaponData::WHITE_IRON_GREATSWORD,
|
169
|
-
WeaponData::WHITE_TASSEL,
|
170
|
-
WeaponData::WHITEBLIND,
|
171
|
-
WeaponData::WINDBLUME_ODE,
|
172
|
-
WeaponData::WINE_AND_SONG,
|
173
|
-
WeaponData::WOLFS_GRAVESTONE,
|
174
|
-
WeaponData::XIPHOS_MOONLIGHT
|
175
|
-
]
|
176
|
-
end
|
177
|
-
|
178
|
-
TeyvatDB::GenshinData::Weapon::WEAPON_TYPES.each do |weapon_type|
|
179
|
-
define_method weapon_type do
|
180
|
-
all.select { |weapon| weapon.weapon_type == weapon_type }
|
181
|
-
end
|
182
|
-
end
|
183
|
-
end
|
184
|
-
end
|
185
|
-
end
|