From 20b822a28444e57cec7e1e58194b089a55c934c2 Mon Sep 17 00:00:00 2001 From: shoaib11120 Date: Sat, 25 Dec 2021 05:57:58 +0530 Subject: [PATCH] Added day to time and season narration --- stardew-access/ModEntry.cs | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/stardew-access/ModEntry.cs b/stardew-access/ModEntry.cs index 225f48d..38636cc 100644 --- a/stardew-access/ModEntry.cs +++ b/stardew-access/ModEntry.cs @@ -186,19 +186,9 @@ namespace stardew_access // Narrate time and season if (Equals(e.Button, SButton.Q)) { - string toSpeak = $"Time is {CurrentPlayer.getTimeOfDay()} and season is {CurrentPlayer.getSeason()}"; + string toSpeak = $"Time is {CurrentPlayer.getTimeOfDay()} and it is {CurrentPlayer.getDay()} of {CurrentPlayer.getSeason()}"; ScreenReader.say(toSpeak, true); } - - if (Equals(e.Button, SButton.J)) - { - Game1.pressActionButton(Game1.input.GetKeyboardState(), Game1.input.GetMouseState(), Game1.input.GetGamePadState()); - } - - if (Equals(e.Button, SButton.L)) - { - Game1.pressUseToolButton(); - } } private void SnapMouseToPlayer() @@ -397,7 +387,7 @@ namespace stardew_access toSpeak = Game1.objectInformation[292 + (int)treeType].Split('/')[0]; } - toSpeak += $", {stage} stage"; + toSpeak = $"{toSpeak}, {stage} stage"; ScreenReader.sayWithTileQuery(toSpeak, x, y, true); }