Added alt + k to narrate current location name
This commit is contained in:
@@ -175,12 +175,19 @@ namespace stardew_access
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Narrate Position
|
// Narrate Position
|
||||||
if (Equals(e.Button, SButton.K))
|
if (Equals(e.Button, SButton.K) && !isLeftAltPressed)
|
||||||
{
|
{
|
||||||
string toSpeak = $"X: {CurrentPlayer.getPositionX()} , Y: {CurrentPlayer.getPositionY()}";
|
string toSpeak = $"X: {CurrentPlayer.getPositionX()} , Y: {CurrentPlayer.getPositionY()}";
|
||||||
MainClass.GetScreenReader().Say(toSpeak, true);
|
MainClass.GetScreenReader().Say(toSpeak, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Narrate Current Location
|
||||||
|
if (Equals(e.Button, SButton.K) && isLeftAltPressed)
|
||||||
|
{
|
||||||
|
string toSpeak = $"{Game1.currentLocation.Name}";
|
||||||
|
MainClass.GetScreenReader().Say(toSpeak, true);
|
||||||
|
}
|
||||||
|
|
||||||
// Narrate money at hand
|
// Narrate money at hand
|
||||||
if (Equals(e.Button, SButton.R))
|
if (Equals(e.Button, SButton.R))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user