Jump to content

Color Yang


Recommended Posts

Hi all.Today i will show how to change the yang color :D

 

Just open  uiiventory.py and find RefreshStatus 

And replace by:

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 ))

Screenshoot:

10382762_359843334201888_218997957211820

 

Thanks, and i hope you enjoy :)

 

Regards

Mick

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.