Added number of days since restock to formatted_item_listing

master
Joey Hines 2019-07-21 10:29:04 -05:00
parent 8a43f9b67e
commit a5ba46388c
1 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,8 @@ def format_message(msg_format, *args):
def formatted_item_listing(item):
return format_message("{} {} for {}D", item["amount"], item["item_name"], item["price"])
return format_message("{} {} for {}D, restocked {} day(s) ago", item["amount"], item["item_name"],
item["price"], item["days_since_restock"])
def formatted_location(location):