Categorize more commands as general commands
"general commands" tend to be ones which take no game time, or are non-diegetic.
This commit is contained in:
@@ -1652,21 +1652,21 @@ struct ext_func_tab extcmdlist[] = {
|
|||||||
doextlist, IFBURIED | AUTOCOMPLETE | GENERALCMD | CMD_M_PREFIX,
|
doextlist, IFBURIED | AUTOCOMPLETE | GENERALCMD | CMD_M_PREFIX,
|
||||||
NULL },
|
NULL },
|
||||||
{ M('a'), "adjust", "adjust inventory letters",
|
{ M('a'), "adjust", "adjust inventory letters",
|
||||||
doorganize, IFBURIED | AUTOCOMPLETE, NULL },
|
doorganize, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL },
|
||||||
{ M('A'), "annotate", "name current level",
|
{ M('A'), "annotate", "name current level",
|
||||||
donamelevel, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL },
|
donamelevel, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL },
|
||||||
{ 'a', "apply", "apply (use) a tool (pick-axe, key, lamp...)",
|
{ 'a', "apply", "apply (use) a tool (pick-axe, key, lamp...)",
|
||||||
doapply, CMD_M_PREFIX, NULL },
|
doapply, CMD_M_PREFIX, NULL },
|
||||||
{ C('x'), "attributes", "show your attributes",
|
{ C('x'), "attributes", "show your attributes",
|
||||||
doattributes, IFBURIED, NULL },
|
doattributes, IFBURIED | GENERALCMD, NULL },
|
||||||
{ '@', "autopickup", "toggle the 'autopickup' option on/off",
|
{ '@', "autopickup", "toggle the 'autopickup' option on/off",
|
||||||
dotogglepickup, IFBURIED, NULL },
|
dotogglepickup, IFBURIED | GENERALCMD, NULL },
|
||||||
#ifdef CRASHREPORT
|
#ifdef CRASHREPORT
|
||||||
{ '\0', "bugreport", "file a bug report",
|
{ '\0', "bugreport", "file a bug report",
|
||||||
dobugreport, GENERALCMD | NOFUZZERCMD, NULL },
|
dobugreport, GENERALCMD | NOFUZZERCMD, NULL },
|
||||||
#endif
|
#endif
|
||||||
{ 'C', "call", "name a monster, specific object, or type of object",
|
{ 'C', "call", "name a monster, specific object, or type of object",
|
||||||
docallcmd, IFBURIED, NULL },
|
docallcmd, IFBURIED | GENERALCMD, NULL },
|
||||||
{ 'Z', "cast", "zap (cast) a spell",
|
{ 'Z', "cast", "zap (cast) a spell",
|
||||||
docast, IFBURIED, NULL },
|
docast, IFBURIED, NULL },
|
||||||
{ M('c'), "chat", "talk to someone",
|
{ M('c'), "chat", "talk to someone",
|
||||||
@@ -1695,7 +1695,7 @@ struct ext_func_tab extcmdlist[] = {
|
|||||||
{ 'E', "engrave", "engrave writing on the floor",
|
{ 'E', "engrave", "engrave writing on the floor",
|
||||||
doengrave, 0, NULL },
|
doengrave, 0, NULL },
|
||||||
{ M('e'), "enhance", "advance or check weapon and spell skills",
|
{ M('e'), "enhance", "advance or check weapon and spell skills",
|
||||||
enhance_weapon_skill, IFBURIED | AUTOCOMPLETE, NULL },
|
enhance_weapon_skill, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL },
|
||||||
/* #exploremode should be flagged AUTOCOMPETE but that would negatively
|
/* #exploremode should be flagged AUTOCOMPETE but that would negatively
|
||||||
impact frequently used #enhance by making #e become ambiguous */
|
impact frequently used #enhance by making #e become ambiguous */
|
||||||
{ M('X'), "exploremode", "enter explore (discovery) mode",
|
{ M('X'), "exploremode", "enter explore (discovery) mode",
|
||||||
@@ -1719,9 +1719,9 @@ struct ext_func_tab extcmdlist[] = {
|
|||||||
{ 'V', "history", "show long version and game history",
|
{ 'V', "history", "show long version and game history",
|
||||||
dohistory, IFBURIED | GENERALCMD, NULL },
|
dohistory, IFBURIED | GENERALCMD, NULL },
|
||||||
{ 'i', "inventory", "show your inventory",
|
{ 'i', "inventory", "show your inventory",
|
||||||
ddoinv, IFBURIED, NULL },
|
ddoinv, IFBURIED | GENERALCMD, NULL },
|
||||||
{ 'I', "inventtype", "show inventory of one specific item class",
|
{ 'I', "inventtype", "show inventory of one specific item class",
|
||||||
dotypeinv, IFBURIED, NULL },
|
dotypeinv, IFBURIED | GENERALCMD, NULL },
|
||||||
{ M('i'), "invoke", "invoke an object's special powers",
|
{ M('i'), "invoke", "invoke an object's special powers",
|
||||||
doinvoke, IFBURIED | AUTOCOMPLETE, NULL },
|
doinvoke, IFBURIED | AUTOCOMPLETE, NULL },
|
||||||
{ M('j'), "jump", "jump to another location",
|
{ M('j'), "jump", "jump to another location",
|
||||||
@@ -1752,7 +1752,7 @@ struct ext_func_tab extcmdlist[] = {
|
|||||||
{ M('m'), "monster", "use monster's special ability",
|
{ M('m'), "monster", "use monster's special ability",
|
||||||
domonability, IFBURIED | AUTOCOMPLETE, NULL },
|
domonability, IFBURIED | AUTOCOMPLETE, NULL },
|
||||||
{ M('n'), "name", "same as call; name a monster or object or object type",
|
{ M('n'), "name", "same as call; name a monster or object or object type",
|
||||||
docallcmd, IFBURIED | AUTOCOMPLETE, NULL },
|
docallcmd, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL },
|
||||||
{ M('o'), "offer", "offer a sacrifice to the gods",
|
{ M('o'), "offer", "offer a sacrifice to the gods",
|
||||||
dosacrifice, AUTOCOMPLETE | CMD_M_PREFIX, NULL },
|
dosacrifice, AUTOCOMPLETE | CMD_M_PREFIX, NULL },
|
||||||
{ 'o', "open", "open a door",
|
{ 'o', "open", "open a door",
|
||||||
@@ -1827,17 +1827,17 @@ struct ext_func_tab extcmdlist[] = {
|
|||||||
{ 's', "search", "search for traps and secret doors",
|
{ 's', "search", "search for traps and secret doors",
|
||||||
dosearch, IFBURIED | CMD_M_PREFIX, "searching" },
|
dosearch, IFBURIED | CMD_M_PREFIX, "searching" },
|
||||||
{ '*', "seeall", "show all equipment in use",
|
{ '*', "seeall", "show all equipment in use",
|
||||||
doprinuse, IFBURIED | CMD_M_PREFIX, NULL },
|
doprinuse, IFBURIED | GENERALCMD | CMD_M_PREFIX, NULL },
|
||||||
{ AMULET_SYM, "seeamulet", "show the amulet currently worn",
|
{ AMULET_SYM, "seeamulet", "show the amulet currently worn",
|
||||||
dopramulet, IFBURIED | CMD_M_PREFIX, NULL },
|
dopramulet, IFBURIED | GENERALCMD | CMD_M_PREFIX, NULL },
|
||||||
{ ARMOR_SYM, "seearmor", "show the armor currently worn",
|
{ ARMOR_SYM, "seearmor", "show the armor currently worn",
|
||||||
doprarm, IFBURIED | CMD_M_PREFIX, NULL },
|
doprarm, IFBURIED | GENERALCMD | CMD_M_PREFIX, NULL },
|
||||||
{ RING_SYM, "seerings", "show the ring(s) currently worn",
|
{ RING_SYM, "seerings", "show the ring(s) currently worn",
|
||||||
doprring, IFBURIED | CMD_M_PREFIX, NULL },
|
doprring, IFBURIED | GENERALCMD | CMD_M_PREFIX, NULL },
|
||||||
{ TOOL_SYM, "seetools", "show the tools currently in use",
|
{ TOOL_SYM, "seetools", "show the tools currently in use",
|
||||||
doprtool, IFBURIED | CMD_M_PREFIX, NULL },
|
doprtool, IFBURIED | GENERALCMD | CMD_M_PREFIX, NULL },
|
||||||
{ WEAPON_SYM, "seeweapon", "show the weapon currently wielded",
|
{ WEAPON_SYM, "seeweapon", "show the weapon currently wielded",
|
||||||
doprwep, IFBURIED | CMD_M_PREFIX, NULL },
|
doprwep, IFBURIED | GENERALCMD | CMD_M_PREFIX, NULL },
|
||||||
{ '!', "shell",
|
{ '!', "shell",
|
||||||
"leave game to enter a sub-shell ('exit' to come back)",
|
"leave game to enter a sub-shell ('exit' to come back)",
|
||||||
dosh_core, (IFBURIED | GENERALCMD | NOFUZZERCMD
|
dosh_core, (IFBURIED | GENERALCMD | NOFUZZERCMD
|
||||||
@@ -1847,11 +1847,11 @@ struct ext_func_tab extcmdlist[] = {
|
|||||||
), NULL },
|
), NULL },
|
||||||
/* $ is like ),=,&c but is not included with *, so not called "seegold" */
|
/* $ is like ),=,&c but is not included with *, so not called "seegold" */
|
||||||
{ GOLD_SYM, "showgold", "show gold, possibly shop credit or debt",
|
{ GOLD_SYM, "showgold", "show gold, possibly shop credit or debt",
|
||||||
doprgold, IFBURIED | CMD_M_PREFIX, NULL },
|
doprgold, IFBURIED | GENERALCMD | CMD_M_PREFIX, NULL },
|
||||||
{ SPBOOK_SYM, "showspells", "list and reorder known spells",
|
{ SPBOOK_SYM, "showspells", "list and reorder known spells",
|
||||||
dovspell, IFBURIED, NULL },
|
dovspell, IFBURIED | GENERALCMD, NULL },
|
||||||
{ '^', "showtrap", "describe an adjacent, discovered trap",
|
{ '^', "showtrap", "describe an adjacent, discovered trap",
|
||||||
doidtrap, IFBURIED, NULL },
|
doidtrap, IFBURIED | GENERALCMD, NULL },
|
||||||
{ M('s'), "sit", "sit down",
|
{ M('s'), "sit", "sit down",
|
||||||
dosit, AUTOCOMPLETE, NULL },
|
dosit, AUTOCOMPLETE, NULL },
|
||||||
{ '\0', "stats", "show memory statistics",
|
{ '\0', "stats", "show memory statistics",
|
||||||
@@ -1875,7 +1875,7 @@ struct ext_func_tab extcmdlist[] = {
|
|||||||
<delete> it may or may not actually invoke the #terrain command */
|
<delete> it may or may not actually invoke the #terrain command */
|
||||||
{ '\177', "terrain",
|
{ '\177', "terrain",
|
||||||
"view map without monsters or objects obstructing it",
|
"view map without monsters or objects obstructing it",
|
||||||
doterrain, IFBURIED | AUTOCOMPLETE, NULL },
|
doterrain, IFBURIED | GENERALCMD | AUTOCOMPLETE, NULL },
|
||||||
{ '\0', "therecmdmenu",
|
{ '\0', "therecmdmenu",
|
||||||
"menu of commands you can do from here to adjacent spot",
|
"menu of commands you can do from here to adjacent spot",
|
||||||
dotherecmdmenu, AUTOCOMPLETE | GENERALCMD | MOUSECMD, NULL },
|
dotherecmdmenu, AUTOCOMPLETE | GENERALCMD | MOUSECMD, NULL },
|
||||||
@@ -1911,7 +1911,7 @@ struct ext_func_tab extcmdlist[] = {
|
|||||||
{ 'W', "wear", "wear a piece of armor",
|
{ 'W', "wear", "wear a piece of armor",
|
||||||
dowear, 0, NULL },
|
dowear, 0, NULL },
|
||||||
{ '&', "whatdoes", "tell what a command does",
|
{ '&', "whatdoes", "tell what a command does",
|
||||||
dowhatdoes, IFBURIED, NULL },
|
dowhatdoes, IFBURIED | GENERALCMD, NULL },
|
||||||
{ '/', "whatis", "show what type of thing a symbol corresponds to",
|
{ '/', "whatis", "show what type of thing a symbol corresponds to",
|
||||||
dowhatis, IFBURIED | GENERALCMD, NULL },
|
dowhatis, IFBURIED | GENERALCMD, NULL },
|
||||||
{ 'w', "wield", "wield (put in use) a weapon",
|
{ 'w', "wield", "wield (put in use) a weapon",
|
||||||
|
|||||||
Reference in New Issue
Block a user