wizmode wizshowuuid to view the game's NHUUID
This commit is contained in:
@@ -3889,6 +3889,7 @@ extern void wizcustom_callback(winid win, int glyphnum, char *id);
|
||||
extern int wiz_display_macros(void);
|
||||
extern int wiz_mon_diff(void);
|
||||
extern int wiz_objprobs(void);
|
||||
extern int wiz_show_nhuuid(void);
|
||||
#endif
|
||||
extern void sanity_check(void);
|
||||
|
||||
|
||||
@@ -1989,6 +1989,8 @@ struct ext_func_tab extcmdlist[] = {
|
||||
wiz_rumor_check, IFBURIED | AUTOCOMPLETE | WIZMODECMD, NULL },
|
||||
{ '\0', "wizseenv", "show map locations' seen vectors",
|
||||
wiz_show_seenv, IFBURIED | AUTOCOMPLETE | WIZMODECMD, NULL },
|
||||
{ '\0', "wizshownhuuid", "show NHUUID for this game",
|
||||
wiz_show_nhuuid, AUTOCOMPLETE | WIZMODECMD, NULL },
|
||||
{ '\0', "wizsmell", "smell monster",
|
||||
wiz_smell, IFBURIED | AUTOCOMPLETE | WIZMODECMD, NULL },
|
||||
{ '\0', "wiztelekinesis", "telekinesis",
|
||||
|
||||
@@ -1777,6 +1777,13 @@ wiz_display_macros(void)
|
||||
return ECMD_OK;
|
||||
}
|
||||
|
||||
/* the #wizshownhuuid command */
|
||||
int
|
||||
wiz_show_nhuuid(void)
|
||||
{
|
||||
pline("The NHUUID for this game is { %s }.", svn.nhuuid);
|
||||
}
|
||||
|
||||
/* the #wizmondiff command */
|
||||
int
|
||||
wiz_mon_diff(void)
|
||||
|
||||
Reference in New Issue
Block a user