Weldable cleanup (#19809)

This commit is contained in:
metalgearsloth
2023-09-05 00:07:01 +10:00
committed by GitHub
parent 88454b046a
commit db1ff07821
24 changed files with 159 additions and 210 deletions

View File

@@ -0,0 +1,18 @@
using Content.Shared.Physics;
using Content.Shared.Tools.Systems;
using Robust.Shared.GameStates;
namespace Content.Shared.Tools.Components;
[RegisterComponent, NetworkedComponent]
[Access(typeof(WeldableSystem))]
public sealed partial class LayerChangeOnWeldComponent : Component
{
[DataField("unWeldedLayer")]
[ViewVariables]
public CollisionGroup UnWeldedLayer = CollisionGroup.AirlockLayer;
[DataField("weldedLayer")]
[ViewVariables]
public CollisionGroup WeldedLayer = CollisionGroup.WallLayer;
}