annotate special name table with types/amounts

This commit is contained in:
Martin Michelsen
2023-10-28 13:23:16 -07:00
parent 2c6df68af3
commit b5739fff68
+42 -40
View File
@@ -39,49 +39,51 @@ ItemNameIndex::ItemNameIndex(JSON&& v2_names, JSON&& v3_names, JSON&& v4_names)
static const char* s_rank_name_characters = "\0ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"; static const char* s_rank_name_characters = "\0ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_";
// clang-format off
static const array<const char*, 0x29> name_for_weapon_special = { static const array<const char*, 0x29> name_for_weapon_special = {
nullptr, nullptr,
"Draw", "Draw", // Type: 0001, amount: 0005
"Drain", "Drain", // Type: 0001, amount: 0009
"Fill", "Fill", // Type: 0001, amount: 000D
"Gush", "Gush", // Type: 0001, amount: 0011
"Heart", "Heart", // Type: 0002, amount: 0003
"Mind", "Mind", // Type: 0002, amount: 0004
"Soul", "Soul", // Type: 0002, amount: 0005
"Geist", "Geist", // Type: 0002, amount: 0006
"Master\'s", "Master\'s", // Type: 0003, amount: 0008
"Lord\'s", "Lord\'s", // Type: 0003, amount: 000A
"King\'s", "King\'s", // Type: 0003, amount: 000C
"Charge", "Charge", // Type: 0004, amount: 0064
"Spirit", "Spirit", // Type: 0005, amount: 0064
"Berserk", "Berserk", // Type: 0006, amount: 0064
"Ice", "Ice", // Type: 0007, amount: 0020
"Frost", "Frost", // Type: 0007, amount: 0030
"Freeze", "Freeze", // Type: 0007, amount: 0040
"Blizzard", "Blizzard", // Type: 0007, amount: 0050
"Bind", "Bind", // Type: 0008, amount: 0020
"Hold", "Hold", // Type: 0008, amount: 0030
"Seize", "Seize", // Type: 0008, amount: 0040
"Arrest", "Arrest", // Type: 0008, amount: 0050
"Heat", "Heat", // Type: 0009, amount: 0001
"Fire", "Fire", // Type: 0009, amount: 0002
"Flame", "Flame", // Type: 0009, amount: 0003
"Burning", "Burning", // Type: 0009, amount: 0004
"Shock", "Shock", // Type: 000A, amount: 0001
"Thunder", "Thunder", // Type: 000A, amount: 0002
"Storm", "Storm", // Type: 000A, amount: 0003
"Tempest", "Tempest", // Type: 000A, amount: 0004
"Dim", "Dim", // Type: 000B, amount: 0030
"Shadow", "Shadow", // Type: 000B, amount: 0042
"Dark", "Dark", // Type: 000B, amount: 004E
"Hell", "Hell", // Type: 000B, amount: 005D
"Panic", "Panic", // Type: 000C, amount: 001D
"Riot", "Riot", // Type: 000C, amount: 002C
"Havoc", "Havoc", // Type: 000C, amount: 003C
"Chaos", "Chaos", // Type: 000C, amount: 004C
"Devil\'s", "Devil\'s", // Type: 000D, amount: 0032
"Demon\'s", "Demon\'s", // Type: 000D, amount: 0019
}; };
// clang-format on
const array<const char*, 0x11> name_for_s_rank_special = { const array<const char*, 0x11> name_for_s_rank_special = {
nullptr, nullptr,