Record number of wishes and artifact wishes in xlogfile
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user