fish-station/Content.Shared/_Starlight/Medical/Surgery/Components/SurgeryComponent.cs
Vigers Ray b52f640b5a
Порт стрельбы со старлайна (#2640)
Co-authored-by: KaiserMaus <kaiser.ratte@gmail.com>
2025-08-08 22:25:02 +03:00

20 lines
697 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
// Based on the RMC14.
// https://github.com/RMC-14/RMC-14
namespace Content.Shared.Starlight.Medical.Surgery;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(SharedSurgerySystem))]
[EntityCategory("Surgeries")]
public sealed partial class SurgeryComponent : Component
{
[DataField, AutoNetworkedField, Access(typeof(SharedSurgerySystem), Other = AccessPermissions.ReadWriteExecute)]
public int Priority;
[DataField, AutoNetworkedField]
public List<EntProtoId> Requirement = [];
[DataField(required: true), AutoNetworkedField]
public List<EntProtoId> Steps = new();
}