Пример #1
0
        public override bool PreCalculateDroppingSpot()
        {
            pawnList = IncidentInterceptorUtility.GenerateRaidPawns(parms);
            IncidentInterceptorUtility.IsIntercepting_GroupSpliter = GeneratorPatchFlag.Generate;
            GroupList = PawnsArrivalModeWorkerUtility.SplitIntoRandomGroupsNearMapEdge(pawnList, parms.target as Map, false);
            storage   = new GroupListStorage(GroupList);
            PawnsArrivalModeWorkerUtility.SetPawnGroupsInfo(parms, GroupList);
            var list1 = new List <TargetInfo>();

            foreach (var pair in GroupList)
            {
                if (pair.First.Count > 0)
                {
                    list1.Add(new TargetInfo(pair.Second, parms.target as Map, false));
                }
            }
            lookTargets = list1;
            return(true);
        }
Пример #2
0
 public override bool ManualDeterminParams()
 {
     pawnList = IncidentInterceptorUtility.GenerateRaidPawns(parms);
     ResolveLookTargets();
     return(true);
 }