lore_ptr->old = FALSE;
}
- if (lore_ptr->r_ptr->r_tkills || lore_ptr->know_everything) {
-#ifdef JP
- hooked_roff("この");
-#else
- if (lore_ptr->flags1 & RF1_UNIQUE) {
- hooked_roff("Killing this");
- } else {
- hooked_roff("A kill of this");
- }
-#endif
-
- display_monster_alignment(lore_ptr);
- display_monster_kind(lore_ptr);
- display_monster_exp(player_ptr, lore_ptr);
- }
-
+ display_lore_this(player_ptr, lore_ptr);
display_monster_aura(lore_ptr);
if (lore_ptr->flags2 & RF2_REFLECTING)
hooked_roff(format(_("%^sは矢の呪文を跳ね返す。", "%^s reflects bolt spells. "), wd_he[lore_ptr->msex]));
else if (lore_ptr->flags2 & RF2_AURA_ELEC)
hook_c_roff(TERM_L_BLUE, format(_("%^sはスパークに包まれている。", "%^s is surrounded by electricity. "), wd_he[lore_ptr->msex]));
}
+
+void display_lore_this(player_type *player_ptr, lore_type *lore_ptr)
+{
+ if ((lore_ptr->r_ptr->r_tkills == 0) && !lore_ptr->know_everything)
+ return;
+
+#ifdef JP
+ hooked_roff("この");
+#else
+ if (lore_ptr->flags1 & RF1_UNIQUE) {
+ hooked_roff("Killing this");
+ } else {
+ hooked_roff("A kill of this");
+ }
+#endif
+
+ display_monster_alignment(lore_ptr);
+ display_monster_kind(lore_ptr);
+ display_monster_exp(player_ptr, lore_ptr);
+}
void display_monster_alignment(lore_type *lore_ptr);
void display_monster_exp(player_type *player_ptr, lore_type *lore_ptr);
void display_monster_aura(lore_type *lore_ptr);
+void display_lore_this(player_type *player_ptr, lore_type *lore_ptr);