Puddles & spreader refactor (#15191)
This commit is contained in:
21
Content.Shared/Fluids/Components/PuddleComponent.cs
Normal file
21
Content.Shared/Fluids/Components/PuddleComponent.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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 class PuddleComponent : Component
|
||||
{
|
||||
[DataField("spillSound")]
|
||||
public SoundSpecifier SpillSound = new SoundPathSpecifier("/Audio/Effects/Fluids/splat.ogg");
|
||||
|
||||
[DataField("overflowVolume")]
|
||||
public FixedPoint2 OverflowVolume = FixedPoint2.New(20);
|
||||
|
||||
[DataField("solution")] public string SolutionName = "puddle";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user