B5008 <Someone> feeling "materially poor" while rich

Shouldn't gold detection pay attention to my inventory? "You feel
	materially poor" sounds extremely odd if I've got 50,000 zorkmids
	stuffed in my backpack.
This commit is contained in:
nethack.allison
2002-02-10 16:21:17 +00:00
parent c789541cb7
commit 27b76ffe47
+15 -2
View File
@@ -203,8 +203,21 @@ register struct obj *sobj;
} }
if (!known) { if (!known) {
/* no gold found */ /* no gold found on floor or monster's inventory.
if (sobj) strange_feeling(sobj, "You feel materially poor."); adjust message if you have gold in your inventory */
if (sobj) {
if (youmonst.data == &mons[PM_GOLD_GOLEM])
You_feel("like a million %s!", currency(2L));
else if (sobj && hidden_gold() ||
#ifndef GOLDOBJ
u.ugold)
#else
money_cnt(invent))
#endif
You("worry about your future financial situation.");
else
strange_feeling(sobj, "You feel materially poor.");
}
return(1); return(1);
} }
/* only under me - no separate display required */ /* only under me - no separate display required */