reset_target(m_ptr);
/* Update the monster (new location) */
- update_mon(m_idx, TRUE);
+ update_monster(m_idx, TRUE);
/* Redraw the old grid */
lite_spot(oy, ox);
m_ptr->fx = nx;
/* Update the monster (new location) */
- update_mon(m_idx, TRUE);
+ update_monster(m_idx, TRUE);
/* Redraw the old grid */
lite_spot(oy, ox);
case 8: t = INVEN_FEET; break;
}
- /* Get the item */
o_ptr = &inventory[t];
/* No item, nothing happens */
}
- /* Describe the object */
object_desc(o_name, o_ptr, (OD_OMIT_PREFIX | OD_NAME_ONLY));
msg_print(_("照明用アイテムに燃素を補充した。", "You add phlogiston to your light item."));
- /* Comment */
if (o_ptr->xtra4 >= max_flog)
{
o_ptr->xtra4 = (XTRA16)max_flog;
/* Update the monsters */
p_ptr->update |= (PU_MONSTERS);
- /* Redraw map */
p_ptr->redraw |= (PR_MAP);
p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON);
note_spot(p_ptr->y, p_ptr->x);
- /* Redraw */
lite_spot(p_ptr->y, p_ptr->x);
return TRUE;
note_spot(p_ptr->y, p_ptr->x);
- /* Redraw */
lite_spot(p_ptr->y, p_ptr->x);
update_local_illumination(p_ptr->y, p_ptr->x);
note_spot(p_ptr->y, p_ptr->x);
- /* Redraw */
lite_spot(p_ptr->y, p_ptr->x);
return TRUE;
}
- /* 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, (OD_OMIT_PREFIX | OD_NAME_ONLY));
-
- /* Describe */
#ifdef JP
-msg_format("%s は明るく輝いた!",
- o_name);
+ msg_format("%s は明るく輝いた!", o_name);
#else
msg_format("%s %s glow%s brightly!",
((item >= 0) ? "Your" : "The"), o_name,
/* Failure */
if (!okay)
{
- /* Flush */
if (flush_failure) flush();
-
msg_print(_("強化に失敗した。", "The enchantment failed."));
-
if (one_in_(3)) chg_virtue(V_ENCHANT, -1);
}
else
/* Description */
object_desc(o_name, o_ptr, (OD_OMIT_PREFIX | OD_NAME_ONLY));
-
- /* Describe */
#ifdef JP
msg_format("%s は眩い光を発した!",o_name);
#else
/* Failure */
if (!okay)
{
- /* Flush */
if (flush_failure) flush();
-
msg_print(_("強化に失敗した。", "The enchantment failed."));
-
if (one_in_(3)) chg_virtue(V_ENCHANT, -1);
}
else
{
if (record_rand_art)
{
- /* Description */
object_desc(o_name, o_ptr, OD_NAME_ONLY);
do_cmd_write_nikki(NIKKI_ART_SCROLL, 0, o_name);
}
/* Description */
object_desc(o_name, o_ptr, 0);
-
- /* Describe */
if (item >= INVEN_RARM)
{
msg_format(_("%^s: %s(%c)。", "%^s: %s (%c)."), describe_use(item), o_name, index_to_label(item));
/* Description */
object_desc(o_name, o_ptr, 0);
-
- /* Describe */
if (item >= INVEN_RARM)
{
msg_format(_("%^s: %s(%c)。", "%^s: %s (%c)."), describe_use(item), o_name, index_to_label(item));
if (!(object_is_artifact(o_ptr) || object_is_ego(o_ptr)) || one_in_(3))
{
- /* Describe */
#ifdef JP
-msg_format("%sは輝いた!",
- o_name);
+ msg_format("%sは輝いた!", o_name);
#else
msg_format("%s %s shine%s!",
((item >= 0) ? "Your" : "The"), o_name,
/* Nothing to curse */
if (!o_ptr->k_idx) return (FALSE);
-
- /* Describe */
object_desc(o_name, o_ptr, OD_OMIT_PREFIX);
/* Attempt a saving throw for artifacts */
/* Nothing to curse */
if (!o_ptr->k_idx) return (FALSE);
-
- /* Describe */
object_desc(o_name, o_ptr, OD_OMIT_PREFIX);
/* Attempt a saving throw */
/* Ego-item */
o_ptr->name2 = EGO_FLAME;
-
- /* Enchant */
enchant(o_ptr, randint0(3) + 4, ENCH_TOHIT | ENCH_TODAM);
-
return (TRUE);
}
- /* Flush */
if (flush_failure) flush();
/* Fail */
/* Acquire next object */
next_o_idx = o_list[this_o_idx].next_o_idx;
- /* Delete the object */
delete_object_idx(this_o_idx);
}
}
m_ptr->fy = (byte_hack)ty;
m_ptr->fx = (byte_hack)tx;
- update_mon(m_idx, TRUE);
+ update_monster(m_idx, TRUE);
lite_spot(oy, ox);
lite_spot(ty, tx);