Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Original function by Craig_Sutter
- -- Modified version by Barbarian_King
- -- Derivative version by Crake
- -- Found a religion (function by Craig_Sutter)
- function FoundReligion(pCity, religion, pantheonBelief, founderBelief, followerBelief, followerBelief2, enhancerBelief)
- local iPlayer = pCity:GetOwner()
- local iReligion = GameInfoTypes[religion]
- -- Optional extra beliefs
- local iBelief4 = followerBelief2 and GameInfoTypes[followerBelief2] or -1
- local iBelief5 = enhancerBelief and GameInfoTypes[enhancerBelief] or -1
- Game.FoundPantheon(iPlayer, GameInfoTypes[pantheonBelief])
- Game.FoundReligion(iPlayer, iReligion, nil, GameInfoTypes[founderBelief], GameInfoTypes[followerBelief], iBelief4, iBelief5, pCity)
- end
- -- Set up the religions to be present in the scenario
- function SetupReligions()
- if Game.GetElapsedGameTurns() == 0 then
- for iPlayer=0, GameDefines.MAX_MAJOR_CIVS-1, 1 do
- local pPlayer = Players[iPlayer];
- print("Iterating players..." .. pPlayer:GetName());
- if pPlayer:IsEverAlive() then
- for cityIndex = 0, pPlayer:GetNumCities() - 1, 1 do
- local pCity = pPlayer:GetCityByID(cityIndex)
- -- Found Catholicism
- if pCity ~= nil and pCity:GetName() == "Rome" then
- FoundReligion(pCity, "RELIGION_CHRISTIANITY", "BELIEF_FERTILITY_RITES", "BELIEF_PAPAL_PRIMACY", "BELIEF_CATHEDRALS", "BELIEF_CHORAL_MUSIC", "BELIEF_HOLY_ORDER");
- print("Founding Christianity in " .. pCity:GetName());
- --return pCity;
- end
- -- Found Protestantism
- if pCity ~= nil and pCity:GetName() == "London" then
- FoundReligion(pCity, "RELIGION_PROTESTANTISM", "BELIEF_GOD_CRAFTSMEN", "BELIEF_TITHE", "BELIEF_RELIGIOUS_CENTER", "BELIEF_RELIGIOUS_COMMUNITY", "BELIEF_ITINERANT_PREACHERS");
- print("Founding Protestantism in " .. pCity:GetName());
- --return pCity;
- end
- -- Found Orthodoxy
- if pCity ~= nil and pCity:GetName() == "Constantinople" then
- FoundReligion(pCity, "RELIGION_ORTHODOXY", "BELIEF_RELIGIOUS_IDOLS", "BELIEF_CHURCH_PROPERTY", "BELIEF_MONASTERIES", "BELIEF_FORMAL_LITURGY", "BELIEF_RELIGIOUS_UNITY");
- print("Founding Orthodoxy in " .. pCity:GetName());
- --return pCity;
- end
- -- Found Islam
- if pCity ~= nil and pCity:GetName() == "Mecca" then
- FoundReligion(pCity, "RELIGION_ISLAM", "BELIEF_DESERT_FOLKLORE", "BELIEF_PILGRIMAGE", "BELIEF_MOSQUES", "BELIEF_DIVINE_INSPIRATION", "BELIEF_DEFENDER_FAITH");
- print("Founding Islam in " .. pCity:GetName());
- --return pCity;
- end
- -- Found Hinduism
- if pCity ~= nil and pCity:GetName() == "Delhi" then
- FoundReligion(pCity, "RELIGION_HINDUISM", "BELIEF_SACRED_WATERS", "BELIEF_INTERFAITH_DIALOGUE", "BELIEF_GURUSHIP", "BELIEF_PEACE_GARDENS", "BELIEF_MESSIAH");
- print("Founding Hinduism in " .. pCity:GetName());
- --return pCity;
- end
- -- Found Buddhism
- if pCity ~= nil and pCity:GetName() == "Lhasa" then
- FoundReligion(pCity, "RELIGION_BUDDHISM", "BELIEF_ANCESTOR_WORSHIP", "BELIEF_INITIATION_RITES", "BELIEF_PAGODAS", "BELIEF_FEED_WORLD", "BELIEF_RELIQUARY");
- print("Founding Buddhism in " .. pCity:GetName());
- --return pCity;
- end
- -- Found Shintoism
- if pCity ~= nil and pCity:GetName() == "Kyoto" then
- FoundReligion(pCity, "RELIGION_SHINTO", "BELIEF_GOD_SEA", "BELIEF_CEREMONIAL_BURIAL", "BELIEF_ASCETISM", "BELIEF_SWORD_PLOWSHARES", "BELIEF_JUST_WAR");
- print("Founding Shintoism in " .. pCity:GetName());
- --return pCity;
- end
- end
- end
- end
- end
- end
- Events.SequenceGameInitComplete.Add(SetupReligions);
- -- Add religions to all major player cities on the map
- function SpreadReligions()
- if Game.GetElapsedGameTurns() == 0 then
- for iPlayer=0, GameDefines.MAX_MAJOR_CIVS-1, 1 do
- local pPlayer = Players[iPlayer];
- if pPlayer:IsEverAlive() then
- print("Adding religions to the cities of " .. pPlayer:GetName());
- -- Enumerate cities
- for cityIndex = 0, pPlayer:GetNumCities() - 1, 1 do
- local pCity = pPlayer:GetCityByID(cityIndex);
- print("Cycling through cities.");
- -- City exists and has the proper name?
- -- Italy Start
- if pCity ~= nil and pCity:GetName() == "Genoa" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Rome" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Taranto" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Messina" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Palermo" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Cagliari" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Bosaso" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Mogadiscio" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Asmara" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- -- Italy End
- -- Spain Start
- if pCity ~= nil and pCity:GetName() == "La Coruna" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Madrid" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Barcelona" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Alicante" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Seville" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Mellila" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Santa Cruz" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Las Palmas" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Villa Cisneros" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- -- Spain End
- --France Start
- if pCity ~= nil and pCity:GetName() == "Marseille" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Lyon" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Bordeaux" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Paris" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Brest" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- --France End
- --Portugal Start
- if pCity ~= nil and pCity:GetName() == "Lisbon" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Ponta Delgada" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --Portugal End
- --England Start
- if pCity ~= nil and pCity:GetName() == "London" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Exeter" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Liverpool" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Newcastle" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Edinburgh" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Dublin" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --England end
- --Germany start
- if pCity ~= nil and pCity:GetName() == "Berlin" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Kiel" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Frankfurt" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Koningsberg" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- --Germany end
- --Netherlands start
- if pCity ~= nil and pCity:GetName() == "Amsterdam" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- --Netherlands end
- --Austro-Hungarian Empire start
- if pCity ~= nil and pCity:GetName() == "Vienna" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Budapest" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Prague" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Krakow" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- --Austro-Hungarian Empire end
- --Sweden start
- if pCity ~= nil and pCity:GetName() == "Bergen" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Oslo" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Stockholm" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Trondheim" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Harstad" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Lulea" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Tromso" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- --Sweden end
- --Imperial Russia start
- if pCity ~= nil and pCity:GetName() == "Murmansk" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Lesozavodskiy" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Helsinki" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Riga" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Warsaw" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Kursk" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Kiev" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Sevastopol" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "St. Petersburg" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Arkhangelsk" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Moscow" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Stalingrad" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Syktyvkar" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Novgorod" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Samara" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Perm" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Rostov" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Kostani" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Yekaterinburg" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Omsk" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Novosibirsk" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Baurnal" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Norilsk" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Kansk" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Chita" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Khabarovsk" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Magadan" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Vladivostok" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Petropavlosk" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Tiflis" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Aqtau" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Baikonur" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Astana" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Almaty" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --Imperial Russia end
- --Ottoman Empire start
- if pCity ~= nil and pCity:GetName() == "Thessaloniki" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Heraklion" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodox to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Istanbul" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Ankara" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Trabzon" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Baghdad" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Jerusalem" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Basra" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Mecca" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --Ottoman Empire end
- --Ottoman African Colonies start
- if pCity ~= nil and pCity:GetName() == "Benghazi" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Tripoli" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --Ottoman African colonies End
- --French West Africa start
- if pCity ~= nil and pCity:GetName() == "Tunis" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Fort Laperrine" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Timbuktu" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Djenne" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Dakar" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Fort Lamy" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Libreville" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Dijibouti" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Libreville" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Dijibouti" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Tananarive" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Saint-Denis" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --French West Africa end
- --English African colonies start
- if pCity ~= nil and pCity:GetName() == "Alexandria" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Khartoum" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Nairobi" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Mombasa" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Accra" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Abuja" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Lilongewe" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Gaberone" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Durban" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Cape Town" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Port Louis" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- --English African colonies end
- --German African colonies start
- if pCity ~= nil and pCity:GetName() == "Kigoma" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Zanzibar" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Garoua" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Lome" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Windhoek" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- --German African colonies end
- --Abyssinia start
- if pCity ~= nil and pCity:GetName() == "Addis Ababa" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Mek'ele" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --Abyssinia end
- --Portugal African colonies start
- if pCity ~= nil and pCity:GetName() == "Luanda" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Lourenco Marques" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Praria" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --Portugal African colonies end
- --English Arabian colonies start
- if pCity ~= nil and pCity:GetName() == "Aden" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Al Mukalla" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Muscat" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --English Arabian colonies end
- --Persia start
- if pCity ~= nil and pCity:GetName() == "Tabriz" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Tehran" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Bushehr" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Zahedan" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Mashhad" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Bandar Behesti" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --Perisa end
- --British India start
- if pCity ~= nil and pCity:GetName() == "Delhi" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_HINDUISM"]);
- print("Adding Hinduism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Hyderabad" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_HINDUISM"]);
- print("Adding Hinduism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Calcutta" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_HINDUISM"]);
- print("Adding Hinduism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Rangoon" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_HINDUISM"]);
- print("Adding Hinduism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Madras" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_HINDUISM"]);
- print("Adding Hinduism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Bombay" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_HINDUISM"]);
- print("Adding Hinduism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Kerala" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_HINDUISM"]);
- print("Adding Hinduism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Islamabad" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Karachi" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --British India end
- --British SEA colonies end
- if pCity ~= nil and pCity:GetName() == "Singapore" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Kuching" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Port Moresby" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Suva" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Tonga" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --British SEA colonies end
- --New Zealand
- if pCity ~= nil and pCity:GetName() == "Auckland" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Wellington" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Christchurch" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Queenstown" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- --New Zealand end
- --Dutch SEA start
- if pCity ~= nil and pCity:GetName() == "Palembang" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Surabaja" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Samarinda" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Kendari" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Sorong" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --Dutch SEA end
- --German SEA
- if pCity ~= nil and pCity:GetName() == "Finschhafen" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Herbertshohe" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Majuro" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Palikir" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --German SEA
- --Phillipines start
- if pCity ~= nil and pCity:GetName() == "Manila" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Guam" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Cebu" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Davao" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- --Phillipines end
- --French SEA
- if pCity ~= nil and pCity:GetName() == "Saigon" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Hanoi" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- --French SEA end
- --China
- if pCity ~= nil and pCity:GetName() == "Kunming" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Wuhan" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Shanghai" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Nanjing" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Tsingtao" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Chengdu" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Xi'an" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Peking" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Port Arthur" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Jining" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Chifeng" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Ulaanbataar" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Hulun Buir" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Harbin" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Shenyang" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Lhasa" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Gerze" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Turpan" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Urumqi" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Kashi" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Hong Kong" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Macau" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Taihoku" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- --china end
- --korea start
- if pCity ~= nil and pCity:GetName() == "Cheolsan" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Cheongjin" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Hanseong" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Cheju-do" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- --korea end
- --japan start
- if pCity ~= nil and pCity:GetName() == "Kagoshima" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Hiroshima" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_SHINTO"]);
- print("Adding Shinto to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Tokushima" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_SHINTO"]);
- print("Adding Shinto to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Kyoto" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_SHINTO"]);
- print("Adding Shinto to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Tokyo" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_SHINTO"]);
- print("Adding Shinto to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Sendai" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_SHINTO"]);
- print("Adding Shinto to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Sapporo" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_SHINTO"]);
- print("Adding Shinto to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Iwo Jima" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_SHINTO"]);
- print("Adding Shinto to " .. pCity:GetName());
- --japan end
- --australia start
- if pCity ~= nil and pCity:GetName() == "Melbourne" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Sydney" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Brisbane" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Cairns" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Darwin" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Alice Springs" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Karratha" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Perth" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Albany" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Esperance" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Adelaide" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Hobart" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --australia end
- --Canada start
- if pCity ~= nil and pCity:GetName() == "St. John's" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Cartwright" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Halifax" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Winisk" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Thunder Bay" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Churchill" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Winnipeg" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Calgary" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Edmonton" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Whitehorse" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Vancouver" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Toronto" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Ottawa" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --canada end
- --USA start
- if pCity ~= nil and pCity:GetName() == "Boston" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "New York" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Washington" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Detroit" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Atlanta" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "St. Louis" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "New Orleans" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Miami" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Dallas" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Phoenix" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Denver" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Salt Lake City" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "San Francisco" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Los Angeles" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Seattle" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Honolulu" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Pearl Harbor" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Fairbanks" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Anchorage" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- --america end
- --mexico start
- if pCity ~= nil and pCity:GetName() == "Juarez" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Monterrey" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Cabo San Lucas" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Mexico City" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Merida" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --mexico end
- --england caribbean start
- if pCity ~= nil and pCity:GetName() == "Kingston" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --england caribbean end
- --brazil
- if pCity ~= nil and pCity:GetName() == "Manuas" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Sao Luis" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Recife" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Palmas" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Aracaju" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Porto Velho" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Baurau" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Rio de Janeiro" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Sao Paulo" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --SA colonies start
- if pCity ~= nil and pCity:GetName() == "Georgetown" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Paramibio" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Cayenne" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --SA colonies end
- --Argentina start
- if pCity ~= nil and pCity:GetName() == "Cordoba" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Buenos Aires" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Bahia Blanca" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Santa Cruz" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Tierra Del Fuego" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- --Argentina end
- --French Pacific start
- if pCity ~= nil and pCity:GetName() == "Papeete" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- if pCity ~= nil and pCity:GetName() == "Anau" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --French Pacific end
- end
- end
- end
- end
- end
- end
- Events.SequenceGameInitComplete.Add(SpreadReligions);
- function SpreadReligionsCS()
- print("Adding Religions to City States");
- if Game.GetElapsedGameTurns() == 0 then
- for iPlayer=GameDefines.MAX_MAJOR_CIVS, GameDefines.MAX_CIV_PLAYERS-1, 1 do
- local pPlayer = Players[iPlayer];
- if pPlayer:IsEverAlive() then
- print("Adding religions to the cities of " .. pPlayer:GetName());
- -- Enumerate cities
- for cityIndex = 0, pPlayer:GetNumCities() - 1, 1 do
- local pCity = pPlayer:GetCityByID(cityIndex);
- print("Cycling through cities.");
- -- City exists and has the proper name?
- --Colombia
- if pCity ~= nil and pCity:GetName() == "Panama City" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- elseif pCity ~= nil and pCity:GetName() == "Bogota" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --Colombia
- --Venezuela
- elseif pCity ~= nil and pCity:GetName() == "Caracas" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --Venezuela
- --Haiti - Dominican Republic
- elseif pCity ~= nil and pCity:GetName() == "Port-au-Prince" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- elseif pCity ~= nil and pCity:GetName() == "Santo Domingo" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --Haiti - Dominican Republic
- --Cuba
- elseif pCity ~= nil and pCity:GetName() == "Havana" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --Cuba
- --Ecuador
- elseif pCity ~= nil and pCity:GetName() == "Quito" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- elseif pCity ~= nil and pCity:GetName() == "Puerto Baquerizo" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --Ecuador
- --Peru
- elseif pCity ~= nil and pCity:GetName() == "Iquitos" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- elseif pCity ~= nil and pCity:GetName() == "Piura" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- elseif pCity ~= nil and pCity:GetName() == "Yarinacocha" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- elseif pCity ~= nil and pCity:GetName() == "Lima" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --Peru
- --Chile
- elseif pCity ~= nil and pCity:GetName() == "Hanga Roa" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- elseif pCity ~= nil and pCity:GetName() == "Iquique" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- elseif pCity ~= nil and pCity:GetName() == "Santiago" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- elseif pCity ~= nil and pCity:GetName() == "Punta Arenas" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --Chile
- --Bolivia
- elseif pCity ~= nil and pCity:GetName() == "La Paz" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --Bolivia
- --Paraguay
- elseif pCity ~= nil and pCity:GetName() == "Asuncion" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --Paraguay
- --Uruguay
- elseif pCity ~= nil and pCity:GetName() == "Montevideo" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --Uruguay
- --Belgium
- elseif pCity ~= nil and pCity:GetName() == "Brussels" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- elseif pCity ~= nil and pCity:GetName() == "Leopoldville" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- elseif pCity ~= nil and pCity:GetName() == "Boma" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- elseif pCity ~= nil and pCity:GetName() == "Bukhama" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --Belgium
- --Switzerland
- elseif pCity ~= nil and pCity:GetName() == "Bern" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
- print("Adding Catholicism to " .. pCity:GetName());
- --Switzerland
- --Iceland
- elseif pCity ~= nil and pCity:GetName() == "Reykjavik" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- --Iceland
- --Denmark
- elseif pCity ~= nil and pCity:GetName() == "Copenhagen" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_PROTESTANTISM"]);
- print("Adding Protestantism to " .. pCity:GetName());
- --Denmark
- --Bulgaria
- elseif pCity ~= nil and pCity:GetName() == "Sofia" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodoxy to " .. pCity:GetName());
- --Bulgaria
- --Romania
- elseif pCity ~= nil and pCity:GetName() == "Bucharest" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodoxy to " .. pCity:GetName());
- --Romania
- --Serbia
- elseif pCity ~= nil and pCity:GetName() == "Belgrade" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodoxy to " .. pCity:GetName());
- --Serbia
- --Greece
- elseif pCity ~= nil and pCity:GetName() == "Athens" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ORTHODOXY"]);
- print("Adding Orthodoxy to " .. pCity:GetName());
- --Greece
- --Egypt
- elseif pCity ~= nil and pCity:GetName() == "Cairo" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- elseif pCity ~= nil and pCity:GetName() == "al-Qasr" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --Egypt
- --Morocco
- elseif pCity ~= nil and pCity:GetName() == "Rabat" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --Morocco
- --Arabian Tribes
- elseif pCity ~= nil and pCity:GetName() == "Riyadh" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --Arabian Tribes
- --Afghanistan
- elseif pCity ~= nil and pCity:GetName() == "Kabul" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_ISLAM"]);
- print("Adding Islam to " .. pCity:GetName());
- --Afghanistan
- --Nepal-Bhutan
- elseif pCity ~= nil and pCity:GetName() == "Kathmandu" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- elseif pCity ~= nil and pCity:GetName() == "Thimphu" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_BUDDHISM"]);
- print("Adding Buddhism to " .. pCity:GetName());
- --Nepal-Bhutan
- --Thailand
- elseif pCity ~= nil and pCity:GetName() == "Bangkok" then
- pCity:AdoptReligionFully(GameInfoTypes["RELIGION_HINDUISM"]);
- print("Adding Hinduism to " .. pCity:GetName());
- end
- end
- end
- end
- end
- end
- Events.SequenceGameInitComplete.Add(SpreadReligionsCS);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement