When hallucinating, see hallucinated currencies instead of bits for an ale
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user