InnerBodyAnomalyInjectorComponent.cs 688 B

123456789101112131415161718192021
  1. using Content.Shared.Anomaly.Effects;
  2. using Content.Shared.Whitelist;
  3. using Robust.Shared.Prototypes;
  4. namespace Content.Shared.Anomaly.Components;
  5. /// <summary>
  6. /// On contact with an entity, if it meets the conditions, it will transfer the specified components to it
  7. /// </summary>
  8. [RegisterComponent, Access(typeof(SharedInnerBodyAnomalySystem))]
  9. public sealed partial class InnerBodyAnomalyInjectorComponent : Component
  10. {
  11. [DataField]
  12. public EntityWhitelist? Whitelist;
  13. /// <summary>
  14. /// components that will be automatically removed after “curing”
  15. /// </summary>
  16. [DataField(required: true)]
  17. public ComponentRegistry InjectionComponents = default!;
  18. }