1
0

PuddleComponent.cs 755 B

12345678910111213141516171819202122232425
  1. using Content.Shared.Chemistry.Components;
  2. using Content.Shared.FixedPoint;
  3. using Robust.Shared.Audio;
  4. using Robust.Shared.GameStates;
  5. namespace Content.Shared.Fluids.Components
  6. {
  7. /// <summary>
  8. /// Puddle on a floor
  9. /// </summary>
  10. [RegisterComponent, NetworkedComponent, Access(typeof(SharedPuddleSystem))]
  11. public sealed partial class PuddleComponent : Component
  12. {
  13. [DataField]
  14. public SoundSpecifier SpillSound = new SoundPathSpecifier("/Audio/Effects/Fluids/splat.ogg");
  15. [DataField]
  16. public FixedPoint2 OverflowVolume = FixedPoint2.New(20);
  17. [DataField("solution")] public string SolutionName = "puddle";
  18. [ViewVariables]
  19. public Entity<SolutionComponent>? Solution;
  20. }
  21. }