… | |
… | |
669 | dynbuf_text buf; |
669 | dynbuf_text buf; |
670 | |
670 | |
671 | buf << "You have " << unpaid_count |
671 | buf << "You have " << unpaid_count |
672 | << " unpaid item(s) that would cost you " << cost_string_from_value (unpaid_price, 0) |
672 | << " unpaid item(s) that would cost you " << cost_string_from_value (unpaid_price, 0) |
673 | << ". You need another " << cost_string_from_value (unpaid_price - player_wealth, 0) |
673 | << ". You need another " << cost_string_from_value (unpaid_price - player_wealth, 0) |
674 | << " to be able to afford that."; |
674 | << " to be able to afford that. " |
|
|
675 | "H<You cannot leave a shop with items you cannot pay - drop those unpaid items first.>"; |
675 | |
676 | |
676 | pl->failmsg (buf); |
677 | pl->failmsg (buf); |
677 | |
678 | |
678 | return 0; |
679 | return 0; |
679 | } |
680 | } |