diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-05-06 15:23:24 +0100 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-07 18:23:32 -0600 |
commit | 7a33ce8bb75d4deb67bc67c6f7506c989a265a31 (patch) | |
tree | 722ab7bedc1f823b992291cf480490c0260fb826 /crawl-ref/source/chardump.cc | |
parent | 9782ad96da64914bcd653c0699efe7924e8910f6 (diff) | |
download | crawl-ref-7a33ce8bb75d4deb67bc67c6f7506c989a265a31.tar.gz crawl-ref-7a33ce8bb75d4deb67bc67c6f7506c989a265a31.zip |
Track gold paid to Gozag and show it in character dumps
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r-- | crawl-ref/source/chardump.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc index 1e07e152be..b18f3bacd8 100644 --- a/crawl-ref/source/chardump.cc +++ b/crawl-ref/source/chardump.cc @@ -464,10 +464,17 @@ static void _sdump_gold(dump_params &par) if (you.attribute[ATTR_DONATIONS] > 0) { lines++; - text += make_stringf("You %sdonated %d gold pieces.\n", have, + text += make_stringf("You %sdonated %d gold pieces to Zin.\n", have, you.attribute[ATTR_DONATIONS]); } + if (you.attribute[ATTR_GOZAG_GOLD_USED] > 0) + { + lines++; + text += make_stringf("You %spaid %d gold pieces to Gozag.\n", have, + you.attribute[ATTR_GOZAG_GOLD_USED]); + } + if (you.attribute[ATTR_MISC_SPENDING] > 0) { lines++; |