Example #1
0
 private void ScanLocationForFruit(GameLocation location)
 {
     for (int height = 4; height < 9; height++)
     {
         for (int width = 2; width < 11; width++)
         {
             if (location.TileIsReadyForHarvest(height, width))
             {
                 var message = Helper.Translation.Get("news-feed.bats-dropped-fruit-notice");
                 Game1.addHUDMessage(new HUDMessage(message, 2));
                 return;
             }
         }
     }
 }