More blood tweaks (#6811)

This commit is contained in:
mirrorcult
2022-02-20 17:18:24 -07:00
committed by GitHub
parent d91f969451
commit e85bdc2d87
9 changed files with 52 additions and 7 deletions

View File

@@ -54,6 +54,13 @@ namespace Content.Server.Fluids.Components
[ViewVariables] [DataField("overflowVolume")]
public FixedPoint2 OverflowVolume = DefaultOverflowVolume;
/// <summary>
/// How much should this puddle's opacity be multiplied by?
/// Useful for puddles that have a high overflow volume but still want to be mostly opaque.
/// </summary>
[DataField("opacityModifier")]
public float OpacityModifier = 1.0f;
public FixedPoint2 OverflowLeft => CurrentVolume - OverflowVolume;
[DataField("solution")] public string SolutionName { get; set; } = DefaultSolutionName;