Move stashed gold in #attributes to its own line

The line got a lot longer than most other #attributes lines when the
hero had gold both in open inventory and in stashed containers, so break
it up into two lines (using the same approach as the pantheon info in
the first section).  Maybe this isn't necessary but it does make it
stand out less.
This commit is contained in:
Michael Meyer
2022-10-05 23:01:07 -04:00
committed by PatR
parent 2cc85b20dd
commit 9bf9aca4a9

View File

@@ -729,14 +729,15 @@ basics_enlightenment(int mode UNUSED, int final)
Sprintf(buf, " Your wallet contain%s %ld %s", !final ? "s" : "ed",
umoney, currency(umoney));
}
if (hmoney) {
Sprintf(eos(buf),
", %s you %s %ld %s stashed away in your pack",
umoney ? "and" : "but", !final ? "have" : "had",
hmoney, umoney ? "more" : currency(hmoney));
}
Strcat(buf, ".");
Strcat(buf, hmoney ? "," : ".");
enlght_out(buf);
if (hmoney) {
Sprintf(buf, "%ld %s stashed away in your pack",
hmoney, umoney ? "more" : currency(hmoney));
enl_msg(umoney ? "and you " : "but you ", "have ", "had ", buf,
"");
}
}
if (flags.pickup) {