adding old master cannoli

master
TrueBlindGaming 2022-02-13 07:33:35 -06:00
parent 6c78c9dbd3
commit e727cd6532
1 changed files with 7 additions and 5 deletions

View File

@ -750,20 +750,22 @@ CommunityCenter communityCenter = (Game1.currentLocation as CommunityCenter);
return null; return null;
} }
public static string? getStumpsInWoods(int x, int y) public static string? getStumpsInWoods(int x, int y)
{ {
string strIndex = null;
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;