Show spells and skills in the dumplog

These are often an important part of a character's build. There's
no purpose in listing them in disclose because the player generally
already knows what spells and skills they had and doesn't need them
identified, but they're useful when looking at someone else's game
or reminiscing over a past game.
This commit is contained in:
Alex Smith
2025-12-02 19:19:18 +00:00
parent 29df69d542
commit a0ccb4b0cb
5 changed files with 135 additions and 74 deletions

View File

@@ -599,14 +599,16 @@ dump_everything(
/* overview of the game up to this point */
show_gamelog((how >= PANICKED) ? ENL_GAMEOVERALIVE : ENL_GAMEOVERDEAD);
putstr(0, 0, "");
list_vanquished('d', FALSE); /* 'd' => 'y' */
putstr(0, 0, "");
list_genocided('d', FALSE); /* 'd' => 'y' */
putstr(0, 0, "");
show_spells(); /* ends with a blank line */
show_skills(); /* ends with a blank line */
show_conduct((how >= PANICKED) ? 1 : 2);
putstr(0, 0, "");
show_overview((how >= PANICKED) ? 1 : 2, how);
putstr(0, 0, "");
list_vanquished('d', FALSE); /* 'd' => 'y' */
putstr(0, 0, "");
list_genocided('d', FALSE); /* 'd' => 'y' */
putstr(0, 0, "");
dump_redirect(FALSE);
#else
nhUse(how);