Changed b key to c in buildingNAnimal menu

master
Mohammad Shoaib 2022-05-16 21:35:01 +05:30
parent b1056a6cd1
commit 923ad61580
1 changed files with 2 additions and 2 deletions

View File

@ -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);
} }