ugh @ baseescortable formatting

This commit is contained in:
mark 2009-09-06 03:45:12 +00:00
parent 06e5c8b732
commit 1320f14adf
13 changed files with 723 additions and 612 deletions

View file

@ -1,4 +1,5 @@
using System;
using System.Globalization;
using Server;
using Server.Items;
using Server.Mobiles;
@ -68,7 +69,14 @@ namespace Server.Items
{
base.GetProperties( list );
list.Add( 1060738, Core.ML ? m_Worth.ToString( "N0" ) : m_Worth.ToString() ); // value: ~1_val~
string worth;
if ( Core.ML )
worth = m_Worth.ToString( "N0", CultureInfo.GetCultureInfo( "en-US" ) );
else
worth = m_Worth.ToString();
list.Add( 1060738, worth ); // value: ~1_val~
}
public override void OnSingleClick( Mobile from )