Fixes string interpolation
This commit is contained in:
parent
42d0b6271f
commit
7d3a0ca265
233 changed files with 758 additions and 690 deletions
|
|
@ -106,12 +106,12 @@ namespace Server.Engines.Plants
|
|||
{
|
||||
if ( m_ShowType )
|
||||
{
|
||||
args = String.Format( "#{0}\t#{1}", title, typeInfo.Name );
|
||||
args = $"#{title}\t#{typeInfo.Name}";
|
||||
return typeInfo.GetSeedLabel( hueInfo );
|
||||
}
|
||||
else
|
||||
{
|
||||
args = String.Format( "#{0}", title );
|
||||
args = $"#{title}";
|
||||
return hueInfo.IsBright() ? 1060839 : 1060838; // [bright] ~1_val~ seed
|
||||
}
|
||||
}
|
||||
|
|
@ -119,12 +119,12 @@ namespace Server.Engines.Plants
|
|||
{
|
||||
if ( m_ShowType )
|
||||
{
|
||||
args = String.Format( "{0}\t#{1}\t#{2}", Amount, title, typeInfo.Name );
|
||||
args = $"{Amount}\t#{title}\t#{typeInfo.Name}";
|
||||
return typeInfo.GetSeedLabelPlural( hueInfo );
|
||||
}
|
||||
else
|
||||
{
|
||||
args = String.Format( "{0}\t#{1}", Amount, title );
|
||||
args = $"{Amount}\t#{title}";
|
||||
return hueInfo.IsBright() ? 1113491 : 1113490; // ~1_amount~ [bright] ~2_val~ seeds
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue