textLine = ui.TextLine()
Bloğu değiştir:
textLine = ui.TextLine()
textLine.SetParent(thinBoard)
textLine.SetFontName(localeInfo.UI_DEF_FONT)
have_count = player.GetItemCountByVnum(vnum)
if have_count < count:
textLine.SetFontColor(1.0, 0.0, 0.0)
else:
textLine.SetFontColor(0.0, 1.0, 0.0)
textLine.SetText("%s x %02d / %02d" % (item.GetItemName(), count, have_count))
textLine.SetOutline()
textLine.SetFeather(False)
textLine.SetWindowVerticalAlignCenter()
textLine.SetVerticalAlignCenter()