Jump to content
×
×
  • Create New...

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

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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.