wizmode wizshowuuid to view the game's NHUUID

This commit is contained in:
nhmall
2026-04-26 22:58:26 -04:00
parent 05b02c7b9b
commit 291972d038
3 changed files with 10 additions and 0 deletions
+1
View File
@@ -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);
+2
View File
@@ -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",
+7
View File
@@ -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)