{
char o_name[MAX_NLEN];
- /* Describe the object */
object_desc(o_name, o_ptr, 0);
msg_format(_("ザックには%sを入れる隙間がない。", "You have no room for %s."), o_name);
continue;
}
- /* Describe the object */
object_desc(o_name, o_ptr, 0);
sprintf(out_val, _("%sを拾いますか? ", "Pick up %s? "), o_name);
*/
item_new = inven_carry(&forge);
- /* Describe the object */
object_desc(o_name, &forge, 0);
msg_format(_("%s(%c)を貰った。", "You get %s (%c). "), o_name, index_to_label(item_new));
}
- /* Describe the object */
old_number = o_ptr->number;
o_ptr->number = amt;
object_desc(o_name, o_ptr, 0);
o_ptr = &o_list[o_idx];
#ifdef JP
- /* Describe the object */
object_desc(old_name, o_ptr, OD_NAME_ONLY);
object_desc_kosuu(kazu_str, o_ptr);
hirottakazu = o_ptr->number;
/* Get the object again */
o_ptr = &inventory[slot];
- /* Delete the object */
delete_object_idx(o_idx);
if (p_ptr->pseikaku == SEIKAKU_MUNCHKIN)
if (o_ptr->marked & OM_AUTODESTROY) return;
}
- /* Describe the object */
object_desc(o_name, o_ptr, 0);
#ifdef JP
#endif /* ALLOW_EASY_SENSE -- TNB */
- /* Describe the object */
object_desc(o_name, o_ptr, 0);
/* Acquire next object */
/* Clear the flag. */
o_ptr->marked &= ~OM_NOMSG;
}
- /* Describe the object */
else if (!pickup)
{
msg_format(_("%sがある。", "You see %s."), o_name);
/* Sniper - Cannot shot a single arrow twice */
if ((snipe_type == SP_DOUBLE) && (o_ptr->number < 2)) snipe_type = SP_NONE;
- /* Describe the object */
object_desc(o_name, o_ptr, OD_OMIT_PREFIX);
/* Use the proper number of shots */
msg_format(_("%^sが%sを破壊した。", "%^s destroys %s."), m_name, o_name);
}
- /* Delete the object */
delete_object_idx(this_o_idx);
}
}
* to prevent calling lite_spot()
*/
- /* Delete the object */
delete_object_idx(this_o_idx);
}
/* Forget monster */
q_ptr->held_m_idx = 0;
- /* Delete the object */
delete_object_idx(this_o_idx);
/* Drop it */
/* Is this item acceptable? */
if (!item_tester_okay(o_ptr)) continue;
- /* Describe the object */
object_desc(o_name, o_ptr, 0);
/* Save the object index, color, and description */
{
o_ptr = &o_list[floor_list[i]];
- /* Describe the object */
object_desc(o_name, o_ptr, 0);
/* Save the index */
/* Access the object */
o_ptr = &o_list[this_o_idx];
- /* Describe the object */
object_desc(o_name, o_ptr, 0);
/* Access the next object */
#endif /* ALLOW_EASY_SENSE */
- /* Describe the object */
object_desc(o_name, o_ptr, 0);
msg_format(_("%sがある。", "You see %s."), o_name);
#endif /* ALLOW_EASY_SENSE */
- /* Describe the object */
object_desc(o_name, o_ptr, 0);
msg_format(_("ザックには%sを入れる隙間がない。", "You have no room for %s."), o_name);
#endif /* ALLOW_EASY_SENSE */
- /* Describe the object */
object_desc(o_name, o_ptr, 0);
/* Build a prompt */
/* Apply the saving throw */
if (randint0(100) < chance) continue;
- /* Delete the object */
delete_object_idx(i);
/* Count it */
/* Only optimize empty items */
if (o_ptr->number) return;
- /* Delete the object */
delete_object_idx(item);
}
/* Modify quantity */
q_ptr->number = amt;
- /* Describe the object */
object_desc(o_name, q_ptr, 0);
/* Took off weapon */
case GF_GRAVITY:
message = _("粉砕された", "was crushed."); break;
default:
- message = NULL;break;
+ message = NULL; break;
}
if (message)
{
k_idx = o_ptr->k_idx;
is_potion = object_is_potion(o_ptr);
-
-
- /* Delete the object */
delete_object_idx(this_o_idx);
/* Potions produce effects when 'shattered' */
}
- /* Describe the object */
object_desc(o_name, o_ptr, (OD_OMIT_PREFIX | OD_NAME_ONLY));
}
- /* Describe the object */
old_number = o_ptr->number;
o_ptr->number = amt;
object_desc(o_name, o_ptr, 0);
/* Acquire next object */
next_o_idx = o_list[this_o_idx].next_o_idx;
- /* Delete the object */
delete_object_idx(this_o_idx);
}
}
/* Leave room for weights, if necessary -DRS- */
if (show_weights) maxwid -= 10;
- /* Describe the object */
object_desc(o_name, o_ptr, 0);
o_name[maxwid] = '\0';
c_put_str(tval_to_attr[o_ptr->tval], o_name, i+6, cur_col);
/* Show weights */
- if (show_weights)
+ if(show_weights)
{
/* Only show the weight of an individual item */
int wgt = o_ptr->weight;
#ifdef JP
- sprintf(out_val, "%3d.%1d kg", lbtokg1(wgt) , lbtokg2(wgt) );
+ sprintf(out_val, "%3d.%1d kg", lbtokg1(wgt) , lbtokg2(wgt));
put_str(out_val, i+6, 67);
#else
(void)sprintf(out_val, "%3d.%d lb", wgt / 10, wgt % 10);
/* Obtain an object description */
object_desc(o_name, o_ptr, 0);
- /* Describe the object */
#ifdef JP
sprintf(out_val, "%s%s%s%s[%s]", s1, o_name, s2, s3, info);
#else
/* Acquire object */
o_ptr = &o_list[floor_list[0]];
- /* Describe the object */
object_desc(o_name, o_ptr, 0);
#ifdef JP
- sprintf(out_val, "%s%s%s%s[%s]",
- s1, o_name, s2, s3, info);
+ sprintf(out_val, "%s%s%s%s[%s]", s1, o_name, s2, s3, info);
#else
- sprintf(out_val, "%s%s%s%s [%s]",
- s1, s2, s3, o_name, info);
+ sprintf(out_val, "%s%s%s%s [%s]", s1, s2, s3, o_name, info);
#endif
prt(out_val, 0, 0);
/* Obtain an object description */
object_desc(o_name, o_ptr, 0);
- /* Describe the object */
#ifdef JP
sprintf(out_val, "%s%s%s%s[%s]", s1, o_name, s2, s3, info);
#else