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

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