/* Note that we are in "inventory" mode */
if (easy_floor) command_wrk = (USE_INVEN);
-
- /* Save screen */
screen_save();
/* Hack -- show empty slots */
/* Get a new command */
command_new = inkey();
-
- /* Load screen */
screen_load();
{
int wid, hgt;
- /* Get size */
Term_get_size(&wid, &hgt);
/* Reset stuff */
{
int wid, hgt;
- /* Get size */
Term_get_size(&wid, &hgt);
/* Reset stuff */
/* Describe the result */
object_desc(o_name, o_ptr, 0);
-
msg_format(act, o_name, index_to_label(slot));
-
/* Cursed! */
if (object_is_cursed(o_ptr))
{
}
- /* Describe the object */
old_number = o_ptr->number;
o_ptr->number = amt;
object_desc(o_name, o_ptr, 0);
/* Description */
object_desc(o_name, o_ptr, 0);
-
- /* Describe */
msg_format(_("%sを調べている...", "Examining %s..."), o_name);
/* Describe it fully */
if (!screen_object(o_ptr, SCROBJ_FORCE_DETAIL)) msg_print(_("特に変わったところはないようだ。", "You see nothing special."));
o_ptr = &o_list[0 - item];
}
-
/* Take a partial turn */
p_ptr->energy_use = 50;
/* Refuel */
j_ptr->xtra4 += o_ptr->xtra4;
-
msg_print(_("ランプに油を注いだ。", "You fuel your lamp."));
- /* Comment */
if ((o_ptr->name2 == EGO_LITE_DARKNESS) && (j_ptr->xtra4 > 0))
{
j_ptr->xtra4 = 0;
q = _("どの松明で明かりを強めますか? ", "Refuel with which torch? ");
s = _("他に松明がない。", "You have no extra torches.");
- if (get_item(&item, q, s, (USE_INVEN | USE_FLOOR))) return;
+ if (!get_item(&item, q, s, (USE_INVEN | USE_FLOOR))) return;
/* Get the item (in the pack) */
if (item >= 0)
msg_print(_("松明を結合した。", "You combine the torches."));
- /* Comment */
if ((o_ptr->name2 == EGO_LITE_DARKNESS) && (j_ptr->xtra4 > 0))
{
j_ptr->xtra4 = 0;
int wid, hgt;
- /* Get size */
get_screen_size(&wid, &hgt);
p_ptr->update |= (PU_MONSTERS);
- /* Redraw map */
p_ptr->redraw |= (PR_MAP);
p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON);
{
if (sym == ident_info[i][0]) break;
}
-
- /* Describe */
if (sym == KTRL('A'))
{
all = TRUE;
return;
}
-
/* Prompt */
put_str(_("思い出を見ますか? (k:殺害順/y/n): ", "Recall details? (k/y/n): "), 0, _(36, 40));
-
/* Query */
query = inkey();
}
item_tester_no_ryoute = TRUE;
- /* Prepare the hook */
item_tester_hook = item_tester_hook_use;
q = _("どれを使いますか?", "Use which item? ");