Exemplo n.º 1
0
 public override AlertReport GetReport()
 {
     if (!ModsConfig.RoyaltyActive)
     {
         return(false);
     }
     return(AlertReport.CulpritsAre(ActivatorCountdowns));
 }
 public override AlertReport GetReport()
 {
     if (!ModsConfig.RoyaltyActive)
     {
         return(false);
     }
     return(AlertReport.CulpritsAre(Targets));
 }
Exemplo n.º 3
0
 public override AlertReport GetReport()
 {
     if (GenDate.DaysPassed < 1)
     {
         return(false);
     }
     return(AlertReport.CulpritsAre(this.IdleColonists));
 }
Exemplo n.º 4
0
 public override AlertReport GetReport()
 {
     if (!Prefs.DevMode)
     {
         return(false);
     }
     return(AlertReport.CulpritsAre(this.HypothermicAnimals));
 }
Exemplo n.º 5
0
 public override AlertReport GetReport()
 {
     if (!ModsConfig.RoyaltyActive)
     {
         return(false);
     }
     return(AlertReport.CulpritsAre(DisallowedBuildings));
 }
Exemplo n.º 6
0
 public override AlertReport GetReport()
 {
     if (Find.AnyPlayerHomeMap == null)
     {
         return(false);
     }
     return(AlertReport.CulpritsAre(this.Patients));
 }
 public override AlertReport GetReport()
 {
     if (BreakRiskAlertUtility.PawnsAtRiskExtreme.Any() || BreakRiskAlertUtility.PawnsAtRiskMajor.Any())
     {
         return(false);
     }
     return(AlertReport.CulpritsAre(BreakRiskAlertUtility.PawnsAtRiskMinor));
 }
Exemplo n.º 8
0
        public override AlertReport GetReport()
        {
            Map map = MapWithMissingWarmClothes();

            if (map == null)
            {
                return(false);
            }
            colonistsWithoutWarmClothes.Clear();
            GetColonistsWithoutWarmClothes(map, colonistsWithoutWarmClothes);
            return(AlertReport.CulpritsAre(colonistsWithoutWarmClothes));
        }
Exemplo n.º 9
0
        public override AlertReport GetReport()
        {
            AlertReport result;

            if (GenDate.DaysPassed < 1)
            {
                result = false;
            }
            else
            {
                result = AlertReport.CulpritsAre(this.IdleColonists);
            }
            return(result);
        }
        public override AlertReport GetReport()
        {
            AlertReport result;

            if (!Prefs.DevMode)
            {
                result = false;
            }
            else
            {
                result = AlertReport.CulpritsAre(this.HypothermicAnimals);
            }
            return(result);
        }
Exemplo n.º 11
0
        public override AlertReport GetReport()
        {
            AlertReport result;

            if (BreakRiskAlertUtility.PawnsAtRiskExtreme.Any <Pawn>() || BreakRiskAlertUtility.PawnsAtRiskMajor.Any <Pawn>())
            {
                result = false;
            }
            else
            {
                result = AlertReport.CulpritsAre(BreakRiskAlertUtility.PawnsAtRiskMinor);
            }
            return(result);
        }
Exemplo n.º 12
0
        public override AlertReport GetReport()
        {
            AlertReport result;

            if (Find.AnyPlayerHomeMap == null)
            {
                result = false;
            }
            else
            {
                result = AlertReport.CulpritsAre(this.Patients);
            }
            return(result);
        }
Exemplo n.º 13
0
        public override AlertReport GetReport()
        {
            if (!TraderPawns.Any() && !TraderShips.Any())
            {
                return(false);
            }

            var targetList = new List <Thing>();

            foreach (var trader in TraderPawns)
            {
                targetList.Add(trader);
            }

            foreach (var ship in TraderShips)
            {
                targetList.Add(ship);
            }

            return(AlertReport.CulpritsAre(targetList));
        }
Exemplo n.º 14
0
 public override AlertReport GetReport()
 {
     return(AlertReport.CulpritsAre(this.AffectedPawns()));
 }
Exemplo n.º 15
0
 public override AlertReport GetReport()
 {
     return(AlertReport.CulpritsAre(HypothermiaDangerColonists));
 }
Exemplo n.º 16
0
 public override AlertReport GetReport()
 {
     return(AlertReport.CulpritsAre(Targets));
 }
Exemplo n.º 17
0
 public override AlertReport GetReport()
 {
     return(AlertReport.CulpritsAre(this.ImmobileCaravans));
 }
Exemplo n.º 18
0
 public override AlertReport GetReport()
 {
     return(AlertReport.CulpritsAre(ExhaustedColonists));
 }
 public override AlertReport GetReport()
 {
     return(AlertReport.CulpritsAre(this.HuntersWithoutRangedWeapon));
 }
Exemplo n.º 20
0
 public static AlertReport CulpritsAre(IEnumerable <Building> culprits)
 {
     return(AlertReport.CulpritsAre((culprits == null) ? null : culprits.Select(AlertReport.BuildingToTargetInfo)));
 }
 public override AlertReport GetReport()
 {
     return(AlertReport.CulpritsAre(BreakRiskAlertUtility.PawnsAtRiskExtreme.Concat(BreakRiskAlertUtility.PawnsAtRiskMajor)));
 }
Exemplo n.º 22
0
 public override AlertReport GetReport()
 {
     return(AlertReport.CulpritsAre(ShieldUsersWithRangedWeapon));
 }
Exemplo n.º 23
0
 public override AlertReport GetReport()
 {
     return(AlertReport.CulpritsAre(StarvingColonists));
 }
Exemplo n.º 24
0
 public override AlertReport GetReport()
 {
     return(AlertReport.CulpritsAre(BoredPawns));
 }
 public override AlertReport GetReport()
 {
     return(AlertReport.CulpritsAre(this.SickPawns));
 }
Exemplo n.º 26
0
 public static AlertReport CulpritsAre(IEnumerable <WorldObject> culprits)
 {
     return(AlertReport.CulpritsAre((culprits == null) ? null : culprits.Select(AlertReport.WorldObjectToTargetInfo)));
 }
 public override AlertReport GetReport()
 {
     return(AlertReport.CulpritsAre(this.BadHunters));
 }
Exemplo n.º 28
0
 public static AlertReport CulpritsAre(IEnumerable <Caravan> culprits)
 {
     return(AlertReport.CulpritsAre((culprits == null) ? null : culprits.Select(AlertReport.CaravanToTargetInfo)));
 }
Exemplo n.º 29
0
 public override AlertReport GetReport()
 {
     return(AlertReport.CulpritsAre(ColonistsNeedingRescue));
 }
 public override AlertReport GetReport()
 {
     return(AlertReport.CulpritsAre(AwaitingMedicalOperation));
 }