| 1234567891011121314151617181920212223242526272829 |
- // SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
- // SPDX-FileCopyrightText: 2024 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
- // SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
- //
- // SPDX-License-Identifier: AGPL-3.0-or-later
- using Robust.Shared.GameStates;
- using Robust.Shared.Prototypes;
- namespace Content.Shared._Shitmed.Medical.Surgery.Conditions;
- // <summary>
- // What components are necessary in the targeted body part for the surgery to be valid.
- // </summary>
- [RegisterComponent, NetworkedComponent]
- public sealed partial class SurgeryPartComponentConditionComponent : Component
- {
- // <summary>
- // The components to check for.
- // </summary>
- [DataField(required: true)]
- public ComponentRegistry Components;
- // <summary>
- // If true, the lack of these components will instead make the surgery valid.
- // </summary>
- [DataField]
- public bool Inverse = false;
- }
|