Advertisement
Guest User

Untitled

a guest
May 12th, 2020
522
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.58 KB | None | 0 0
  1. Cauta in uirefine.py
  2. textLine = ui.TextLine()
  3. Si adauga
  4.  
  5.         textLine = ui.TextLine()
  6.         textLine.SetParent(thinBoard)
  7.         textLine.SetFontName(localeInfo.UI_DEF_FONT)
  8.         have_count = player.GetItemCountByVnum(vnum)
  9.         if have_count < count:
  10.             textLine.SetFontColor(1.0, 0.0, 0.0)
  11.         else:
  12.             textLine.SetFontColor(0.0, 1.0, 0.0)
  13.         textLine.SetText("%s x %02d / %02d" % (item.GetItemName(), count, have_count))
  14.         textLine.SetOutline()
  15.         textLine.SetFeather(False)
  16.         textLine.SetWindowVerticalAlignCenter()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement