public Dictionary<string, SavedSettlementInfo> GetSettlementsInfo()
 {
     Dictionary<string, SavedSettlementInfo> returnValue = new Dictionary<string, SavedSettlementInfo>();
     foreach (SavedObject1 o in _objects)
     {
         if (SettlementInfoLookup.SettlementList.ContainsKey(o.Index))
         {
             SettlementInfo i = SettlementInfoLookup.SettlementList[o.Index];
             SavedSettlementInfo i2 = new SavedSettlementInfo(i, o.Count, o.HasBeenDiscovered == 1, false);
             returnValue.Add(i.ID, i2);
         }
     }
     return returnValue;
 }
        public Dictionary <string, SavedSettlementInfo> GetSettlementsInfo()
        {
            Dictionary <string, SavedSettlementInfo> returnValue = new Dictionary <string, SavedSettlementInfo>();

            foreach (SavedObject1 o in _objects)
            {
                if (SettlementInfoLookup.SettlementList.ContainsKey(o.NameHash))
                {
                    SettlementInfo      i  = SettlementInfoLookup.SettlementList[o.NameHash];
                    SavedSettlementInfo i2 = new SavedSettlementInfo(i, o.Count, o.HasBeenDiscovered == 1, o.HasBeenOvertaken == 1);
                    returnValue.Add(i.ID, i2);
                }
            }
            return(returnValue);
        }