Files
OldThink/Content.Shared/Fluids/Components/PuddleComponent.cs

26 lines
766 B
C#
Raw Normal View History

using Content.Shared.Chemistry.Components;
2023-04-10 15:37:03 +10:00
using Content.Shared.FixedPoint;
using Robust.Shared.Audio;
using Robust.Shared.GameStates;
namespace Content.Shared.Fluids.Components
{
/// <summary>
/// Puddle on a floor
/// </summary>
[RegisterComponent, NetworkedComponent, Access(typeof(SharedPuddleSystem))]
public sealed partial class PuddleComponent : Component
2023-04-10 15:37:03 +10:00
{
[DataField]
2023-04-10 15:37:03 +10:00
public SoundSpecifier SpillSound = new SoundPathSpecifier("/Audio/Effects/Fluids/splat.ogg");
[DataField]
2023-04-10 15:37:03 +10:00
public FixedPoint2 OverflowVolume = FixedPoint2.New(20);
[DataField("solution")] public string SolutionName = "puddle";
[DataField("solutionRef")]
public Entity<SolutionComponent>? Solution;
2023-04-10 15:37:03 +10:00
}
}