Greek World: Fate of Yerusalim (possible script bug)

player1 fanatic

Fanatic
Joined
Mar 19, 2002
Messages
2,646
Location
Belgrade, Serbia
I took liberty to look a bit a scripting for Greek World scenario and noticed possible bug.


These is this line of code:
Code:
#Generic events
if (self.getJerusalemFate() >= 40):	# LOQ 2005-10-12
        self.flipCity(50, tYerushalayim, 1, 1, iBabylon, [iIsrael])

It makes in 60% of cases Yerusalim taken from Israel by Babylon at 50th game turn.

Now the problem is that if human player is not playing Persians, Babylon will already be conquered by Persians at 12th turn:

Code:
#Babylon
for cityName in PyPlayer(iBabylon).getCityList():
       if not cityName.isNone():
                tCoords = (cityName.GetCy().getX(), cityName.GetCy().getY())
                self.flipCity(12, tCoords, 1, 1, iPersia, [iBabylon])


In game, what really happens is, that if player is playing Greek or Romans, Babylonians get ressurected from death with Yerusalem, with Israelis destroyed at 50th game turn.

Weird???



P.S.
I found one other issue too.
If you are successful player and discover Theology before 40AC, one of your cities will become Holy City.
But at year 40AC, Holy City will relocate to Yerusalim, and message that Christianity is founded will appear again. At least already Christian cities will stay Christian (but old holy city will lose its status).
 
Back
Top Bottom