petattr: Change accepted parameters, add support for tty

This commit is contained in:
Pasi Kallinen
2024-01-28 10:05:35 +02:00
parent bac8ebad34
commit fd8b2b58d1
8 changed files with 57 additions and 151 deletions

View File

@@ -529,8 +529,8 @@ static int optfn_##a(int, int, boolean, char *, char *);
NHOPTC(perminv_mode, Advanced, 20, opt_in, set_in_game,
Yes, Yes, No, Yes, NoAlias,
"what to show in persistent inventory window")
NHOPTC(petattr, Advanced, 88, opt_in, set_in_game, /* curses only */
No, Yes, No, No, NoAlias, "attributes for highlighting pets")
NHOPTC(petattr, Advanced, 88, opt_in, set_in_game, /* tty/curses only */
No, Yes, No, Yes, NoAlias, "attributes for highlighting pets")
/* pettype is ignored for some roles */
NHOPTC(pettype, Advanced, 4, opt_in, set_gameview,
Yes, Yes, No, No, "pet", "your preferred initial pet type")