Localize & fancify all the examine tooltips with markup.
This commit is contained in:
@@ -77,9 +77,11 @@ namespace Content.Server.GameObjects.Components.Interactable
|
||||
|
||||
void IExamine.Examine(FormattedMessage message)
|
||||
{
|
||||
var loc = IoCManager.Resolve<ILocalizationManager>();
|
||||
|
||||
if (Activated)
|
||||
{
|
||||
message.AddText("The light is currently on.");
|
||||
message.AddMarkup(loc.GetString("The light is currently [color=darkgreen]on[/color]."));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user