Delta-v/Content.Shared/_Shitmed/Surgery/Conditions/SurgeryBodyConditionCompone...

19 lines
535 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
using Content.Shared.Body.Prototypes;
namespace Content.Shared._Shitmed.Medical.Surgery.Conditions;
/// <summary>
/// Requires that this surgery is (not) done on one of the provided body prototypes
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class SurgeryBodyConditionComponent : Component
{
[DataField(required: true)]
public HashSet<ProtoId<BodyPrototype>> Accepted = default!;
[DataField]
public bool Inverse;
}