1 #include "inventory/inventory-describer.h"
2 #include "game-option/birth-options.h"
3 #include "inventory/inventory-slot-types.h"
4 #include "system/object-type-definition.h"
5 #include "player/player-status-flags.h"
8 * @brief 所持/装備オブジェクトIDの部位表現を返す /
9 * Return a string mentioning how a given item is carried
10 * @param owner_ptr プレーヤーへの参照ポインタ
11 * @param i 部位表現を求めるプレイヤーの所持/装備オブジェクトID
12 * @return 部位表現の文字列ポインタ
14 concptr mention_use(player_type *owner_ptr, int i)
18 /* Examine the location */
22 p = owner_ptr->heavy_wield[0] ? "運搬中" : ((have_two_handed_weapons(owner_ptr) && have_right_hand_weapon(owner_ptr)) ? " 両手" : (left_hander ? " 左手" : " 右手"));
26 p = owner_ptr->heavy_wield[0] ? "Just lifting" : (have_right_hand_weapon(owner_ptr) ? "Wielding" : "On arm");
32 p = owner_ptr->heavy_wield[1] ? "運搬中" : ((have_two_handed_weapons(owner_ptr) && have_left_hand_weapon(owner_ptr)) ? " 両手" : (left_hander ? " 右手" : " 左手"));
36 p = owner_ptr->heavy_wield[1] ? "Just lifting" : (have_left_hand_weapon(owner_ptr) ? "Wielding" : "On arm");
41 p = (adj_str_hold[owner_ptr->stat_ind[A_STR]] < owner_ptr->inventory_list[i].weight / 10) ? _("運搬中", "Just holding") : _("射撃用", "Shooting");
44 p = (left_hander ? _("左手指", "On left hand") : _("右手指", "On right hand"));
47 p = (left_hander ? _("右手指", "On right hand") : _("左手指", "On left hand"));
50 p = _(" 首", "Around neck");
53 p = _(" 光源", "Light source");
56 p = _(" 体", "On body");
59 p = _("体の上", "About body");
62 p = _(" 頭", "On head");
65 p = _(" 手", "On hands");
68 p = _(" 足", "On feet");
71 p = _("ザック", "In pack");
79 * @brief 所持/装備オブジェクトIDの現在の扱い方の状態表現を返す /
80 * Return a string describing how a given item is being worn.
81 * @param i 状態表現を求めるプレイヤーの所持/装備オブジェクトID
82 * @return 状態表現内容の文字列ポインタ
84 * Currently, only used for items in the equipment, inventory.
86 concptr describe_use(player_type *owner_ptr, int i)
92 p = owner_ptr->heavy_wield[0]
94 : ((have_two_handed_weapons(owner_ptr) && have_right_hand_weapon(owner_ptr)) ? "両手に装備している" : (left_hander ? "左手に装備している" : "右手に装備している"));
98 p = owner_ptr->heavy_wield[0] ? "just lifting" : (have_right_hand_weapon(owner_ptr) ? "attacking monsters with" : "wearing on your arm");
104 p = owner_ptr->heavy_wield[1]
106 : ((have_two_handed_weapons(owner_ptr) && have_left_hand_weapon(owner_ptr)) ? "両手に装備している" : (left_hander ? "右手に装備している" : "左手に装備している"));
110 p = owner_ptr->heavy_wield[1] ? "just lifting" : (have_left_hand_weapon(owner_ptr) ? "attacking monsters with" : "wearing on your arm");
115 p = (adj_str_hold[owner_ptr->stat_ind[A_STR]] < owner_ptr->inventory_list[i].weight / 10) ? _("持つだけで精一杯の", "just holding")
116 : _("射撃用に装備している", "shooting missiles with");
119 p = (left_hander ? _("左手の指にはめている", "wearing on your left hand") : _("右手の指にはめている", "wearing on your right hand"));
122 p = (left_hander ? _("右手の指にはめている", "wearing on your right hand") : _("左手の指にはめている", "wearing on your left hand"));
125 p = _("首にかけている", "wearing around your neck");
128 p = _("光源にしている", "using to light the way");
131 p = _("体に着ている", "wearing on your body");
134 p = _("身にまとっている", "wearing on your back");
137 p = _("頭にかぶっている", "wearing on your head");
140 p = _("手につけている", "wearing on your hands");
143 p = _("足にはいている", "wearing on your feet");
146 p = _("ザックに入っている", "carrying in your pack");