public virtual void TryNotifyCaravanIntel()
 {
     if (incident.IntelLevel == IncidentIntelLevel.Unknown)
     {
         return;
     }
     if (relationInformed)
     {
         return;
     }
     if (incident.IntelLevel == IncidentIntelLevel.Neutral)
     {
         if (incident is InterceptedIncident_AnimalHerd)
         {
             Messages.Message("PES_Neutral_Message_Animal".Translate(), MessageTypeDefOf.NeutralEvent);
         }
         else
         {
             Messages.Message("PES_Neutral_Message".Translate(), MessageTypeDefOf.NeutralEvent);
         }
     }
     else
     {
         if (incident is InterceptedIncident_AnimalHerd)
         {
             SparkUILetter.Make("PES_Hostile_Confirmed".Translate(), "PES_Hostile_Text_Animal".Translate(), LetterDefOf.ThreatBig, this);
         }
         else
         {
             SparkUILetter.Make("PES_Hostile_Confirmed".Translate(), "PES_Hostile_Text_Human".Translate(), LetterDefOf.ThreatBig, this);
         }
     }
     relationInformed = true;
 }
 public override void confirmMessage()
 {
     SparkUILetter.Make("PES_Warning_DropPodAssault".Translate(), "PES_Warning_DropPodAssault_Text".Translate(), LetterDefOf.ThreatBig, parentCaravan);
     Find.TickManager.slower.SignalForceNormalSpeedShort();
 }
示例#3
0
 public override void confirmMessage()
 {
     SparkUILetter.Make("PES_Warning_Meteorite".Translate(), "PES_Warning_Meteorite_Text".Translate(), LetterDefOf.NeutralEvent, parentCaravan);
 }