Block interactions with subfloor entities (#6732)
This commit is contained in:
@@ -20,6 +20,15 @@ namespace Content.Shared.SubFloor
|
||||
[ViewVariables]
|
||||
public bool IsUnderCover { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// Whether interactions with this entity should be blocked while it is under floor tiles.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Useful for entities like vents, which are only partially hidden.
|
||||
/// </remarks>
|
||||
[DataField("blockInteractions")]
|
||||
public bool BlockInteractions { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// When revealed using some scanning tool, what transparency should be used to draw this item?
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user