Unstable 0.17.4.0
This commit is contained in:
@@ -8,6 +8,7 @@ using System.Collections.Immutable;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Xml.Linq;
|
||||
using System.Globalization;
|
||||
|
||||
namespace Barotrauma
|
||||
{
|
||||
@@ -349,6 +350,11 @@ namespace Barotrauma
|
||||
description += extraDescriptionLine;
|
||||
}
|
||||
|
||||
public static LocalizedString FormatCurrency(int amount)
|
||||
{
|
||||
return GetWithVariable("currencyformat", "[credits]", string.Format(CultureInfo.InvariantCulture, "{0:N0}", amount));
|
||||
}
|
||||
|
||||
public static LocalizedString GetServerMessage(string serverMessage)
|
||||
{
|
||||
return new ServerMsgLString(serverMessage);
|
||||
|
||||
Reference in New Issue
Block a user