Merge pull request #8 from TrueBlindGaming/master

adding old master cannoli
master
Mohammad Shoaib 2022-02-13 20:39:54 +05:30 committed by GitHub
commit e3dc176c83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -902,15 +902,18 @@ namespace stardew_access.Features
public static string? getStumpsInWoods(int x, int y) public static string? getStumpsInWoods(int x, int y)
{ {
if (Game1.currentLocation is not Woods) if (Game1.currentLocation is not Woods)
{
return null; return null;
if ((x == 8 || x == 9) && y == 7)
{
return "Old Master Cannoli";
} }
Netcode.NetObjectList<ResourceClump> stumps = ((Woods)Game1.currentLocation).stumps; Netcode.NetObjectList<ResourceClump> stumps = ((Woods)Game1.currentLocation).stumps;
for (int i = 0; i < stumps.Count; i++) for (int i = 0; i < stumps.Count; i++)
{ {
if (stumps[i].occupiesTile(x, y)) if (stumps[i].occupiesTile(x, y))
{ {
return "large stump"; return "Large Stump";
} }
} }
return null; return null;