1
0

HandsFillComponent.cs 821 B

1234567891011121314151617181920212223
  1. // SPDX-FileCopyrightText: 2024 deltanedas <39013340+deltanedas@users.noreply.github.com>
  2. // SPDX-FileCopyrightText: 2024 deltanedas <@deltanedas:kde.org>
  3. // SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
  4. //
  5. // SPDX-License-Identifier: AGPL-3.0-or-later
  6. using Content.Shared._Shitmed.Autodoc.Systems;
  7. using Robust.Shared.Prototypes;
  8. namespace Content.Shared._Shitmed.Autodoc.Components;
  9. /// <summary>
  10. /// Creates a list of hands and spawns items to fill them.
  11. /// </summary>
  12. [RegisterComponent, Access(typeof(HandsFillSystem))]
  13. public sealed partial class HandsFillComponent : Component
  14. {
  15. /// <summary>
  16. /// The name of each hand and the item to fill it with, if any.
  17. /// </summary>
  18. [DataField(required: true)]
  19. public Dictionary<string, EntProtoId?> Hands = new();
  20. }