Files
Delta-v/Content.Shared/_DV/DeviceLinking/Components/PowerTogglePortComponent.cs
T
AlgisAlphonse 495361de72 Factorio - add a power toggle link port for the robotic arm. (#4117)
* Adds a toggle power sink port to the robotic arm

* Created babys first componenet, the toggle power
link port is not a componenet (PowerTogglePort)
Wow!

* Update PowerTogglePortComponent.cs

Deltanedas special #1

Signed-off-by: AlgisAlphonse <94876543+AlgisAlphonse@users.noreply.github.com>

* Update PowerTogglePortComponent.cs

susnedas

Signed-off-by: AlgisAlphonse <94876543+AlgisAlphonse@users.noreply.github.com>

* Update PowerTogglePortComponent.cs

sus

Signed-off-by: AlgisAlphonse <94876543+AlgisAlphonse@users.noreply.github.com>

---------

Signed-off-by: AlgisAlphonse <94876543+AlgisAlphonse@users.noreply.github.com>
2025-08-26 20:05:17 +00:00

16 lines
524 B
C#

using Content.Shared.DeviceLinking;
using Robust.Shared.Prototypes;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
using Content.Shared._DV.DeviceLinking.Systems;
namespace Content.Shared._DV.DeviceLinking.Components;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(PowerTogglePortSystem))]
public sealed partial class PowerTogglePortComponent : Component
{
[DataField, AutoNetworkedField]
public ProtoId<SinkPortPrototype> PowerTogglePort = "PowerToggle";
}