Цвета меняются в зависимости от суммы янг.
Распаковать root открыть uiiventory.py
Ищем строку: def RefreshStatus(self):
Все что в ней, а тобишь:
def RefreshStatus(self):
money = player.GetElk()
self.wndMoney.SetText(locale.NumberToMoneyString(money))
Заменяем на:
Код
def RefreshStatus(self):
money = player . GetElk ()
if money <= 100000000 :
#( R ) ( G ) ( B )
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 ))
Цвета можно менять на свои тут SetFontColor ( 1.0 , 0.2 , 0.2 ) в формате RGB
Источник: 4m2