Files
tbd-station-14/Content.Server/Fluids/Components/SpillableComponent.cs
Kara e7e9be0073 Reagent interactivity (pt. 1) (#15130)
* Puddle slippy

* spillable melee

* splash spilling!

* splat melee sound

* p
2023-04-06 16:20:48 -05:00

27 lines
714 B
C#

using Content.Shared.FixedPoint;
namespace Content.Server.Fluids.Components;
[RegisterComponent]
public sealed class SpillableComponent : Component
{
[DataField("solution")]
public string SolutionName = "puddle";
/// <summary>
/// Should this item be spilled when worn as clothing?
/// Doesn't count for pockets or hands.
/// </summary>
[DataField("spillWorn")]
public bool SpillWorn = true;
[DataField("spillDelay")]
public float? SpillDelay;
/// <summary>
/// At most how much reagent can be splashed on someone at once?
/// </summary>
[DataField("maxMeleeSpillAmount")]
public FixedPoint2 MaxMeleeSpillAmount = FixedPoint2.New(20);
}