Files

32 lines
949 B
C#
Raw Permalink 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";
/// <summary>
/// Default minimum speed someone must be moving to slip for all reagents.
/// </summary>
[DataField]
public float DefaultSlippery = 5.5f;
2025-01-12 07:22:29 +11:00
[ViewVariables]
public Entity<SolutionComponent>? Solution;
2023-04-10 15:37:03 +10:00
}
}