Exemple #1
0
        protected override bool Allow(SimDescription sim)
        {
            if (!Personalities.Allow(this, sim))
            {
                IncStat("User Denied");
                return(false);
            }
            else if ((mCheckAny) && (HouseholdsEx.NumPets(sim.Household) > 0))
            {
                IncStat("Has Pets");
                return(false);
            }

            return(base.Allow(sim));
        }