Show cost of merchandise when walking over it

This is another feature the betatesters seemed to miss a lot.
This commit is contained in:
Pasi Kallinen
2015-05-27 21:43:57 +03:00
parent b2291aaf93
commit 2944dc6935
6 changed files with 58 additions and 5 deletions

View File

@@ -2740,7 +2740,7 @@ boolean picked_some;
if (dfeature)
pline1(fbuf);
read_engr_at(u.ux, u.uy); /* Eric Backus */
You("%s here %s.", verb, doname(otmp));
You("%s here %s.", verb, doname_with_price(otmp));
iflags.last_msg = PLNMSG_ONE_ITEM_HERE;
if (otmp->otyp == CORPSE)
feel_cockatrice(otmp, FALSE);
@@ -2764,7 +2764,7 @@ boolean picked_some;
putstr(tmpwin, 0, buf);
break;
}
putstr(tmpwin, 0, doname(otmp));
putstr(tmpwin, 0, doname_with_price(otmp));
}
display_nhwindow(tmpwin, TRUE);
destroy_nhwindow(tmpwin);