Added alt + k to narrate current location name
parent
18a671d97a
commit
99961d8e62
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue