2021-06-09 22:19:39 +02:00
|
|
|
using Content.Server.UserInterface;
|
2021-02-11 01:13:03 -08:00
|
|
|
using Robust.Server.GameObjects;
|
2020-08-19 15:50:06 +02:00
|
|
|
using Robust.Shared.Audio;
|
2021-03-08 04:09:59 +11:00
|
|
|
using Robust.Shared.Physics;
|
2023-01-03 17:45:18 +11:00
|
|
|
using Robust.Shared.Physics.Components;
|
2021-03-21 09:12:03 -07:00
|
|
|
using Robust.Shared.Player;
|
2021-06-09 22:19:39 +02:00
|
|
|
using static Content.Shared.Disposal.Components.SharedDisposalRouterComponent;
|
2020-08-19 15:50:06 +02:00
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Server.Disposal.Tube.Components
|
2020-08-19 15:50:06 +02:00
|
|
|
{
|
|
|
|
|
[RegisterComponent]
|
2023-04-06 20:20:50 -07:00
|
|
|
[Access(typeof(DisposalTubeSystem))]
|
2022-03-12 13:26:06 -05:00
|
|
|
public sealed class DisposalRouterComponent : DisposalJunctionComponent
|
2020-08-19 15:50:06 +02:00
|
|
|
{
|
2021-12-08 17:17:12 +01:00
|
|
|
[Dependency] private readonly IEntityManager _entMan = default!;
|
|
|
|
|
|
2022-09-13 21:14:21 +02:00
|
|
|
[DataField("tags")]
|
|
|
|
|
public HashSet<string> Tags = new();
|
2020-08-19 15:50:06 +02:00
|
|
|
|
2023-06-21 07:31:19 -07:00
|
|
|
[DataField("clickSound")]
|
|
|
|
|
public SoundSpecifier ClickSound = new SoundPathSpecifier("/Audio/Machines/machine_switch.ogg");
|
2020-08-19 15:50:06 +02:00
|
|
|
}
|
|
|
|
|
}
|