1 #include "wizard/tval-descriptions-table.h"
2 #include "object/tval-types.h"
5 * ベースアイテムの大項目IDの種別名定義 / A list of tvals and their textual names
7 const std::vector<tval_desc> tvals = {
8 { ItemKindType::SWORD, _("刀剣", "Sword") },
9 { ItemKindType::POLEARM, _("長柄/斧", "Polearm") },
10 { ItemKindType::HAFTED, _("鈍器", "Hafted Weapon") },
11 { ItemKindType::BOW, _("弓", "Bow") },
12 { ItemKindType::ARROW, _("矢", "Arrows") },
13 { ItemKindType::BOLT, _("クロスボウの矢", "Bolts") },
14 { ItemKindType::SHOT, _("弾", "Shots") },
15 { ItemKindType::SHIELD, _("盾", "Shield") },
16 { ItemKindType::CROWN, _("冠", "Crown") },
17 { ItemKindType::HELM, _("兜", "Helm") },
18 { ItemKindType::GLOVES, _("籠手", "Gloves") },
19 { ItemKindType::BOOTS, _("靴", "Boots") },
20 { ItemKindType::CLOAK, _("クローク", "Cloak") },
21 { ItemKindType::DRAG_ARMOR, _("ドラゴン・スケイルメイル", "Dragon Scale Mail") },
22 { ItemKindType::HARD_ARMOR, _("重鎧", "Hard Armor") },
23 { ItemKindType::SOFT_ARMOR, _("軽鎧", "Soft Armor") },
24 { ItemKindType::RING, _("指輪", "Ring") },
25 { ItemKindType::AMULET, _("アミュレット", "Amulet") },
26 { ItemKindType::LITE, _("光源", "Lite") },
27 { ItemKindType::POTION, _("薬", "Potion") },
28 { ItemKindType::SCROLL, _("巻物", "Scroll") },
29 { ItemKindType::WAND, _("魔法棒", "Wand") },
30 { ItemKindType::STAFF, _("杖", "Staff") },
31 { ItemKindType::ROD, _("ロッド", "Rod") },
32 { ItemKindType::LIFE_BOOK, _("生命の魔法書", "Life Spellbook") },
33 { ItemKindType::SORCERY_BOOK, _("仙術の魔法書", "Sorcery Spellbook") },
34 { ItemKindType::NATURE_BOOK, _("自然の魔法書", "Nature Spellbook") },
35 { ItemKindType::CHAOS_BOOK, _("カオスの魔法書", "Chaos Spellbook") },
36 { ItemKindType::DEATH_BOOK, _("暗黒の魔法書", "Death Spellbook") },
37 { ItemKindType::TRUMP_BOOK, _("トランプの魔法書", "Trump Spellbook") },
38 { ItemKindType::ARCANE_BOOK, _("秘術の魔法書", "Arcane Spellbook") },
39 { ItemKindType::CRAFT_BOOK, _("匠の魔法書", "Craft Spellbook") },
40 { ItemKindType::DEMON_BOOK, _("悪魔の魔法書", "Daemon Spellbook") },
41 { ItemKindType::CRUSADE_BOOK, _("破邪の魔法書", "Crusade Spellbook") },
42 { ItemKindType::MUSIC_BOOK, _("歌集", "Music Spellbook") },
43 { ItemKindType::HISSATSU_BOOK, _("武芸の書", "Book of Kendo") },
44 { ItemKindType::HEX_BOOK, _("呪術の魔法書", "Hex Spellbook") },
45 { ItemKindType::PARCHMENT, _("冒険者のための中つ国ガイド", "Parchment") },
46 { ItemKindType::WHISTLE, _("笛", "Whistle") },
47 { ItemKindType::SPIKE, _("くさび", "Spikes") },
48 { ItemKindType::DIGGING, _("シャベル/つるはし", "Digger") },
49 { ItemKindType::CHEST, _("箱", "Chest") },
50 { ItemKindType::CAPTURE, _("モンスター・ボール", "Capture Ball") },
51 { ItemKindType::CARD, _("エクスプレスカード", "Express Card") },
52 { ItemKindType::FIGURINE, _("人形", "Magical Figurine") },
53 { ItemKindType::STATUE, _("像", "Statue") },
54 { ItemKindType::CORPSE, _("死体", "Corpse") },
55 { ItemKindType::FOOD, _("食料", "Food") },
56 { ItemKindType::FLASK, _("油つぼ", "Flask") },
57 { ItemKindType::JUNK, _("がらくた", "Junk") },
58 { ItemKindType::SKELETON, _("骨", "Skeleton") },
59 { ItemKindType::NONE, nullptr },
64 * Global array for converting numbers to a logical list symbol
66 const std::vector<char> listsym = {
67 '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
68 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
69 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',