From af4b74f3824f8aeb588fd34a6e0024d41e63e273 Mon Sep 17 00:00:00 2001 From: shoaib11120 Date: Mon, 20 Dec 2021 19:42:23 +0530 Subject: [PATCH] Moved money to top in hover text --- stardew-access/Patches/DialoguePatcher.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stardew-access/Patches/DialoguePatcher.cs b/stardew-access/Patches/DialoguePatcher.cs index 283aa44..a885916 100644 --- a/stardew-access/Patches/DialoguePatcher.cs +++ b/stardew-access/Patches/DialoguePatcher.cs @@ -98,6 +98,11 @@ namespace stardew_access.Patches toSpeak.Append(text); #endregion + #region Add money + if (moneyAmountToDisplayAtBottom != -1) + toSpeak.Append($"\nValue: {moneyAmountToDisplayAtBottom}g\n"); + #endregion + #region Add crafting ingredients if (craftingIngredients != null) { @@ -149,11 +154,6 @@ namespace stardew_access.Patches } #endregion - #region Add money - if (moneyAmountToDisplayAtBottom != -1) - toSpeak.Append($"\nValue: {moneyAmountToDisplayAtBottom}g\n"); - #endregion - #region Narrate toSpeak ScreenReader.sayWithChecker(toSpeak.ToString(), true); #endregion