private void SetupPlayerCaravanVariables() { Caravan caravan = TradeSession.playerNegotiator.GetCaravan(); if (caravan != null) { this.playerIsCaravan = true; this.playerCaravanAllPawnsAndItems = new List <Thing>(); List <Pawn> pawnsListForReading = caravan.PawnsListForReading; for (int i = 0; i < pawnsListForReading.Count; i++) { this.playerCaravanAllPawnsAndItems.Add(pawnsListForReading[i]); } this.playerCaravanAllPawnsAndItems.AddRange(CaravanInventoryUtility.AllInventoryItems(caravan)); caravan.Notify_StartedTrading(); } else { this.playerIsCaravan = false; } }