using System.Threading; namespace Content.Server.Carrying { [RegisterComponent] public sealed partial class CarriableComponent : Component { /// /// Number of free hands required /// to carry the entity /// [DataField] public int FreeHandsRequired = 2; public CancellationTokenSource? CancelToken; /// /// The base duration (In Seconds) of how long it should take to pick up this entity /// before Contests are considered. /// [DataField] public float PickupDuration = 3; // Frontier: min/max sanitization /// /// The minimum duration (in seconds) of how long it should take to pick up this entity. /// When the strongest, heaviest entity picks this up, it should roughly take this long. /// [DataField] public float MinPickupDuration = 1.5f; /// /// The maximum duration (in seconds) of how long it should take to pick up this entity. /// When an object picks up the heaviest object it can lift, it should be at most this. /// [DataField] public float MaxPickupDuration = 6.0f; // End Frontier } }