Changed b key to c in buildingNAnimal menu
parent
b1056a6cd1
commit
923ad61580
|
@ -125,7 +125,7 @@ namespace stardew_access.Patches
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int x = Game1.getMouseX(true), y = Game1.getMouseY(true); // Mouse x and y position
|
int x = Game1.getMouseX(true), y = Game1.getMouseY(true); // Mouse x and y position
|
||||||
bool isBPressed = Game1.input.GetKeyboardState().IsKeyDown(Microsoft.Xna.Framework.Input.Keys.B);
|
bool isCPressed = Game1.input.GetKeyboardState().IsKeyDown(Microsoft.Xna.Framework.Input.Keys.C);
|
||||||
string ingredients = "";
|
string ingredients = "";
|
||||||
string name = currentBluprint.displayName;
|
string name = currentBluprint.displayName;
|
||||||
string upgradeName = currentBluprint.nameOfBuildingToUpgrade;
|
string upgradeName = currentBluprint.nameOfBuildingToUpgrade;
|
||||||
|
@ -162,7 +162,7 @@ namespace stardew_access.Patches
|
||||||
|
|
||||||
blueprintInfo = $"{name}, Price: {price}, Ingredients: {ingredients}, Dimensions: {width} width and {height} height, Description: {description}";
|
blueprintInfo = $"{name}, Price: {price}, Ingredients: {ingredients}, Dimensions: {width} width and {height} height, Description: {description}";
|
||||||
|
|
||||||
if (isBPressed && !isSayingBlueprintInfo)
|
if (isCPressed && !isSayingBlueprintInfo)
|
||||||
{
|
{
|
||||||
SayBlueprintInfo(blueprintInfo);
|
SayBlueprintInfo(blueprintInfo);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue