Misc stealth and box changes (#11809)
* git mv * Disable shader while box is open * Hide entity menu / prevent examine * fix recursion fix recursion fix recursion fix recursion * Better visibility checks * min and max visibility fields * fix reference point
This commit is contained in:
@@ -7,13 +7,11 @@ namespace Content.Shared.Examine
|
||||
public sealed class ExaminerComponent : Component
|
||||
{
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("DoRangeCheck")]
|
||||
private bool _doRangeCheck = true;
|
||||
[DataField("skipChecks")]
|
||||
public bool SkipChecks = false;
|
||||
|
||||
/// <summary>
|
||||
/// Whether to do a distance check on examine.
|
||||
/// If false, the user can theoretically examine from infinitely far away.
|
||||
/// </summary>
|
||||
public bool DoRangeCheck => _doRangeCheck;
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("checkInRangeUnOccluded")]
|
||||
public bool CheckInRangeUnOccluded = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user