private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { CurrentCiv = comboBox1.SelectedItem as Civilization; }
private void InitializeCivs() { Civilization civ = new Civilization(CivilizationNames.Britons); civ.ShepherdGatheringRateMod = 1.25; Civilizations.Add(civ); CurrentCiv = civ; civ = new Civilization(CivilizationNames.Byzantines); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Celts); civ.LumberjackGatheringRateMod = 1.15; Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Chinese); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Franks); civ.ForagerGatheringRateMod = 1.15; Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Goths); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Japanese); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Mongols); civ.HunterGatheringRateMod = 1.4; Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Persians); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Saracens); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Teutons); civ.FarmCostMod = 0.6; Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Turks); civ.GoldMinerGatheringRateMod = 1.2; Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Vikings); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Aztecs); civ.RelicIncomeMod = 1.2; civ.VillagerCapacityMod = 3; Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Huns); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Koreans); civ.StoneMinerGatheringRateMod = 1.2; Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Mayans); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Spanish); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Incas); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Indians); civ.FishermanGatheringRateMod = 1.1; Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Italians); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Magyars); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Slavs); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Berbers); civ.VillagerSpeedMod = 1.1; Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Ethiopians); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Malians); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Portuguese); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Burmese); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Khmer); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Malay); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Vietnamese); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Bulgarians); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Cumans); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Lithuanians); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Tatars); Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Burgundians); civ.RelicFoodIncomeMod = 1; Civilizations.Add(civ); civ = new Civilization(CivilizationNames.Sicilians); Civilizations.Add(civ); }