Added date and day to time and day narrator
parent
8a288b76c5
commit
e71bdf0e09
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue