mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 16:47:26 +00:00
* 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
19 lines
559 B
C#
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;
|
|
}
|