From f3c9d8211f2ebe004ccb68f24a68fdf355aa83c5 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Fri, 20 Sep 2024 23:03:58 -0700 Subject: [PATCH] Update lemonade.py --- modules/lemonade.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/lemonade.py b/modules/lemonade.py index 354574a..47f3e8c 100644 --- a/modules/lemonade.py +++ b/modules/lemonade.py @@ -293,21 +293,21 @@ def start_lemonade(nodeID, message, celsius=False): # Calculate the unit cost and display the estimated sales from the forecast potential unit = cups.unit + lemons.unit + sugar.unit - buffer += " SupplyCost" + locale.currency(unit, grouping=True) + " a cup" + buffer += " SupplyCost" + locale.currency(unit, grouping=True) + " a cup." buffer += " Sales Potential:" + str(potential) + " cups." # Display the current inventory - buffer += "Inventory:" + buffer += " Inventory:" buffer += "๐Ÿฅค:" + str(inventory.cups) buffer += "๐Ÿ‹:" + str(inventory.lemons) buffer += "๐Ÿš:" + str(inventory.sugar) # Display the updated item prices - buffer += f"\nPrices, " + buffer += f"\nPrices: " buffer += "๐Ÿฅค:" + \ locale.currency(cups.cost, grouping=True) + " ๐Ÿ“ฆ of " + str(cups.count) + "." buffer += " ๐Ÿ‹:" + \ - locale.currency(lemons.cost, grouping=True) + " ๐Ÿ›’ of " + str(lemons.count) + "." + locale.currency(lemons.cost, grouping=True) + " ๐Ÿงบ of " + str(lemons.count) + "." buffer += " ๐Ÿš:" + \ locale.currency(sugar.cost, grouping=True) + " bag for " + str(sugar.count) + "๐Ÿฅค."