Added date and day to time and day narrator
This commit is contained in:
@@ -71,11 +71,16 @@ namespace stardew_access.Game
|
||||
return Game1.CurrentSeasonDisplayName;
|
||||
}
|
||||
|
||||
public static int getDay()
|
||||
public static int getDate()
|
||||
{
|
||||
return Game1.dayOfMonth;
|
||||
}
|
||||
|
||||
public static string getDay()
|
||||
{
|
||||
return Game1.Date.DayOfWeek.ToString();
|
||||
}
|
||||
|
||||
public static int getMoney()
|
||||
{
|
||||
if(Game1.player == null)
|
||||
|
@@ -181,7 +181,7 @@ namespace stardew_access
|
||||
// Narrate time and season
|
||||
if (Equals(e.Button, SButton.Q))
|
||||
{
|
||||
string toSpeak = $"Time is {CurrentPlayer.getTimeOfDay()} and it is {CurrentPlayer.getDay()} of {CurrentPlayer.getSeason()}";
|
||||
string toSpeak = $"Time is {CurrentPlayer.getTimeOfDay()} and it is {CurrentPlayer.getDay()} {CurrentPlayer.getDate()} of {CurrentPlayer.getSeason()}";
|
||||
ScreenReader.say(toSpeak, true);
|
||||
}
|
||||
}
|
||||
|
@@ -17,7 +17,6 @@ namespace stardew_access.Patches
|
||||
if (__instance.transitioning)
|
||||
return;
|
||||
|
||||
|
||||
if (__instance.characterDialogue != null)
|
||||
{
|
||||
// For Normal Character dialogues
|
||||
|
Reference in New Issue
Block a user