* Initial commit * Fixed short circuiting * Use DebugTools * Use Entity<TComp> more, and make them nullable * Bring these two together
23 lines
660 B
C#
23 lines
660 B
C#
namespace Content.Shared.Strip.Components;
|
|
|
|
/// <summary>
|
|
/// Give this to an entity when you want to decrease stripping times
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class ThievingComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// How much the strip time should be shortened by
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("stripTimeReduction")]
|
|
public TimeSpan StripTimeReduction = TimeSpan.FromSeconds(0.5f);
|
|
|
|
/// <summary>
|
|
/// Should it notify the user if they're stripping a pocket?
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("stealthy")]
|
|
public bool Stealthy;
|
|
}
|