mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* Allow toggling shuttle docks via network linking * RQC * RQC 2 * Fuck shit I fucked it * More explainin' * RQC * review * Fix merge issues * Update DockingSignalControlSystem.cs --------- Co-authored-by: Pok245 <113675512+Pok27@users.noreply.github.com>
20 lines
562 B
C#
20 lines
562 B
C#
using Content.Shared.DeviceLinking;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.Shuttles.Components;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class DockingSignalControlComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Output port that is high while docked.
|
|
/// </summary>
|
|
[DataField]
|
|
public ProtoId<SourcePortPrototype> DockStatusSignalPort = "DockStatus";
|
|
|
|
/// <summary>
|
|
/// Input port that toggles the docking status.
|
|
/// </summary>
|
|
[DataField]
|
|
public ProtoId<SinkPortPrototype> DockTogglePort = "DockToggle";
|
|
}
|