Files
ss14-wega/Content.Shared/Weapons/Ranged/Components/GunSpreadModifierComponent.cs
mq 4920c9e907 Update (MOST) instances of EntityUid, Component in GunSystem to Entity<T> (#41966)
* Entity<T>, skipping Magazine and ChamberMagazine

* missed some

* AUGH!!

* ballistic examine

* dotnet hates me

* WHY ARE YOU CALLED THAT!!!!

* cheers aada
2026-01-01 19:00:49 +00:00

17 lines
501 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Weapons.Ranged.Components;
/// <summary>
/// This component modifies the spread of the gun it is attached to.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class GunSpreadModifierComponent : Component
{
/// <summary>
/// A scalar value multiplied by the spread built into the ammo itself.
/// </summary>
[DataField, AutoNetworkedField]
public float Spread = 1;
}