* Predict dumping - This got soaped really fucking hard. - Dumping is predicted, this required disposals to be predicte.d - Disposals required mailing (because it's tightly coupled), and a smidge of other content systems. - I also had to fix a compnetworkgenerator issue at the same time so it wouldn't mispredict. * Fix a bunch of stuff * nasty merge * Some reviews * Some more reviews while I stash * Fix merge * Fix merge * Half of review * Review * re(h)f * lizards * feexes * feex
36 lines
1001 B
C#
36 lines
1001 B
C#
using Content.Shared.DeviceLinking;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.Disposal.Tube;
|
|
|
|
/// <summary>
|
|
/// Requires <see cref="DisposalJunctionComponent"/> to function.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(DisposalSignalRouterSystem))]
|
|
public sealed partial class DisposalSignalRouterComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Whether to route items to the side or not.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool Routing;
|
|
|
|
/// <summary>
|
|
/// Port that sets the router to send items to the side.
|
|
/// </summary>
|
|
[DataField]
|
|
public ProtoId<SinkPortPrototype> OnPort = "On";
|
|
|
|
/// <summary>
|
|
/// Port that sets the router to send items ahead.
|
|
/// </summary>
|
|
[DataField]
|
|
public ProtoId<SinkPortPrototype> OffPort = "Off";
|
|
|
|
/// <summary>
|
|
/// Port that toggles the router between sending items to the side and ahead.
|
|
/// </summary>
|
|
[DataField]
|
|
public ProtoId<SinkPortPrototype> TogglePort = "Toggle";
|
|
}
|