{
#ifdef JP
"¥æ¥Ë¡¼¥¯", /* "Uniques" */
+ "¾èÇϲÄǽ¤Ê¥â¥ó¥¹¥¿¡¼", /* "Riding" */
"¥¢¥ê",
"¥³¥¦¥â¥ê",
"¥à¥«¥Ç",
"µåÂÎ",
#else
"Uniques",
+ "Ridable monsters",
"Ant",
"Bat",
"Centipede",
static cptr monster_group_char[] =
{
(char *) -1L,
+ (char *) -2L,
"a",
"b",
"c",
/* XXX Hack -- Check if this is the "Uniques" group */
bool grp_unique = (monster_group_char[grp_cur] == (char *) -1L);
+ /* XXX Hack -- Check if this is the "Riding" group */
+ bool grp_riding = (monster_group_char[grp_cur] == (char *) -2L);
+
/* Check every race */
for (i = 0; i < max_r_idx; i++)
{
/* Require known monsters */
if (!(mode & 0x02) && !cheat_know && !r_ptr->r_sights ) continue;
- if (grp_unique && !(r_ptr->flags1 & RF1_UNIQUE)) continue;
+ if (grp_unique)
+ {
+ if (!(r_ptr->flags1 & RF1_UNIQUE)) continue;
+ }
- /* Check for race in the group */
- if (grp_unique || strchr(group_char, r_ptr->d_char))
+ else if (grp_riding)
{
- /* Add the race */
- mon_idx[mon_cnt++] = i;
+ if (!(r_ptr->flags7 & RF7_RIDING)) continue;
+ }
- /* XXX Hack -- Just checking for non-empty group */
- if (mode & 0x01) break;
+ else
+ {
+ /* Check for race in the group */
+ if (!strchr(group_char, r_ptr->d_char)) continue;
}
+
+ /* Add the race */
+ mon_idx[mon_cnt++] = i;
+
+ /* XXX Hack -- Just checking for non-empty group */
+ if (mode & 0x01) break;
}
/* Terminate the list */