tweak probing while swallowed (trunk only)
Follow up to the patch that adds a fake inventory entry for the swallowed hero when probing an engulfer. Make the header for the hero be plural to match those of object classes, and prefix the hero entry itself with a/an to reflect its count of 1. | Swallowed Creature -> Swallowed Creatures | > - elven ranger called wizard -> > - an elven ranger called wizard
This commit is contained in:
@@ -812,7 +812,7 @@ boolean FDECL((*allow), (OBJ_P));/* allow function */
|
||||
|
||||
any = zeroany;
|
||||
if (sorted && n > 1) {
|
||||
Sprintf(buf, "%s Creature",
|
||||
Sprintf(buf, "%s Creatures",
|
||||
is_animal(u.ustuck->data) ? "Swallowed" : "Engulfed");
|
||||
add_menu(win, NO_GLYPH, &any, 0, 0, iflags.menu_headings,
|
||||
buf, MENU_UNSELECTED);
|
||||
@@ -823,7 +823,7 @@ boolean FDECL((*allow), (OBJ_P));/* allow function */
|
||||
add_menu(win, mon_to_glyph(&youmonst), &any,
|
||||
/* fake inventory letter, no group accelerator */
|
||||
CONTAINED_SYM, 0,
|
||||
ATR_NONE, self_lookat(buf), MENU_UNSELECTED);
|
||||
ATR_NONE, an(self_lookat(buf)), MENU_UNSELECTED);
|
||||
}
|
||||
|
||||
end_menu(win, qstr);
|
||||
|
||||
Reference in New Issue
Block a user