Add optionsfull extended command
This is the previous, full options list. Adding it as an extended command, so users can do BIND=O:optionsfull to go back to the old behaviour.
This commit is contained in:
@@ -58,6 +58,7 @@ extern int doclose(void); /**/
|
||||
extern int dosh(void); /**/
|
||||
extern int dodiscovered(void); /**/
|
||||
extern int doclassdisco(void); /**/
|
||||
extern int doset_simple(void); /**/
|
||||
extern int doset(void); /**/
|
||||
extern int dotogglepickup(void); /**/
|
||||
extern int dowhatis(void); /**/
|
||||
@@ -2528,8 +2529,10 @@ struct ext_func_tab extcmdlist[] = {
|
||||
dosacrifice, AUTOCOMPLETE | CMD_M_PREFIX, NULL },
|
||||
{ 'o', "open", "open a door",
|
||||
doopen, 0, NULL },
|
||||
{ 'O', "options", "show option settings, possibly change them",
|
||||
doset, IFBURIED | GENERALCMD | CMD_M_PREFIX, NULL },
|
||||
{ 'O', "options", "show option settings",
|
||||
doset_simple, IFBURIED | GENERALCMD | CMD_M_PREFIX, NULL },
|
||||
{ '\0', "optionsfull", "show all option settings, possibly change them",
|
||||
doset, IFBURIED | GENERALCMD, NULL },
|
||||
/* #overview used to need autocomplete and has retained that even
|
||||
after being assigned to ^O [old wizard mode ^O is now #wizwhere] */
|
||||
{ C('o'), "overview", "show a summary of the explored dungeon",
|
||||
|
||||
Reference in New Issue
Block a user