GoliathTentacleComponent.cs 885 B

1234567891011121314151617181920212223
  1. // SPDX-FileCopyrightText: 2024 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
  2. // SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
  3. //
  4. // SPDX-License-Identifier: AGPL-3.0-or-later
  5. using Robust.Shared.GameStates;
  6. using Robust.Shared.Prototypes;
  7. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
  8. namespace Content.Shared._Shitmed.GoliathTentacle;
  9. /// <summary>
  10. /// Component that grants the entity the ability to use goliath tentacles.
  11. /// </summary>
  12. [RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
  13. public sealed partial class GoliathTentacleComponent : Component
  14. {
  15. [DataField(customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
  16. public string? Action = "ActionGoliathTentacleCrew";
  17. [DataField, AutoNetworkedField]
  18. public EntityUid? ActionEntity;
  19. }