LadyCrimson
Wanderer
[COMPLETE] Commas for Bank Checks/Bankers' Responses
Problem/Bug: Bankers and Bank Checks should have commas when over 1000.
Fix: Fixed bankcheck.cs and banker.cs files shown in code below. Set to Core.ML so anything preML should not show commas.
Documentation of change:
http://www.uoherald.com/news/news.php?newsid=350
Problem/Bug: Bankers and Bank Checks should have commas when over 1000.
Fix: Fixed bankcheck.cs and banker.cs files shown in code below. Set to Core.ML so anything preML should not show commas.
Documentation of change:
http://www.uoherald.com/news/news.php?newsid=350
Code:
Index: Items/Misc/BankCheck.cs
===================================================================
--- Items/Misc/BankCheck.cs (revision 319)
+++ Items/Misc/BankCheck.cs (working copy)
@@ -67,8 +67,10 @@
public override void GetProperties(ObjectPropertyList list)
{
base.GetProperties( list );
-
- list.Add( 1060738, m_Worth.ToString() ); // value: ~1_val~
+ if (Core.ML)
+ list.Add( 1060738, m_Worth.ToString("#,0") ); // print check value with commas
+ else list.Add( 1060738, m_Worth.ToString() ); // print check value without commas
+
}