Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Cauta in uirefine.py
- textLine = ui.TextLine()
- Si adauga
- 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()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement