Files
Delta-v/Content.Shared/_DV/Prying/Components/PlayerToolModifierComponent.cs
T
BarryNorfolk 23ae0b3758 Oni/refactor (#2805)
* Add ability for GunComponent to track their holders

* Add new component to allow Players to modify gun attributes

* Allow users of melee weapons to also modify their weapons damage

* Allow user stamina damage modifiers

* Allow users of tools to also modify tool attributes

* Delete old Oni component and systems

* Replace oni components

* Set default max spread angle to 180 degrees

* Change modifier to multiplier to better reflect the math

* Add documentation.

* Add NetworkedComponent to new components
2025-02-01 11:04:12 +00:00

19 lines
559 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared._DV.Prying.Components;
/// <summary>
/// Alters the interaction speed of attached entity's tools.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class PlayerToolModifierComponent : Component
{
/// <summary>
/// Multiplies the time taken to perform a pry interaction on entities like
/// airlocks and doors.
/// <see cref="Shared.Prying.Components.GetPryTimeModifierEvent"/>
/// </summary>
[DataField]
public float PryTimeMultiplier = 1.0f;
}