Item strip delay dependant on slot. (#8900)
This commit is contained in:
@@ -9,13 +9,21 @@ namespace Content.Server.Strip
|
||||
[Access(typeof(StrippableSystem))]
|
||||
public sealed class StrippableComponent : SharedStrippableComponent
|
||||
{
|
||||
/// <summary>
|
||||
/// How long it takes to open the strip menu.
|
||||
/// This should be relatively short so it's not a hassle
|
||||
/// but so it also doesn't open immediately during melee combat
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("openDelay")]
|
||||
public float OpenDelay = 4f;
|
||||
public float OpenDelay = 1f;
|
||||
|
||||
/// <summary>
|
||||
/// The strip delay for hands.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("delay")]
|
||||
public float StripDelay = 2f;
|
||||
[DataField("handDelay")]
|
||||
public float HandStripDelay = 3f;
|
||||
|
||||
public override bool Drop(DragDropEvent args)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user