This commit is contained in:
wrexbe
2022-02-01 19:35:40 -08:00
committed by GitHub
parent fa8a7e609a
commit 17db0775c8
436 changed files with 20 additions and 828 deletions

View File

@@ -13,8 +13,6 @@ namespace Content.Server.Disposal.Tube.Components
[DataField("sideDegrees")]
private int _sideDegrees = -90;
public override string Name => "DisposalBend";
protected override Direction[] ConnectableDirections()
{
var direction = IoCManager.Resolve<IEntityManager>().GetComponent<TransformComponent>(Owner).LocalRotation;

View File

@@ -19,8 +19,6 @@ namespace Content.Server.Disposal.Tube.Components
private const string HolderPrototypeId = "DisposalHolder";
public override string Name => "DisposalEntry";
public bool TryInsert(DisposalUnitComponent from)
{
var holder = _entMan.SpawnEntity(HolderPrototypeId, _entMan.GetComponent<TransformComponent>(Owner).MapPosition);

View File

@@ -24,8 +24,6 @@ namespace Content.Server.Disposal.Tube.Components
[DataField("degrees")]
private List<Angle> _degrees = new();
public override string Name => "DisposalJunction";
protected override Direction[] ConnectableDirections()
{
var direction = _entMan.GetComponent<TransformComponent>(Owner).LocalRotation;

View File

@@ -31,8 +31,6 @@ namespace Content.Server.Disposal.Tube.Components
{
[Dependency] private readonly IEntityManager _entMan = default!;
public override string Name => "DisposalRouter";
[ViewVariables]
private readonly HashSet<string> _tags = new();

View File

@@ -28,8 +28,6 @@ namespace Content.Server.Disposal.Tube.Components
{
[Dependency] private readonly IEntityManager _entMan = default!;
public override string Name => "DisposalTagger";
[ViewVariables(VVAccess.ReadWrite)]
private string _tag = "";

View File

@@ -11,8 +11,6 @@ namespace Content.Server.Disposal.Tube.Components
[ComponentReference(typeof(IDisposalTubeComponent))]
public class DisposalTransitComponent : DisposalTubeComponent
{
public override string Name => "DisposalTransit";
protected override Direction[] ConnectableDirections()
{
var rotation = IoCManager.Resolve<IEntityManager>().GetComponent<TransformComponent>(Owner).LocalRotation;