fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283)
This commit is contained in:
parent
0facd73842
commit
537526a328
94 changed files with 514 additions and 769 deletions
|
|
@ -527,7 +527,7 @@ namespace Server.Items
|
|||
}
|
||||
else
|
||||
{
|
||||
from.SendMessage(MessageHue, "You do not have the {0} required to enter the raffle.", FormatPrice());
|
||||
from.SendMessage(MessageHue, $"You do not have the {FormatPrice()} required to enter the raffle.");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
@ -555,9 +555,7 @@ namespace Server.Items
|
|||
|
||||
m_Winner.SendMessage(
|
||||
MessageHue,
|
||||
"Congratulations, {0}! You have won the raffle for the plot located at {1}.",
|
||||
m_Winner.Name,
|
||||
FormatLocation()
|
||||
$"Congratulations, {m_Winner.Name}! You have won the raffle for the plot located at {FormatLocation()}."
|
||||
);
|
||||
|
||||
if (m_Winner.AddToBackpack(Deed))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue