Added tree, grass, cosmetic plant, flooring, fruit tree to read tile

This commit is contained in:
shoaib11120
2021-12-16 19:00:51 +05:30
parent 6c6c7bdecf
commit c4bdfe2784
3 changed files with 90 additions and 8 deletions

View File

@@ -346,13 +346,11 @@ namespace stardew_access.Patches
bool isNextArrowPressed = Game1.input.GetKeyboardState().IsKeyDown(Microsoft.Xna.Framework.Input.Keys.Right);
bool isPrevArrowPressed = Game1.input.GetKeyboardState().IsKeyDown(Microsoft.Xna.Framework.Input.Keys.Left);
bool isLPressed = Game1.input.GetKeyboardState().IsKeyDown(Microsoft.Xna.Framework.Input.Keys.L);
bool isJPressed = Game1.input.GetKeyboardState().IsKeyDown(Microsoft.Xna.Framework.Input.Keys.J);
if ((isNextArrowPressed || isLPressed ) && !isRunning)
if (isNextArrowPressed && !isRunning)
{
_ = CycleThroughItems(true, ___nameBox, ___farmnameBox, ___favThingBox, ___skipIntroButton, ___okButton, ___backButton);
}
else if ((isPrevArrowPressed || isJPressed) && !isRunning)
else if (isPrevArrowPressed && !isRunning)
{
_ = CycleThroughItems(false, ___nameBox, ___farmnameBox, ___favThingBox, ___skipIntroButton, ___okButton, ___backButton);
}