payment messages
Change the message for paying off consumed items to "You paid for a xxxx at a cost of nnn gold pieces." to distinguish it from objects that you still have in your inventory which is "You bought a xxx for nnn gold pieces."
This commit is contained in:
@@ -1534,7 +1534,9 @@ boolean itemize;
|
|||||||
}
|
}
|
||||||
|
|
||||||
pay(ltmp, shkp);
|
pay(ltmp, shkp);
|
||||||
shk_names_obj(shkp, obj, "bought %s for %ld gold piece%s.%s", ltmp, "");
|
shk_names_obj(shkp, obj, consumed ?
|
||||||
|
"paid for %s at a cost of %ld gold piece%s.%s" :
|
||||||
|
"bought %s for %ld gold piece%s.%s", ltmp, "");
|
||||||
obj->quan = save_quan; /* restore original count */
|
obj->quan = save_quan; /* restore original count */
|
||||||
/* quan => amount just bought, save_quan => remaining unpaid count */
|
/* quan => amount just bought, save_quan => remaining unpaid count */
|
||||||
if (consumed) {
|
if (consumed) {
|
||||||
|
|||||||
Reference in New Issue
Block a user