def colonySpawn():
#English or Celts
if gc.getTeam(12).isHasTech(42):
if bEnglandTriggered:
bEnglandTriggered = False
for tCoords in getAdjacentList((30, 47)):
x, y = tCoords
pCurrentPlot = cyMap.plot(x, y)
if pCurrentPlot.isCity():
pCity = pCurrentPlot.getPlotCity()
pCity.kill()
for tCoords in getAdjacentList((28, 46)):
x, y = tCoords
pCurrentPlot = cyMap.plot(x, y)
if pCurrentPlot.isCity():
pCity = pCurrentPlot.getPlotCity()
pCity.kill()
for tCoords in getAdjacentList((31, 48)):
x, y = tCoords
pCurrentPlot = cyMap.plot(x, y)
if pCurrentPlot.isCity():
pCity = pCurrentPlot.getPlotCity()
pCity.kill()
PyPlayer(12).initCity(30, 47)
pNewYork.getPlotCity().setName("New York", 1)
PyPlayer(12).initUnit(5, 30, 47, 2)
PyPlayer(12).initUnit(47, 30, 47, 5)
PyPlayer(12).initCity(28, 46)
pPhiladelphia.getPlotCity().setName("Philadelphia", 1)
PyPlayer(12).initUnit(5, 28, 46, 2)
PyPlayer(12).initUnit(47, 28, 46, 5)
PyPlayer(12).initCity(31, 48)
pBoston.getPlotCity().setName("Boston", 1)
PyPlayer(12).initUnit(5, 31, 48, 2)
PyPlayer(12).initUnit(47, 31, 48, 5)
PyPlayer(12).initUnit(4, 28, 51, 1)
PyPlayer(12).initUnit(5, 28, 51, 2)
PyPlayer(12).initUnit(47, 28, 51, 5)
PyPlayer(12).initUnit(4, 64, 12, 1)
PyPlayer(12).initUnit(5, 64, 12, 2)
PyPlayer(12).initUnit(47, 64, 12, 5)
PyPlayer(12).initUnit(4, 118, 13, 1)
PyPlayer(12).initUnit(5, 118, 13, 2)
PyPlayer(12).initUnit(47, 118, 13, 5)
if gc.getPlayer(12).getStateReligion() == 0:
PyPlayer(12).initUnit(17, 30, 47, 1)
PyPlayer(12).initUnit(17, 28, 46, 1)
PyPlayer(12).initUnit(17, 31, 48, 1)
PyPlayer(12).initUnit(17, 28, 51, 1)
PyPlayer(12).initUnit(17, 64, 12, 1)
PyPlayer(12).initUnit(17, 118, 13, 1)
if gc.getPlayer(12).getStateReligion() == 1:
PyPlayer(12).initUnit(18, 30, 47, 1)
PyPlayer(12).initUnit(18, 28, 46, 1)
PyPlayer(12).initUnit(18, 31, 48, 1)
PyPlayer(12).initUnit(18, 28, 51, 1)
PyPlayer(12).initUnit(18, 64, 12, 1)
PyPlayer(12).initUnit(18, 118, 13, 1)
if gc.getPlayer(12).getStateReligion() == 2:
PyPlayer(12).initUnit(19, 30, 47, 1)
PyPlayer(12).initUnit(19, 28, 46, 1)
PyPlayer(12).initUnit(19, 31, 48, 1)
PyPlayer(12).initUnit(19, 28, 51, 1)
PyPlayer(12).initUnit(19, 64, 12, 1)
PyPlayer(12).initUnit(19, 118, 13, 1)
if gc.getPlayer(12).getStateReligion() == 3:
PyPlayer(12).initUnit(20, 30, 47, 1)
PyPlayer(12).initUnit(20, 28, 46, 1)
PyPlayer(12).initUnit(20, 31, 48, 1)
PyPlayer(12).initUnit(20, 28, 51, 1)
PyPlayer(12).initUnit(20, 64, 12, 1)
PyPlayer(12).initUnit(20, 118, 13, 1)
if gc.getPlayer(12).getStateReligion() == 4:
PyPlayer(12).initUnit(21, 30, 47, 1)
PyPlayer(12).initUnit(21, 28, 46, 1)
PyPlayer(12).initUnit(21, 31, 48, 1)
PyPlayer(12).initUnit(21, 28, 51, 1)
PyPlayer(12).initUnit(21, 64, 12, 1)
PyPlayer(12).initUnit(21, 118, 13, 1)
if gc.getPlayer(12).getStateReligion() == 5:
PyPlayer(12).initUnit(22, 30, 47, 1)
PyPlayer(12).initUnit(22, 28, 46, 1)
PyPlayer(12).initUnit(22, 31, 48, 1)
PyPlayer(12).initUnit(22, 28, 51, 1)
PyPlayer(12).initUnit(22, 64, 12, 1)
PyPlayer(12).initUnit(22, 118, 13, 1)
if gc.getPlayer(12).getStateReligion() == 6:
PyPlayer(12).initUnit(23, 30, 47, 1)
PyPlayer(12).initUnit(23, 28, 46, 1)
PyPlayer(12).initUnit(23, 31, 48, 1)
PyPlayer(12).initUnit(23, 28, 51, 1)
PyPlayer(12).initUnit(23, 64, 12, 1)
PyPlayer(12).initUnit(23, 118, 13, 1)