Added game files from TMP4

This commit is contained in:
2023-07-21 21:55:58 +03:00
parent bb44b31af9
commit eb47a22455
9325 changed files with 276198 additions and 69890 deletions

View File

@ -144,7 +144,7 @@ class SelectEmpireWindow(ui.ScriptWindow):
event.SetRestrictedCount(self.descIndex, 35)
def PrevDescriptionPage(self):
if TRUE == event.IsWait(self.descIndex):
if True == event.IsWait(self.descIndex):
if event.GetVisibleStartLine(self.descIndex)-5 >= 0:
event.SetVisibleStartLine(self.descIndex, event.GetVisibleStartLine(self.descIndex)-5)
event.Skip(self.descIndex)
@ -152,7 +152,7 @@ class SelectEmpireWindow(ui.ScriptWindow):
event.Skip(self.descIndex)
def NextDescriptionPage(self):
if TRUE == event.IsWait(self.descIndex):
if True == event.IsWait(self.descIndex):
event.SetVisibleStartLine(self.descIndex, event.GetVisibleStartLine(self.descIndex)+5)
event.Skip(self.descIndex)
else:
@ -245,7 +245,7 @@ class SelectEmpireWindow(ui.ScriptWindow):
def OnPressEscapeKey(self):
self.ClickExitButton()
return TRUE
return True
class ReselectEmpireWindow(SelectEmpireWindow):
def ClickSelectButton(self):