* Allow protected grids to be repaired * Probably implement it --------- Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
18 lines
515 B
C#
18 lines
515 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Tiles;
|
|
|
|
/// <summary>
|
|
/// Prevents floor tile updates when attached to a grid.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
[Access(typeof(ProtectedGridSystem))]
|
|
public sealed partial class ProtectedGridComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// A bitmask of all the initial tiles on this grid.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public Dictionary<Vector2i, ulong> BaseIndices = new();
|
|
}
|