Add prediction to Spill Container verb, add dummy TrySpill methods to shared (#25813)
* Moved abstract spill methods to shared; added prediction to spill container verb. * Rerun tests * Requested changes * Note Client behavior in Spill method docs
This commit is contained in:
12
Content.Shared/Fluids/Components/PreventSpillerComponent.cs
Normal file
12
Content.Shared/Fluids/Components/PreventSpillerComponent.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Fluids.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Blocks this entity's ability to spill solution containing entities via the verb menu.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed partial class PreventSpillerComponent : Component
|
||||
{
|
||||
|
||||
}
|
||||
@@ -2,6 +2,12 @@ using Content.Shared.FixedPoint;
|
||||
|
||||
namespace Content.Shared.Fluids.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Makes a solution contained in this entity spillable.
|
||||
/// Spills can occur when a container with this component overflows,
|
||||
/// is used to melee attack something, is equipped (see <see cref="SpillWorn"/>),
|
||||
/// lands after being thrown, or has the Spill verb used.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed partial class SpillableComponent : Component
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user