Files
wwdpublic/Content.Shared/Weapons/Melee/Components/MeleeRequiresWieldComponent.cs
SlamBamActionman bd28f7f0dd Add conditional camera offset based on cursor - Hristov Rework, Part 1 (#31626)
(cherry picked from commit 5c782d30283d5e3661e1ce6ebc6d972f12671c41)
2025-09-20 18:51:05 +03:00

16 lines
519 B
C#

using Content.Shared.Wieldable;
using Robust.Shared.GameStates;
namespace Content.Shared.Weapons.Melee.Components;
/// <summary>
/// Indicates that this meleeweapon requires wielding to be useable.
/// </summary>
[RegisterComponent, NetworkedComponent, Access(typeof(SharedWieldableSystem))]
public sealed partial class MeleeRequiresWieldComponent : Component
{
// Lavaland Change: The player will slip if they try to use the weapon without wielding it.
[DataField]
public bool FumbleOnAttempt = false;
}