mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 08:37:26 +00:00
* 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>
16 lines
524 B
C#
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";
|
|
}
|