Arat root > uirefine.py
Bloğu değiştir:
Linkleri Görebilmek İçin Üye Olmanız Gerekmektedir. Üye Olmak İçin Tıklayınız...
Kod (Python):
- textLine = ui.TextLine()
Kod (Python):
- 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,...