public void OnClick()
    {
        if (Group == null)
        {
            return;
        }
        if (Group.Type == EntityGroup.GroupType.Traders)
        {
            EntityGroupCaravan car = Group as EntityGroupCaravan;
            if (car != null)
            {
                string info = string.Format("Caravan is travelling from {0} to {1}, with the following trade: \n", car.StartChunk, car.EndChunk);
                // Debug.Log(string.Format("Caravan is travelling from {0} to {1}, with the following trade: ", car.StartChunk, car.EndChunk));

                foreach (KeyValuePair <EconomicItem, int> kvp in car.Trade)
                {
                    info += string.Format("{0} : {1} - £{2}\n", kvp.Key, kvp.Value, kvp.Value * kvp.Key.Value);
                }
                Debug.Log(info);
            }
            EntityGroupVillageTrader farm = Group as EntityGroupVillageTrader;
            if (farm != null)
            {
                string inv = "";
                foreach (KeyValuePair <EconomicItem, int> kvp in farm.EconomicInventory.GetAllItems())
                {
                    inv += string.Format("{0} - {1}\n", kvp.Key, kvp.Value);
                }
                Debug.Log(inv);
            }
        }
    }
 private void SetCaravan(EntityGroupCaravan caravan)
 {
     Text.text = "Ca";
 }