Escape inventory refactor (#10203)
This commit is contained in:
@@ -6,17 +6,11 @@ namespace Content.Server.Resist;
|
||||
public sealed class CanEscapeInventoryComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// How long it takes to break out of storage. Default at 5 seconds.
|
||||
/// Base doafter length for uncontested breakouts.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("resistTime")]
|
||||
public float ResistTime = 5f;
|
||||
|
||||
/// <summary>
|
||||
/// For quick exit if the player attempts to move while already resisting
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
public bool IsResisting = false;
|
||||
[DataField("baseResistTime")]
|
||||
public float BaseResistTime = 5f;
|
||||
|
||||
/// <summary>
|
||||
/// Cancellation token used to cancel the DoAfter if the mob is removed before it's complete
|
||||
|
||||
Reference in New Issue
Block a user