Added number of days since restock to formatted_item_listing
parent
8a43f9b67e
commit
a5ba46388c
|
@ -20,7 +20,8 @@ def format_message(msg_format, *args):
|
||||||
|
|
||||||
|
|
||||||
def formatted_item_listing(item):
|
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):
|
def formatted_location(location):
|
||||||
|
|
Loading…
Reference in New Issue