public RemasterDescr_Strat(bool is_bi = false) : base() { coreAttitudes = new CoreAttitudes <int>("core_attitudes"); factionRelationships = new CoreAttitudes <int>("faction_relationships"); this.is_bi = is_bi; }
void RemoveSenateRelations(ref CoreAttitudes <int> coreA) { coreA.attitudes.Remove("romans_senate"); foreach (var attitude in coreA.attitudes) { int index = -1; foreach (var temp in attitude.Value) { index = temp.Value.FindIndex(x => x == "romans_senate"); if (index > -1) { attitude.Value[temp.Key].RemoveAt(index); } } } }
public Descr_Strat() : base(FileNames.descr_strat, @"data\world\maps\campaign\imperial_campaign\descr_strat.txt", "Campaign Info and Setup") { coreAttitudes = new CoreAttitudes <int>("core_attitudes"); factionRelationships = new CoreAttitudes <int>("faction_relationships"); }