public static bool CanFormCaravanAt(IEnumerable <IThingHolder> pods, int tile)
 {
     if (TransportPodsArrivalActionUtility.AnyPotentialCaravanOwner(pods, Faction.OfPlayer))
     {
         return(!Find.World.Impassable(tile));
     }
     return(false);
 }
Example #2
0
 public static FloatMenuAcceptanceReport CanVisit(IEnumerable <IThingHolder> pods, SettlementBase settlement)
 {
     if (settlement == null || !settlement.Spawned || !settlement.Visitable)
     {
         return(false);
     }
     if (!TransportPodsArrivalActionUtility.AnyPotentialCaravanOwner(pods, Faction.OfPlayer))
     {
         return(false);
     }
     return(true);
 }