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:
Leon Friedrich
2022-10-15 17:15:25 +13:00
committed by GitHub
parent 8199d361c1
commit 6f4bb040e4
12 changed files with 222 additions and 52 deletions

View File

@@ -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;
}
}