From eeeb43cacc94d78a4f474018567dd0bafe2f445e Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 19 Oct 2025 20:12:28 -0700 Subject: [PATCH] Update lemonade.py --- modules/games/lemonade.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/games/lemonade.py b/modules/games/lemonade.py index 12f0bff..1aef70b 100644 --- a/modules/games/lemonade.py +++ b/modules/games/lemonade.py @@ -315,7 +315,7 @@ def playLemonstand(nodeID, message, celsius=False, newgame=False): else: buffer += "πŸ“ŠP&LπŸ“ˆ" + pnl - buffer += f"\nπŸ₯€ to buy? Have {inventory.cups} Cost {locale.currency(cups.cost, grouping=True)} a πŸ“¦ of {str(cups.count)}" + buffer += f"\nπŸ₯€ to buy?\nHave {inventory.cups} Cost {locale.currency(cups.cost, grouping=True)} a πŸ“¦ of {str(cups.count)}" saveValues(nodeID, inventory, cups, lemons, sugar, weeks, score) return buffer @@ -339,7 +339,7 @@ def playLemonstand(nodeID, message, celsius=False, newgame=False): except Exception as e: return "invalid input, enter the number of πŸ₯€ to purchase or (N)one" - msg += f"\n πŸ‹ to buy? Have {inventory.lemons}πŸ₯€ of πŸ‹ Cost {locale.currency(lemons.cost, grouping=True)} a 🧺 for {str(lemons.count)}πŸ₯€" + msg += f"\n πŸ‹ to buy?\nHave {inventory.lemons}πŸ₯€ of πŸ‹ Cost {locale.currency(lemons.cost, grouping=True)} a 🧺 for {str(lemons.count)}πŸ₯€" # set the last command to lemons in the inventory db for i in range(len(lemonadeTracker)): if lemonadeTracker[i]['nodeID'] == nodeID: @@ -369,7 +369,7 @@ def playLemonstand(nodeID, message, celsius=False, newgame=False): newlemons = -1 return "⛔️invalid input, enter the number of πŸ‹ to purchase" - msg += f"\n 🍚 to buy? You have {inventory.sugar}πŸ₯€ of 🍚, Cost {locale.currency(sugar.cost, grouping=True)} a bag for {str(sugar.count)}πŸ₯€" + msg += f"\n 🍚 to buy?\nYou have {inventory.sugar}πŸ₯€ of 🍚, Cost {locale.currency(sugar.cost, grouping=True)} a bag for {str(sugar.count)}πŸ₯€" # set the last command to sugar in the inventory db for i in range(len(lemonadeTracker)): if lemonadeTracker[i]['nodeID'] == nodeID: @@ -415,7 +415,7 @@ def playLemonstand(nodeID, message, celsius=False, newgame=False): lemonadeTracker[i]['cmd'] = "sales" if "g" in message.lower(): lemonadeTracker[i]['cmd'] = "cups" - msg = f"#ofπŸ₯€ to buy? Have {inventory.cups} Cost {locale.currency(cups.cost, grouping=True)} a πŸ“¦ of {str(cups.count)}" + msg = f"#ofπŸ₯€\nto buy? Have {inventory.cups} Cost {locale.currency(cups.cost, grouping=True)} a πŸ“¦ of {str(cups.count)}" return msg else: lemonsLastCmd = "sales"