public static void EnterMapWithShip(LandedShip caravan, Map map, CaravanEnterMode enterMode) { IntVec3 enterCell = TravelingShipsUtility.CenterCell(map); Func <ShipBase, IntVec3> spawnCellGetter = (ShipBase p) => CellFinder.RandomSpawnCellForPawnNear(enterCell, map); TravelingShipsUtility.Enter(caravan, map, spawnCellGetter); }
public static void EnterMapWithShip(WorldShip worldShip, Map map, IntVec3 targetCell, ShipArrivalAction arrivalAction, PawnsArrivalModeDef pawnsArrivalMode) { TravelingShipsUtility.Enter(worldShip, map, targetCell, arrivalAction, pawnsArrivalMode); }
public static void EnterMapWithShip(LandedShip caravan, Map map) { TravelingShipsUtility.ReimbarkPawnsFromLandedShip(caravan); TravelingShipsUtility.Enter(caravan, map); }