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

@ -53,7 +53,7 @@ class RefineDialog(ui.ScriptWindow):
toolTip = uiToolTip.ItemToolTip()
toolTip.SetParent(self)
toolTip.SetPosition(15, 38)
toolTip.SetFollow(FALSE)
toolTip.SetFollow(False)
toolTip.Show()
self.toolTip = toolTip
@ -179,14 +179,14 @@ class RefineDialog(ui.ScriptWindow):
def OnPressEscapeKey(self):
self.Close()
return TRUE
return True
class RefineDialogNew(ui.ScriptWindow):
def __init__(self):
ui.ScriptWindow.__init__(self)
self.__Initialize()
self.isLoaded = FALSE
self.isLoaded = False
def __Initialize(self):
self.dlgQuestion = None
@ -226,7 +226,7 @@ class RefineDialogNew(ui.ScriptWindow):
toolTip = uiToolTip.ItemToolTip()
toolTip.SetParent(self)
toolTip.SetFollow(FALSE)
toolTip.SetFollow(False)
toolTip.SetPosition(15, 38)
toolTip.Show()
self.toolTip = toolTip
@ -245,7 +245,7 @@ class RefineDialogNew(ui.ScriptWindow):
self.itemImage = itemImage
self.titleBar.SetCloseEvent(ui.__mem_func__(self.CancelRefine))
self.isLoaded = TRUE
self.isLoaded = True
def __del__(self):
ui.ScriptWindow.__del__(self)
@ -284,7 +284,7 @@ class RefineDialogNew(ui.ScriptWindow):
def Open(self, targetItemPos, nextGradeItemVnum, cost, prob, type):
if FALSE == self.isLoaded:
if False == self.isLoaded:
self.__LoadScript()
self.__Initialize()
@ -347,7 +347,7 @@ class RefineDialogNew(ui.ScriptWindow):
textLine.SetPackedFontColor(0xffdddddd)
textLine.SetText("%s x %02d" % (item.GetItemName(), count))
textLine.SetOutline()
textLine.SetFeather(FALSE)
textLine.SetFeather(False)
textLine.SetWindowVerticalAlignCenter()
textLine.SetVerticalAlignCenter()
@ -421,4 +421,4 @@ class RefineDialogNew(ui.ScriptWindow):
def OnPressEscapeKey(self):
self.CancelRefine()
return TRUE
return True