Пример #1
0
        protected override bool Allow(SimDescription sim)
        {
            if (!Personalities.Allow(this, Sim))
            {
                IncStat("Personality Denied");
                return(false);
            }

            return(base.Allow(sim));
        }
Пример #2
0
        protected override bool CommonAllow(SimDescription sim)
        {
            if (!Personalities.Allow(this, sim))
            {
                IncStat("User Denied");
                return(false);
            }

            return(base.CommonAllow(sim));
        }
Пример #3
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));
        }