I've been trying to add religion to my scenario/mod, and since I'm a Lua newbie I've been using this Lua script guide:

Here is my modified file:
But when I load up the mod, all I get is a minimal religion overview screen with no world religions that I can't close out of. What am I doing wrong?

Here is my modified file:
Spoiler :
function EstablishChristian()
if Game.GetElapsedGameTurns() == 0 then
function CreateChristianHolyCity(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], -1, -1, pCity)
Game.EnhanceReligion(iPlayer, iReligion, GameInfoTypes[followerBelief2], GameInfoTypes[enhancerBelief]);
end
function FoundChristianity()
for iPlayer=0, GameDefines.MAX_CIV_PLAYERS - 1 do
local pPlayer = Players[iPlayer]
if (pPlayer:IsEverAlive()) then
for pCity in pPlayer:Cities() do
-- City exists and has the proper name?
if pCity ~= nil and pCity:GetName() == "Rome" then
CreateChristianHolyCity(pCity, "RELIGION_CHRISTIANITY", "BELIEF_GOD_CRAFTSMEN",
"BELIEF_INITIATION_RITES", "BELIEF_CATHEDRALS1", "BELIEF_STATE_CHURCH", "BELIEF_RELIGIOUS_TEXTS");
print ("okay, Rome is the Catholic holy city")
return pCity
end
end
end
end
end
local pChristianPlot = FoundChristianity()
lot()
end
end
Events.ActivePlayerTurnEnd.Add(FollowChristianity)
-- Enumerate Playable Civ Cities with Confucianism
function FollowChristianity()
if Game.GetGameTurn() == 0 then
for iPlayer=0, GameDefines.MAX_CIV_PLAYERS - 1 do
local pPlayer = Players[iPlayer];
if pPlayer:IsEverAlive() then
print (pPlayer:GetName())
-- Enumerate cities
for cityIndex = 0, pPlayer:GetNumCities() - 1, 1 do
local pCity = pPlayer:GetCityByID(cityIndex)
print (pCity:GetName());
-- City exists and has the proper name?
if pCity ~= nil and city:GetName() == "Benevento" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Civitavecchia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Frosinane" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Perugia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Nettuno" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Catania" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Rieti" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Tivoli" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Terracina" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Aquila" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Agropoli" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Bari" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Barletta" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Brindisi" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Capua" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Catanzaro" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Teramo" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Termoli" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Foggia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Manfredonia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Campobasso" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Sulmona" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Gaeta" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Naples" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Melfi" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Potenza" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Policuro" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Tarranto" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Salerno" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Monopoli" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Leece" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Gagliano del Capo" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Corigliano Calabro" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Cosenza" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Crotone" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Vibo Valentia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Gioia Tauro" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Reggio Calabria" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Lipari" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Messina" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Taormina" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Syracuse" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Gela" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Agrigento" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Caltanissetta" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Sciatta" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Marsala" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Palermo" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Mdina" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Chia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Sant'Antiocco" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Iglesias" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Cagliari" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Costa Rei" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Muravera" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Tortoli" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Orosei" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Olbia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Palau" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Valledoria" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Ozieri" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Macomer" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Nuoro" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Bosa" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Sassari" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Porto Torrres" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Oristano" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Guspini" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Fordongianus" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Bonifacio" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Porto-Vecchio" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Ajaccio" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Calvi" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Bastia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Ancona" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "San Benedetto" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Civitanova" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Senigallia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Pesaro" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Urbino" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Arezzo" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Sovana" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Grosseto" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Volterra" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Siena" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Torrita" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Montalcino" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Castiglione d'Orcia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "San Marino" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Florence" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Montevarchi" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "San Gimigiano" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Pisa" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Livorno" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Cecina" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Piombino" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Portoferraio" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Lucca" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Modena" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Sestola" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Bologna" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Ravenna" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Ferrara" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Treviso" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Padua" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Vicenza" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Aquilea" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Verona" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Mantua" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Reggio" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Cremona" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Parma" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Brescia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Bergamo" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Piacenza" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Bobbio" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Pavia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Alessandria" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Montferrat" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Asti" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Saluzzo" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Tenda" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Savona" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Nizza" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Genoa" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Rapollo" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "La Spezia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Omeglia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Sanremo" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Turin" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Susa" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Aosta" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Bourg-Saint-Maurice" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Chamonix" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Chambéry" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Thonon-les-Bains" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Geneva" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Milan" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Saranno" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Varese" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Como" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Novara" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Ragusa" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Stagno" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Klagenfurt" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Trent" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Venice" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Choggia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Caorle" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
return pCity
end
end
end
end
end
end
Events.SequenceGameInitComplete.Add(EstablishChristian)
if Game.GetElapsedGameTurns() == 0 then
function CreateChristianHolyCity(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], -1, -1, pCity)
Game.EnhanceReligion(iPlayer, iReligion, GameInfoTypes[followerBelief2], GameInfoTypes[enhancerBelief]);
end
function FoundChristianity()
for iPlayer=0, GameDefines.MAX_CIV_PLAYERS - 1 do
local pPlayer = Players[iPlayer]
if (pPlayer:IsEverAlive()) then
for pCity in pPlayer:Cities() do
-- City exists and has the proper name?
if pCity ~= nil and pCity:GetName() == "Rome" then
CreateChristianHolyCity(pCity, "RELIGION_CHRISTIANITY", "BELIEF_GOD_CRAFTSMEN",
"BELIEF_INITIATION_RITES", "BELIEF_CATHEDRALS1", "BELIEF_STATE_CHURCH", "BELIEF_RELIGIOUS_TEXTS");
print ("okay, Rome is the Catholic holy city")
return pCity
end
end
end
end
end
local pChristianPlot = FoundChristianity()

end
end
Events.ActivePlayerTurnEnd.Add(FollowChristianity)
-- Enumerate Playable Civ Cities with Confucianism
function FollowChristianity()
if Game.GetGameTurn() == 0 then
for iPlayer=0, GameDefines.MAX_CIV_PLAYERS - 1 do
local pPlayer = Players[iPlayer];
if pPlayer:IsEverAlive() then
print (pPlayer:GetName())
-- Enumerate cities
for cityIndex = 0, pPlayer:GetNumCities() - 1, 1 do
local pCity = pPlayer:GetCityByID(cityIndex)
print (pCity:GetName());
-- City exists and has the proper name?
if pCity ~= nil and city:GetName() == "Benevento" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Civitavecchia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Frosinane" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Perugia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Nettuno" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Catania" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Rieti" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Tivoli" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Terracina" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Aquila" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Agropoli" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Bari" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Barletta" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Brindisi" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Capua" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Catanzaro" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Teramo" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Termoli" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Foggia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Manfredonia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Campobasso" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Sulmona" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Gaeta" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Naples" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Melfi" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Potenza" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Policuro" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Tarranto" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Salerno" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Monopoli" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Leece" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Gagliano del Capo" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Corigliano Calabro" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Cosenza" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Crotone" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Vibo Valentia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Gioia Tauro" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Reggio Calabria" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Lipari" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Messina" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Taormina" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Syracuse" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Gela" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Agrigento" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Caltanissetta" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Sciatta" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Marsala" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Palermo" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Mdina" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Chia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Sant'Antiocco" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Iglesias" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Cagliari" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Costa Rei" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Muravera" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Tortoli" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Orosei" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Olbia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Palau" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Valledoria" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Ozieri" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Macomer" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Nuoro" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Bosa" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Sassari" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Porto Torrres" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Oristano" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Guspini" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Fordongianus" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Bonifacio" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Porto-Vecchio" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Ajaccio" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Calvi" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Bastia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Ancona" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "San Benedetto" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Civitanova" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Senigallia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Pesaro" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Urbino" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Arezzo" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Sovana" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Grosseto" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Volterra" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Siena" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Torrita" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Montalcino" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Castiglione d'Orcia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "San Marino" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Florence" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Montevarchi" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "San Gimigiano" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Pisa" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Livorno" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Cecina" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Piombino" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Portoferraio" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Lucca" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Modena" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Sestola" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Bologna" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Ravenna" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Ferrara" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Treviso" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Padua" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Vicenza" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Aquilea" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Verona" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Mantua" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Reggio" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Cremona" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Parma" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Brescia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Bergamo" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Piacenza" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Bobbio" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Pavia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Alessandria" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Montferrat" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Asti" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Saluzzo" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Tenda" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Savona" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Nizza" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Genoa" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Rapollo" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "La Spezia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Omeglia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Sanremo" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Turin" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Susa" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Aosta" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Bourg-Saint-Maurice" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Chamonix" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Chambéry" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Thonon-les-Bains" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Geneva" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Milan" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Saranno" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Varese" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Como" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Novara" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Ragusa" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Stagno" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Klagenfurt" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Trent" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Venice" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Choggia" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
elseif pCity ~= nil and pCity:GetName() == "Caorle" then
pCity:AdoptReligionFully(GameInfoTypes["RELIGION_CHRISTIANITY"]);
return pCity
end
end
end
end
end
end
Events.SequenceGameInitComplete.Add(EstablishChristian)