Make trays clientside (#14826)

This commit is contained in:
metalgearsloth
2023-03-31 14:40:38 +11:00
committed by GitHub
parent 3c6e67adee
commit 763089570d
9 changed files with 244 additions and 324 deletions

View File

@@ -39,24 +39,11 @@ namespace Content.Shared.SubFloor
[DataField("blockAmbience")]
public bool BlockAmbience { get; set; } = true;
/// <summary>
/// When revealed using some scanning tool, what transparency should be used to draw this item?
/// </summary>
[DataField("scannerTransparency")]
public float ScannerTransparency = 0.8f;
/// <summary>
/// Sprite layer keys for the layers that are always visible, even if the entity is below a floor tile. E.g.,
/// the vent part of a vent is always visible, even though the piping is hidden.
/// </summary>
[DataField("visibleLayers")]
public HashSet<Enum> VisibleLayers = new() { SubfloorLayers.FirstLayer };
/// <summary>
/// The entities this subfloor is revealed by.
/// </summary>
[ViewVariables]
[Access(typeof(SharedSubFloorHideSystem), Other = AccessPermissions.ReadWriteExecute)] // FIXME Friends
public HashSet<EntityUid> RevealedBy { get; set; } = new();
}
}