Add prediction for puddle and spillable examines (#25794)

Prediction for puddle and spillable examines
This commit is contained in:
Tayrtahn
2024-03-03 00:36:36 -05:00
committed by GitHub
parent a0b33def48
commit 4943151111
11 changed files with 96 additions and 74 deletions

View File

@@ -11,10 +11,10 @@ namespace Content.Shared.Fluids.Components
[RegisterComponent, NetworkedComponent, Access(typeof(SharedPuddleSystem))]
public sealed partial class PuddleComponent : Component
{
[DataField("spillSound")]
[DataField]
public SoundSpecifier SpillSound = new SoundPathSpecifier("/Audio/Effects/Fluids/splat.ogg");
[DataField("overflowVolume")]
[DataField]
public FixedPoint2 OverflowVolume = FixedPoint2.New(20);
[DataField("solution")] public string SolutionName = "puddle";