diff --git a/doc/fixes37.0 b/doc/fixes37.0 index 44b27a8e6..c54a07214 100644 --- a/doc/fixes37.0 +++ b/doc/fixes37.0 @@ -365,6 +365,7 @@ make camera flash which reveals previously unseen map features or objects or monsters record those on the hero's map; monsters revert to 'unseen' boolean options can optionally have the form "name:value" with value taken from among "true", "yes", "on", or "false", "no", "off" +record number of wishes and artifact wishes in xlogfile Platform- and/or Interface-Specific New Features diff --git a/src/topten.c b/src/topten.c index c86f38ab8..3141a58c7 100644 --- a/src/topten.c +++ b/src/topten.c @@ -380,6 +380,8 @@ int how; aligns[1 - u.ualignbase[A_ORIGINAL]].filecode); Fprintf(rfile, "%cflags=0x%lx", XLOG_SEP, encodexlogflags()); Fprintf(rfile, "%cgold=%ld", XLOG_SEP, money_cnt(g.invent) + hidden_gold()); + Fprintf(rfile, "%cwish_cnt=%ld", XLOG_SEP, u.uconduct.wishes); + Fprintf(rfile, "%carti_wish_cnt=%ld", XLOG_SEP, u.uconduct.wisharti); Fprintf(rfile, "\n"); #undef XLOG_SEP }