Page 1 of 1

Credit commas

Posted: Tue Mar 11, 2008 12:12 am
by vodalian
Hey guys. This may sound small, but I think it would save my eyes a lot of strain if you were to add commas when displaying credits, both your own, and for price lists.

Posted: Tue Mar 11, 2008 12:27 am
by loki1950
Not sure but that should be just using the right python print function to provide the formating.

Enjoy the Choice :)

Posted: Tue Mar 11, 2008 12:57 am
by vodalian
loki1950 wrote:Not sure but that should be just using the right python print function to provide the formating.

Enjoy the Choice :)
Could you tell me which python script so I can just change it myself?

Posted: Tue Mar 11, 2008 1:09 am
by loki1950
Sorry don't know for sure i wrote my last real code more than 20 yrs ago so am hopelessly out of date with current practice :wink: but a check of the base interface and GUI.py might prove productive.

Enjoy the Choice :)

Posted: Tue Mar 11, 2008 2:15 am
by ace123
That code happens to be written in C++, but I will look into changing the credit formatting function there to use commas.

Posted: Tue Mar 11, 2008 2:19 am
by vodalian
ace123 wrote:That code happens to be written in C++, but I will look into changing the credit formatting function there to use commas.
Thanks. Figured that way the case because I couldn't find it anywhere :P

Posted: Tue Mar 11, 2008 2:26 am
by bgaskey
aren't all the base computers in python :?: :? 8) :wink: :o

Posted: Tue Mar 11, 2008 2:47 am
by ace123
No they aren't.
I'm sorry if you were confused.

There is a relatively new system that was created by developers of Privateer Gold 1.2 that makes it feasable to have a UI in python.

But the Base computer system is much older than that.

I suppose it should be possible to rewrite the base computer using python, kind of like what privateer gold did.