When hallucinating, see hallucinated currencies instead of bits for an ale

This commit is contained in:
Patric Mueller
2020-01-04 14:55:55 +01:00
parent 49ef111bac
commit 9110302d42
2 changed files with 6 additions and 2 deletions

View File

@@ -67,6 +67,7 @@ add 'quick_farsight' option to provide some control over random clairvoyance
where pausing to be able to browse temporarily visible aspects of the
revealed map can seem intrusive; doesn't affect clairvoyance spell
replace "money" in in-game texts with "gold"
when hallucinating, see hallucinated currencies instead of bits for an ale
Platform- and/or Interface-Specific New Features

View File

@@ -579,9 +579,12 @@ register struct monst *priest;
if (coaligned && !strayed) {
long pmoney = money_cnt(priest->minvent);
if (pmoney > 0L) {
const char *bits;
bits = (Hallucination) ? currency(pmoney)
: (pmoney == 1L) ? "bit" : "bits";
/* Note: two bits is actually 25 cents. Hmm. */
pline("%s gives you %s for an ale.", Monnam(priest),
(pmoney == 1L) ? "one bit" : "two bits");
pline("%s gives you %s%s for an ale.", Monnam(priest),
(pmoney == 1L) ? "one " : "two ", bits);
money2u(priest, pmoney > 1L ? 2 : 1);
} else
pline("%s preaches the virtues of poverty.", Monnam(priest));