/* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
- /* Window stuff */
p_ptr->window |= (PW_EQUIP | PW_PLAYER);
calc_android_exp();
item_tester_hook = object_allow_enchant_melee_weapon;
item_tester_no_ryoute = TRUE;
- /* Get an item */
q = _("どの武器を強化しますか? ", "Enchant which weapon? ");
s = _("強化できる武器がない。", "You have nothing to enchant.");
/* Mega-Hack -- Forget the view and lite */
p_ptr->update |= (PU_UN_VIEW | PU_UN_LITE);
- /* Update stuff */
p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW | PU_MON_LITE);
/* Update the monsters */
/* Redraw map */
p_ptr->redraw |= (PR_MAP);
- /* Window stuff */
p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON);
return TRUE;
*/
bool warding_glyph(void)
{
- /* XXX XXX XXX */
if (!cave_clean_bold(p_ptr->y, p_ptr->x))
{
msg_print(_("床上のアイテムが呪文を跳ね返した。", "The object resists the spell."));
*/
bool place_mirror(void)
{
- /* XXX XXX XXX */
if (!cave_clean_bold(p_ptr->y, p_ptr->x))
{
msg_print(_("床上のアイテムが呪文を跳ね返した。", "The object resists the spell."));
*/
bool explosive_rune(void)
{
- /* XXX XXX XXX */
if (!cave_clean_bold(p_ptr->y, p_ptr->x))
{
msg_print(_("床上のアイテムが呪文を跳ね返した。", "The object resists the spell."));
/* Recalculate the bonuses */
p_ptr->update |= (PU_BONUS);
- /* Window stuff */
p_ptr->window |= (PW_EQUIP);
/* Count the uncursings */
/* Hack -- force destruction */
if (command_arg > 0) force = TRUE;
- /* Get an item */
q = _("どのアイテムを金に変えますか?", "Turn which item to gold? ");
s = _("金に変えられる物がありません。", "You have nothing to turn to gold.");
/* Redraw gold */
p_ptr->redraw |= (PR_GOLD);
- /* Window stuff */
p_ptr->window |= (PW_PLAYER);
}
/* Combine / Reorder the pack (later) */
p_ptr->notice |= (PN_COMBINE | PN_REORDER);
- /* Window stuff */
p_ptr->window |= (PW_INVEN | PW_EQUIP | PW_PLAYER);
calc_android_exp();
/* Enchant armor if requested */
if (num_ac) item_tester_hook = object_is_armour;
- /* Get an item */
q = _("どのアイテムを強化しますか? ", "Enchant which item? ");
s = _("強化できるアイテムがない。", "You have nothing to enchant.");
/* Enchant weapon/armour */
item_tester_hook = item_tester_hook_nameless_weapon_armour;
- /* Get an item */
q = _("どのアイテムを強化しますか? ", "Enchant which item? ");
s = _("強化できるアイテムがない。", "You have nothing to enchant.");
/* Combine / Reorder the pack (later) */
p_ptr->notice |= (PN_COMBINE | PN_REORDER);
- /* Window stuff */
p_ptr->window |= (PW_INVEN | PW_EQUIP | PW_PLAYER);
strcpy(record_o_name, o_name);
q = _("すべて鑑定済みです。 ", "All items are identified. ");
}
- /* Get an item */
s = _("鑑定するべきアイテムがない。", "You have nothing to identify.");
if (!get_item(&item, q, s, (USE_EQUIP | USE_INVEN | USE_FLOOR))) return (FALSE);
if (only_equip) item_tester_hook = object_is_weapon_armour_ammo;
item_tester_no_ryoute = TRUE;
- /* Get an item */
q = _("どれを使いますか?", "Use which item? ");
s = _("使えるものがありません。", "You have nothing you can use.");
o_ptr = &o_list[0 - item];
}
- /* Oops */
msg_print(_("まばゆい閃光が走った!", "There is a bright flash of light!"));
{
POSITION iy = o_ptr->iy; /* Y-position on map, or zero */
q = _("すべて*鑑定*済みです。 ", "All items are *identified*. ");
}
- /* Get an item */
s = _("*鑑定*するべきアイテムがない。", "You have nothing to *identify*.");
if (!get_item(&item, q, s, (USE_EQUIP | USE_INVEN | USE_FLOOR))) return (FALSE);
* strongly they recharge. Staffs, however, each get fewer charges if
* stacked.
*
- * XXX XXX XXX Beware of "sliding index errors".
+ * Beware of "sliding index errors".
*/
bool recharge(int power)
{
/* Only accept legal items */
item_tester_hook = item_tester_hook_recharge;
- /* Get an item */
q = _("どのアイテムに魔力を充填しますか? ", "Recharge which item? ");
s = _("魔力を充填すべきアイテムがない。", "You have nothing to recharge.");
/* Combine / Reorder the pack (later) */
p_ptr->notice |= (PN_COMBINE | PN_REORDER);
- /* Window stuff */
p_ptr->window |= (PW_INVEN);
/* Something was done */
/* Bless only weapons */
item_tester_hook = object_is_weapon;
- /* Get an item */
q = _("どのアイテムを祝福しますか?", "Bless which weapon? ");
s = _("祝福できる武器がありません。", "You have weapon to bless.");
/* Recalculate the bonuses */
p_ptr->update |= (PU_BONUS);
- /* Window stuff */
p_ptr->window |= (PW_EQUIP);
}
/* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
- /* Window stuff */
p_ptr->window |= (PW_EQUIP | PW_PLAYER);
calc_android_exp();
/* Assume enchant weapon */
item_tester_tval = TV_SHIELD;
- /* Get an item */
q = _("どの盾を磨きますか?", "Pulish which weapon? ");
s = _("磨く盾がありません。", "You have weapon to pulish.");
* Hack -- Display all known spells in a window
* return なし
* @details
- * XXX XXX XXX Need to analyze size of the window.
- * XXX XXX XXX Need more color coding.
+ * Need to analyze size of the window.
+ * Need more color coding.
*/
void display_spell_list(void)
{
/* Calculate bonuses */
p_ptr->update |= (PU_BONUS);
- /* Window stuff */
p_ptr->window |= (PW_EQUIP | PW_PLAYER);
calc_android_exp();
/* Select a piece of armour */
item_tester_hook = object_is_armour;
- /* Get an item */
q = _("どの防具に錆止めをしますか?", "Rustproof which piece of armour? ");
s = _("錆止めできるものがありません。", "You have nothing to rustproof.");
/* not artifact or failed save... */
else
{
- /* Oops */
msg_format(_("恐怖の暗黒オーラがあなたの%sを包み込んだ!", "A terrible black aura blasts your %s!"), o_name);
chg_virtue(V_ENCHANT, -5);
/* Recalculate mana */
p_ptr->update |= (PU_MANA);
- /* Window stuff */
p_ptr->window |= (PW_INVEN | PW_EQUIP | PW_PLAYER);
}
/* not artifact or failed save... */
else
{
- /* Oops */
if (!force) msg_format(_("恐怖の暗黒オーラがあなたの%sを包み込んだ!", "A terrible black aura blasts your %s!"), o_name);
chg_virtue(V_ENCHANT, -5);
/* Recalculate mana */
p_ptr->update |= (PU_MANA);
- /* Window stuff */
p_ptr->window |= (PW_INVEN | PW_EQUIP | PW_PLAYER);
}
item_tester_hook = item_tester_hook_recharge;
- /* Get an item */
q = _("どのアイテムから魔力を吸収しますか?", "Drain which item? ");
s = _("魔力を吸収できるアイテムがありません。", "You have nothing to drain.");