Salutare 
Am gasit acest lucru pe un forum strain si m-am gandit sa il postez si aici.
Ce face acest lucru? Coloreaza scrisul ''yang'' in functie de cat ai sau in ce culori vrei.
Doar pentru al colora cauti in root>uiinventory.py:
Cod: Selectaţi tot
def RefreshStatus(self):
money = player.GetElk()Si adaugi sub:
Cod: Selectaţi tot
self.wndMoney.SetFontColor(1.0,1.0,0.2)(1.0,1.0,0.2)-De aici modificice culoare vrei.
Pentru yang colorat in functie de level, cauti in root>uiinventory.py:
Cod: Selectaţi tot
def RefreshStatus(self):
money = player.GetElk()Si inlocuiesti cu:
Cod: Selectaţi tot
def RefreshStatus ( self ):
money = player . GetElk ()
if money <= 100000000 :
self . wndMoney . SetFontColor ( 1.0 , 0.2 , 0.2 )
elif money >= 100000001 and money <= 1000000000 :
self . wndMoney . SetFontColor ( 1.0 , 0.6 , 0.2 )
elif money >= 1000000001 and money <= 1500000000 :
self . wndMoney . SetFontColor ( 1.0 , 1.0 , 0.2 )
elif money >= 1500000001 :
self . wndMoney . SetFontColor ( 0.6 , 1.0 , 0.2 )
self . wndMoney . SetText ( localeInfo . NumberToMoneyString ( money ))

Sper ca va fost de folos! Nu uitati un thx








