Make examine use tooltips. (#189)

FANCY.
This commit is contained in:
Pieter-Jan Briers
2019-04-09 17:33:53 +02:00
committed by GitHub
parent e4676395c0
commit c283634efb
12 changed files with 283 additions and 48 deletions

View File

@@ -181,13 +181,12 @@ namespace Content.Server.GameObjects.Components.Power
serializer.DataField(ref _priority, "priority", Powernet.Priority.Medium);
}
string IExamine.Examine()
void IExamine.Examine(FormattedMessage message)
{
if (!Powered)
{
return "The device is not powered";
message.AddText("The device is not powered");
}
return null;
}
private void UpdateLoad(float value)