IExamine can now limit certain details behind a 'details' range check. (#1039)
* IExamine can now limit certain details behind a 'details' range check. * Comic's Review fixes. - colour -> color. My ancestors are saddened by this. - Can see wire panel opened/closed at any distance again.
This commit is contained in:
@@ -32,8 +32,11 @@ namespace Content.Server.GameObjects.Components.Interactable
|
||||
_userInterface.SetState(new PaperBoundUserInterfaceState(_content, _mode));
|
||||
}
|
||||
|
||||
public void Examine(FormattedMessage message)
|
||||
public void Examine(FormattedMessage message, bool inDetailsRange)
|
||||
{
|
||||
if (!inDetailsRange)
|
||||
return;
|
||||
|
||||
message.AddMarkup(_content);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user