SurgeryOrganSlotConditionComponent.cs 811 B

1234567891011121314151617181920212223
  1. // SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
  2. // SPDX-FileCopyrightText: 2025 Janet Blackquill <uhhadd@gmail.com>
  3. // SPDX-FileCopyrightText: 2025 deltanedas <39013340+deltanedas@users.noreply.github.com>
  4. // SPDX-FileCopyrightText: 2025 deltanedas <@deltanedas:kde.org>
  5. //
  6. // SPDX-License-Identifier: AGPL-3.0-or-later
  7. using Robust.Shared.GameStates;
  8. namespace Content.Shared._Shitmed.Medical.Surgery.Conditions;
  9. /// <summary>
  10. /// Requires that an organ slot does (not) exist on the target part for a surgery to be possible.
  11. /// </summary>
  12. [RegisterComponent, NetworkedComponent]
  13. public sealed partial class SurgeryOrganSlotConditionComponent : Component
  14. {
  15. [DataField(required: true)]
  16. public string OrganSlot = default!;
  17. [DataField]
  18. public bool Inverse;
  19. }