示例#1
0
        protected override bool PrivateSatisfies(ManagerCareer manager, SimDescription sim, Lot newLot, bool inspecting)
        {
            if (inspecting)
            {
                return(true);
            }

            if (sim.Occupation is Retired)
            {
                return(false);
            }

            if (sim.Elder)
            {
                return(false);
            }

            return(ManagerSituation.FindLotType(CommercialLotSubType.kEP2_FireStation) != null);
        }
示例#2
0
        protected override bool PrivateSatisfies(ManagerCareer manager, SimDescription sim, Lot newLot, bool inspecting)
        {
            if (!inspecting)
            {
                if (sim.Occupation is Retired)
                {
                    return(false);
                }

                if (ManagerSituation.FindLotType(CommercialLotSubType.kEP2_Salon) == null)
                {
                    return(false);
                }
            }

            if ((newLot == null) || (newLot.CountObjects <DraftingTable>() == 0))
            {
                return(false);
            }

            return(true);
        }