1
0

PuddleCreateAnomalyComponent.cs 1.0 KB

1234567891011121314151617181920212223242526272829
  1. using Content.Server.Anomaly.Effects;
  2. namespace Content.Server.Anomaly.Components;
  3. /// <summary>
  4. /// This component allows the anomaly to create puddles from the solutionContainer
  5. /// </summary>
  6. [RegisterComponent, Access(typeof(PuddleCreateAnomalySystem))]
  7. public sealed partial class PuddleCreateAnomalyComponent : Component
  8. {
  9. /// <summary>
  10. /// The maximum amount of solution that an anomaly can splash out of the storage on the floor during pulsation.
  11. /// Scales with Severity.
  12. /// </summary>
  13. [DataField, ViewVariables(VVAccess.ReadWrite)]
  14. public float MaxPuddleSize = 100;
  15. /// <summary>
  16. /// The maximum amount of solution that an anomaly can splash out of the storage on the floor during supercritical event
  17. /// </summary>
  18. [DataField, ViewVariables(VVAccess.ReadWrite)]
  19. public float SuperCriticalPuddleSize = 1000;
  20. /// <summary>
  21. /// Solution name that can be drained.
  22. /// </summary>
  23. [DataField, ViewVariables(VVAccess.ReadWrite)]
  24. public string Solution { get; set; } = "default";
  25. }