Exemplo n.º 1
0
        private static void HandleGameStats(Decorators.FarmAnimal moddedAnimal)
        {
            try
            {
                switch (moddedAnimal.GetDefaultProduce())
                {
                case 176:
                case 180:
                    ++Game1.stats.ChickenEggsLayed;
                    break;

                case 440:
                    ++Game1.stats.RabbitWoolProduced;
                    break;

                case 442:
                    ++Game1.stats.DuckEggsLayed;
                    break;
                }
            }
            catch
            {
            }
        }